Skip to content

Releases

v0.0.7

Choose a tag to compare

@chopratejas chopratejas released this 01 Jun 20:23

tokview 0.0.7

Added — tokview import: backfill historical usage from local agent logs (no proxy needed)

  • tokview import claude — reads ~/.claude/projects/**/*.jsonl (per-request provider token usage + per-tool estimates).
  • tokview import codex — reads ~/.codex/sessions/**/*.jsonl, reconstructing per-turn usage (input / cached / output / reasoning) by diffing each rollout's cumulative token_count events (which also sidesteps the rate-limit-only re-emit over-count), plus per-tool estimates from function_call / function_call_output items (shell calls labelled by their command family, e.g. rg, grep, pytest). Codex began persisting token usage in late 2025; older rollouts that predate it are skipped.

Both write into the same SQLite the live proxy uses, so imported history renders in tokview show and the browser dashboard immediately. Idempotent (deduped by transcript / tool id) — safe to re-run and to overlap with live-captured sessions.

Full changelog: https://github.com/chopratejas/tokview/blob/v0.0.7/CHANGELOG.md

v0.0.5

Choose a tag to compare

@chopratejas chopratejas released this 30 May 05:29

Release 0.0.5\n\n- Refresh README around the wrap-first Codex and Claude Code workflow.\n- Add TUI and browser dashboard screenshots to the package docs.\n- Clarify how tokview differs from provider dashboards, SDK observability tools, log readers, and tokenizer-only counters.\n- Bump token-viewer package metadata to 0.0.5.