@tomdewildt/opencode-sidebar-context
v0.1.1
Published
OpenCode plugin that shows context usage, cache hit rate and cost in the sidebar
Maintainers
Readme
OpenCode Sidebar Context
Plugin for OpenCode that shows the context usage, cache hit rate and cost of the current session in the sidebar.
How To Run
Prerequisites:
- mise version
2025.1.0or later - bun version
1.4.0or later - opencode version
2.0.0or later
Development
- Run
mise run initto initialize the environment. - Run
mise run testto run the tests. - Run
mise run buildto bundle the plugin intodist/.
How To Use
Add the plugin to ~/.config/opencode/cli.json and disable the built-in context section:
{
"$schema": "https://opencode.ai/v2/cli.json",
"plugins": ["@tomdewildt/opencode-sidebar-context", "-opencode.sidebar.context"]
}