github alexgreensh/token-optimizer v5.3.6
v5.3.6 — Audit opens bookmarkable URL + version badge

latest releases: v5.11.12, v5.11.11, v5.11.10...
2 months ago

Fixes a real user frustration: with the dashboard daemon installed and http://localhost:24842/token-optimizer bookmarked, /token-optimizer and /token-dashboard kept opening file:// paths anyway. The bookmarked URL was never the entry point.

What changed

  • Audit dashboard mirrors to the persistent path. /token-optimizer still writes its audit result to the coord-path so each run keeps a self-contained artifact, but it now also writes the same HTML to ~/.claude/_backups/token-optimizer/dashboard.html. The live daemon immediately serves the fresh audit content.
  • URL-first browser open. When the daemon identity probe passes, the skill opens http://localhost:24842/token-optimizer instead of a throwaway file:// path. Falls back to file:// only when the daemon is unreachable.
  • Version badge on the Overview tab. Shows which Token Optimizer wrote the HTML and when, so stale-cache confusion becomes visible at a glance.
  • View-source hint. A one-line note under the Overview header says whether you are viewing the live URL or a local file, with a setup-daemon pointer when you are on file://.

Upgrade

/plugin update token-optimizer, then hard-reload the dashboard tab (Cmd-Shift-R / Ctrl-Shift-R). Next time you run /token-optimizer or /token-dashboard with the daemon live, the browser lands on your bookmark URL.

Setup a bookmarkable URL if you don't have one yet

python3 $MEASURE_PY setup-daemon

macOS (launchd), Windows (Task Scheduler), and Linux (systemd --user) all supported since v5.3.5.

Don't miss a new token-optimizer release

NewReleases is sending notifications on new releases.