Skip to content

v2.1.0

Latest

Choose a tag to compare

@ramtinJ95 ramtinJ95 released this 10 Nov 23:01
a7ad915

Adds a native token usage panel on OpenCode V2. OpenCode V1 is unaffected.

Added

  • On OpenCode V2, /tokenscope opens a token usage panel beside the session. The panel reads the analysis from the plugin over RPC, so it makes no model request and adds nothing to the session, and it reloads when the session finishes a turn. It is also in the command palette as "Token usage report".
  • The panel's context window split is scaled to the context OpenCode recorded for the last request, so its rows add up to the provider's count. Local tokenization only supplies the proportions.
  • Added bundled pricing for gpt-6.1-terra from models.dev.

Changed

  • On OpenCode V2, the command that has the model print the text report is now /tokenscope-report. /tokenscope on OpenCode V1 is unchanged.