zeroclaw/web/src
Argenis 34db67428f
fix(gateway): stream ws agent chat responses (#4390)
Add Agent::turn_streamed() that forwards TurnEvent (Chunk, ToolCall,
ToolResult) through an mpsc channel during execution. The WebSocket
gateway uses tokio::join! to relay these events to the client in real
time instead of waiting for the full turn to complete.

Introduce chunk_reset message type so the frontend clears its draft
buffer before the authoritative done message arrives.  Update the React
AgentChat page to render streamed text live in the typing indicator
area, replacing the bounce-dot animation when content is available.

Backward-compatible: the done message still carries the full_response
field unchanged, and providers that do not support streaming fall back
to the non-streaming chat path transparently.

Closes #4372
2026-03-23 15:01:04 -04:00
..
components fix(gateway): address critical security and reliability bugs in Live Canvas (#4196) 2026-03-21 20:59:18 -04:00
contexts feat(web): add theme system with CSS variables and settings modal (#4133) 2026-03-21 06:22:30 -04:00
hooks feat(web): add theme system with CSS variables and settings modal (#4133) 2026-03-21 06:22:30 -04:00
lib fix(gateway): address critical security and reliability bugs in Live Canvas (#4196) 2026-03-21 20:59:18 -04:00
pages fix(gateway): stream ws agent chat responses (#4390) 2026-03-23 15:01:04 -04:00
types fix(gateway): stream ws agent chat responses (#4390) 2026-03-23 15:01:04 -04:00
App.tsx fix(gateway): address critical security and reliability bugs in Live Canvas (#4196) 2026-03-21 20:59:18 -04:00
index.css feat(web): add theme system with CSS variables and settings modal (#4133) 2026-03-21 06:22:30 -04:00
main.tsx feat(gateway): add path_prefix for reverse-proxy deployments 2026-03-21 08:14:28 -04:00
vite-env.d.ts feat(gateway): add embedded web dashboard with React frontend 2026-02-21 16:14:01 +08:00