Skip to content

v1.0.5

Latest

Choose a tag to compare

@Shlomob Shlomob released this 22 Oct 13:58
· 3 commits to main since this release
1e9358f

Highlights

  • OpenCode v2 support: reads the new session_v2 / session_message tables. If you upgraded OpenCode to v2, earlier versions of ocmonitor showed nothing after the upgrade date. On upgraded databases, older sessions that OpenCode's migration didn't copy are still read from the legacy tables, so your full history and output-speed stats are kept.
  • models.dev remote pricing now works: the fallback previously loaded no prices at all.
  • Provider-aware pricing and display: models.json keys use provider/model-id, and reports show separate Provider and Model columns.
  • Interaction-date attribution: daily, weekly and monthly reports count usage on the day it happened, not the day the session started.
  • Refreshed bundled models.json: current models added, stale prices fixed, and retired models kept so historical sessions stay priced.

See the CHANGELOG for full details.

Upgrade

pipx upgrade opencode-monitor   # or: pip install --upgrade opencode-monitor

Acknowledgements

Thanks to @mgoeppe (#41, #42) and @Nopparuj-an (#51, continued in #52).