Skip to content

feat(opencode): surface context-window usage and session cost on the meter - #8659

Closed
ardevdevts wants to merge 12 commits into
pingdotgg:mainfrom
ardevdevts:t3code/opencode-context-window-usage
Closed

ardevdevts wants to merge 12 commits into
pingdotgg:mainfrom
ardevdevts:t3code/opencode-context-window-usage

fix(opencode): ignore prior-turn updates in token totals

bf3d9ab
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check completed Sep 5, 2026 in 2m 31s

Not approved

  • Eligibility
  • Correctness

Note

More information about how approvability works can be found in our Help Center.

Details

Eligibility
This PR adds a substantial, automatically active OpenCode usage and cost-metering feature across the server event pump, shared contracts, and web UI, including catalog lookups and new turn accounting. An unresolved Medium-severity comment also concerns possible prior-turn usage contamination.

Notes:
No code owners found in target merge base 5fe5c6f

Correctness
1 blocking correctness issue found