Repository navigation
v0.2.1
Bug fixes and docs. No change to budget or handoff behavior.
Fixes
--sessionscoping: the audit now resolves the session it was asked for instead of falling back to the latest one.- XDG support: the DB path honors
XDG_DATA_HOME($XDG_DATA_HOME/opencode/opencode.db, default~/.local/share/opencode/opencode.db, still overridable withOPENCODE_DB). - Cost formatting: trailing zeros trimmed, so the receipt reads
$13.61instead of$13.6100. - Receipt labels: the effective-fresh breakdown shows the
×0.1/×1.25multipliers, and the cache ratio is labeledcache read ÷ (input+output)to match what it computes.
Docs
- README: demo GIF and MP4, one-command install, table of contents,
--session/--jsondocumented, verify-install step.
Install / upgrade
npm i opencode-token-norm@0.2.1Add "opencode-token-norm" to plugin in opencode.json.