Mark Henderson
ad3abd427b
feat: agent execution scaffold — sessions DB, API, and Browse/Agent/Terminal UI
Session model:
- agent_sessions table (auto-created on first use): id, project_id,
app_name, app_path, task, status, output (JSONB log), changed_files,
error, timestamps
- POST /agent/sessions — create session, fires off to agent-runner
(gracefully degrades when runner not yet wired)
- GET /agent/sessions — list sessions newest first
- GET /agent/sessions/[id] — full session state for polling
- PATCH /agent/sessions/[id] — internal: agent-runner appends output lines
- POST /agent/sessions/[id]/stop — stop running session
Build > Code section now has three mode tabs:
- Browse — existing file tree + code viewer
- Agent — task input, session list sidebar, live output stream,
changed files panel, Approve & commit / Open in Theia actions,
2s polling (Phase 3 will replace with WebSocket)
- Terminal — xterm.js placeholder (Phase 4)
Architecture documented in AGENT_EXECUTION_ARCHITECTURE.md
Made-with: Cursor
2026-03-06 17:56:10 -08:00
..
2026-02-15 19:25:52 -08:00
2026-03-06 17:56:10 -08:00
2026-02-27 18:55:41 -08:00
2026-02-15 19:25:52 -08:00
2026-03-06 12:48:28 -08:00
2026-03-06 12:48:28 -08:00
2026-03-06 12:48:28 -08:00
2026-03-01 20:33:39 -08:00
2026-03-03 21:11:27 -08:00
2026-02-15 19:25:52 -08:00
2026-03-03 20:36:41 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-03-06 11:29:57 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-03-06 13:37:38 -08:00
2026-03-06 12:48:28 -08:00
2026-02-15 19:25:52 -08:00
2026-02-27 18:55:41 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-03-02 20:24:08 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-27 13:25:38 -08:00
2026-02-15 19:25:52 -08:00
2026-02-19 15:36:18 -08:00
2026-02-18 01:24:48 +00:00