What's New
Kiro Quota Widget Fix
- Fixed Kiro CLI detection for GUI apps launched outside terminal
- Fixed quota parsing - now correctly reads kiro-cli output from stderr
- Kiro quota widget now shows plan type and credit usage properly
Bug Fixes
Kiro CLI Not Found
- Issue: GUI apps don't inherit user's shell PATH, so
~/.local/bin/kiro-cliwasn't found - Fix: Search common installation paths:
~/.local/bin/kiro-cli/opt/homebrew/bin/kiro-cli/usr/local/bin/kiro-cli- Falls back to
which kiro-cli
Kiro Quota Shows "UNKNOWN"
- Issue: kiro-cli writes output to stderr, but code was reading stdout
- Fix: Read from stderr instead of stdout for quota parsing
Technical Changes
src-tauri/src/lib.rs:- Added
find_kiro_cli()helper to search multiple paths - Changed
fetch_kiro_quotato read fromout.stderr - Simplified plan regex to
KIRO\s+(FREE|PRO|ENTERPRISE)
- Added
Full Changelog: v0.3.87...v0.3.88