v0.5.0
What's changed
Added
- DeepSeek vendor (
--vendor deepseek): fetches credit balance from
GET /user/balance, preferring USD over CNY when both currencies are
present. Severity thresholds are scaled per currency (CNY ≈ 7× USD).
API key is read fromDEEPSEEK_API_KEYenv var or[deepseek] api_key
in config. Disabled by default (requires explicit opt-in). - DeepSeek API key field added to the TUI Settings overlay (
skey),
consistent with Z.AI and OpenRouter. - macOS Keychain fallback for Anthropic credentials. Recent Claude
Code builds on macOS store their OAuth state in the login Keychain
(generic-password serviceClaude Code-credentials) instead of
~/.claude/.credentials.json, so the widget failed with an I/O error
on a missing file. When the file is absent on macOS, ai-usagebar now
reads the same{ claudeAiOauth, mcpOAuth }JSON from the Keychain
viasecurity(1), and writes refreshed tokens back to that same item
so it keeps a single source of truth with Claude Code instead of
forking a stale copy. Linux behavior is unchanged.
Install
Arch (AUR)
yay -S ai-usagebar-bin # prebuilt binary from this release
yay -S ai-usagebar # compiles from sourceManual
curl -fsSL https://github.com/akitaonrails/ai-usagebar/releases/download/v0.5.0/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
9a9e800754f671c24907ad9d5ff13920f200fb5e55e3cc7c7617ec844230dac2 ai-usagebar-linux-aarch64.tar.gz
f291530b80a0969ddec467a0f8a0f9033347a41bc1ab4a76d19fe4b012701b76 ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.4.5...v0.5.0