Releases: akitaonrails/ai-usagebar
Releases · akitaonrails/ai-usagebar
v0.7.1
What's changed
Changed
- TUI narrow layouts now render the vendor picker as a compact horizontal row
above the detail panel instead of keeping the wide-layout vertical sidebar.
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.7.1/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
3b4c0910506cadcb08479fa9b0c0021435223be9039b27772834d2b7a328bb26 ai-usagebar-linux-aarch64.tar.gz
4dfc2bea172fd89f390ea9f9d0f009982d5e1ab7e04e7eee67de353572c13d65 ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.7.0...v0.7.1
v0.7.0
What's changed
Changed
- TUI adopts
ratatui-bubbleteastyling and components. The native
terminal app now uses a Bubble Tea-inspired dashboard layout with rounded
blocks, a selectable vendor sidebar, themed help text, block-style progress
bars, and loading spinners while preserving ai-usagebar's existing
usage-severity colors. The MSRV is now Rust 1.88 to match the new dependency
metadata.
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.7.0/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
eccd6bf2e4cb1c33225161f9cafd0d633e410538a333d9a2ada551deb2afa36f ai-usagebar-linux-aarch64.tar.gz
5eed57b50ce4206cbe6e3bea90811f3922b898371b46d19d8d51341dbfeb437a ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.6.0...v0.7.0
v0.6.0
What's changed
Added
- Native Windows support for the
ai-usagebarandai-usagebar-tui
binaries. Credential paths now resolve the home directory through
directories::BaseDirs(a new sharedcache::home_dir()helper) instead
of reading$HOMEdirectly, so Anthropic (%USERPROFILE%\.claude\.credentials.json)
and OpenAI Codex (%USERPROFILE%\.codex\auth.json) credentials are found
natively on Windows. The Waybar refresh (pkill -RTMIN+13 waybar) is gated
to Unix and becomes a no-op elsewhere, since Waybar is Wayland-only. Linux
and macOS behavior is unchanged. The Waybar widget itself remains
Wayland-only; on Windows the TUI is the entry point. (thanks @EaeDave)
Fixed
- AUR source install no longer fails for users with a customized
active_vendor. The PKGBUILD'scheck()runscargo test --release
against the building user's real$HOME, so a planted
~/.cache/ai-usagebar/active_vendor(e.g. set by widget scroll-cycle to
any non-default vendor) flipped two unit tests via the documented
vendor-precedence rule #2 and aborted the build. Tests now exercise
vendor precedence + TUI theme resolution through hermetic seams
(Cli::resolve_vendor_with,active::cycle_at/read_from/write_to,
App::with_theme) and never read real$HOME/$XDGpaths. Production
behaviour is unchanged (thanks @sombraSoft). - TUI double-processed keystrokes on Windows Terminal. Terminals that
report keyRepeat/Releaseevents in addition toPress(Windows
Terminal, and emulators advertising the Kitty keyboard protocol) made one
Tab/arrow press move several tabs and holding a key fly through them. The
TUI now acts only onKeyEventKind::Press. Harmless and beneficial on all
platforms. (thanks @EaeDave)
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.6.0/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
82233d8607d97fce5418f0e741db3b89ad2af95fbe62eb562a1b5388fd6a4863 ai-usagebar-linux-aarch64.tar.gz
464ebfda1b54901eeede26966073501bbd32175de982c9acceef292e7b5e9f71 ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.5.1...v0.6.0
v0.5.1
What's changed
Changed
- Documented optional Waybar CSS padding for
custom/aibarwhen themes place
it next to tray expander modules such as Omarchy'sgroup/tray-expander
/custom/expand-icon.
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.1/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
df346d25998880c168653e2df8118a6bea22e0fbfd18bc5560d7c7438ce1c2db ai-usagebar-linux-aarch64.tar.gz
40ee97a0953de0ad1d58a4b9ffd225fe53e44bb6b2dbc07145787c041f495ba5 ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.5.0...v0.5.1
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
v0.4.5
What's changed
Fixed
- AUR-bin CI publish was pushing empty commits. The
KSXGitHub/github-actions-deploy-auraction copies the file at
pkgbuild:into the AUR repo verbatim — preserving the source
filename. The AUR-bin remote only tracks a file literally named
PKGBUILD, so passing./packaging/aur/PKGBUILD-binlanded the
bumped file alongside (untracked) while leaving the stalePKGBUILD
intact. Result:makepkg --printsrcinforan against the old file,
generated an identical.SRCINFO, and the action committed an
empty bump (allow_empty_commits: trueby default). v0.4.4's bin
push went through (055b104..6bc8a68) but never advanced the
version — AUR-bin stayed at 0.4.3 even though all four other
channels (GitHub Release, crates.io, source AUR, source tag) shipped
0.4.4. Fix: stage the-binvariant under a literalPKGBUILD
filename before handing it to the action.
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.4.5/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
567844b783235f02c3f3f95acdf7b13ad3699e42d173513f435033b223de0421 ai-usagebar-linux-aarch64.tar.gz
2f43b14b5fde22d1ce633a1cac00f6f1ddde397b5d0c07d6481462b203b1157e ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.4.4...v0.4.5
v0.4.4
What's changed
Changed
- CI now publishes both AUR packages automatically on every
v*tag push. Newpublish-aurjob in.github/workflows/release.yml
computes the real sha256s (source tarball + both arch binaries),
injects them intopackaging/aur/PKGBUILD{,bin}, and pushes via
theKSXGitHub/github-actions-deploy-aur@v2.7.2action — which
spins up an Arch container to regenerate.SRCINFOs, then commits- pushes to the two AUR git repos. Skips gracefully when the
AUR_SSH_KEYsecret isn't set, leaving the manual flow (described
inCLAUDE.md) as a fallback.
- pushes to the two AUR git repos. Skips gracefully when the
- Release loop is now one tag push end-to-end. A
git push origin vX.Y.Znow builds binaries (x86_64 + aarch64) once, uploads them
to the GitHub Release, runscargo publish, and updates both AUR
packages — all without leaving the laptop or touching any AUR
clone. Whole cycle takes ~5 minutes.
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.4.4/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
cd86da915c0560b5b5e025e0cb8654cc911d700c13516cdc06af4a9e572a7a9d ai-usagebar-linux-aarch64.tar.gz
e457d388b748945e425178d244cc2c02d8b9ec50465e2019691c2189abeb3b40 ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.4.3...v0.4.4
v0.4.3
What's changed
Added
- Published to crates.io —
cargo install ai-usagebarworks on
any Linux/macOS box with rustup, no Arch / AUR required. Both
binaries (ai-usagebar,ai-usagebar-tui) land in~/.cargo/bin. cargo binstall ai-usagebarsupport — if you have
cargo-binstall, it
fetches the prebuilt binary from the matching GitHub Release
(x86_64 or aarch64 Linux) instead of compiling. Same artifact the
ai-usagebar-binAUR package uses, just without yay. Metadata in
[package.metadata.binstall].
Changed
- Cargo.toml metadata filled in:
repository,homepage,
documentation,keywords,categories,readme— so the
crates.io listing has a proper sidebar. excludeadded to[package]so screenshots (~6 MiB) and
AUR packaging files aren't shipped in the published crate
tarball. Crate size went from 6.6 MiB compressed to 118 KiB.- CI: new
publish-crates-iojob in.github/workflows/release.yml
runscargo publishafter the binary build + GitHub release
succeed. Skips gracefully whenCARGO_REGISTRY_TOKENisn't set
or when the version is already on crates.io (idempotent for
workflow-dispatch re-runs).
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.4.3/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
583c2f305f93dba435a0115aca7b6616d2180907cd4dc844a3c57d9127ad4054 ai-usagebar-linux-aarch64.tar.gz
58f8cdf38a90ff8444a34743cb44054aca39b4fdb98bd2b0c3db64d815f256fe ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.4.2...v0.4.3
v0.4.2
What's changed
Changed
- TUI panel header — the "Updated HH:MM:SS" timestamp is now
right-aligned on the title row (next to the plan label like
Claude Max 20x) instead of taking its own body row at the
bottom of the panel. Tighter rhythm and one less line of body
content. Also dropped the duplicate· updated …suffix from
the global footer — was cropped on 875x600 windows anyway. - Release notes —
release.ymlnow extracts the matching
CHANGELOG.mdsection into the GitHub Release body and appends
aFull diffcompare link against the previous tag (thanks
@sombraSoft, PR #3). Replaces the prior install-and-checksums
body. Merged with two small regex hardenings so version dots
(v0.4.1) aren't treated as wildcards.
Fixed
- Drifting "Updated" timestamp — the previous panel-body
timestamp recomputednow - cache_ageon every redraw, so the
displayed clock ticked upward continuously instead of holding
at the actual cache-write moment. Snapshot the absolute
fetched_atinstant once when the tab is built and format
from that; redraws no longer affect it.
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.4.2/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
f4a01abf346ab901efab1cec94619cd0c510b2596cd6f7e709a935e8b1fcb677 ai-usagebar-linux-aarch64.tar.gz
6d6a383911af3c67262314b0179560742b791cce706ccaf08bde68117da7a341 ai-usagebar-linux-x86_64.tar.gz
Full diff: v0.4.1...v0.4.2
v0.4.1
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.4.1/ai-usagebar-linux-x86_64.tar.gz | tar xz -C ~/.local/bin ai-usagebar ai-usagebar-tuiChecksums (SHA256)
981b4bcca769f524ef6465c96e9acdd6fcbedb8ab49b4c2b5b63ab9a2701b103 ai-usagebar-linux-aarch64.tar.gz
487d3340fdcd2f19be85305f69ce943fbc4ee405ebe5f860acfc072a7e5e8731 ai-usagebar-linux-x86_64.tar.gz