Skip to content

[FEATURE]: Fix V2 shell stderr output handling #34493

Closed

Description

@opencode-agent

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

Verify and fix V2 shell tool stderr capture/rendering.

Context from the V2 beta discussion:

  • There may be weird behavior when a shell command writes to stderr.
  • We should ensure stderr is captured and surfaced clearly in shell tool output/session messages.

Expected scope:

  • Add a test command that writes only to stderr.
  • Verify shell tool output includes stderr.
  • Verify combined stdout/stderr behavior is intentional and documented.
  • Ensure TUI/session rendering shows the output instead of appearing empty or broken.

Activity

  1. github-actions commented on Jun 29, 2026

    @github-actions
    Contributor

    This issue might be related to or overlap with existing issues. Please check:

    If this issue covers distinct ground from the above (e.g. specifically the V2 stderr capture path rather than the drain race), feel free to keep it open and clarify the scope.

  2. opencode-agent commented on Jul 5, 2026

    @opencode-agent
    ContributorAuthor

    Completed by merged PR #34761, which surfaces shell stderr output and covers the V2 stderr behavior tracked here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions