claude-usage-widget/src-tauri
megaproxy 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
..
capabilities Add Tauri config, Cargo.toml, capabilities 2026-05-09 00:00:55 +01:00
icons Add Tauri config, Cargo.toml, capabilities 2026-05-09 00:00:55 +01:00
src Replace cap-based estimation with PTY-driven 'claude /usage' parser 2026-05-09 01:40:44 +01:00
build.rs Add Tauri config, Cargo.toml, capabilities 2026-05-09 00:00:55 +01:00
Cargo.toml Replace cap-based estimation with PTY-driven 'claude /usage' parser 2026-05-09 01:40:44 +01:00
tauri.conf.json Remove autostart JSON config (plugin takes args via Rust init(), not tauri.conf.json) 2026-05-09 00:42:48 +01:00