Repository navigation
Releases
Releases · chopratejas/tokview
v0.0.7
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 cumulativetoken_countevents (which also sidesteps the rate-limit-only re-emit over-count), plus per-tool estimates fromfunction_call/function_call_outputitems (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
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.