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: Custom statusLine via shell script (like Claude Code) #30295
Claude Code supports a customizable statusLine that pipes session state as JSON to a shell script after each assistant message. The script's stdout becomes the status bar. OpenCode currently renders the status bar in SolidJS with no user-facing customization.
Proposal
Add a statusLine config option to opencode.json (or tui.json) that accepts a shell command. After each assistant message, OpenCode pipes session state as JSON to stdin. Whatever the script prints to stdout replaces or extends the current status bar.
Activity
github-actions commentedon Jun 1, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:(currently starts withFeature:)Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
statusLinehook for plugins using a shell command config, referencing Claude Code's statusLine implementationIf you believe this was flagged incorrectly, please let a maintainer know.
Codex CLI support: session-log adapter and tmux output
Elide long branch names, and add a hydration reminder (#8)