Skip to content

v1.6.16 — Lifetime savings tracker, session-scoped guard, global metrics

Choose a tag to compare

@junaidtitan junaidtitan released this 08 Apr 20:38
· 465 commits to main since this release

Lifetime Savings Tracker

After every prune+execute or reload, one line shows your cumulative impact:

Cozempic: 4.5M tokens saved | 3.2x longer sessions | ~890 extra turns
  • Tokens saved: cumulative across all sessions, all projects
  • Nx longer sessions: how much more runway you get per session
  • Extra turns: estimated additional turns before hitting limits
  • Persists to ~/.cozempic_savings.json

Session-Scoped Guard (fixes #72)

Guard daemon is now keyed by session ID, not CWD. Two sessions in the same directory each get their own independent guard with separate thresholds and state. No more silent coverage gaps.

Background Task Awareness

treat --execute now detects active background tasks and warns before writing:

WARNING: 2 background task(s) in progress:
  - Run benchmark suite
Writing may interrupt these tasks. Continue? [y/N]

Auto-Update Counter Fix

The auto-update counter was only counting Python-path upgrades (~12% of actual). Now counts upgrades from SessionStart hook, npm, and Python updater. Auto-updates jumped from 147 to 310 overnight after this fix.

Global Metrics

counterapi now tracks total prunes and token savings buckets across all users. Stats dashboard shows estimated global tokens saved.