Skip to content

[FEATURE]: Add status light indicator for opencode state #30272

Closed

Description

@niushuai1991

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

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

  1. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    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.

  2. niushuai1991 commented on Jun 1, 2026

    @niushuai1991
    ContributorAuthor

    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.

    These are related but distinct:

  3. niushuai1991 commented on Jun 6, 2026

    @niushuai1991
    ContributorAuthor

    Closing this issue — the feature has been implemented as a plugin. You can install it via the opencode-traffic-light plugin or directly from the repository at https://github.com/niushuai1991/opencode-traffic-light.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions