An OpenCode plugin that replaces the built-in Context section in the TUI sidebar with a progress bar.
████░░░░░░░░░░░░░░░░ 22.3%
234,230 / 1,048,576
Pairs with @glaicer/supercode-token-usage-panel: that one shows total spend for the session family, this one shows window occupancy.
Install with the OpenCode CLI — it detects the TUI target and registers the plugin in tui.json for you:
opencode plugin @glaicer/supercode-context-progress-bar--globalinstalls into the global config (~/.config/opencode); default is local (.opencodein the current project).--forcereplaces an already-installed version.- Restart OpenCode after installing.
Manual install also works: add the package to the plugin array in tui.json (global ~/.config/opencode/tui.json or local <project>/.opencode/tui.json):
Important
The first OpenCode load after installing this plugin may be slow. That's OpenCode downloading the plugin's packages and managed tools into its cache — it happens once. Every subsequent start is fast.
{ "plugin": ["@glaicer/supercode-context-progress-bar"] }