Skip to content

[BUG] Web UI shows "Thinking" instead of "Running" while bash tool is executing #22108

@leoleoasd

Description

@leoleoasd

Description

In the web UI, the status indicator always shows "Thinking" while the session is busy — even when a bash/shell tool is actively running and the model is just waiting for the command to finish. This is misleading because no "thinking" is happening; the agent is waiting for shell output.

This affects two flows:

  1. Agent-invoked bash tool — the agent decides to run a command (e.g. npm test). While the command executes, the "Thinking" shimmer is shown alongside the tool card.
  2. ! shell escape — the user types !ls to run a command directly. There is zero LLM involvement, yet "Thinking" is displayed while the command runs.

Plugins

No response

OpenCode version

No response

Steps to reproduce

in web ui, use ! escape to run a command.

! sleep 5s

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