Repository navigation
v0.1.0
First tagged release.
Fixed
- Per-model energy attribution: tokens are now tracked per
modelIDand billed at each model's own energy factor, then summed — previously every token in a mixed session was billed at the single largest model's rate. - Token counters are
?? 0-guarded — an undefined field from a provider can no longer poison the totals withNaN. - PUE (1.1) is now actually applied in the CO2 computation (was documented but never multiplied in).
- Cache read/write tokens are included in the energy total (flat-rate simplification, noted in code).
Added
- Unit tests (
node --test, 9 cases) + CI on Node 24. @opencode-ai/pluginbumped 1.1.60 → 1.18.3.
Changed
- The
/co2report now shows a per-model breakdown above the session total.