indifferentketchup
9ef8f1948a
feat: Paseo-like orchestrator Phase 1-2 — trace system, session persistence, timeline, run_command, auto-fix loop
Phase 1: Trace System + Observability
- tool_traces DB table + insert/update service
- tool_trace_start/tool_trace_finish WS frames (contracts + FE types)
- Instrumented tool-phase.ts with timing around every tool call
- GET /api/chats/:id/traces paginated endpoint
- Trace viewer frontend (collapsible panel with timing bars + token breakdown)
Phase 2: Session Persistence + Resume
- agent_snapshots table (UPSERT per chat, persisted on turn boundaries)
- save/load/delete service functions
- Agent snapshot sent on WS reconnect
- Session timeline view (vertical timeline with scroll-to + restore)
Tooling:
- run_command tool (execFile, 30s timeout, 32KB cap, path-guarded)
- Auto-fix loop: after write tools, runs pnpm build, injects errors into next turn
2026-06-08 02:26:47 +00:00
..
2026-06-02 21:12:29 +00:00
2026-06-06 23:25:29 +00:00
2026-05-16 04:12:01 +00:00
2026-05-31 22:07:26 +00:00
2026-06-01 14:04:04 +00:00
2026-06-02 21:12:29 +00:00
2026-05-21 20:32:02 +00:00
2026-06-02 21:12:29 +00:00
2026-06-06 23:25:29 +00:00
2026-06-07 22:16:20 +00:00
2026-06-07 22:16:20 +00:00
2026-05-16 05:55:05 +00:00
2026-05-16 20:07:53 +00:00
2026-05-26 15:18:31 +00:00
2026-05-16 05:55:47 +00:00
2026-05-16 06:37:13 +00:00
2026-05-29 14:38:39 +00:00
2026-05-14 22:52:40 +00:00
2026-06-08 02:26:47 +00:00
2026-06-06 23:25:29 +00:00
2026-05-29 03:12:06 +00:00
2026-05-18 01:10:51 +00:00
2026-06-02 21:24:08 +00:00
2026-05-29 03:11:42 +00:00
2026-06-06 23:25:29 +00:00
2026-05-16 23:16:02 +00:00