opencode-usage-dashboard
v1.0.3
Published
TUI usage dashboard plugin for OpenCode
Downloads
184
Readme
opencode-usage-dashboard
TUI usage dashboard plugin for OpenCode.
It adds a /usage command with model, agent, tool, throughput, and error views across project and session scope.
Repository: https://github.com/cosmiclasagnadev/opencode-usage
Install
Add it to opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-usage-dashboard"]
}If you keep plugin config in tui.json, that works too:
{
"$schema": "https://opencode.ai/tui.json",
"plugin": ["opencode-usage-dashboard"]
}Usage
- Open
/usage gcycles scopeTab/Shift+Tabcycles sectionwcycles time window1/2/3jump to7d/30d/allscycles sortEscgoes back
Throughput
The throughput section shows end-to-end output rate, not decode-only model TPS.
It is calculated as output tokens divided by the time between the first visible assistant text and message completion.
Current Limits
- visible scopes are
projectandsession - true cross-project
globalscope is not shipped yet - throughput is not provider-side decode TPS
Development
bun run typecheck
bun run buildRelease
The standalone repo is intended to publish through GitHub Actions with npm trusted publishing.
