You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Add status light indicator for opencode state #30272
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When using opencode in a terminal (especially in WSL or tiled window managers), there is no quick way to glance at the terminal title and know whether opencode is idle, thinking, or actively working. Similarly in Web UI, there is no visual indicator on session tabs showing the current state.
Proposal: Add a configurable status light indicator in the terminal title bar and Web UI session tabs:
Color
State
🟢 Green
Idle, waiting for user input, or pending permission/question
🟡 Yellow
Thinking (no active tool or text output)
🔴 Red
Running tools or LLM is generating text
Configuration:status_light: boolean at top-level config, defaults to false.
{ "status_light": true }
In TUI, the indicator is prepended to the terminal title (e.g. 🟢 OC | My Session). In Web UI, a colored dot is shown before the tab title text.
Core logic lives in a shared computeStatusLight() function in packages/core/src/session/status-light.ts, used by both TUI and Web UI.
Activity
github-actions commentedon Jun 1, 2026
This issue might be a duplicate of existing issues. Please check:
If your request is distinct from these, please add a note explaining what makes it different.
niushuai1991 commentedon Jun 1, 2026
These are related but distinct:
niushuai1991 commentedon Jun 6, 2026
Closing this issue — the feature has been implemented as a plugin. You can install it via the
opencode-traffic-lightplugin or directly from the repository at https://github.com/niushuai1991/opencode-traffic-light.