Последний
0.6.1
Релиз на GitHubA forecast that follows how you actually work, usage history for accounts added through Headroom, one-click CLI sign-in, and redesigned account settings.
Added
- Forecast from recent work. Session-length windows (24 hours or less) are now projected from
your pace over the latest stretch of active work, measured in active time only, instead of the
average since the window started. When nothing is running, a card says "Paused · lasts ≈3 h of
work" (how long the rest lasts at your last active pace) instead of counting down to a run-out
that will not happen; idleness is judged between refreshes, so stale data never looks paused.
Only accounts whose CLI writes local logs can pause. Weekly and longer windows keep the window
average.
headroom statusshows the same forecast. - Live forecast between refreshes. While a Claude or Codex account is working, the forecast follows the token spend in its local logs within seconds, calibrated against the provider's own percent steps. The shown percentages are always the provider's; the estimate only moves the forecast, and a later refresh that shows no rise, or usage of models without a price, falls back to the percent steps.
- Usage history for accounts added through Headroom. A Claude or Codex account added with
headroom accounts addnow gets usage history, spend and live refresh from the CLI's own logs (~/.claude,~/.codex) when that CLI is signed in to the same account and is not shown as an account of its own. Spend still counts every log once. - Sign in from the card. When a CLI's sign-in expires, the card's Sign in opens a terminal
running the CLI's own login (
claude auth login --claudeai,codex login,gh auth login, …) through your login shell, so the CLI is found on your usualPATH(Terminal on macOS). Headroom picks up the new sign-in by itself; Retry and copying the command stay.headroom accounts login <id>now works for CLI accounts too. - Show models and projects (
display.show_breakdown, on by default) hides or shows the breakdown list under the spend ring. - Headroom mark in the popup header when the spend section is hidden.
- Support Headroom in Advanced settings (GNOME, Plasma, tray, macOS): a link to star the project on GitHub.
- Limit bars shimmer with a soft sheen in their own color, only while the popup is open and not with reduced motion.
- D-Bus and socket API:
pace.basisandpace.active_left_seconds;spend.<period>.modelsandmodels_otherwith itscost_per_mtok_usd_micros;display.show_breakdown;recovery.account_idforcli_login;refresh.last_attempt_at. All additive,versionstays1. See docs/dbus-api.md.
Changed
- Account settings are a list and a details pane, as on macOS, in GNOME, Plasma and the tray: providers and accounts on the left, and the selected account's visibility, star, label, single limits, links, order, Sign in again… and Remove… on the right.
- Collapse unstarred folds every account without a star; with no starred accounts at all, every account folds. Starred accounts never fold. The "N more" row shows a warning mark or a tone dot when a folded account needs attention.
- Rate limits are calm. When a provider limits requests but Headroom has data, the card keeps the last numbers with a quiet "Provider is limiting requests · next try 18:05" line instead of an error. Repeated limits back off 5 → 10 → 20 → 40 → 60 minutes (or the provider's Retry-After), manual Retry is spaced at least a minute apart, and Claude's usage is polled at most every 3 minutes because Claude Code polls the same endpoint.
- Models breakdown and the "Other" row come from the daemon, including the Other row's cost per million tokens, so every desktop shows the same numbers.
- "Will run out" and "cutting it close" no longer repeat after every burst of work: once sent, they come back only after the window resets or your pace has really calmed down. They are not sent while an account is paused.
Fixed
headroom waybar | head -1no longer prints "Broken pipe". Every printing command exits quietly when its output is closed.- GNOME: cards no longer shift on hover. The status-page and other hover buttons keep the card's height.
- The number in the Total tokens ring always fits, in every shell.
- Kilo Code and Devin CLI sign-ins are picked up automatically: the credential watcher now
looks where these CLIs write (under
$XDG_DATA_HOME), and a CLI account in a custom directory is watched there. - Copilot sign-in in a terminal always signs
ghin to the account's own config dir, even when your login shell setsXDG_CONFIG_HOME.