Add streaming events for in-flight tool calls #17

Merged
weichen merged 1 commits from feature/stream-display-overhaul into main 2026-10-02 05:04:38 +00:00
Owner

Why: The UI cannot show a tool until execution starts, because argument deltas never leave the model stream.

Evidence: go test in modules/core.

Impact: tool.call.delta, tool.output, and tool.result.durationMs.

Merge this before Backend.

Why: The UI cannot show a tool until execution starts, because argument deltas never leave the model stream. Evidence: go test in modules/core. Impact: tool.call.delta, tool.output, and tool.result.durationMs. Merge this before Backend.
weichen added 1 commit 2026-10-02 02:38:00 +00:00
Why: The client only learned about a tool call once execution started, so long argument generation looked like a frozen cursor.
Evidence: go test ./...
Impact: New tool.call.delta and tool.output events; tool.result may include durationMs. Unknown event types stay ignored.
Refs: feature/stream-display-overhaul
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 3f7067fb2d into main 2026-10-02 05:04:38 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#17