v0.1.18
Claude Usage Desktop v0.1.18
A big quality-of-life release: usage history now persists and is visualised, the LAN/remote experience survives network blips, and a raft of OAuth/token-refresh and tray-icon reliability fixes land.
Highlights
- Stats page + cumulative usage logger. Usage is now recorded over time and surfaced on a dedicated stats view, so you can see consumption trends instead of just the current window.
- Normalised dual-axis cumulative graph. The cumulative chart now plots Session and Week on independent, auto-fit axes (each scaled to its own window max) so both lines always use the full plot height. Step-after lines reflect the real integer-% transitions, Session and Week have distinct colours, and the Week key is a dashed line to match its series.
- LAN / SignalR auto-reconnect resilience. The browser/remote view now shows a "Reconnecting…" indicator and recovers automatically after a dropped connection instead of going silently stale.
- Smarter host-IP selection. The advertised LAN address now skips USB-tether/RNDIS and VirtualBox host-only adapters (including the
192.168.56.xsubnet), so the QR/URL points at the real network interface. - Honest dynamic-axis usage bars. Usage bars scale to a real, data-driven axis instead of a misleading fixed projection.
- Unified in-page About modal. The About box is now a single consistent in-page modal driven by the app slug.
Reliability fixes
- Token-refresh cooldown / back-off. Added a refresh cooldown on
429from the token endpoint to stop a self-inflicted refresh lockout, plus exponential backoff with a visible backoff status card. - Automatic OAuth token refresh (proactive + reactive), with the refresh endpoint corrected and the full refresh lifecycle instrumented to a dedicated auth-refresh log file for field debugging.
- Stale-data-on-auth-failure. On an auth failure the app now shows the last-known good data (clearly) rather than blanking out, and serves assets with a cache-buster.
- Window-close no longer kills the server. Closing or hiding the window keeps Kestrel and the background poller running until you explicitly Quit from the tray.
- Tray-icon fixes for the single-file published build (icon was invisible / set too early during construction).
- Single-instance guard so a second launch focuses the running app instead of fighting over the port.
- Fixed a first-load JS crash (connection TDZ bug), stats-view height on landscape viewports, a multi-view navigation bug, and
wwwrootnot publishing alongside the single-file exe.
Install
Download ClaudeUsage-v0.1.18-win-x64.zip, extract the whole folder, and run ClaudeUsage.exe. It's a self-contained Windows x64 build — no .NET install required. (Keep the extracted files together; the exe needs the wwwroot and WebView2 files beside it.)