v0.3.5
First-run polish + bug fixes surfaced during the v0.3.5 pre-release playbook. No breaking changes — pipx upgrade tokenjam, then tj stop && tj serve & to reload the daemon.
Bug fixes
- #101 —
tj mcpworks out of the box on a fresh install.fastmcpmoved from the[mcp]extra into base dependencies, sopipx install tokenjamis enough to wire TokenJam into Claude Code without remembering an extra. The[mcp]extra is kept as a no-op for back-compat. The MCP server now also raises a clean, actionableImportErrorpointing at the fix iffastmcpis somehow missing. - #98 — "No pricing data" warning no longer spams during backfill. Warns once per
(provider, model)per process. Verified against a 20,000-span Claude Code backfill: zero warnings where pre-0.3.5 emitted hundreds. Deprecated Anthropic base models (claude-sonnet-4,claude-opus-4,claude-opus-4-1,claude-haiku-3-5) added topricing/models.tomlso dated variants likeclaude-sonnet-4-20250514resolve correctly via the YYYYMMDD-stripping fallback instead of falling through to defaults. - #106 — UI footer no longer shows a 9-release-old version.
tokenjam/__init__.pynow reads fromimportlib.metadata.version("tokenjam")(single source of truth =pyproject.toml). NewGET /api/v1/versionendpoint; the UI footer fetches it on init. Same-origin — offline-UI guarantee preserved. - #106 —
GET /healthendpoint added as a conventional uptime probe. Returns{"status":"ok","version":"..."}./api/v1/statuscontinues to be the agent overview. - #106 —
tj tokenmaxxplan-multiplier renders from project subdirs. When run from a directory whose.tj/config.tomlhas no[budget]section,_config_declared_plannow falls back to reading~/.config/tj/config.tomldirectly. Previously dropped silently to api-pricing framing even when the user hadplan = "max_5x"configured globally viatj onboard. - #105 —
tj report --trimnot-ready hint renders[capture]literally. Rich's print parser was silently swallowing the[capture]substring as an invalid style tag, hiding the section name the user needs to enable.
DX
tj --helpepilog now shows the canonical upgrade incantation (pipx upgrade tokenjam→tj stop && tj serve &→tj --version).docs/installation.mddocuments that[mcp]is no longer needed.- Pre-release and post-release manual test playbooks updated to cover the new surface (six-tier tokenmaxx ladder, offline-UI DevTools check, cache cost-correctness verification).
Upgrade
pipx upgrade tokenjam
tj stop && tj serve &
tj --version # expect 0.3.5