zeroclaw/src
Argenis cbb86409e0
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-24 15:37:02 +03:00
..
agent fix(gateway): stream ws agent chat responses (#4390) 2026-03-24 15:37:02 +03:00
approval fix(approval): merge default auto_approve entries with user config (#4262) 2026-03-24 15:34:32 +03:00
auth feat(auth): add import functionality for existing OpenAI Codex auth p… (#3762) 2026-03-24 15:30:45 +03:00
channels feat(wati): add audio and voice message transcription (#4391) 2026-03-24 15:37:01 +03:00
commands fix(update): diagnose arch mismatch in validate_binary before execution (#4379) 2026-03-24 15:34:57 +03:00
config feat(lark): add audio message transcription (#4388) 2026-03-24 15:37:01 +03:00
cost fix(channels): add cost tracking and enforcement to all channels (#4143) 2026-03-24 15:30:46 +03:00
cron feat: declarative cron job configuration (#4045) 2026-03-24 15:34:54 +03:00
daemon fix(heartbeat): prevent UTF-8 panic, add memory bounds and path validation in session context 2026-03-24 15:34:07 +03:00
doctor feat(tool): enrich delegate sub-agent system prompt and add skills_directory config key (#3344) 2026-03-24 15:30:46 +03:00
gateway fix(gateway): stream ws agent chat responses (#4390) 2026-03-24 15:37:02 +03:00
hands feat(hands): add autonomous knowledge-accumulating agent packages (#3603) 2026-03-24 15:16:05 +03:00
hardware fix(hardware): drain stdin in subprocess test to prevent broken pipe flake (#4161) 2026-03-24 15:31:17 +03:00
health refactor(sync): migrate remaining std mutex usage to parking_lot 2026-02-18 00:45:26 +08:00
heartbeat feat(heartbeat): add health metrics, adaptive intervals, and task history 2026-03-24 15:17:14 +03:00
hooks feat(hooks): add webhook-audit builtin hook (#3212) 2026-03-11 23:34:17 -04:00
integrations feat(matrix): add allowed_rooms config for room-level gating (#4230) (#4260) 2026-03-24 15:34:52 +03:00
memory feat(memory): restore time-decay scoring lost in main→master migration (#4274) 2026-03-24 15:34:54 +03:00
nodes feat(nodes): add secure HMAC-SHA256 node transport layer (#3654) 2026-03-24 15:17:12 +03:00
observability fix(observability): handle missing OtelObserver match arms and add all-features CI check (#3981) 2026-03-24 15:29:56 +03:00
onboard fix(channels): link enricher title extraction byte offset bug (#4271) 2026-03-24 15:34:54 +03:00
peripherals feat(hardware): add RPi GPIO, Aardvark I2C/SPI/GPIO, and hardware plugin system (#4125) 2026-03-24 15:30:43 +03:00
plugins fix(plugins): integrate WASM tools into registry, add gateway routes and tests 2026-03-24 15:17:30 +03:00
providers fix(ollama): strip /api/chat suffix from user-provided base URL (#4376) 2026-03-24 15:34:55 +03:00
rag chore(lint): extend low-risk clippy cleanup batch 2026-02-17 16:40:58 +08:00
runtime feat(tools): add Windows support for shell tool_call execution (#3442) 2026-03-13 17:12:16 -04:00
security fix(security): update blocked_commands_basic test after #4338 (#4399) 2026-03-24 15:37:01 +03:00
service fix: use POSIX-compatible sh -c instead of dash-specific -lc (#4209) (#4217) 2026-03-24 15:34:06 +03:00
skillforge chore: Remove blocking read strings 2026-02-19 14:52:29 +08:00
skills fix(skills): surface actionable warning when skills are skipped due to script policy (#4383) 2026-03-24 15:34:56 +03:00
sop fix(web): call doctor endpoint with authenticated POST 2026-02-24 16:02:59 +08:00
tools fix(agent): use Gregorian datetime and prioritize date context in prompts (#4369) 2026-03-24 15:37:00 +03:00
tunnel Feat/add pinggy tunnel (#4060) 2026-03-24 15:30:39 +03:00
verifiable_intent feat(verifiable_intent): add native verifiable intent lifecycle module (#2938) 2026-03-24 15:30:40 +03:00
cli_input.rs fix(onboard): make tmux paste safe for text prompts (#4106) 2026-03-24 15:30:44 +03:00
i18n.rs feat(i18n): externalize tool descriptions for translation (#3912) 2026-03-24 15:17:33 +03:00
identity.rs test: cover deterministic HashMap ordering paths 2026-02-18 21:55:40 +08:00
lib.rs fix(onboard): make tmux paste safe for text prompts (#4106) 2026-03-24 15:30:44 +03:00
main.rs feat(status): show service running state in zeroclaw status (#3751) 2026-03-24 15:30:45 +03:00
migration.rs readd tests, remove markdown files 2026-02-18 14:42:39 +08:00
multimodal.rs feat(multimodal): route image messages to dedicated vision provider (#4264) 2026-03-24 15:34:52 +03:00
util.rs feat(hardware): add RPi GPIO, Aardvark I2C/SPI/GPIO, and hardware plugin system (#4125) 2026-03-24 15:30:43 +03:00