Skip to content

[BUG] Web UI hides bash output during execution despite streaming data being available #22116

@leoleoasd

Description

@leoleoasd

Description

Tthe web UI hides tool output until the command completes. The streaming pipeline already delivers output chunks to the client -- props.metadata.output updates reactively during execution. However, three UI gates prevent it from being visible:

  1. BasicTool's handleOpenChange blocks toggling the collapsible during both pending and running states
  2. BasicTool's Collapsible.Arrow is hidden during both pending and running states
  3. The bash tool's description subtitle is hidden during both pending and running states

Additionally, the collapsible starts closed by default and there's no mechanism to auto-open it when a command starts executing.

Plugins

No response

OpenCode version

No response

Steps to reproduce

!for i in 1 2 3 4 5; do echo $i; sleep 1; done

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

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