[PR #10925] feat: stream partial tool arguments #13607

Open
opened 2026-02-16 18:18:27 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10925

State: open
Merged: No


What does this PR do?

Exposes partial tool arguments during streaming by populating state.raw with accumulated deltas. Previously, tool-input-delta events were ignored and consumers had to wait for the full tool call to complete before seeing any arguments.

Fixes #9737

How did you verify your code works?

  • Tests pass
  • Follows the same pattern as existing text-delta handling
  • TypeScript compiles
  • Tested in app
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10925 **State:** open **Merged:** No --- ### What does this PR do? Exposes partial tool arguments during streaming by populating `state.raw` with accumulated deltas. Previously, `tool-input-delta` events were ignored and consumers had to wait for the full tool call to complete before seeing any arguments. Fixes #9737 ### How did you verify your code works? - Tests pass - Follows the same pattern as existing `text-delta` handling - TypeScript compiles - Tested in app
yindo added the pull-request label 2026-02-16 18:18:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13607