Repository navigation
Releases: eli-manning/claude-usage-tracker
Releases · eli-manning/claude-usage-tracker
Release list
v1.0.8
Escalate to SIGKILL when a provider CLI ignores SIGTERM The previous fix (SIGTERM handler so Python's finally block actually runs) turned out to be necessary but not sufficient: a fully-authenticated agy keeps its own background goroutine loop alive (quota/experiment/model refresh against Google's backend), and observed instances kept retrying that loop every ~1s for days after the wrapper sent SIGTERM — the process just doesn't reliably die from it once live. Verified with a process that explicitly ignores SIGTERM (signal.SIG_IGN): the old cleanup left it running forever; escalating to SIGKILL after a 2s grace period kills it immediately, since SIGKILL can't be caught, blocked, or ignored. Applied to all four wrappers. Bump to 1.0.8.
v1.0.7
Fix orphaned agy/codex/cursor/claude PTY child processes The Python PTY wrappers relied on a try/finally to SIGTERM their forked CLI child, but Python's default SIGTERM handling terminates the process immediately without running finally blocks — so killing a stalled wrapper (main.js's doneTimeout) orphaned the forked process instead of cleaning it up, since each is its own session leader via setsid(). Install a SIGTERM handler that raises instead, so cleanup actually runs. Also track spawned children in main.js and kill them on before-quit so a mid-fetch app restart doesn't abandon them either. Bump to 1.0.7.
v1.0.6
v1.0.6: Codex/Cursor usage fetching and caching in os-menu
v1.0.5
v1.0.4
v1.0.3
v1.0.2
What's new
- Right-click to quit — right-click the tray icon to get a menu with a Quit option
Also in this release (from v1.0.1)
- Windows crash fixed — node-pty native binaries were packed inside the .asar archive and couldn't be found
- Trust prompt now saves — the app gives Claude time to persist the trust decision so it doesn't re-prompt every launch
v1.0.1
What's fixed
- Windows crash on launch — node-pty native binaries were packed inside the .asar archive and couldn't be found. Fixed with asarUnpack.
- Trust prompt re-appearing every launch — the app was killing Claude before it had time to save the trust decision to disk. Now gives Claude 1.5s to persist it. Also ensures claude always runs from the home directory so the trust is saved to ~/.claude/ where future terminal runs will find it.
v1.0.0
Menu bar app that shows your Claude Code usage at a glance. Download the DMG, drag to Applications, and launch.