Skip to content

Releases: akshatshaw/tokenmap

v0.1.3

29 May 18:36
cef5b97

Choose a tag to compare

See Changelogs for more info.

What's Changed

  • Release 0.1.3: date-range/model filters, CSV export, new defaults by @akshatshaw in #1

New Contributors

Full Changelog: v0.1.2...v0.1.3
tokenmap-demo

v0.1.2

10 May 15:14

Choose a tag to compare

v0.1.2 — Cost calculation fix

Fixed

  • Cost totals stuck on lifetime numbers regardless of filter.
    The Claude adapter's _enrich_from_stats_cache was overwriting
    per-year token totals (built from JSONL logs) with
    stats-cache.json's top-level modelUsage block, which contains
    lifetime totals with no date keys. Result: identical cost output
    on every run and --year filters silently ignored.
  • Enrichment now reads the dated statsCache block and respects
    year_filter, so per-year cost breakdowns reflect only that
    range.
  • Filtering an empty year now correctly reports $0.00 instead of
    the lifetime figure.

Internal

  • Threaded year_filter through _enrich_from_stats_cache call
    site in load().
  • Removed unused pathlib.Path import in
    tokenmap/adapters/claude.py.

Upgrade

pip install --upgrade tokenmap # or: uv pip install --upgrade
tokenmap

No API or CLI changes. Drop-in upgrade.

Intial release

18 Apr 11:28

Choose a tag to compare

tokenmap

yml chnages

v0.1.1

18 Apr 12:44

Choose a tag to compare

  • Fixed image rendering issue