Skip to content

Releases: nxxxsooo/opencode-metrics

Release list

v0.2.0

Choose a tag to compare

@nxxxsooo nxxxsooo released this 30 Jun 10:04

First public release of opencode-metrics — a per-session sidebar metrics plugin for the OpenCode TUI.

Highlights

  • Per-session metrics via the sidebar_content slot — fixes the old footer bar's serve-mode defect where it showed global totals instead of the attached session.
  • Collapsible section (click the header badge). Collapsed = a Speed + Session glance; expanded = full breakdown: Speed, Elapsed, TTFT, Tokens (in/out merged), Cache, Session.
  • Configurable sidebar order + per-row visibility via the shared tui-preferences.jsonc (default order 160).
  • Badge contrast auto-adapts to inverted-color themes.
  • Completed metrics persist until the next request (Speed/Elapsed freeze at completion; Session keeps ticking).

Install

{ "plugin": ["opencode-metrics"] }

Rewrite of Icicno/opencodeBar (credited in LICENSE + README). MIT licensed.