Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

context-progress-bar

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

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
  • --global installs into the global config (~/.config/opencode); default is local (.opencode in the current project).
  • --force replaces 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):

{
  "plugin": ["@glaicer/supercode-context-progress-bar"]
}

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.

About

OpenCode TUI sidebar section: context-window usage as a progress bar.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages