Skip to content

v0.2.1

Choose a tag to compare

@salitaba salitaba released this 10 Sep 11:43
· 105 commits to main since this release

Bug fixes and docs. No change to budget or handoff behavior.

Fixes

  • --session scoping: 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 with OPENCODE_DB).
  • Cost formatting: trailing zeros trimmed, so the receipt reads $13.61 instead of $13.6100.
  • Receipt labels: the effective-fresh breakdown shows the ×0.1 / ×1.25 multipliers, and the cache ratio is labeled cache read ÷ (input+output) to match what it computes.

Docs

  • README: demo GIF and MP4, one-command install, table of contents, --session / --json documented, verify-install step.

Install / upgrade

npm i opencode-token-norm@0.2.1

Add "opencode-token-norm" to plugin in opencode.json.