Repository navigation
Adds a native token usage panel on OpenCode V2. OpenCode V1 is unaffected.
Added
- On OpenCode V2,
/tokenscopeopens 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-terrafrom models.dev.
Changed
- On OpenCode V2, the command that has the model print the text report is now
/tokenscope-report./tokenscopeon OpenCode V1 is unchanged.