Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 30 May 05:46
· 11 commits to main since this release

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 from DEEPSEEK_API_KEY env var or [deepseek] api_key
    in config. Disabled by default (requires explicit opt-in).
  • DeepSeek API key field added to the TUI Settings overlay (s key),
    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 service Claude 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
    via security(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 source

Manual

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-tui

Checksums (SHA256)

9a9e800754f671c24907ad9d5ff13920f200fb5e55e3cc7c7617ec844230dac2  ai-usagebar-linux-aarch64.tar.gz
f291530b80a0969ddec467a0f8a0f9033347a41bc1ab4a76d19fe4b012701b76  ai-usagebar-linux-x86_64.tar.gz

Full diff: v0.4.5...v0.5.0