Phase 1 run-control semantics and run_state events

This commit is contained in:
William Valentin
2026-02-25 10:22:44 -08:00
parent ae21681958
commit e4ee6acce8
13 changed files with 485 additions and 120 deletions
+4
View File
@@ -139,6 +139,10 @@ Outbound Reply
-> ChannelAdapter.send() (text + optional attachments)
```
Gateway streaming UX signals:
- WebSocket `agent.send` emits `run_state` lifecycle events (`start`, `cancel_requested`, `cancelled`, `complete`, `error`) for UI/state rendering.
Key files:
- Routing + per-session agent creation: `src/daemon/routing.ts`