Summary
Shell tool output should be streamed to the user as terminal text while a command is running, rather than only appearing after the command completes. This would make long-running commands easier to monitor and improve transparency during execution.
Task
- Add support for incremental/streaming terminal output from shell tool invocations.
- Display stdout/stderr as it is produced while the command is still running.
- Preserve the final command result/status once execution completes.
- Ensure streamed output remains readable and clearly associated with the active shell command.
Acceptance Criteria
- Users can see terminal text progressively during long-running shell commands.
- Both stdout and stderr are surfaced in near real time.
- The final shell tool response still includes completion status and any remaining output.
- Behavior is robust for commands that produce no output, large output, or interleaved stdout/stderr.
Summary
Shell tool output should be streamed to the user as terminal text while a command is running, rather than only appearing after the command completes. This would make long-running commands easier to monitor and improve transparency during execution.
Task
Acceptance Criteria