[FEATURE]: Bash tool call deltas #3279

Open
opened 2026-02-16 17:39:29 -05:00 by yindo · 6 comments
Owner

Originally created by @drewstone on GitHub (Dec 3, 2025).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

It is my understanding that if a command is running and output stdout, that it is only ALL sent at the end / completion of the tool call, not during it.

It would nice to consume a stream of command output while it's running, I have not found or been able to consume it like this.

Originally created by @drewstone on GitHub (Dec 3, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request It is my understanding that if a command is running and output stdout, that it is only ALL sent at the end / completion of the tool call, not during it. It would nice to consume a stream of command output while it's running, I have not found or been able to consume it like this.
yindo added the discussion label 2026-02-16 17:39:29 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 3, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4788: Bash tool timed out after 60 seconds - related to long-running command timeouts and output handling
  • #2985: Bash tool does not show timeout to model or user - model might set timeout incorrectly - discusses the model not receiving completion signals or timeout information
  • #2101: Implement MCP progress notifications - requests real-time progress feedback for long-running processes
  • #1247: Feature Request: Add tmux Support for Multi-Session Agent Testing - discusses persistent session handling and real-time monitoring
  • #1970: Feature Request: Add Background Bash Execution - proposes running tasks without blocking, similar concern about long-running processes
  • #4355: OpenCode REPL mode - discusses streaming and real-time interaction improvements

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 3, 2025): This issue might be a duplicate of existing issues. Please check: - #4788: Bash tool timed out after 60 seconds - related to long-running command timeouts and output handling - #2985: Bash tool does not show timeout to model or user - model might set timeout incorrectly - discusses the model not receiving completion signals or timeout information - #2101: Implement MCP progress notifications - requests real-time progress feedback for long-running processes - #1247: Feature Request: Add tmux Support for Multi-Session Agent Testing - discusses persistent session handling and real-time monitoring - #1970: Feature Request: Add Background Bash Execution - proposes running tasks without blocking, similar concern about long-running processes - #4355: OpenCode REPL mode - discusses streaming and real-time interaction improvements Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 3, 2025):

Uh we do stream them...

What version of OC are you on?

@rekram1-node commented on GitHub (Dec 3, 2025): Uh we do stream them... What version of OC are you on?
Author
Owner

@drewstone commented on GitHub (Dec 3, 2025):

Upgrading now, what is the event name that we should look for? You had mentioned to me on twitter that the events are

  • tool start
  • tool called
  • tool result
@drewstone commented on GitHub (Dec 3, 2025): Upgrading now, what is the event name that we should look for? You had mentioned to me on twitter that the events are - `tool start` - `tool called` - `tool result`
Author
Owner

@rekram1-node commented on GitHub (Dec 3, 2025):

Ohhh okay I didn't realize you were same person and I thought you meant the tui wasn't showing it

@rekram1-node commented on GitHub (Dec 3, 2025): Ohhh okay I didn't realize you were same person and I thought you meant the tui wasn't showing it
Author
Owner

@rekram1-node commented on GitHub (Dec 3, 2025):

We have MessageV2.Event.PartUpdated event that emits the full change, the tools don't track deltas rn they emit full state everytime

@rekram1-node commented on GitHub (Dec 3, 2025): We have `MessageV2.Event.PartUpdated` event that emits the full change, the tools don't track deltas rn they emit full state everytime
Author
Owner

@rekram1-node commented on GitHub (Dec 3, 2025):

So it'd be like:

loop ( echo time ) x 5

MessageV2.Event.PartUpdated:
1.00
MessageV2.Event.PartUpdated
1.00
2.00
MessageV2.Event.PartUpdated
1.00
2.00
3.00

If that makes sense

@rekram1-node commented on GitHub (Dec 3, 2025): So it'd be like: loop ( echo time ) x 5 MessageV2.Event.PartUpdated: 1.00 MessageV2.Event.PartUpdated 1.00 2.00 MessageV2.Event.PartUpdated 1.00 2.00 3.00 If that makes sense
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3279