Repository navigation
Releases
Releases · rbhgaston/oc-stats
oc-stats 0.2.0
Added
- Session sidebar Stats panel, ordered local to global: session cost and tokens, project
cost, then range totals, tools, streak and a daily-steps sparkline. 24hrange alongside7d,30d,90dandall.- Spend bar splitting a session's cost by output, billed input and cached tokens.
- Hover a model in Top models to see its full name; click to pin it.
- SVG previews for the README, generated by
docs/generate-preview.py. tsconfig.jsonandnpm run typecheckfor contributors.
Changed
- Slash command renamed from
/statsto/oc_stats. - npm package renamed to
oc-stats-tui. - README rewritten with a comparison against the built-in
opencode stats. - Sidebar, project and range sections now use colored rules.
- Text colors now use the supported
styleprop on spans, so section and bar colors render.
oc-stats 0.1.0
Initial release.
- Overview: cost, token split, cache savings, heatmap (cost / tokens / steps), sparkline, model table, period comparison.
- Projects: sortable project table, fold/unfold sessions, session detail with time split, tools, latency and slowest calls.
- Performance: TTFT, model call and step duration, output speed, tool duration, per-project comparison, slowest model/tool calls.
- Mouse and keyboard interaction, responsive compact layout.
Install: clone into ~/.config/opencode/plugins/oc-stats and run /stats.