Commit graph

4 commits

Author SHA1 Message Date
4d5bce244a Bump version to 0.1.1 (themes release) 2026-05-09 15:53:03 +01:00
79fc144235 Add system tray icon (Show/Hide/Refresh/Quit; left-click restores window)
Solves the 'lost window' problem — if the widget gets dragged off-screen
or hidden behind other apps, users can recover it via the tray.

Enables tauri 'tray-icon' feature; tray runs entirely Rust-side so no
new JS capabilities needed.
2026-05-09 14:47:03 +01:00
db9a10a4c2 Replace cap-based estimation with PTY-driven 'claude /usage' parser
The widget now spawns 'claude' via portable-pty, sends /usage, parses the
three rendered bars (Current session / Current week all / Current week
Sonnet), and shows the real percentages in the ring + weekly bars. A
background task refreshes every 5 minutes; the title-bar refresh button
forces an immediate fetch.

Drops the cap-tuning UI and tier card from Settings; adds a 'claude command'
override (e.g. 'wsl.exe -- claude' for Windows-host widgets reading WSL
credentials) and a refresh-interval setting. Fixes title-bar buttons getting
swallowed as drag attempts via data-tauri-drag-region="false".
2026-05-09 01:40:44 +01:00
8abb0599f6 Add Tauri config, Cargo.toml, capabilities 2026-05-09 00:00:55 +01:00