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
Configurable status bar items (e.g. working directory / git branch) #33676
When working with multiple OpenCode splits (Cmd+D) in the same terminal tab — each pointing at a different git worktree of the same monorepo — there is no way to tell at a glance which split is running in which worktree. The sidebar shows the directory name but disappears when the window is narrowed, and terminal-level tab titles don't help across splits in the same tab (splits have no per-pane title in most terminal emulators, including Ghostty).
The status bar below the message input (currently showing token usage / model) is the one piece of UI that is always visible regardless of window size or sidebar state, but it is currently hardcoded — there is no config field to add custom items to it.
Proposal
Add a config field (e.g. statusbar.items) to the config schema that accepts one or more shell commands whose output is rendered in the status bar alongside the existing token/model info. Example:
For users running 3-4 OpenCode splits side-by-side (common in multi-worktree monorepo workflows), the status bar is the only UI surface guaranteed to be visible in every split regardless of window width. Letting it show the working directory and/or git branch would make it immediately obvious which split is which — without needing to widen the sidebar in each pane.
Alternatives considered
Shell-level tab titles (OSC sequences): works for tabs, but most terminal emulators (including Ghostty) don't have per-split/pane titles — only the focused split's title propagates to the tab.
CLAUDE.md rule forcing the agent to print the branch at the start of every reply: noisy and only visible when scrolling back through messages, not at a glance.
Activity
github-actions commentedon Jun 24, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:for feature requests (e.g.[FEATURE]: Configurable status bar items (e.g. working directory / git branch))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:
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Jun 24, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.