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-07 22:40:23 +00:00
2026-06-07 22:16:35 +00:00
2026-06-08 02:26:47 +00:00
2026-06-07 21:55:47 +00:00
2026-06-08 02:26:47 +00:00
2026-06-01 08:16:03 +00:00
2026-06-08 01:24:23 +00:00
2026-05-23 12:43:13 +00:00
2026-06-02 21:12:29 +00:00
2026-06-08 00:45:46 +00:00
2026-06-02 21:24:08 +00:00
2026-06-08 02:16:02 +00:00
2026-06-01 02:35:11 +00:00
2026-06-01 13:05:03 +00:00
2026-06-08 01:24:23 +00:00
2026-05-16 04:35:49 +00:00
2026-06-02 21:12:29 +00:00
2026-06-07 22:16:20 +00:00
2026-06-02 21:12:29 +00:00
2026-05-16 02:51:59 +00:00
2026-05-22 21:45:52 +00:00
2026-06-08 01:24:23 +00:00
2026-06-08 01:24:23 +00:00
2026-06-08 01:24:23 +00:00
2026-06-08 01:24:23 +00:00
2026-06-08 01:24:23 +00:00
2026-05-22 21:45:52 +00:00
2026-05-16 05:11:39 +00:00
2026-06-02 21:12:29 +00:00
2026-05-22 21:45:52 +00:00
2026-05-29 03:12:16 +00:00
2026-06-08 02:26:47 +00:00
2026-05-26 15:18:31 +00:00
2026-06-02 21:12:29 +00:00
2026-06-07 17:57:29 +00:00
2026-05-22 20:08:47 +00:00
2026-06-08 01:24:23 +00:00
2026-05-27 21:44:39 +00:00
2026-05-27 21:44:39 +00:00
2026-06-08 02:26:47 +00:00
2026-06-02 21:12:29 +00:00
2026-05-22 07:55:55 +00:00
2026-05-20 21:38:02 +00:00
2026-05-26 23:30:50 +00:00
2026-05-20 21:40:11 +00:00