Skip to content

Stream terminal output while shell tool commands run #4

@manojsinghnegiwd

Description

@manojsinghnegiwd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions