1. 01 Jun, 2026 2 commits
  2. 30 May, 2026 1 commit
  3. 29 May, 2026 1 commit
  4. 28 May, 2026 4 commits
  5. 26 May, 2026 5 commits
    • Admin's avatar
    • Admin's avatar
      feat: add agent log viewer, SSE streaming, and L1 sandbox · 71aa8270
      Admin authored
      - services/agent_log_writer.py: Writes ExecutionRunLog rows via AIAgent
        callbacks (tool_start, tool_complete, step, status). Errors swallowed
        to never block agent execution.
      
      - services/workspace_manager.py: Creates isolated workspace directories
        per agent run (workspaces/{company_id}/{run_id}/) with src/,
        .agent_output/, README.md structure.
      
      - services/path_security.py: Path validation to prevent directory
        traversal, blocks dangerous paths (C:\Windows, /etc, .env, .git).
      
      - api/routes/run_logs.py: Added company-scoped runs_router with:
        GET /companies/{id}/runs/{runId} — run detail with all logs
        GET /companies/{id}/runs/{runId}/stream — SSE real-time log stream
      
      - api/routes/agents.py: run_agent_in_background now creates workspace,
        instantiates AgentLogWriter, passes callbacks to AIAgent, and cleans
        up workspace in finally block.
      
      - tests/test_agent_flow.py: Updated to mock WorkspaceManager and
        AgentLogWriter, relaxed AIAgent assertion to check core kwargs only.
      
      All 3 tests pass. Dashboard verified 0 JS errors via Playwright.
      71aa8270
    • Admin's avatar
      fix: activity endpoint returns flat array instead of paginated object · 5bed3e6c
      Admin authored
      Frontend calls (g ?? []).slice(0,10) on activity data, which crashes
      when API returns {total, offset, limit, items} instead of ActivityEvent[].
      Changed response_model from PaginatedResponse to List[ActivityLogResponse].
      Also fixed .mcp.json Playwright package name.
      
      Verified via Playwright MCP: 0 console errors on dashboard.
      5bed3e6c
    • Admin's avatar
      fix: sync/async boundary fixes, closure bug, missing deps, runtime imports · b5c29abf
      Admin authored
      - Fix run_conversation sync/async boundary in 5 files:
        - run_agent.py main(): use _run_conversation_sync
        - batch_runner.py: use _run_conversation_sync
        - background_review.py: use _run_conversation_sync
        - curator.py: use _run_conversation_sync
        - acp_adapter/server.py: use _run_conversation_sync
      - Fix classic Python closure late-binding bug in get_tools.py
        (is_async captured by reference, not value)
      - Add missing deps to requirements.txt: openai, langchain-core, pyyaml, fire
      - Fix missing HTTPException import in environment_config.py
      - Fix missing List import in org_chart_svg.py
      b5c29abf
    • Admin's avatar
  6. 25 May, 2026 4 commits
  7. 23 May, 2026 3 commits
  8. 21 May, 2026 3 commits
  9. 20 May, 2026 2 commits
  10. 19 May, 2026 1 commit
  11. 14 May, 2026 1 commit
  12. 13 May, 2026 4 commits
  13. 12 May, 2026 7 commits
  14. 11 May, 2026 1 commit
  15. 10 May, 2026 1 commit