Drop claude-fetcher binary and cron job — the widget's built-in
BackgroundFetcher is the sole fetcher now. Add cmd/setup with cross-platform
install and uninstall (--uninstall): kills widget, removes binaries + autostart,
cleans Claude Code statusline setting, optionally removes config dir.
Also includes: browser-based login (chromedp), ICO wrapper for Windows tray
icon, and reduced icon size (64px).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace Node.js + Python codebase with three Go binaries:
- claude-statusline: CLI status bar for Claude Code
- claude-fetcher: standalone cron job for API usage
- claude-widget: system tray icon (fyne-io/systray + fogleman/gg)
All CGO-free for trivial cross-compilation. Add nfpm .deb packaging
with autostart and cron. CI pipeline produces Linux + Windows binaries,
.deb, .tar.gz, and .zip release assets.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Desktop widget (Python/pystray): system tray icon showing 5h usage as
circular progress bar with Claude starburst logo, 10-step green-to-red
color scale, right-click menu with usage stats and configuration
- Shared cache: both widget and CLI statusline read/write the same
/tmp/claude_usage.json — only one fetcher needs to run
- Installer wizard (install_wizard.py): interactive cross-platform setup
with component selection, session key prompt, cron/autostart config
- OS wrappers: install.sh (Linux/macOS) and install.ps1 (Windows) find
Python 3.9+ and launch the wizard
- README with topology diagram, usage docs, and configuration reference
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>