## [Unreleased] ### Improved - Keep saved Grok account usage tied to its login, renew expiring credentials, and coordinate optional account selection and reconnects with Orca. - Show both Codex account quota windows, expand account lists by default, and place Grok refresh in its card header. - Open desktop launches near the cursor while retaining the current foreground activation policy. # Changelog ## [Windows] Unreleased - Tray panel: **Settings > Menu > Panel look** switches between Modern and Classic. Classic is the layout from before the redesign (icon-only provider switcher, percent after the title, the full cost dashboard, shortcut hints and icons on every menu row). Drag either vertical edge of the panel to change its width (280 to 560 px at 100 % Panel scale); the width is saved, arrow keys on the focused edge step it, and a double-click or Home restores 310 px. At a high Panel scale the panel never grows wider than the screen's work area. - Tray panel: a new look. The panel sits on a soft tinted surface with larger type. Provider tabs show an icon and a name over a quota underline, wrap to extra rows when many providers are on, and keep the dense icon grid beyond 18. Each quota row is a title, a thicker bar, then the percent used on the left and the reset on the right. Sections are set off by hairlines, and the daily-cost dashboard becomes a collapsible **Cost** section that opens from a two-line summary. The menu is text-only: shortcut hints and the Settings, About and Quit icons are gone, and About no longer carries the version. - Claude: when Claude Code signs out but keeps its login entry with blank tokens, Settings and the tray still list the saved Claude Code accounts, and Switch and Add account work again. Before, every account action failed with "Claude login is missing accessToken" and "No Claude Code accounts found", even though the accounts were saved. - Settings, light theme: usage bar tracks are a light grey instead of solid black, and the pace pills, the expected-pace marker and the cost and credits chart colors use their light values instead of the dark ones. - abliteration.ai: the total credits row is labeled "Total credits", so Settings > Visible usage items no longer lists "Credits" twice. - Codex: the Free plan's 30-day window gets pace, like a weekly window: the pace marker, "lasts until reset" and the daily target. A Plus account's monthly lane also shows pace now. Pace comes only from the window length Codex reports, never from the calendar month. (upstream #4766, #1043) - CLI: `codexbar config set-cookie ` saves a manual Cookie header from `--cookie` or `--stdin`, switches the provider to the Manual cookie source and turns it on unless you pass `--no-enable`. `codexbar config clear-credential ` removes the saved API key, cookie or both, and leaves the provider's other settings alone. Neither command prints the secret, both accept `--json`, and both stop without writing when a credential file can't be read. (upstream #4765, #1044) - abliteration.ai: a new credits provider, off by default, reads your prepaid balance with an API key saved in Settings > Providers or set in `ABLITERATION_API_KEY`. The card shows credits used against the total, with Balance, Credits used and Credits rows. It makes one free request to the credits endpoint per refresh. (upstream #4756, #1045) - ElevenLabs and abliteration.ai: in dark Settings, the usage bar uses the text color instead of drawing near-black. (#1045) - WorkBuddy: the reset time follows the paid billing cycle when one is active, and the provider uses WorkBuddy's mascot icon in the app and the `codexbar serve` dashboard. (upstream #4767, #4768, #1046) - Trae CN: the main gauge is labeled "Usage" instead of "Credits", so it no longer shares a name with the credits breakdown. (upstream #4780, #1047) - OpenCode Go: Auto mode can read quotas with the active OpenCode CLI login, after the API key and the web session. Local usage estimates are topped up with CLI quotas when available. Server error messages are redacted before they are shown or logged. (upstream #4771, #1048) - Cursor: the app sign-in also works when Cursor 3.27 or later stores its token encrypted. CodexBar decrypts it with Cursor's own DPAPI-protected key. If decryption fails, Automatic mode falls back to browser cookies as before. (upstream #4790, #1049) - Command Code: a saved session in Settings > Providers is used only when the cookie source is Manual. In Auto mode it then goes ahead of the API key. With any other cookie source, saved sessions are not used, and `codexbar serve --all-accounts` lists those accounts as unavailable instead of repeating one session under every account name. (upstream #4774, #1050) - Kimi: the monthly Total usage pool gets a breakdown into Kimi Code and Other features, each showing its share as "N% used" ("<1% used" for a share under 1%). (upstream #4759, #1051) - Codex: the new **OpenCode local history** option in Settings > Providers > Codex > Options (off by default) adds the OpenAI-backed usage that OpenCode recorded on this PC to the Codex cost summary and daily chart. Recorded OpenCode costs are used as-is, and the local usage note says when they are included. The rows are left out while `CODEX_HOME` points elsewhere, and Usage & Spend never includes them. (upstream #4786, #1052) - Pace warnings: Settings > Notifications gets **Warn when the run-out is within** (Any time, 6, 12, 24 or 48 hours; `predictive_pace_warning_lead_hours`). With a lead set, a Codex or Claude pace warning waits until the estimated run-out is that close instead of firing the moment a straight-line estimate predicts running out, which early in a weekly window could be five days ahead and then stayed silent for the rest of the week. The default, Any time, keeps the previous behavior. - Tray: the percent icon style draws its digits larger, with no grey filled square behind them. A thin dark outline keeps them readable on light and dark taskbars. Bar icon styles are unchanged. (#1026) - Usage & Spend: a Codex session's activity window uses its first and last token events, so its latest activity no longer shows a time later today. Without token times, the window still comes from the usage days and never ends after the session file was last written. - OpenCode Go: the Tokens chart shows each day's local token totals instead of zero. A day with rows that lack exact counts marks the history incomplete rather than showing a partial sum. - Claude: the plan label maps rate-limit tier ids to plan names, for example "Claude Max 20x" or "Claude Pro", instead of a raw id such as `default_claude_pro`. A tier that names no plan keeps the existing fallback label. - Soniox and TypeSafe: the card is a "Pay-as-you-go" card showing this period's spend and the remaining balance, with no progress bar, under every cost summary style. TypeSafe's separate "Spent (cycle)" row is gone because the card already shows it. - Trae CN: Import from browser in Settings > Providers also scans cookies for the parent `trae.cn` domain, matching background refresh. - Settings: in the light theme, the sidebar provider icons draw dark and the hovered and selected rows are tinted, so they are visible on the white background. - Chatbox AI: a new quota provider, off by default, reads your Chatbox AI license quota with a license key saved in Settings > Providers or set in `CHATBOX_LICENSE_KEY`. The card shows the plan name, the plan and top-up credit quotas with percent left and the reset time, and the remaining plan, credits, top-up credits and image generation amounts. An invalid key, a denied license and rate limits each show their own error, and an account with no plan quota shows "No active Chatbox AI plan quota". (upstream #4742) - Usage & Spend: the Sessions view lists your Codex sessions with search and sorting by recent activity, tokens or cost. Selecting a session shows its token totals and estimated spend, then its model requests grouped by turn, with usage outside any turn under "Unattributed usage", and its tool activity. A session with more than 5,000 requests, or whose logs changed since the last refresh, shows a message instead of partial details. (upstream #4730) - Trae CN: browser cookie import also reads cookies set for the parent `.trae.cn` domain, so a session signed in on trae.cn is found as well as one on `api.trae.cn`. (upstream #4732) - Antigravity and CodeRabbit: background usage checks run their CLIs with auto-update turned off, so a refresh no longer starts a CLI self-update. (upstream #4740) - Development: Rust tests no longer write a test entry into your real `%LOCALAPPDATA%\CodexBar\codex-weekly-reset-v1.json`. Test runs keep that state under `%TEMP%`. - Soniox: a new usage provider, off by default, reads your organization's billing method and current-month spend with `SONIOX_ORG_API_KEY`. When a monthly budget is set, its usage appears as a "Monthly budget" row in the Spend section and drives the tray and float bar percentage. Expired keys, missing permissions and rate limits each show their own error. (upstream #4678) - Trae CN: a new credits provider, off by default, reads your credit allowance from `api.trae.cn` using your signed-in browser session or a pasted Cookie header. The card shows credits used against the total, with used, total and remaining credits listed under Credits. An account with no allowance shows "No Trae CN credit allowance", and an expired session asks you to sign in again. (upstream #4682) - CLI: `codexbar config login --provider copilot|grok|kiro` signs in from the terminal. It prints the sign-in link (and the code for Copilot), waits for the sign-in to finish, then turns the provider on. `--json` prints one event per line, and `docs/CLI.md` lists the exit codes. (upstream #4717) - Tray: the tray tooltip shows whole provider lines up to the Windows limit of 127 UTF-16 units (about 127 characters of plain text), where it used to cut off mid-line at 64. When lines do not fit, the last shown line ends with `…`. - Settings: under the Automatic theme, the Settings window follows the Windows app theme and turns light when Windows is set to light. Other windows stay dark, as before. - Settings > Providers: the API key section updates when a key is saved or removed in another window, and when Settings regains focus after the keys file was edited outside the app. An open edit form keeps its draft text. - Tray and Settings: the "Updated N ago" labels on cards, the provider detail pane, the service status line and the quota chart caption advance every 15 seconds while the window stays open, instead of freezing until the next data change. - Localization: the "Regenerates in ..." countdown on a quota window is translated in every locale, including the "now" case. Ukrainian wording for days, pace and token labels is corrected, for example "Регенерує через 2 дн. 3 год". (upstream #4676) - Agent sessions: the list groups sessions under a header for each host, showing its session count. A host that cannot be reached gets its own "unreachable" row with the error beneath it, and a reachable host with no sessions shows a 0 header. - Proof mode: with `CODEXBAR_PROOF_TRAY_MENU_DUMP` set to an absolute path, the live tray menu is written as JSON after each rebuild, and `proof_activate_tray_item` runs an enabled item of the menu on the tray without a right-click. Both work only in proof mode. - Kiro: automatic refreshes skip `kiro-cli` while the Kiro usage host cannot be reached, so an offline sign-in attempt no longer opens browser tabs on every refresh. The last good usage stays on the card when the network fails, and a manual refresh always runs the CLI. (upstream #4589) - Grok: when the Grok CLI reports a prepaid balance but no usage percentage, a weekly credits window with no usage shows 0% used instead of disappearing. Usage that cannot be confirmed stays unknown rather than showing 0%. (upstream #4679) - Grok: when the Grok CLI sign-in is missing or expired, the error now names the fix, "Grok sign-in required. Run `grok login`, then refresh CodexBar.", instead of only "Authentication required." Like Claude's sign-in errors, it is shown after an "OAuth error:" prefix. A rejected API key or pasted cookie, and a saved account, keep the plain error. - Claude: a successful claude.ai answer with no session or weekly limit shows "Limits not available" instead of "No active 5h session." (upstream #4687) - Claude: cost history prices Claude Mythos 5 and 5.1 from a built-in table, at $10 input, $50 output and $12.50 cache write per million tokens, with cache reads at $1.00 for Mythos 5 and $0.25 for Mythos 5.1. Before, these models were left unpriced. (upstream #4578) - Cursor: when the account is on the unified X Subscription pool, its 7-day pool is the main "Weekly" meter, and the monthly Auto and API meters and the Grok Bot extra are hidden. A saved "Grok Bot" menu bar metric reads the weekly pool instead of showing a dash. Trial-only accounts and pools that are not 7 days long keep the monthly layout. (upstream #4695) - Kimi: accounts on a lapsed plan keep their web usage, with "No weekly quota reported" in the weekly lane, instead of failing the refresh. Gift credits appear under "Bonus credits" with percent left and an expiry date, and expired gifts are hidden. (upstream #4700, #4691) - OpenCode Go: local history from v2-only databases is read, and v2 requests with no usable legacy copy are counted, including compaction requests with their cost and tokens. A migrated request is still counted once. (upstream #4587) - Antigravity: a quota group with a version in its name, such as "Gemini 4 Argon", keeps that name and shows as its own row instead of merging into the ordinary Gemini row. (upstream #4585) - Pi: the icon and usage bar use Pi's official brand color, `#4D9ABF`, and the dashboard link opens https://github.com/earendil-works/pi. The `pi-mono` alias still works. (upstream #4690) - Tavily: a null pay-as-you-go limit no longer fails the refresh. The Pay as you go section shows only the reported usage, with no Limit or Remaining row, and malformed limits still fail. (upstream #4711) - Charts: the Muse token chart, the OpenAI API daily history and the Groq console history keep every day of the 30-day window, so idle days show as zero bars instead of disappearing. Unpriced or incomplete days stay unknown (upstream #4689). - Pace: a monthly allowance shows a per-day target, the remaining allowance divided by the local days left including today, in its own unit (credits, requests or %). It appears on the pace line when pace is on, and shows nothing when usage or the reset is unknown or the reset has passed. Notion's credit allowances and FutureAGI's credit and request allowances report their limits (upstream #4692). - Overview: disabling a provider, in Settings or from the tray menu, removes its card and account rows at once instead of after a relaunch. claude-swap and tcr Overview rows now fill from a background read during refresh (at most every 5 minutes), so you no longer need to open Settings first. - **Claude**: built-in price rows choose one long-context tier per request from input plus all cache tokens and bill the whole request at that tier, as upstream does. Opus 4.6 and Sonnet 4.6 use long-context rates only for usage dated before the upstream cutoff. - Tray and Settings: percentages always say "left" or "used" and follow **Show usage as used** (the tray tooltip, tray status rows, the Claude accounts menu and the claude-swap/tcr list). "1 minute ago" is singular in every language. Under **Hide personal information**, Claude and Grok accounts are numbered in list order, and the claude-swap list masks emails as soon as the setting changes. - Vercel: the Team ID error clears as soon as you edit the field. Budget pagination ends on an empty cursor, and a repeated cursor or more than 20 pages each get a plain error. Spend budgets show no pace or reserve text, and Credential Storage has an **Access tokens** row. - Agent sessions: remote hosts running the macOS or Windows CLI are decoded (both reply shapes), a remote Windows host's own errors are shown for that host, and the remote command is shell-quoted. `codexbar cost --remote` shows a host with partial upstream history as partial instead of failing. - Proof mode: seeded snapshots are pinned per provider, and `CODEXBAR_PROOF_WINDOW_ORIGIN` opens Settings, the flyout and the float bar at a set screen position (clamped to the monitor, never saved). - Settings > Menu bar: **Show all accounts in Overview** also shows one row per saved Claude token account, each built only from the usage last fetched while that account was active. An account never fetched shows "No usage data". Removing an account drops its row and its cached usage, and no extra fetches are made (upstream #4594). - Settings > Menu bar: **Show all accounts in Overview** also shows one row per claude-swap or tcr pool account (when the pool lists two or more). Each row uses the usage last read from the pool, or the pool's last known usage when an account has no live reading; the read is cache-only and adds no fetch. Under **Hide personal information** rows show `Account N`, and tcr accounts stay read-only (upstream #4626, #4517). - **Claude**: cost history counts one-hour cache writes toward the models.dev long-context tier and bills them at twice that tier's input rate, as upstream does. Before, a row that crossed the tier only because of one-hour writes was priced at base rates. - Pi: Anthropic one-hour cache writes are priced at the one-hour rate (twice the input rate), as Bedrock rows already were. On models.dev pricing, the one-hour writes also count toward the long-context tier (upstream #4148). - Usage & Spend: a model whose rows lack token counts now reports its per-model tokens as unknown (JSON `null`) instead of `0`. A total stays unknown if any part of it is unknown. - **Claude**: a removed managed Claude account no longer comes back after a restart, or from a refresh that was already running when you removed it. Signing in to that account again adds it back as usual. - Pi: `amazon-bedrock` usage is priced from the models.dev Bedrock catalog by exact model ID. Unknown Bedrock models stay unpriced and never borrow Anthropic prices (upstream #4605). - OpenCode Go: `codexbar cost --provider opencodego` reports tokens as `unknown` (JSON `null`) when rows lack complete counts, instead of showing zero, and adds a per-model token breakdown (`byModelTokens` in JSON). Cost stays numeric (upstream #4606). - Grok: the ACP billing fallback finds the native CLI at `~/.grok/bin/grok.exe` when it isn't on `PATH`, and a server request that reuses a pending id is no longer read as the reply. Version detection uses the same lookup. - Vercel: the Team ID can be saved in Settings > Providers > Vercel (it used to fail with "does not expose a workspace/project id"). A saved Team ID wins over `VERCEL_TEAM_ID`. A rejected token on the user lookup now says so instead of asking for a team role. - Settings > Menu: with **Local sessions only** on, Agent Sessions re-checks the setting right before each SSH or Tailscale call, so a discovery already running when you turn it on starts no more remote calls and its late results are dropped. - Codex: the dashboard button opens the ChatGPT usage page on its **Overview** tab (`chatgpt.com/settings/usage?tab=overview`) (upstream #4607). - Settings > Providers: **Restore default order** is disabled while sorting is off and the sidebar is already in the built-in order. The enabled-only filter reads "Only show enabled providers" (upstream #4592). - Antigravity: the quota summary is read from Google's daily Cloud Code host (`daily-cloudcode-pa.googleapis.com`). Other Antigravity calls and the fallbacks are unchanged (upstream #4632). - Settings > General: the Israeli new shekel (ILS, `₪`) joins the preferred currency list (upstream #4646). - Settings > Providers > Claude: saved token accounts can be edited in place (label and token) and moved up or down. The active account stays selected after an edit or a move, and tokens stay DPAPI-protected (upstream #4612, #4625). - Grok: when the Grok CLI's own billing is unavailable, usage is read from the CLI's ACP billing as a fallback (`grok agent stdio`, hidden window), including when the CLI login is missing or expired. The existing billing path still runs first, a failed ACP attempt shows the original sign-in error, and saved Grok accounts never use the ambient CLI login (upstream #4595). - Settings > Menu: **Local sessions only** (off by default) limits agent sessions to this PC: no `tailscale status`, no SSH hosts. Tailscale discovery only ever runs a standalone `tailscale.exe` found on `PATH`, never the Tailscale GUI client or a `.cmd`/`.bat` launcher (upstream #4583, #4624). - **Claude**: cost history includes Claude Desktop Cowork sessions (`local-agent-mode-sessions/**/audit.jsonl`) for the default account. A response present in both a CLI transcript and a Cowork audit is counted once. Cowork is left out when `CLAUDE_CONFIG_DIR` is set or a token account is mapped (upstream #3209). - Vercel: an opt-in **Personal budget** reads the personal AI Gateway budget (Spend, Limit, Remaining, UTC reset) once you add a Vercel access token and Team ID in Settings > Providers > Vercel (or `VERCEL_ACCESS_TOKEN` / `VERCEL_TEAM_ID`). Without a token, usage is unchanged. The access token is DPAPI-protected and only sent to `api.vercel.com`; the gateway key is only sent to `ai-gateway.vercel.sh` (upstream #4623, #4650). - Settings > Menu bar: **Show all accounts in Overview** (off by default) shows one Overview row per cached Codex account, each with only that account's usage. Rows don't count toward the six-provider limit, read no new data, and show `Account 1`, `Account 2` under **Hide personal information**. Other providers keep one card (upstream #4594, #4626). - **Claude**: Auto follows the active claude-swap slot (upstream #4599), and OAuth and Web limits are read entry by entry, so one malformed limit no longer hides the others (upstream #4614, #4126). - Cursor: unified personal accounts show monthly spend (upstream #4593). - OpenCode Go: a manual cookie honors the configured source (upstream #4616), and `codexbar cost --provider opencodego` reports local cost history (upstream #4606). - Antigravity: the summary prefers ordinary Gemini quota buckets (upstream #4659) and larger local histories are scanned (upstream #4639). - Pi: usage from backends without Windows pricing (for example `amazon-bedrock`) is kept as unpriced `backend/model` tokens instead of being dropped or priced as another provider (upstream #4605). - CLI: `--provider` accepts every catalog provider ID (upstream #4643, regression test only). - Kiro: the monthly plan-credit window gets pace like other calendar-month quotas: a pace line on the card, pace tint in the tray, and a run-out estimate for Automatic ranking. A missing or past reset shows no pace, and bonus and overage credits never get pace (upstream #4284). - Browser cookies: Opera Neon (`%APPDATA%\Opera Software\Opera Neon Stable`) and Aside (`%LOCALAPPDATA%\Aside\User Data`) are detected for cookie import. They appear in the browser picker and join the Automatic scan after Opera GX (upstream #4235). - Settings > Providers > Cursor: the menu bar metric picker offers Cursor's **Grok Bot** allowance. With it selected, the tray icon, tooltip and status row show that allowance, for example `Grok Bot 42%`, or a gray dash and `Grok Bot –` when Cursor reports no reading. An unknown or malformed per-provider metric in `settings.json` is now dropped with a warning instead of making the whole file load as read-only defaults; builds older than this one still reject the new `extra:` values (upstream #4269). - Adaptive refresh counts a Codex rollout file written in the last 5 minutes (today's and yesterday's session folders, honoring `CODEX_HOME`) as coding activity, alongside the existing coding-agent process check. Only file names and modification times are read, never contents. Like the process check, it follows the Adaptive setting alone (upstream #4156). - OpenCode: a cookie with a Console session reads usage from the OpenCode Console. A subscribed workspace shows its 5-hour and weekly quota; pay-as-you-go shows spend over the last 30 days with no limit. Legacy-only cookies keep the old path, and a legacy monthly limit of 0 is shown as information instead of a 0% bar (upstream #4131, #4139). - Browser cookies: when Chromium App-Bound Encryption blocks automatic import, the error names every blocked browser (for example "from Google Chrome and Microsoft Edge"), and a working session from another browser still wins. Settings shows the "No supported browsers detected" hint above the Cookie header box when no browser is found (upstream #4528). - Nous Portal: when there is no monthly meter, the tray tooltip and tray status row show the account balance, for example `Nous Portal: $6.76`; a real monthly percentage is unchanged (upstream #4319). - CLI: `codexbar config set-source` saves a provider's usage source (`auto`, `web`, `cli` or `oauth`) without changing whether it is enabled, and rejects sources the provider does not support. `hooks watch --provider` accepts `both` (Codex and Claude) and `all` (every provider). `codexbar serve --all-accounts` adds each provider's token accounts to the dashboard, each fetched with only its own credential, up to three at a time under the 75-second build deadline, with identity shown according to `--identity` (upstream #3890). - Codex: the tray card has a collapsed **Conversations** list of up to 50 recent local conversations, newest first, showing each conversation's title, usage, last activity and estimated cost for the Usage & Spend period (`~` marks a partial estimate and `—` a conversation with no priced tokens). It shows Codex only, is left out of the compact Overview and when cost tracking is off, and under **Hide personal information** shows `Session ` in place of saved titles (upstream #4429). - **Claude**: the dashboard button opens the Claude Platform usage page (`platform.claude.com/usage`) for API and default accounts. Max, Pro, Team and Ultra subscriptions keep the claude.ai usage page, based on the account's cached plan; before the first refresh there is no cached plan, so the Platform page opens (upstream #4503). - Tray dashboard KPI titles wrap onto more lines instead of being cut off with an ellipsis, so long localized labels stay readable; values stay on one line (upstream #4211). - Browser cookies: Opera and Opera GX Stable are detected on Windows for cookie import, from `%APPDATA%\Opera Software\Opera Stable` and `Opera GX Stable` when the folder contains `Local State`. Their cookies are decrypted through the same Chromium path. - **Claude**: the claude-swap **Source** picker can read account pools from **tcr** (teamclaude-rs) instead, using the tcr executable path under Settings > Providers > Claude. tcr accounts show their usage and details but are read-only: tcr picks the account for each request, so CodexBar never switches or re-authenticates them (upstream #4517). - **Claude**: each claude-swap account card shows the same estimated session-quota forecast as the Claude card, from that account's own usage history. History is keyed by the account's email and organization instead of its slot, so it survives slot moves, and the same email in another organization starts a separate history. Only successful live readings with both the 5-hour and weekly windows are recorded, and the forecast follows the work days set in Settings > Menu (upstream #4566). - **Antigravity**: a **Google OAuth** usage source reads quota from Google's API with saved Antigravity OAuth credentials in `%USERPROFILE%\.codexbar\antigravity\oauth_creds.json` or `ANTIGRAVITY_OAUTH_CREDENTIALS_JSON`. **Auto** tries those credentials after the local runtimes and before offline history, and only when credentials exist. Refreshed tokens are saved with DPAPI; a refresh rejected with `invalid_grant` asks you to sign in again, while server errors and rate limits stay retryable (upstream #4293, #4238). - Antigravity: plan labels follow the account's Google tier, a Free label is dropped once a five-hour quota is measured, and when every model reports full quota the reading is confirmed against the quota endpoint; otherwise the card shows "Limits not available" (upstream #4571). - **Claude**: when a Claude account reports only model-scoped weekly limits and no plain weekly limit, Automatic (and Session or Weekly when their lane is missing) shows the most constrained scoped weekly quota instead of an empty placeholder. Spend caps never stand in (upstream #4159). - Automatic in the tray now picks the quota most likely to run out before it resets, instead of a fixed window order: an exhausted window first, then a window whose pace runs out before its reset (soonest first), then the highest usage. The forecast needs authoritative pace, so estimated figures are not forecast. Gemini (Pro before Flash) and Kiro (plan credits before bonus credits) keep their tier order (upstream #4491). - OpenCode Go quota that comes from the local log estimate shows a leading `~` (for example `~95%`) in the tray percent icon, the tooltip and the status line. Exact quotas are unchanged, and when the quota comes from the OpenCode console instead, the `~` is dropped (upstream #4423). - Codex: each conversation in Usage & Spend gets an expandable **Tool activity** list, read only when opened for the selected history window. It shows each operation's kind, outcome and duration. **Needs review** filters operations that failed with a nonzero exit, a tool error or were declined, and **Slow** filters those that took 10 seconds or more. Each conversation is capped at 20,000 operations, and incomplete records are flagged as partial coverage. Under **Hide personal information**, operation names become kind labels and command previews are removed (upstream #4363). - Settings > Advanced: **Share usage with the CLI** (off by default) keeps a private `cli-usage-cache.json` in `%APPDATA%\CodexBar` with the rate-limit windows of each provider's last successful default-account refresh, written after each refresh. It holds only limit windows, labels and the update time, with no emails, plans, costs, credits or credentials. Turning it off removes the file, and token-account refreshes are not included. - CLI: `codexbar usage` shows the app's cached copy in place of an error row only for the default account (`--source auto`, no `--account` or `--all-accounts`, no `CODEXBAR_CONFIG`), when a DPAPI decrypt failure happened earlier in the same run and the provider then reported missing credentials or cookies, and the cached entry is at most 60 minutes old. Such rows are marked `codexbar-app` with an `ageSeconds` field in JSON, and text output notes that they were cached by the CodexBar app (upstream #4554). - Settings > Advanced can run the built-in HTTP usage server (the `codexbar serve` server) inside the desktop app. It is off by default and, once enabled, listens on `127.0.0.1:8080` with a bearer token, a 60-second cache and a 30-second request timeout, all editable. Its settings are saved in `%APPDATA%\CodexBar\http_server.json` with DPAPI, not in `settings.json`. It starts with the app when enabled and stops when the app quits. A non-loopback address requires explicit consent to plain HTTP, and an invalid apply stops a running server. A corrupt settings file is reported and not overwritten until you confirm (upstream #4553). - Settings > Providers > Gemini: add a **Gemini app** usage source beside **Auto** and **Gemini CLI**. It reads the Gemini app's 5-hour and weekly limits from your gemini.google.com browser session or a pasted Cookie header, separate from the Gemini CLI quota. **Auto** keeps using the Gemini CLI login and never falls back to the app, and the app source never uses the CLI login. With the cookie source set to Off it reads no cookies and reports that sign-in is required. Gemini's cookie domain is now gemini.google.com instead of aistudio.google.com (upstream #4535). - Add **Movable panel** to Settings > Menu (off by default). When it is on, a strip along the top of the tray panel drags it anywhere. Away from the tray the panel stays open like a window when it loses focus (close it from the tray icon or with Esc), reopens where you left it, and stays on screen when a monitor goes away; double-clicking the strip (or a button in Settings > Menu) puts it back next to the tray, where it closes on focus loss again. With it off nothing changes: the panel opens next to the tray and can't be moved ([#942](https://github.com/nesszer/Win-CodexBar/issues/942)). - About: add **Acknowledgements**, which lists every open-source component built into the desktop app and CLI (Cargo crates for Windows, production frontend packages, and vendored code) with its authors, website and the full license and notice texts from its published sources (a component that ships no license file shows the standard text of its SPDX license). The list is generated by `pnpm run notices` and checked for staleness in CI (upstream #4483). - CLI: `codexbar usage` fetches up to three providers at a time. Output rows and text sections keep the selected provider order. Diagnostics logged on each provider's fetch task are held and printed in selection order after all fetches finish, instead of streaming live; log lines from background tasks a provider spawns are not captured or reordered. A failing provider still shows only its own error row (upstream v0.76.0 #4501). - **Claude**: the OAuth account email no longer delays a usage refresh. The profile lookup runs in the background, once per access token that passes the expiry and `user:profile` scope checks, with a 2-second budget, and later refreshes reuse its result. A failed lookup is not retried until the token changes or CodexBar restarts (previously every 15 minutes), and the first refresh after launch or a token change may show no email until the next refresh (upstream v0.76.0, #4538). - **Claude**: OAuth usage now shows saved limit-reset credits, as the Web source already did. The usage request opts in with `cedar_ember=1` and identifies as the Claude CLI (`claude-cli/ (external, cli)`); when Claude rejects that optional query with HTTP 400 or a 403 that does not name the missing `user:profile` scope, it retries once without it, as `claude-code/`, so quota and Extra usage still appear. The version is read from `claude --version`, or 2.1.0 when it cannot be read. Missing-scope 403, 401 and 429 keep their normal handling. The cached usage body keeps reset counts and dates but never the grant identifiers (upstream 0.72.0, #3895, #4232). - Usage forecasts: an older session reset time that later moved backward no longer hides the estimated session quotas left and windows until reset for Codex and Claude. The estimator starts a new history segment at the correction and still needs three recent samples (upstream #4540). - OpenCode Go: include OpenCode v2 session history in local cost and token totals, without counting migrated messages twice (upstream v0.77.0 #4526). - Codex: session titles read from the Codex state database are capped at 256 characters when read, so a whole first prompt stored as the thread title is no longer carried into Usage & Spend session lists. Names from `session_index.jsonl` keep precedence and are not capped (upstream #4550). - Settings: go back and forward through visited panes and providers with the Back and Forward buttons in the Settings title bar, Alt+Left / Alt+Right, the keyboard Back/Forward keys, or the mouse side buttons. Panes opened from the tray or a deep link count as visits (upstream #4475). - Settings: a `settings.json` that exists but can't be read or parsed (such as a DPAPI decrypt failure or a damaged file) is no longer replaced by the defaults on the next settings change. The app runs on temporary defaults, skips its one-shot settings migrations, and refuses to save until the file loads again, so saved API keys, cookies and accounts are kept. A missing file still starts fresh (upstream v0.76.0 #4509). - Usage cards: plan renewal dates now read "Plan renews" (in every locale) so they are not mistaken for quota resets (upstream v0.77.0 #4540). - **Claude**: add **Use Claude desktop app cookies** to Settings > Providers > Claude > Options (off by default, shown only for the Automatic cookie source). When on, web usage follows the account signed in to the Claude desktop app (`%APPDATA%\Claude` or the Microsoft Store package) instead of a browser, with no browser fallback. The desktop app is also listed as a cookie import source for Claude only, and an App-Bound (`v20`) desktop store gets a specific message instead of a generic decryption error (upstream v0.77.0 #4539). - Settings > Menu: offer a six-day (Monday–Saturday) work week for weekly pace and the session forecast, alongside 4, 5 and 7 days (upstream v0.77.0 #4548). - Add **Future AGI** billing-period usage: reads AI credits and gateway requests against their free allowances, every other meter as a detail row, and the estimated usage cost from Future AGI's usage overview with an API key and secret key (`API_KEY:SECRET_KEY` in Settings, or `FI_API_KEY` and `FI_SECRET_KEY`). Off by default (upstream v0.77.0 #4572). - Add **Munito** organization spend limits: reads today's and this month's spend against the organization's spend limits from Munito's read-only Admin API with an admin key (`MUNITO_API_KEY` / `MUNITO_ADMIN_KEY` or Settings), keeps the daily and monthly stop times separate, and adds the organization status and data region when available. Off by default (upstream v0.77.0 #4531). - Qwen Cloud: treat a Team summary with an empty `Data` object as no Team subscription, so Individual-only accounts no longer show "Team usage unavailable" (upstream v0.77.0 #4527, fixes #4525). - **Claude**: each Claude token account can be mapped to a Claude config directory (Settings > Providers > Claude > Token accounts > Choose folder…). While a mapped account is active, local cost estimates, charts and Usage & Spend scan only that folder's `projects` history, leaving out the default `CLAUDE_CONFIG_DIR` / `%USERPROFILE%\.claude` history, claude-swap homes and Pi history. A missing folder is marked Unavailable and leaves the estimate unavailable instead of showing zero. Unmapped accounts keep the combined history, and the mapping never changes quota fetching or credentials (upstream #4556). - Add **Claude Platform** prepaid API credits (off by default): reads the Claude Console (platform.claude.com) credit balance, the monthly API credit that Max plans include, purchased credit with expiry dates, other credit grants, and month-to-date spend, using your browser's platform.claude.com session or a pasted Cookie header. It is separate from the Claude provider and never shows Claude's plan or email. A malformed balance fails instead of showing $0, and unavailable spend keeps the balance (upstream #4510). - Keep Claude usage working when reading Claude Code's credentials is off and Claude Code's login is missing or expired: use the one saved Claude account that was added through a fresh CodexBar sign-in and never installed into Claude Code, renewing its token only in CodexBar's own store. Accounts saved by older versions or copied from Claude Code are not used; add them again to qualify. - Browser cookies: automatic import reads browsers one at a time and stops at the first session the site accepts. Typesafe, HelmCode, Hyper, Claude (web), OpenCode Go (web), Zed, Notion, and Cursor now move on to the next browser when a signed-out or expired session is rejected, instead of failing on the first browser that had any cookies, and later browsers are not decrypted once a session works. Cookie source Off still never reads a browser (upstream v0.75.0). - Cursor: on the Automatic path, Cursor now actually moves on to the next browser when a signed-out or expired session is rejected, as the browser-cookies note above states, and it still prefers the Cursor app session first. The shell had been pinning the first browser's cookie header, which skipped the per-browser loop and the app-session preference. A stored Cookie header is still used alone, and cookie source Off never reads a browser. - Factory (Droid): browser-cookie import moves on to the next browser when Factory rejects a signed-out or expired session, instead of stopping at the first browser that held any Factory cookie, so a later browser's valid login is used. A pasted Cookie header is still used alone, a server error still stops the search, and browsers after the accepted session are not read. - Ollama: the account email is read only from the settings page header (`id="header-email"`) instead of the first address anywhere on the page, so a footer or support address is no longer shown as the account; a page without that header shows no email (upstream v0.75.0). - **Claude**: in Auto mode, a Claude CLI probe timeout now falls back to the retained CLI usage from the last 15 minutes, as other CLI failures already did, instead of failing the refresh outright. Without a retained result the timeout is reported as before. - Settings providers: show the FLORA Workspace ID and Fireworks account slug fields, which were defined but never displayed, so they no longer need the `FLORA_WORKSPACE_ID` / `FIREWORKS_ACCOUNT_SLUG` environment variables. - Localization: align the Raycast auto-import and cookie-disabled strings in ru-RU, uk-UA, tr-TR and zh-CN with each locale's existing cookie and installed-browser terminology. - OpenAI API: each Admin refresh also reads the last hour of 1-minute usage from the Admin Usage API (input plus output tokens, cached input included, Batch API traffic kept out of limit headroom) and carries a Tokens/min grid with a reporting frontier, so buckets that arrive late show as pending instead of zero. The backend can also load 15-minute, 1-hour or 6-hour windows, read per-project rate-limit caps, and measure headroom against manual per-model organization limits stored in settings. The per-refresh request can be turned off, and a failure never affects the daily usage (upstream #4495). - OpenAI API: the card shows the last-hour Tokens/min grid (latest, peak, 5-minute average, reporting frontier, and pending minutes drawn as outlines), and Settings > Providers > OpenAI adds a Live Usage section with a refresh switch, a per-model organization limits editor, a 15-minute / 1-hour / 6-hour window with per-model rows, and the organization caps list, which stays hidden when a project id is saved (upstream #4495). - OpenAI API: the card adds a **Live · Spend** switch when it has both the Tokens/min window and daily spend history. Live (the default) shows the Tokens/min grid and Spend shows daily spend for the history window; the card keeps the same height in both modes, and the choice is remembered. Hovering, dragging across, or arrowing through either chart selects one bar and shows its minute (tokens and requests, or "reporting…" for pending minutes) or its day (cost and tokens) below the chart (upstream #4495). - OpenAI API: add **Tokens/min** to the Settings > Providers > OpenAI API menu and floating bar metric picker. With it selected, the tray tooltip and tray status row show the latest reported minute, for example `OpenAI API 49M/min`, or "Tokens/min unavailable" when Live usage has not reported a complete minute. The tray meter and floating bar keep the Automatic usage lane (upstream #4495). - Tray: add a **Progress bars stacked** menu bar style that draws the session and weekly meters as two equal-height rows on the single tray icon, with the same windows and pace tint as **Meter bars**; older settings files keep their style (upstream #4436). - Settings providers: show only enabled providers from the sidebar options menu, search by CLI alias (such as `openai` for Codex), restore the default provider order, and undo a drag reorder or a restore with Ctrl+Z or the options menu. Hidden providers keep their slots when the order changes (upstream #4440). - Add **Color by provider** to Settings > Menu Bar (off by default): tints the tray usage bars and percent text with the shown provider's brand or accent color, keeps pace colors and the error colors unchanged, and falls back to the usual colors when a tint would be hard to see on the tray background (upstream #4321). - **Claude**: show the plan renewal or expiry date from claude.ai billing under the quota rows when your cookie session supplies it, and make saved limit-reset credits, Extra usage (including a prepaid balance), and plan dates independently selectable under Visible usage items. Existing settings keep all three visible; Admin API spend is unaffected (upstream #4324, #4484). - Devin: use Devin's official transparent hexagon mark for the provider icon in Settings and the CLI dashboard, instead of the settings-gear badge and the letter fallback (upstream #4458). - Kimi (China): use the current Kimi Desktop session from its Local Storage (`%APPDATA%\kimi-desktop`) for web usage and monthly membership enrichment, and check that session again before each request, so a signed-out, replaced, or expired Desktop token is never sent or recovered from an older record (upstream #4416, #3536). - Codex CLI: add opt-in `cost --identified-only` request subtotals across local and SSH (`--remote`) histories, deduplicating strong request identities and keeping partial results without estimating a combined price, plus `--group-by project` reports that show the partial-history notice even when no projects are listed (upstream #4447, #4472). - OpenCode Go: reuse unchanged local history scans (keyed by `opencode.db` and its `-wal` sidecar size and modification time, at most one 4 MiB payload kept), and in Auto overlay Console quota from a stored or automatically discovered browser session before falling back to the local estimate; cookie source Off never reads a browser (upstream #4410, #4445). - Add **Parallel** prepaid balance: reads the account balance and any pending debit from the platform.parallel.ai console using your browser session or a pasted Cookie header. A signed-out console moves on to the next browser session and reports an expired session when none remain (upstream #4479, #4508). - Add **fal** account credit balance: reads the credit balance and account name from fal's billing API with your API key (`FAL_KEY` or Settings) and explains when the key lacks the billing read permission (upstream #4438). - Add **FLORA** workspace balance: reads the workspace's available balance, your member limit, and this month's spend with your API key and workspace ID (`FLORA_API_KEY` / `FLORA_WORKSPACE_ID` or Settings), and explains when spend is unavailable or the key lacks billing permission (upstream #4439). - Command Code: add an **API key** usage source (Settings > Providers > Command Code, or `COMMAND_CODE_API_KEY`). Auto uses the key before browser cookies, the **API** source reads billing with the key only, and a rejected key reports an expired key instead of falling back to cookies. The Browser cookies source is unchanged (upstream #4462). - JetBrains AI: read current quota from newer `JbaiQuota` and Junie `quota_update` records in `idea.log`, keeping same-IDE freshness and the XML fallback (upstream #4457). - Raycast: automatic cookie import walks every supported browser in the shared order and uses the first accepted session, instead of reading Chrome alone (upstream #4443, 0aef66c73). - Price Codex **codex-auto-review** requests made from a ChatGPT account at $0 from 2026-10-06 07:00 UTC onward: tokens stay in totals, the model is no longer listed as unpriced, and an explicit custom price for the model still applies (upstream #4452, #4453). - Show a spend-only Claude account's monthly cap (for example an Enterprise seat) as one primary meter with calendar-month pace and a midnight-UTC-on-the-1st reset inferred when Claude reports none, instead of a separate Extra usage bar; quota accounts keep their session and weekly lanes and Extra usage section unchanged. Fixes #4381 (upstream #4480) - Read the Charm Hyper balance from your signed-in browser session on the team dashboard, with plan and refresh rows when shown. The credits endpoint only accepts API keys, so session balances no longer depend on it. An expired session is reported as expired before any API-key fallback; API-key balances are unchanged (upstream #4435). - OpenAI API usage no longer counts audio tokens twice: Admin API input and output totals already include audio, so the daily token totals and the usage window now use them as reported (upstream #4495). - Ollama: cookie mode reads the current **Usage credits** wallet on the settings page and shows its credit balance, as API-key mode already does, without inventing a quota percentage or changing older usage meters (upstream #4370). - Session depleted and restored alerts start fresh after you switch accounts: the first reading for the new account sets its baseline without an alert, and switching back does not announce a restore that happened while another account was active (upstream #4138). - Show a Windows path (`~\.local\bin\cswap.exe`) as the placeholder for the Claude account switcher (cswap) executable in Settings instead of a Unix path (upstream v0.74.0). - Add a **token activity** grid to Usage & Spend: a year of daily token totals for Codex and Claude from local logs, independent of the selected period, with a tooltip per day and a day highlight. Days that were never scanned or can't be totalled show as gaps instead of zero. The yearly scan keeps its own Codex cache and skips Pi sessions, and complete Claude walks (including the spend explorer's hourly history) are reused for 60 seconds instead of re-reading the logs on every rebuild (upstream v0.73.0). - Replace the Usage & Spend trend panel with a spend explorer: a stacked chart per source (Claude, Codex, extra accounts) in daily, weekly, or monthly buckets by period, with drill-down from months to days and from days to recorded hourly Claude spend, an inspector on hover, legend isolation per source, time-zone labels on the hour view, and separate empty states for unavailable spend and no usage. Unknown spend shows as a gap instead of zero (upstream v0.73.0). - Show provider **brand icons** in Usage & Spend: the provider headings, explorer legend and amount inspector use the official artwork for Antigravity, Bedrock, Claude, Codex, Mistral, Muse and Vertex AI, while account and model rows stay monochrome. Single-model providers no longer repeat the Models heading, and the breakdown rows are tighter (upstream v0.73.0). - Add **Pace sign** (Settings > Menu Bar, next to Color Pace Indicator). **Ahead of pace is +** keeps the current sign; **Reserve is +** shows reserve as positive and deficit as negative for the signed pace percentage in provider Usage details. A pace that rounds to zero now reads `0.0%` without a sign in both modes. Pace colours, stages, and the tray card's reserve and deficit wording do not change (upstream #4394). - Add **Highlight menu cards on hover** to Settings > Menu (on by default). Turning it off keeps the tray panel's Refresh row in its normal colors under the pointer; keyboard focus still highlights it, and the other menu rows are unchanged (upstream #4414). - Show Claude **Cloud credits**, a promotional dollar balance, as a detail row in the tray card, Settings, and CLI when the Claude OAuth or Web usage response reports it. The row shows the remaining balance of the allowance, or Expired or Unavailable when applicable, and can be hidden from Visible usage items. It never changes the quota windows or prepaid Extra usage (upstream CodexBar 0.72.0). - Codex: publish the fresh weekly quota and reset credits after a confirmed weekly reset when the previously published usage had no reset-credit inventory. Both fresh reads must come from the exact OAuth source, report the same plan, and list the same available credits observed after the last published usage (upstream #4218). - Codex usage by project: show the project names saved in the Codex desktop app instead of folder names, and list chats the desktop app marks as independent (not tied to a project) in their own Independent chats section under Projects (upstream v0.72.0). - Usage & Spend projects: show a project's folder on a second line when another project in the list has the same name, and under Hide personal information label projects **Workspace #1**, **Workspace #2**, … with no paths (upstream v0.71.1). - Stop Claude usage probes from running your SessionStart hooks on every poll: the probe session now passes `disableAllHooks` alongside its Remote Control opt-out, leaving your saved settings untouched (upstream #4292). - Retry a timed-out Claude CLI usage probe once with a longer timeout (60 s, capped so the fetch still finishes inside the 75 s provider budget), and keep the cached CLI result after a failed probe. Auth failures are not retried (upstream #4155). - Show an optional **Live remaining (est.)** row for xAI beside the posted prepaid balance, from the current postpaid invoice preview (upstream #4419). A missing or failed preview hides only that row. - Show independent session and weekly usage for native saved Claude Code accounts, with account-scoped OAuth renewal and safe authentication warnings. - Offer Refresh login beside Switch only for Claude and Codex accounts that need sign-in. Repair the selected saved login without switching to another account. - Use expanded, collapsible Claude and Codex account sections with Add account below the rows; keep the floating bar's usage footprint when authentication expires. - Add Check provider status (Settings > General, on by default as on the Mac). Provider refreshes also read the public status pages of Claude, OpenAI (Codex and OpenAI API), GitHub (Copilot), Cursor, Factory, Augment, Hugging Face and Zoom, and the Google Workspace feed (Gemini and Antigravity). Incidents show as a coloured dot in the Providers sidebar, a line in the tray panel menu and lines in the tray tooltip. In the CLI `--json` output, `status.level` keeps its values, except that a minor incident now reads `degraded` instead of `unknown`. - Codex usage by session: each conversation in Usage & Spend shows its turn output tokens per second, first-token time, and turn duration from local rollout logs. Expand **Performance details** for P95 latency, the middle-50% throughput range, cached input share, and per-model and reasoning-effort groups; a value appears only once enough completed turns exist, and turns that failed, were interrupted, or have contradictory records are left out (upstream #4304). ## [Windows] 0.70.0 - 2026-10-03 Windows port of upstream CodexBar **0.60.3 → 0.70.0**: every provider, cost/usage, privacy, tray, CLI and reliability port from upstream 0.60.4 through 0.70.0 integrated across the release branch, plus six community pull requests and fixes for open issues. This is also the first release to ship the changes in the unreleased 0.61.0 changelog section. ### Added - Providers: port Hyper (session-first Hypercredit balance), GitKraken AI (personal weekly credits and org pool sharing), Bifrost (self-hosted gateway budgets, rate limits and model spend), Atlas Cloud (account USD balance), Aixy (key usage and applicable budgets), ElevenLabs (endpoint override and `XI_API_KEY` alias), Helmcode (reset fallback and tenant dashboard URL), v0 (billing dashboard URL), and Hugging Face (identity cache, billing-permission message, API-only without cookies) ([#619](https://github.com/nesszer/Win-CodexBar/pull/619), [#618](https://github.com/nesszer/Win-CodexBar/pull/618), [#676](https://github.com/nesszer/Win-CodexBar/pull/676), [#661](https://github.com/nesszer/Win-CodexBar/pull/661), [#726](https://github.com/nesszer/Win-CodexBar/pull/726), [#723](https://github.com/nesszer/Win-CodexBar/pull/723), [#724](https://github.com/nesszer/Win-CodexBar/pull/724), [#725](https://github.com/nesszer/Win-CodexBar/pull/725)). - Providers: save labeled token accounts for Kimi web sessions, Doubao Ark API keys, and OpenCode Go keys-or-sessions, with per-account source routing and fail-closed credential isolation ([#620](https://github.com/nesszer/Win-CodexBar/pull/620)). - Providers: StepFun credit plans with a Credit label and no invented reset; StepFun pricing parity for Sol repricing cutoffs, Cyber rates, and Daybreak aliases ([#710](https://github.com/nesszer/Win-CodexBar/pull/710), [#734](https://github.com/nesszer/Win-CodexBar/pull/734)). - Providers: prefer twelve preferred currencies from one shared catalog ([#679](https://github.com/nesszer/Win-CodexBar/pull/679), [#609](https://github.com/nesszer/Win-CodexBar/pull/609)). - Providers: Antigravity Gemini 3.1 Pro pricing aliases with effort tiers, priced through the shared models.dev catalog ([#732](https://github.com/nesszer/Win-CodexBar/pull/732)). - Providers: Kimi Code API responses that carry only a monthly pool or a partial ratio pool now parse and render correctly ([#730](https://github.com/nesszer/Win-CodexBar/pull/730)). - Providers: Kimi web access tokens import from Chromium local storage, including `user-*` profiles, via the shared browser detector ([#649](https://github.com/nesszer/Win-CodexBar/pull/649)). - Providers: Venice accepts Clerk session cookies with Bearer auth and falls back per browser for web sessions ([#626](https://github.com/nesszer/Win-CodexBar/pull/626), [#729](https://github.com/nesszer/Win-CodexBar/pull/729)). - Providers: OpenRouter diagnostics and Activity summary ([#703](https://github.com/nesszer/Win-CodexBar/pull/703)). - Usage & Spend: re-land the daily ledger, capped to the newest 30 rows with a "Show all" expander ([#715](https://github.com/nesszer/Win-CodexBar/pull/715)). - Usage & Spend: attribute Nous OpenCodex ledger rows to Nous Portal spend and price unpriced OpenCodex rows by billing route instead of reporting zero ([#682](https://github.com/nesszer/Win-CodexBar/pull/682), [#731](https://github.com/nesszer/Win-CodexBar/pull/731)). - Usage & Spend: price Codex Priority turns from local trace evidence, with a historical cutoff so pre-cutover snapshots keep their original rates ([#698](https://github.com/nesszer/Win-CodexBar/pull/698)). - Usage & Spend: cost reporting periods — a `CostReportingPeriod` core with range-aware cost scanners, `cost --period` and period-aware serve `/cost`, and a History window setting with period-aware spend surfaces ([#648](https://github.com/nesszer/Win-CodexBar/pull/648), [#653](https://github.com/nesszer/Win-CodexBar/pull/653), [#665](https://github.com/nesszer/Win-CodexBar/pull/665)). - Usage & Spend: provider quota burndown charting in the tray panel details ([#739](https://github.com/nesszer/Win-CodexBar/pull/739)). - Tray: re-land stranded tray pace colors ([#716](https://github.com/nesszer/Win-CodexBar/pull/716)). - Tray: refresh sixteen provider brand accents, dropping the retired Crof entry ([#719](https://github.com/nesszer/Win-CodexBar/pull/719)). - Codex: re-land the stranded Codex scanner with OpenCodex numeric parsing and reserve pricing ([#714](https://github.com/nesszer/Win-CodexBar/pull/714)). - Integrations: disclose the provider lane label in Settings usage bars and the metric picker ([#738](https://github.com/nesszer/Win-CodexBar/pull/738)). - Codex: persist and record quota reset observations so reset history survives restarts and refreshes ([#743](https://github.com/nesszer/Win-CodexBar/pull/743)). - Providers: new llmman, DevPass (plan credits and premium weekly), xKiro (daily free tokens), Raycast (monthly AI credits), Vercel AI Gateway (credit balance) and Sakana (pay-as-you-go balance) providers ([#650](https://github.com/nesszer/Win-CodexBar/pull/650), [#658](https://github.com/nesszer/Win-CodexBar/pull/658), [#663](https://github.com/nesszer/Win-CodexBar/pull/663), [#668](https://github.com/nesszer/Win-CodexBar/pull/668), [#678](https://github.com/nesszer/Win-CodexBar/pull/678), [#685](https://github.com/nesszer/Win-CodexBar/pull/685)). - Providers: Alibaba Token Plan and Qwen Cloud monthly windows, Doubao Agent Plan tray icon fallback, Chutes quota classification, Perplexity session retries and credit lanes, Command Code granted monthly credits, and Abacus concurrent credits and billing ([#662](https://github.com/nesszer/Win-CodexBar/pull/662), [#637](https://github.com/nesszer/Win-CodexBar/pull/637), [#639](https://github.com/nesszer/Win-CodexBar/pull/639), [#643](https://github.com/nesszer/Win-CodexBar/pull/643), [#632](https://github.com/nesszer/Win-CodexBar/pull/632), [#628](https://github.com/nesszer/Win-CodexBar/pull/628)). - Providers: Grok reads bearer credits from the CLI credits proxy and shows a product usage breakdown, also on the grok.com billing fallback; the Grok local session scan covers exact local calendar days ([#652](https://github.com/nesszer/Win-CodexBar/pull/652), [#656](https://github.com/nesszer/Win-CodexBar/pull/656), [#692](https://github.com/nesszer/Win-CodexBar/pull/692), [#687](https://github.com/nesszer/Win-CodexBar/pull/687)). - Providers: LiteLLM spend-report fallback, identity and team/user budgets, and opt-in model activity with Claude workspace spend; LLM Proxy base URL setting with private-network HTTP and tolerant quota groups ([#630](https://github.com/nesszer/Win-CodexBar/pull/630), [#702](https://github.com/nesszer/Win-CodexBar/pull/702), [#664](https://github.com/nesszer/Win-CodexBar/pull/664), [#704](https://github.com/nesszer/Win-CodexBar/pull/704)). - Providers: Mistral counts plan-covered tokens, shows plan amounts as detail lines, offers a Monthly Plan metric, and prices usage by event type, API zone and service tier ([#647](https://github.com/nesszer/Win-CodexBar/pull/647), [#657](https://github.com/nesszer/Win-CodexBar/pull/657), [#717](https://github.com/nesszer/Win-CodexBar/pull/717), [#718](https://github.com/nesszer/Win-CodexBar/pull/718)). - Providers: OpenAI Admin pagination, token totals and retry, plus per-day usage history with a daily usage chart ([#645](https://github.com/nesszer/Win-CodexBar/pull/645), [#699](https://github.com/nesszer/Win-CodexBar/pull/699), [#701](https://github.com/nesszer/Win-CodexBar/pull/701)). - Providers: Muse reads the selected browser team quota, ClinePass reuses the Cline auth session, OpenCode Go counts local tokens, Zed gets opt-in browser billing, Bifrost parity polish, and MiniMax browser storage discovery over a shared Chromium LevelDB reader ([#655](https://github.com/nesszer/Win-CodexBar/pull/655), [#681](https://github.com/nesszer/Win-CodexBar/pull/681), [#671](https://github.com/nesszer/Win-CodexBar/pull/671), [#674](https://github.com/nesszer/Win-CodexBar/pull/674), [#675](https://github.com/nesszer/Win-CodexBar/pull/675), [#651](https://github.com/nesszer/Win-CodexBar/pull/651), [#646](https://github.com/nesszer/Win-CodexBar/pull/646)). - Providers: Devin manual paste auth guidance, and the saved Kimi API region is honored in CLI and serve fetches ([#736](https://github.com/nesszer/Win-CodexBar/pull/736), [#737](https://github.com/nesszer/Win-CodexBar/pull/737)). - Settings: portable preferences export and import (Settings and `codexbar config preferences`), credential expiry alerts, and Stay Awake while local agent sessions are live ([#654](https://github.com/nesszer/Win-CodexBar/pull/654), [#660](https://github.com/nesszer/Win-CodexBar/pull/660), [#659](https://github.com/nesszer/Win-CodexBar/pull/659)). - Settings: provider switcher shortcut model, default navigation keys and a shortcut editor ([#693](https://github.com/nesszer/Win-CodexBar/pull/693), [#700](https://github.com/nesszer/Win-CodexBar/pull/700)). - Usage & Spend: provider grouping, a consolidated chart selector and clear-selected-day; Codex sessions are named and ranked by cost; Claude incomplete requests are marked ([#705](https://github.com/nesszer/Win-CodexBar/pull/705), [#673](https://github.com/nesszer/Win-CodexBar/pull/673), [#707](https://github.com/nesszer/Win-CodexBar/pull/707)). - Serve: dashboard usage display control (Follow server, Used, Remaining) ([#680](https://github.com/nesszer/Win-CodexBar/pull/680)). - Tray: stacked provider tray mode, and the reviewed provider, history and tray ports batch ([#603](https://github.com/nesszer/Win-CodexBar/pull/603), [#610](https://github.com/nesszer/Win-CodexBar/pull/610)). - Language: Brazilian Portuguese (pt-BR) UI, contributed by @mdnbras ([#617](https://github.com/nesszer/Win-CodexBar/pull/617)). - Browser cookies: Chrome Beta, Dev, Canary, Chrome for Testing and Chromium profiles as cookie sources, contributed by @ciltocruz ([#614](https://github.com/nesszer/Win-CodexBar/pull/614)). - Metrics: Codex reset-credit count and next expiry in `serve --metrics`, with Grafana dashboard, scrape and alert examples, contributed by @le-shi ([#623](https://github.com/nesszer/Win-CodexBar/pull/623)). - CLI: `usage` and serve `/usage` follow the enabled providers; `config providers --json`; `-p/--provider` on config subcommands; `config claude-code-credentials allow|deny|status`; `serve --request-timeout`; `CODEXBAR_CONFIG`; and an `errorKind` on JSON error rows ([#640](https://github.com/nesszer/Win-CodexBar/issues/640)). - Providers: port CodeRabbit CLI usage, Hugging Face billing usage, Muse Code subscription usage, Nous Portal subscription credits, and Venice web subscription credits ([#566](https://github.com/nesszer/Win-CodexBar/pull/566), [#567](https://github.com/nesszer/Win-CodexBar/pull/567), [#568](https://github.com/nesszer/Win-CodexBar/pull/568), [#569](https://github.com/nesszer/Win-CodexBar/pull/569), [#570](https://github.com/nesszer/Win-CodexBar/pull/570)). - Providers: port Amp Tier usage with pacing, Devin quota fallback and diagnostics, Mistral subscription allowances, and Azure OpenAI API-version settings ([#515](https://github.com/nesszer/Win-CodexBar/pull/515), [#522](https://github.com/nesszer/Win-CodexBar/pull/522), [#559](https://github.com/nesszer/Win-CodexBar/pull/559), [#558](https://github.com/nesszer/Win-CodexBar/pull/558)). - Providers: port Cursor team budgets, Codex/Claude source-policy fixes, the transient provider detail carrier, and transient provider inventory plumbing ([#545](https://github.com/nesszer/Win-CodexBar/pull/545), [#541](https://github.com/nesszer/Win-CodexBar/pull/541), [#564](https://github.com/nesszer/Win-CodexBar/pull/564), [#560](https://github.com/nesszer/Win-CodexBar/pull/560)). - Usage & Spend: add share filtering and export fixes, local timezone windows, and Copilot seat credit fallback ([#549](https://github.com/nesszer/Win-CodexBar/pull/549), [#551](https://github.com/nesszer/Win-CodexBar/pull/551)). - Usage & Spend: add usage updated hooks, provider usage item visibility, compact and detailed Overview layouts, and Overview PNG sharing ([#575](https://github.com/nesszer/Win-CodexBar/pull/575), [#578](https://github.com/nesszer/Win-CodexBar/pull/578), [#579](https://github.com/nesszer/Win-CodexBar/pull/579), [#581](https://github.com/nesszer/Win-CodexBar/pull/581)). - Cost: add SSH Codex cost comparison, OpenCodex recorded-provider pricing, Claude session-aware dedup, and cached Codex pricing recovery from source ([#577](https://github.com/nesszer/Win-CodexBar/pull/577), [#516](https://github.com/nesszer/Win-CodexBar/pull/516), [#517](https://github.com/nesszer/Win-CodexBar/pull/517), [#576](https://github.com/nesszer/Win-CodexBar/pull/576)). - Accounts: add Grok multi-account persistence and usage UI, and managed-home dedup on account switches ([#538](https://github.com/nesszer/Win-CodexBar/pull/538), [#563](https://github.com/nesszer/Win-CodexBar/pull/563)). - Claude: keep usage and saved accounts through transient OAuth failures, use validated Claude provider windows, and preserve probe settings for usage probes ([#537](https://github.com/nesszer/Win-CodexBar/pull/537), [#572](https://github.com/nesszer/Win-CodexBar/pull/572)). - Tray: add an optional Always on top setting for the tray flyout ([#527](https://github.com/nesszer/Win-CodexBar/pull/527)). - Serve: add a Prometheus metrics endpoint with maintainable module structure ([#528](https://github.com/nesszer/Win-CodexBar/pull/528)). ### Fixed - Antigravity: honor unusable `ANTIGRAVITY_CLI_PATH` overrides instead of silently discovering another CLI, explain the offline fallback reason, and keep cost follow-ups — lower bounds, withheld reads, and a `--refresh` path for unknown models ([#615](https://github.com/nesszer/Win-CodexBar/pull/615), [#672](https://github.com/nesszer/Win-CodexBar/pull/672), [#706](https://github.com/nesszer/Win-CodexBar/pull/706)). - Antigravity: preserve grouped quotas including weekly-only Starter allowances and honor explicit quota-window cadence; usage probes no longer leave MCP server processes behind ([#694](https://github.com/nesszer/Win-CodexBar/pull/694), [#695](https://github.com/nesszer/Win-CodexBar/pull/695)). - Claude: scan claude-swap session homes for cost reporting without double counting ([#670](https://github.com/nesszer/Win-CodexBar/pull/670)). - Claude: show Web limit reset credits with opt-in retry semantics ([#689](https://github.com/nesszer/Win-CodexBar/pull/689)). - Claude: preserve threshold warnings across repeated CLI identity gaps ([#667](https://github.com/nesszer/Win-CodexBar/pull/667)). - Claude: replay CLI cursor redraws onto a virtual screen so differential redraws keep unchanged cells ([#633](https://github.com/nesszer/Win-CodexBar/pull/633)). - Claude: respect read-only claude-swap adapters by hiding switching and re-authentication actions ([#631](https://github.com/nesszer/Win-CodexBar/pull/631)). - Claude: replace unusable `claude setup-token` recovery advice with sign-in guidance and OAuth-override removal instructions ([#742](https://github.com/nesszer/Win-CodexBar/pull/742)). - Kimi: give stale CLI credentials clear sign-in guidance and mark windows blocked by an exhausted monthly limit ([#691](https://github.com/nesszer/Win-CodexBar/pull/691), [#697](https://github.com/nesszer/Win-CodexBar/pull/697)). - Kimi: check the reset arithmetic before building reset timestamps so oversized dashboard values can no longer abort the refresh ([#740](https://github.com/nesszer/Win-CodexBar/pull/740)). - Codex: confirm unused rolling weekly resets and reset the weekly baseline on plan change ([#629](https://github.com/nesszer/Win-CodexBar/pull/629), [#690](https://github.com/nesszer/Win-CodexBar/pull/690)). - Codex: retry auth.json publication races ([#688](https://github.com/nesszer/Win-CodexBar/pull/688)). - Codex: retain the inherited counter origin for direct fork chains and accept unused Codex analytics dashboard URLs ([#677](https://github.com/nesszer/Win-CodexBar/pull/677), [#627](https://github.com/nesszer/Win-CodexBar/pull/627)). - Codex: skip unchanged Codex cost cache rewrites ([#666](https://github.com/nesszer/Win-CodexBar/pull/666)). - DeepSeek: read the Chrome `platform.deepseek.com` session and keep the last balance visible through same-session transport failures ([#709](https://github.com/nesszer/Win-CodexBar/pull/709)). - GitKraken: honor `Retry-After` on 429 responses ([#727](https://github.com/nesszer/Win-CodexBar/pull/727)). - OpenRouter: add API key and Management key guidance ([#686](https://github.com/nesszer/Win-CodexBar/pull/686)). - CLI: show a provider history line with provenance and token totals ([#708](https://github.com/nesszer/Win-CodexBar/pull/708)). - Privacy: redact stored process environments shown in diagnostics ([#722](https://github.com/nesszer/Win-CodexBar/pull/722)). - Runtime: stop the app from stealing focus at launch ([#713](https://github.com/nesszer/Win-CodexBar/pull/713)). - Runtime: fix the reset refresh timer for resets more than 24.8 days away ([#720](https://github.com/nesszer/Win-CodexBar/pull/720)). - Tray: fix float bar pills for informational metrics ([#733](https://github.com/nesszer/Win-CodexBar/pull/733)). - Tray: make the tray panel the default layout ([#712](https://github.com/nesszer/Win-CodexBar/pull/712)). - CI: make the bootstrap catalog test hermetic so it no longer reads host settings ([#711](https://github.com/nesszer/Win-CodexBar/pull/711)). - CI: keep Codex cost fixtures on the local day to stop the 00:00-01:00 UTC test flake ([#721](https://github.com/nesszer/Win-CodexBar/pull/721)). - Usage: local usage token totals include cache tokens per provider rule (30-day, latest and daily rows), contributed by @Pyaoya ([#611](https://github.com/nesszer/Win-CodexBar/pull/611)). - Claude: the Windows `/usage` PTY probe retries, takes turns across processes with a lock, shares a fresh result, and kills its child tree on close, contributed by @marcus7989 ([#641](https://github.com/nesszer/Win-CodexBar/pull/641)). - Gemini: read OAuth client constants from the bundled Gemini CLI layout, contributed by @marcus7989 ([#642](https://github.com/nesszer/Win-CodexBar/pull/642)). - Codex: keep users distinct in a shared Team workspace, contributed by @gleaming9 ([#593](https://github.com/nesszer/Win-CodexBar/pull/593)); exclude inherited fork baselines ([#597](https://github.com/nesszer/Win-CodexBar/pull/597)); redact every Codex System Account label under Hide Personal Info ([#741](https://github.com/nesszer/Win-CodexBar/pull/741)). - Codex: cost history also scans archived and flat legacy session rollouts (refs [#616](https://github.com/nesszer/Win-CodexBar/issues/616); this may not be the cause of that report, which is still open). - Groq: use the correct metrics URL, rewrite a `GROQ_API_URL` still set to the old `https://api.groq.com/openai/v1` default, and explain a 404 as an Enterprise-plan limit ([#606](https://github.com/nesszer/Win-CodexBar/issues/606)). - Float bar: moves made by Windows (display sleep, resolution or DPI changes) no longer overwrite the saved placement, and the bar returns once the monitor layout is back ([#625](https://github.com/nesszer/Win-CodexBar/issues/625)). - Kimi: reconcile zero ratio placeholders, honor the manual cookie policy, and route through the selected region ([#587](https://github.com/nesszer/Win-CodexBar/pull/587), [#598](https://github.com/nesszer/Win-CodexBar/pull/598), [#599](https://github.com/nesszer/Win-CodexBar/pull/599)). - Providers: Neuralwatt retry and endpoint parity, ZenMux expiry and PAYG handling, Manus iterates browser sessions, Cursor backs off forbidden cost requests for six hours, Ollama explains an empty manual cookie, Qoder regional cookie routing, DeepInfra retries transient billing requests, and z.ai shows unavailable quota instead of a fabricated 0% ([#624](https://github.com/nesszer/Win-CodexBar/pull/624), [#634](https://github.com/nesszer/Win-CodexBar/pull/634), [#635](https://github.com/nesszer/Win-CodexBar/pull/635), [#636](https://github.com/nesszer/Win-CodexBar/pull/636), [#638](https://github.com/nesszer/Win-CodexBar/pull/638), [#644](https://github.com/nesszer/Win-CodexBar/pull/644), [#683](https://github.com/nesszer/Win-CodexBar/pull/683), [#696](https://github.com/nesszer/Win-CodexBar/pull/696)). - Antigravity: estimate local history costs; Claude: contain oversized history values ([#602](https://github.com/nesszer/Win-CodexBar/pull/602), [#605](https://github.com/nesszer/Win-CodexBar/pull/605)). - Credentials: stage credential writes and publish them atomically ([#669](https://github.com/nesszer/Win-CodexBar/pull/669)). - Claude: when Hide Personal Info is enabled, keep saved account rows distinguishable with stable localized `Account N` labels and matching redacted tooltips ([#555](https://github.com/nesszer/Win-CodexBar/pull/555)). - Claude: reconcile account switches through activating, reconciling, and settled phases before reporting success ([#573](https://github.com/nesszer/Win-CodexBar/pull/573)). - Qwen: show an explicit `Weekly` label for weekly-only plans instead of a generic usage label ([#534](https://github.com/nesszer/Win-CodexBar/pull/534)). - Antigravity: fall back to structured CLI usage when the local probe is inconclusive ([#526](https://github.com/nesszer/Win-CodexBar/pull/526)). - Azure OpenAI: raise the reasoning-model liveness probe budget so reasoning models pass validation ([#525](https://github.com/nesszer/Win-CodexBar/pull/525)). - SSH: preserve username case in session hosts ([#554](https://github.com/nesszer/Win-CodexBar/pull/554)). ### Changed - Docs: remove the retired Crof provider from the Rust README ([#728](https://github.com/nesszer/Win-CodexBar/pull/728)). - Docs: describe the tray-panel-only layout in the Windows docs after the pop-out retirement (glue commit `ed2440c3`). - Overview: show every quota row in the compact Overview, keep provider detail sections visible and deduplicated, and default the layout to detailed ([#744](https://github.com/nesszer/Win-CodexBar/pull/744)). - Overview: per-section visibility for provider details via `detailSection:` IDs ([#745](https://github.com/nesszer/Win-CodexBar/pull/745)). - Settings: show the running app version on the General tab ([#746](https://github.com/nesszer/Win-CodexBar/pull/746)). - Settings: animate the budget disclosure chevron ([#608](https://github.com/nesszer/Win-CodexBar/pull/608)). - Providers: retire the Crof provider safely ([#596](https://github.com/nesszer/Win-CodexBar/pull/596)). - Providers: retain usage through transient transport failures and keep last-good data on refresh failure ([#518](https://github.com/nesszer/Win-CodexBar/pull/518)). - Codex: use token expiry for OAuth validation instead of rejecting stale refresh timestamps ([#535](https://github.com/nesszer/Win-CodexBar/pull/535)). - Ports: port the 0.60.4 OpenRouter credits fallback and Codex workspace cache scope ([#514](https://github.com/nesszer/Win-CodexBar/pull/514), [#552](https://github.com/nesszer/Win-CodexBar/pull/552)). - Ports: port 0.60.5 Kimi Code ratio pools, Codex System Account label redaction, and OpenCode Go Monthly metric ([#543](https://github.com/nesszer/Win-CodexBar/pull/543), [#548](https://github.com/nesszer/Win-CodexBar/pull/548), [#550](https://github.com/nesszer/Win-CodexBar/pull/550)). - Ports: port Claude 0.60.5 parity fixes, Antigravity foreign-database history, and validated Codex windows during historical catch-up ([#542](https://github.com/nesszer/Win-CodexBar/pull/542), [#546](https://github.com/nesszer/Win-CodexBar/pull/546), [#547](https://github.com/nesszer/Win-CodexBar/pull/547)). ### Issues fixed - Fixed in this release: [#606](https://github.com/nesszer/Win-CodexBar/issues/606) Groq metrics URL; [#612](https://github.com/nesszer/Win-CodexBar/issues/612) Vercel AI Gateway provider (via #678); [#613](https://github.com/nesszer/Win-CodexBar/issues/613) Chrome channels and Chromium (via #614); [#622](https://github.com/nesszer/Win-CodexBar/issues/622) Codex reset credits in metrics (via #623); [#625](https://github.com/nesszer/Win-CodexBar/issues/625) float bar placement; [#640](https://github.com/nesszer/Win-CodexBar/issues/640) CLI parity for embedding apps (with #641 and #642). - Already fixed on this release line, now pinned by regression tests: [#591](https://github.com/nesszer/Win-CodexBar/issues/591) OpenCode Go console URL; [#592](https://github.com/nesszer/Win-CodexBar/issues/592) distinct users in a shared Team workspace (via #593). - Related, not confirmed fixed: [#616](https://github.com/nesszer/Win-CodexBar/issues/616) Codex cost history shows $0.00. Archived and flat legacy rollouts are now scanned, but the reporter's root cause is not confirmed. ### Community contributions Thanks to @Pyaoya ([#611](https://github.com/nesszer/Win-CodexBar/pull/611)), @ciltocruz ([#614](https://github.com/nesszer/Win-CodexBar/pull/614)), @mdnbras ([#617](https://github.com/nesszer/Win-CodexBar/pull/617)), @le-shi ([#623](https://github.com/nesszer/Win-CodexBar/pull/623)), @marcus7989 ([#641](https://github.com/nesszer/Win-CodexBar/pull/641), [#642](https://github.com/nesszer/Win-CodexBar/pull/642)) and @gleaming9 ([#593](https://github.com/nesszer/Win-CodexBar/pull/593)). > Release artifacts are unsigned (SignPath onboarding pending); verify them against the attached `.sha256` sidecar files. --- ## [Windows] 0.61.0 - not released separately (first shipped in 0.70.0) Windows port of upstream CodexBar **0.60.3 → 0.61.0**: new subscription and spend providers (Nous Portal, Replicate, CodeRabbit, Muse Code), richer allowances and per-model spending, clearer account switching, and steadier menu-bar layout. ### Added - Codex accounts: show both five-hour and weekly usage windows with independent reset times in the tray, and include both limits in Settings. - Cost history: add provider-scoped, display-only Codex and Claude quota-window projection primitives with exact reset boundaries, independent token/cost completeness, and backward-compatible local evidence handling. - Provider charts: show recent Codex and Claude quota-window history with explicit account scope and estimated-boundary markers; historical data remains display-only. - Grok: Settings and tray **Add account** flow matching Codex/Claude — isolated `grok login --oauth`, save current CLI login, switch, and remove without logging out the active session. - Replicate: cookie-authenticated monthly spend and optional prepaid credit balance from the billing page, with user and organization account isolation. - Raycast: read monthly AI credits from the signed-in `www.raycast.com` session (Chrome auto-import or a pasted Cookie header), showing credits left, plan, and renewal date. Off makes no request and a manual header never falls back to a browser. - DeepSeek: show reported per-model spend in the provider details while preserving the billing currency, reporting period, zero values, and incomplete-total safeguards. - CLI: show provider-supplied history in usage text with its source period, known zero, and cost provenance (reported, estimated, or includes estimates), plus input-plus-output token totals for OpenRouter Activity. ### Fixed - Antigravity: a set but unusable `ANTIGRAVITY_CLI_PATH` (empty, missing, or not a file) now turns off automatic `agy` discovery instead of falling back to another CLI that could start an interactive login during a background refresh; a running desktop app still answers first, offline history is still shown, and unsetting the variable restores discovery. - Kimi: when the Kimi Code CLI credential is stale or rejected and web auth has no token to try, direct the user to run `kimi` or add a Kimi Code API key in Settings, keeping the web fallback and leaving CLI-owned credentials read-only. A rejected web token still reports the web error, and a Kimi Code API 403 reports a permission or quota denial instead of a sign-in problem. - Kimi Code: while the monthly membership pool is exhausted, show the shorter Code windows as “Blocked by monthly limit” without their own usage bar, reset, or pace forecast, keeping the raw usage in the CLI, tray icon, and float bar; the block lifts at the pool's reset even before the next refresh. - Kimi Code: accept ratio-pool Code API responses that report only some windows, keep an unreported weekly quota absent instead of showing 0%, and show the monthly Total usage reported by the Code API without browser authentication. - Claude: when Hide Personal Info is enabled, keep saved account rows distinguishable with stable localized `Account N` labels and matching redacted tooltips. - Codex: a fork of a fork whose parent has no token snapshot before the child forked now inherits the whole chain's cumulative counter origin instead of staying unresolved; ancestor chains deeper than 64 stay unresolved, and the Codex cost cache is rebuilt once (cache schema 5). - Codex: a fork larger than the per-refresh scan budget continues where the last refresh stopped instead of restarting from the top and never finishing, and a finished fork that grows is no longer billed for usage it inherited from its parent. --- ## [Windows] 0.60.3 - 2026-09-15 Windows port of upstream CodexBar **0.56.8 → 0.60.3**. ### Added - Providers: port whitespace-aware Codex rescans, OpenCodex numeric and cache parsing, reserve pricing aliases, Usage & Spend ledger details, and optional tray pace colors ([#488](https://github.com/nesszer/Win-CodexBar/pull/488), [#489](https://github.com/nesszer/Win-CodexBar/pull/489), [#490](https://github.com/nesszer/Win-CodexBar/pull/490), [#492](https://github.com/nesszer/Win-CodexBar/pull/492), [#493](https://github.com/nesszer/Win-CodexBar/pull/493)). - Providers: add Vertex OAuth validation and preserve Antigravity structured reports, discrete model pools, Warp add-on pools, Perplexity credit percentages, Abacus details, LiteLLM budgets, LongCat token and expiry data, and Devin organization context ([#494](https://github.com/nesszer/Win-CodexBar/pull/494), [#498](https://github.com/nesszer/Win-CodexBar/pull/498), [#503](https://github.com/nesszer/Win-CodexBar/pull/503)). - Accounts: add the Claude-swap multi-account adapter and its historical usage, spend, repair, and account-action behavior ([#482](https://github.com/nesszer/Win-CodexBar/pull/482), [#503](https://github.com/nesszer/Win-CodexBar/pull/503)). - Providers: restore Cursor monthly Auto pacing, paid and active-trial Grok Bot allowances, and Antigravity account-source guidance ([#505](https://github.com/nesszer/Win-CodexBar/pull/505)). ### Fixed - Providers: harden managed Antigravity CLI fallback, use checked Mistral billing arithmetic, preserve reserved Alibaba/Qwen request characters, and retain partial usage and cost data ([#483](https://github.com/nesszer/Win-CodexBar/pull/483), [#501](https://github.com/nesszer/Win-CodexBar/pull/501), [#503](https://github.com/nesszer/Win-CodexBar/pull/503)). - Privacy: keep Codex account labels private and redact login diagnostics ([#491](https://github.com/nesszer/Win-CodexBar/pull/491), [#502](https://github.com/nesszer/Win-CodexBar/pull/502)). - Runtime: resume sessions safely after quota reset and keep localized reset countdowns compact ([#499](https://github.com/nesszer/Win-CodexBar/pull/499), [#500](https://github.com/nesszer/Win-CodexBar/pull/500)). ### Changed - Claude: disable Remote Control registration during usage probes and keep weekly fallback data out of session warnings while preserving account separation ([#503](https://github.com/nesszer/Win-CodexBar/pull/503), [#505](https://github.com/nesszer/Win-CodexBar/pull/505)). - Settings: explain Antigravity automatic account selection and the Windows Local API / agy CLI sources ([#505](https://github.com/nesszer/Win-CodexBar/pull/505)). - Reliability: improve Claude Add-account WSL diagnostics, Codex token saturation, dark-theme select popups, ambient account selection, and endpoint/model validation ([#471](https://github.com/nesszer/Win-CodexBar/pull/471), [#472](https://github.com/nesszer/Win-CodexBar/pull/472), [#480](https://github.com/nesszer/Win-CodexBar/pull/480), [#484](https://github.com/nesszer/Win-CodexBar/pull/484), [#485](https://github.com/nesszer/Win-CodexBar/pull/485)). - CI: add the curated TypeScript anti-slop gate to hosted validation ([#487](https://github.com/nesszer/Win-CodexBar/pull/487)). > Release artifacts are unsigned (SignPath onboarding pending); verify them against the attached `.sha256` sidecar files. --- ## [Windows] 0.56.8 - 2026-09-08 Windows release aligned to the reviewed upstream CodexBar **0.56.8** behavior baseline, plus Windows-specific reliability, account-switching, UI, browser-import, and release-pipeline improvements landed since 0.55.0. ### Added - Saved Codex and Claude accounts with account switching from Settings and the native tray menu. - Antigravity local token-history reporting, improved quota selection, and bounded historical scanning. - Expanded Codex usage/cost history, reasoning-token accounting, reset diagnostics, and privacy-aware Usage & Spend reporting. - Claude Desktop/session discovery and localized model-specific weekly quota labels. ### Changed - Codex account switching now separates credential storage, fetch coordination, and restart orchestration from the HTTP API and Tauri command layers. - Tray account actions are isolated behind a dedicated tray-account controller instead of growing the shared tray bridge. - Windows typography, Settings layout, and tray/pop-out usage-card layout are split into focused surface styles. - pnpm is pinned at 11.25.0 from one canonical package-manager declaration used by the release tooling. ### Fixed - Codex preserves authenticated HTTP permission failures instead of misclassifying 403 responses as expired credentials, including PAT paths. - Claude refresh can adopt changed fresh Windows Credential Manager credentials when the default file credential is expired. - Copilot account reuse is identity-first, preventing legacy labels from replacing a different verified GitHub account. - Kiro usage enrichment follows the validated profile ARN region and fails closed for unsupported regions. - Codex bundled CLI discovery and desktop restart/account-switch flows are more reliable on Windows. - Brave App-Bound Encryption cookie import reports the Windows limitation clearly instead of implying a generic cookie failure. - Ollama browser-cookie import tries viable browser sources without letting one failed source hide another valid source. - Minimax API-key quota retrieval uses the provider API rather than treating browser cookies as the only usable path. --- ## [Windows] 0.55.0 - 2026-08-25 Windows port of upstream CodexBar **0.54.0 → 0.55.0**, plus the Windows Grok OAuth routing fix from issue #362. ### Added - Command Code: individual-pro-v1 Pro tier with the current monthly credit grant. - Cursor: Grok Bot usage window and tokscale-compatible local spend import. - Antigravity: tokscale-compatible local spend, offline conversation fallback, agy authentication guidance, and retired Flash model aliases. - Kiro: overage limits and charges from GetUsageLimits. - z.ai: China account balance enrichment. - Alibaba Token Plan: Personal/Solo SEC_TOKEN dashboard extraction. - Codex: tokscale-compatible cached-token, bare-usage, stale-snapshot, and reasoning accounting parity. ### Changed - Usage & Spend refreshes silently when provider data changes and loads independent provider baselines in parallel. - OpenCodex bulk pricing reuses one shared models.dev pricing snapshot. - OpenRouter management spend uses completed UTC days for the rolling 30-day window. - Simplified Chinese session quota labels use explicit whole-hour durations and map weekly-duration windows to the weekly label. - Agent session names truncate safely in the desktop UI. - Single-meaningful-quota tray icons use the full meter while multi-quota icons keep distinct lanes. ### Fixed - Grok preserves unknown-period usage instead of displaying it as zero. - Grok Auto/OAuth routing works when browser cookies are disabled (#362). - Alibaba retries successful-but-empty usage responses and sends navigation headers on the dashboard request that renders SEC_TOKEN. - Gemini shutdown guidance preserves paid/workspace exclusions. --- ## [Windows] 0.54.0 - 2026-08-22 Windows port of upstream CodexBar **0.53.0 → 0.54.0**. ### Added - Providers: Codex PAT (Personal Access Token) usage source with user-agent normalization and fallback narrowing (#353). - Providers: Grok local session token scanning — reads local session files for Grok usage data (#353). - Providers: OpenCode Go usage API — authenticated usage API with rolling/weekly/monthly windows, auto-fallback from local to API (#353). - Providers: OpenRouter Activity spend — 30-day spend tracking via management API key, with daily breakdown, dedup, and conflict detection (#353). - Providers: Antigravity idle-family filtering — idle window IDs filtered to family-level granularity for the dashboard (#353). - Cost: Historical GPT-5.6 Terra/Luna pricing — date-gated rates: requests before 2026-07-30 use pre-cut pricing, after uses current rates (#353). - Cost: OpenCodex spend routing — typed `RouteTarget` enum routes entries to the correct subscription (Codex, OpenCode Go, Kimi, DeepSeek) by model prefix first, then provider label (#353). - Cost: xAI daily spend breakdown added to xAI spend snapshot (#353). - Cost: Management API token — optional secondary management credential for providers that expose one (OpenRouter Activity) (#353). - Settings: `show_pace` toggle for pace visualizations and forecast text in provider menu cards (default: on) (#353). - Settings: OpenRouter management API key configuration in Settings → Providers (#353). ### Fixed - Tray: Auto-fit ResizeObserver feedback loop fix — panel size adjusts correctly on content changes (#352). ### Changed - Upstream 0.53.0 → 0.54.0 provider, cost, and CLI behavior ported onto the Windows tray/desktop shell (#353). --- ## [Windows] 0.53.0 - 2026-08-19 Windows port of upstream CodexBar **0.48.0 → 0.53.0**. ### Added - Providers: Fireworks provider with 30-day rated billing spend (#337). - Providers: Amp monthly renewals + 8PM NY free reset, LongCat token-packs summary, OpenCode pay-as-you-go billing fallback (#338). - Providers: Cursor app session preference — reads Cursor's read-only `state.vscdb` for automatic session detection before browser cookies (#339). - Providers: Kiro re-authenticate via `run_kiro_login()` wired into `trigger_provider_login` (#341). - Providers: Grok source picker — Auto / Grok CLI / SuperGrok OAuth / Browser cookies (#346). - Charts: Tokens/Cost chart switch with a **Tokens** tab in Settings, defaulting active for Codex; "Refreshing" marker for incomplete backfill (#339). - Charts: Centered x-axis date labels on bar/point centers (#341). - Cost: Explicit cost provenance and coverage — `SpendContract` with `CostProvenance` (ListPriceEstimate/VendorMetered/Mixed/Unknown) and `CostCoverageCounts`; partial totals show coverage, nothing unpriced masquerades as a bill (#346). - Cost: Token mix, hourly activity heatmap, and conversation totals in UsageSpendTab (#346). - Cost: All-time range (365 days) — `selectedDays: 0` maps to 365-day clamp (#346). - Cost: Exact-match custom pricing overlays from `custom-pricing.json` — custom rates authoritative over models.dev/built-in (#346). - Cost: Opt-in read-only OpenCodex import — reads `usage.jsonl`, deduplicates by `request_id`, aggregates into `ImportedSpendSource` with SQLite cache (#346). - Cost: Per-project spend and Projects panel in UsageSpendTab (#344, #346). - Cost: OpenCode Go local estimate source labeling (#344). - Cost: CLI `codexbar usage --format toon` — TOON v4.1 JSON payload emission (#346). - Cost: CLI `codexbar cost --json` aligned with spend provenance, token mix, coverage, and opt-in OpenCodex (#346). - Low Power Mode Off/On/Automatic — `LowPowerModePreference` enum; Automatic reads Windows Battery Saver via `SystemStatusFlag` (#346). - i18n: Turkish (tr-TR) locale support (#342). - Settings: Light theme toggle fix (#343). - Sessions: Cost CLI session grouping (#344). - Serve: `--identity` now optional; follows `hide_personal_info` setting when absent (#341). - z.ai: `CREDIT_LIMIT` coding plans now parse like `TOKENS_LIMIT` — 5-hour credit window drives primary % and reset (#337). - Kimi: Official lane names + duplicate suppression — membership pool renamed to "Total usage", duplicate `Code 7-day` row hidden on positive evidence (#337). - OpenRouter: Key-quota fast join on a 1-second deadline (was 3s) with explicit degraded-join logging (#337). - Proof: Seed provider usage snapshot for deterministic proof runs (#336). - FloatBar: Synced with menu bar metric preference (#335). - Tray: `OverviewSpendSummary` component showing 30-day total spend across all providers in the tray panel header (#346). ### Fixed - Claude: Prefer `limits[]` session over stale `five_hour` after 5h rollover (#334). - Claude: Stop rescaling utilization below 1% to 100% (#274). - Antigravity: Detect `agy` CLI in Antigravity provider on Windows (#333). - Qwen Cloud: Promote weekly window to primary (#284). - DeepSeek: Show peak and off-peak pricing (#280). - Ollama: Cookie stripping — `strip_curl_cookie_wrapper`, `curl ` prefix + `Cookie:` label stripping in `normalize_cookie_header` (#341). - Ollama: Cookie-expiry recovery — invalidate + browser re-import + retry (#338). - Claude: Scope session-equivalent forecast history by account (#276). - Menu-card: Detail wrapping for long metric reset/pace details — two-line clamp instead of ellipsizing (#337). - Provider status: Last-success cache — transport failures never replace the last known status (#339). - Codex: Custom-backend guidance — missing `auth.json` + custom backend reports rate limits unavailable instead of telling user to `codex login` (#339). - Cursor: Rename locale keys — `weekly_label: "Auto"→"Cursor"`, `plan_period_label` → "Cursor and Third Party" (#341). - OpenCode Go: 5h/weekly pace via `pace_json()` in CLI JSON + text output (#341). ### Changed - Upstream 0.49.0–0.53.0 provider, cost, and CLI behavior ported onto the Windows tray/desktop shell (#337, #338, #339, #341, #344, #346). - UsageSpendTab rebuilt with `SpendContractOverview` (provenance/coverage/conversations/token-mix metric cards), `ContractModelsPanel`, `ProjectsPanel`, and OpenCodex import toggle (#346). - GeneralTab: Low-power mode Select dropdown replacing Toggle; legacy `low_power_mode` boolean kept for settings.json migration (#346). - CI: GitHub Actions release workflow added as fallback to CircleCI, reusing existing release scripts (preflight, build, manifest, publish). - CI: Cargo registry, target, and pnpm store caching added to release pipeline (#329). --- ## [Windows] 0.48.0 - 2026-08-09 Windows port of upstream CodexBar **0.47.0 → 0.48.0**. ### Added - Providers: CodeBuddy CN credit usage (#269). - Codex: multi-account management — Codex accounts panel in provider settings and tray menu flyout for switching accounts (#255–#260). - Serve: modular usage dashboard (coordinator/snapshot structure with provider icons) from upstream 0.48.0 (#271). - Sessions: unified Pi-family (pi + OMP) agent sessions with live-process correlation, PID-only rows, and a unified AgentSessions view; `sessions --json-v2` with legacy `--json` fallback negotiated over SSH (#271). - Upstream 0.48.0: Copilot AI credits counter, CommandCode rolling windows + GOAT plan, OpenRouter key meter, ZoomMate browser cookie scope, OpenCode Go per-model daily cost breakdown (#271). - Regional: Kimi Desktop monthly membership enrichment, GLM Coding Plan 5-hour/weekly windows, z.ai Global vs BigModel CN region routing with cross-region endpoint override rejection (#271). ### Fixed - Codex weekly window detection when the 5-hour session window is missing (#268). - MiniMax CN Token Plan web fetch via token-plan endpoints (#254, #262). - Tray: auto-fit measure scaled by active zoom + proof anchor clamp (#265, #266). - Tray: Codex accounts card overflow and weekly-only tray bar (#264). - Tray: fractional-DPI flyout resize oscillation via two-state cycle detection (#261, #272). - Upstream 0.48.0: bounded serve request heads, bounded Codex JSONL cost cache (oversize persistence refused), Claude OAuth terminal/transient refresh classification, Codex reset backfill (#271). ### Changed - Upstream 0.48.0 provider and CLI behavior ported onto the Windows tray/desktop shell (#271). - Repo automation: contributor interaction guard relaxed to a 14-day account-age floor and 15 PRs per 7-day window (#263). - Docs: SignPath code-signing policy and privacy statement published; code signing is pending SignPath onboarding — release artifacts remain unsigned with SHA-256 sidecars (#270). --- ## [Windows] 0.47.0 - 2026-08-04 Windows port of upstream CodexBar **0.46.0 → 0.47.0**. ### Added - Providers: Notion AI and xAI usage surfaces from upstream 0.47.0. - CLI: hooks watch mode for live hook event streaming. - Low Power Mode to reduce background refresh/work on battery or demand. - Cost pace: real-calendar monthly pacing (not rolling 30-day only). - Settings: per-notification custom sounds (#251). - Russian localization (#248). ### Fixed - MiniMax coding-plan web-session auth/status refresh (#250, #246). - OpenCode Go rolling 5-hour usage falsely showed 100% "Exhausted" when the real value was 1% (#250, #247). - FloatBar DPI-aware sizing on scaled displays (#245). - Provider fixes: Cursor, CommandCode, OpenCode Go WAL handling, and ZAI/Kimi/Grok duration windows. ### Changed - Upstream 0.47.0 provider and CLI behavior ported onto the Windows tray/desktop shell. --- ## [Windows] 0.46.0 - 2026-07-30 Windows port of upstream CodexBar **0.45.2 → 0.46.0**. macOS-only shell items (WidgetKit, Sparkle, AppKit menu layout, Homebrew, Safari cookie APIs) remain deferred. ### Added - Providers: Qwen Cloud (Individual Token Plans with 5-hour and weekly rolling windows) and ZoomMate (credit status with host failover, cURL/cookie auth, bearer mint). - Alibaba Token Plan: Personal/Solo variants for mainland (Bailian) and international (Model Studio) accounts via `alibaba_token_plan_region` setting. - Claude: prepaid credit balance in cost surfaces from cached/manual web sessions. - Claude: setting to hide the Daily Routines row (`claude_daily_routines_usage_visible`, default on). - Menu: fractional session-quota estimates on the weekly row ("Estimated: N session quotas left") when session+weekly history qualifies; optional `weekly_progress_work_days`. - Codex: local Workspaces indexing foundation — per-project/session/model usage attribution with a local sidecar index; new `codexbar workspaces` CLI and desktop snapshot bridge. - CLI: `config dump` redacts stored credentials by default; `--show-secrets` restores raw output. ### Changed - Codex local cost scans use the disk cache: unchanged files skipped by mtime/size, grown logs resumed mid-file, 256 KiB line bound — repeat scans are incremental. - Automatic tray metric surfaces the highest-used (exhausted) window across providers, preserving per-provider overrides. - CLI alias `qwen` now resolves to Qwen Cloud (use `alibaba` for the Coding Plan). ### Fixed - Claude: model-scoped weekly rows above Daily Routines; automatic metric prefers account Weekly over exhausted model carve-outs; learned full-session estimate stays visible while the session window is idle. - Amp: subscription plans (e.g. Megawatt) parse into Other/Orb percentage windows instead of a misleading cookie error. - Grok: explicit cookie refresh with validated session caching for background reuse. - Chutes: quota counts render as detail text instead of being misread as reset schedules. - LLMProxy: skip already-elapsed reset times when picking the next reset. - Ollama: reuse validated browser sessions across refreshes. --- ## [Windows] 0.45.3 - 2026-07-29 ### Added - Settings: global HTTP proxy for provider traffic (#235, #236). - Codex tray: reset-credit **next expiry** on the Reset credits row (count + “Next expires …”; honors Relative reset time) (#241). ### Fixed - Tray icon missing from the taskbar after upgrade (#237, #238). - Float bar window flipping Settings Auto theme to light (pin WebView2 dark on float bar) (#240). ### Changed - Hosted PR check on Blacksmith Windows (fmt, clippy, tests, frontend build); release packaging remains local. - Dead-code and helper cleanup (shared SigV4/parse helpers, drop unused CLI args/bridge bindings/icons registry, simplify build scripts). --- ## [Windows] 0.45.2 - 2026-07-21 Windows port of upstream CodexBar **0.43.0 → 0.45.2** (providers, CLI, cost, and settings surfaces). macOS-only shell polish (menu-bar layout editor, widgets, full hooks UI chrome) remains deferred. ### Added - Providers: ZenMux, ClinePass, LongCat, Neuralwatt, DeepInfra, and ai& (30-day spend from logs). - Doubao: `arkcli usage plan` path with Coding / Agent / team plan windows. - OpenRouter: multi-key token accounts and CLI `usage --account`. - OpenCode Go: local-first Auto from `opencode.db` (web-first when scoped). - CLI: `codexbar guard` quota automation gates; `codexbar hooks list|enable|disable|test`. - CLI serve: optional `--host`, `--dashboard-token` / `CODEXBAR_DASHBOARD_TOKEN`, and `--allow-plain-http` for LAN binds. - Settings: Usage & Spend tab (7d/30d) with sanitized PNG share-card export. - Settings: Adaptive refresh cadence (activity/power-aware) with Windows coding-agent process detection. - External hooks: opt-in `hooks.json` runner (no shell) with threshold-crossing dispatch. - Cost: OMP (`~/.omp`) and pi-compatible (`~/.pi`) agent session logs without double-counting. - Cursor: dashboard usage-events token-cost (per-model API-rate windows + metered totals). ### Changed - Soft-remove Kimi K2 and CrossModel (deprecated labels; hidden unless already enabled; CLI still resolves). - Prefer active OpenRouter token-account keys over stored single API keys. ### Fixed - Claude: prefer `weekly_all` over misleading `seven_day.utilization`; last-good CLI usage on parse fail; probe session-id reuse (#210, #216). - OpenCode: do not rescale sub-1% computed usage to 100% (#211, #215 / upstream #2331). - Cursor: map Cli to web cookie path; clamp plan usage at 100% (#212, #217 / upstream #2255). - Cost scanner: process incomplete final JSONL lines for Claude transcripts. --- ## [Windows] 0.43.0 - 2026-07-17 ### Added - Add the sub2api provider (group-key gateway usage, subscription, and wallet). - Add Factory/Droid API-key Auto with web-cookie fallback, dotenv key resolution, and token-rate-limits billing. - Reuse fresh Kimi Code CLI OAuth credentials read-only when no API key is configured. - Treat Claude web null five-hour session as an informational placeholder (no phantom 0% quota). - Promote the tray icon out of the Windows 11 hidden-icons overflow when enabled. - Toggle the tray flyout from the global shortcut. ### Changed - Scope quota threshold and session-depleted notifications by account identity. - Improve cost-scan freshness: unattributed model pricing, 256 KiB JSONL line bounds, and Ultra lineage watermark containment. - Port remaining upstream 0.43.0 residuals (Claude passive-probe env, nested Factory usage shapes). - Migrate CI workflows to Blacksmith runners. - Complete zh-CN / zh-TW / ja-JP localization coverage and wire remaining frontend strings into the locale system. ### Fixed - Prevent stale provider publish after enablement changes (refresh generation ownership). - Honor Factory cookie-source off (API-only; no browser scrape). - Avoid re-arming still-hot notifications from volatile plan/login identity strings. - Skip informational primaries in Session and Automatic tray metrics. - Fix FloatBar recovery after minimize, monitor disconnect, and taskbar z-order races. - Fix weekly toast spam, OpenCode usage parse, Antigravity 2.0 port detection, Z.ai quota parsing, and predicted exhaustion display. --- ## [Windows] 0.42.0 - 2026-07-12 ### Added - Add the Wayfinder provider. - Add opt-in local and SSH Agent Sessions for Codex and Claude. - Add predictive pace warnings and provider/window-specific usage thresholds. - Add GPT-5.6 Sol, Terra, and Luna pricing and model aliases. - Show Claude model-scoped weekly quotas from OAuth, web, and CLI sources. ### Changed - Reorganize Settings and restore Providers as a dedicated tab. - Keep every Settings tab at the same window size. - Improve token-cost pricing coverage, freshness, and refresh coalescing. ### Fixed - Keep refresh intervals anchored and provider cards synchronized with completed work. - Avoid quota refreshes for visual-only settings and provider reorder changes. - Improve Antigravity detection, Gemini paid-tier labels, Ollama authentication, and other provider parsing. - Eliminate the duplicate FloatBar cost control and keep local-cost display opt-in. --- ## [Windows] 0.41.3 - 2026-07-11 ### Added - Add local cost summaries to FloatBar. - Add a PowerToys Command Palette status pipe. ### Fixed - Keep FloatBar topmost without repeatedly stealing focus. - Preserve the OpenCode Go workspace override during authentication. - Open Cursor's usage dashboard at the correct URL. - Align the popup correctly with a side-mounted Windows taskbar (#159). - Correct Codex daily usage reporting (#153, thanks @0reki). --- ## [Windows] 0.41.2 - 2026-07-08 ### Added - Add Antigravity `agy` CLI alias setup guidance. - Add Traditional Chinese (Taiwan) localization. ### Changed - Add repository interaction guardrails and switch the tray panel to a masonry card layout. --- ## [Windows] 0.41.1 - 2026-07-08 ### Fixed - Localize the tray panel and native tray menu for Japanese, Chinese (Simplified), Korean, and Spanish. - Add missing `es-MX` UI key translations. - Stop baking the UI language into cached provider snapshots so locale changes remain independent of provider data. - Localize the native tray menu proof harness. --- ## [Windows] 0.41.0 - 2026-07-07 ### Changed - Port scoped upstream CodexBar 0.41.0 Rust/provider updates into the Windows/Tauri app. ### Fixed - Fix the Windows tray/background launch auto-popup regression from #129 and fix Kimi auth cookie fallback. --- ## [Windows] 0.38.3 - 2026-07-06 ### Fixed - Fix NanoGPT usage parsing when the API omits the monthly usage block. --- ## [Windows] 0.38.2 - 2026-07-05 ### Fixed - Fix tray flyout flicker/hide when opened from the Windows tray overflow. --- ## [Windows] 0.38.1 - 2026-07-04 ### Changed - Bump the Windows/Tauri release version to 0.38.1 after merging the tray flyout, vertical-taskbar placement, Claude OAuth refresh, Claude cost, README language, and repo cleanup fixes. ### Fixed - Port upstream 0.38.1 parser hardening for OpenAI API non-finite cost values, OpenCode reset timestamps, and z.ai BigModel CN quota responses without optional messages. --- ## [Windows] 0.38.0 - 2026-07-03 ### Added - Port upstream v0.38.0 provider support for CrossModel, Qoder, and Sakana AI into the Windows/Tauri app. - Add Tauri provider icons, provider catalog metadata, manual cookie support for Qoder/Sakana, and saved API-key settings for CrossModel. ### Fixed - Accept current Command Code `commandcode_prod` manual cookie headers. --- ## [Windows] 0.37.6 - 2026-07-02 ### Added - Add window mode with a taskbar-visible PopOut window, custom title bar controls, maximize/restore behavior, and display scaling. - Add Mexican Spanish (`es-MX`) locale support with a centralized backend language catalog. ### Fixed - Ship the installed console CLI as `codexbar-cli.exe` and verify it is a real console-subsystem binary with redirected stdout. - Keep browser cookie imports scoped to exact provider domains and validate imported cookie header length before saving. - Validate provider workspace/base URL extras in Rust before persistence so saved credentials cannot be retargeted to unsafe endpoints. - Allow clearing the global shortcut setting without attempting to register an empty shortcut. - Mask Unicode API keys without slicing through UTF-8 boundaries. - Resolve automatic theme mode from the current OS light/dark preference. - Fix the cost scanner token-count regression test so it does not age out of the 30-day scan window. ### Changed - Harden CI and release workflows with pinned GitHub Action SHAs, read-only build permissions, and separate release publishing jobs. - Package `codexbar.exe` as the desktop app, `codexbar-cli.exe` as the console CLI, and `codexbar-desktop.exe` as a compatibility alias. --- ## [Windows] 0.37.5 - 2026-06-27 ### Fixed - Fix Windows desktop startup paths that could leave CodexBar running with only the tiny internal Tauri shell window visible. - Reopen the tray panel for normal or blank-argument desktop launches unless **Start Minimized** is enabled. - Recover startup tray reveals that remain hidden or stuck at a tiny shell-window size. --- ## [Windows] 0.37.4 - 2026-06-24 ### Changed - Remove stale release scripts, unused fetch planning code, the fake Synthetic provider, and dead settings toggles. --- ## [Windows] 0.33.2 - 2026-06-12 ### Fixed - Hide the tray panel when it loses focus, matching normal tray-popover behavior. - Allow Escape to dismiss the tray panel without quitting the app. - Prevent the tray icon click that caused a blur-dismiss from immediately reopening the panel. --- ## [Windows] 0.33.1 - 2026-06-11 ### Fixed - Show GitHub Copilot over-budget quota values when GitHub reports negative remaining quota, such as displaying `115% used` instead of clamping to `100%`. - Keep Copilot progress bars visually capped at full width while preserving the true overage percentage in tray, pop-out, provider sidebar, and settings details. --- ## [Windows] 0.33.0 - 2026-06-11 ### Added - Add Japanese as a selectable interface language in the Tauri Settings UI. ### Changed - Port upstream CodexBar 0.33.0 provider and cost-accounting fixes into the Windows/Tauri Rust backend. - Route provider HTTP clients through a shared same-origin redirect policy so credentialed requests do not follow cross-origin redirects with provider auth context. - Update Claude local cost pricing for Fable 5, Opus 4.6, Sonnet 4.6, and 1-hour cache writes. ### Fixed - Avoid showing Doubao API keys as falsely exhausted when Ark returns successful zero-remaining request-limit headers that are not reliable quota state. - Preserve existing Copilot unlimited-chat and Antigravity untracked-quota behavior from the upstream 0.33.0 cycle. --- ## [Windows] 0.32.9 - 2026-06-11 ### Fixed - Apply Display settings changes to the native tray immediately after saving, including tray metric mode, highest-usage selection, percent icon mode, provider metric preferences, and enabled-provider changes. - Make the **Show provider icons** setting affect the tray and pop-out provider switcher grids instead of only being stored. - Make **Show percent in tray** render a real numeric tray icon. - Make **Tray icon mode** affect native tray status rows by switching between a single summary row and per-provider rows. - Shorten native tray tooltip reset text to relative countdowns such as `resets in 2h 05m` and bound long tooltip lines so Windows does not trim provider status text mid-line. --- ## [Windows] 0.32.8 - 2026-06-09 ### Changed - Install `codexbar.exe` as the tray app and `codexbar-cli.exe` as the console CLI so Start Menu shortcuts launch the desktop UI while terminal diagnostics print real output. - Build the console CLI during every Windows release packaging run. ### Fixed - Run provider auto-refresh from the Tauri backend even when the tray panel is closed and the floating bar is disabled. - Keep `refresh_interval_secs = 0` as manual-only and prevent overlapping background refreshes. - Extend Windows smoke install validation to prove installed CLI `--version` and `--help` output. --- ## [Windows] 0.32.7 - 2026-06-08 ### Added - Expand Alibaba Coding Plan support with selectable Singapore, US, Germany, Hong Kong, and China Mainland regions. ### Changed - Route Alibaba Coding Plan cookies, dashboard links, gateway requests, and SEC_TOKEN caching through a canonical region model so region behavior stays consistent. ### Fixed - Fix Cursor usage percentages by trusting Cursor's `totalPercentUsed`, `autoPercentUsed`, and `apiPercentUsed` fields as 0-100 percentages instead of recalculating or multiplying them. - Keep Cursor bonus-credit breakdown totals from distorting fallback percentage calculations. --- ## [Windows] 0.32.6 - 2026-06-05 ### Changed - Reveal the Windows tray panel only after the frontend completes its first layout pass, avoiding the blank backing-frame flash on tray startup. - Lazy-load heavier secondary surfaces so first tray activation does not compete with Settings, Pop Out, or Floating Bar module startup. - Limit concurrent provider refreshes and emit provider-updated events after releasing the provider-cache lock to reduce refresh contention. - Keep tray and pop-out provider ordering aligned with the configured provider catalog order. ### Fixed - Restore the full bootstrap bridge contract for surface modes, commands, and events instead of exposing test-only descriptors. - Keep dense tray overview layout visible while provider data is still loading, using stable placeholders instead of waiting indefinitely for the first providers to fetch. - Handle surface-state mutex errors at the Tauri command boundary instead of panicking. - Fix NanoGPT monthly-only usage parsing. --- ## [Windows] 0.32.5 - 2026-06-02 ### Fixed - Treat GitHub Copilot Business token-based billing zero-entitlement quota rows as unavailable instead of showing misleading `0% used` usage. - Keep percent-only Copilot quota snapshots and fully consumed positive-entitlement quotas working while dropping only explicit zero-entitlement placeholders. - Prioritize OpenAI Web login and Cloudflare blocking states over public-route detection so blocked dashboard responses do not get misclassified. --- ## [Windows] 0.32.4 - 2026-06-02 ### Fixed - Fix OpenRouter credits fetching by routing requests to the canonical `/api/v1/credits` endpoint instead of the broken `/api/v1/auth/credits` path. - Align OpenRouter key introspection with the upstream `/api/v1/key` endpoint and add regression coverage for both endpoint URLs. --- ## [Windows] 0.32.3 - 2026-06-01 ### Fixed - Detect modern Chrome/Edge `v20` App-Bound encrypted cookies during browser import so Codex/ChatGPT imports no longer misreport protected signed-in sessions as missing cookies. - Replace the outdated Chromium cookie-import guidance with a clearer manual-cookie or Firefox fallback when Windows browser encryption blocks direct import. --- ## [Windows] 0.31.1 - 2026-05-30 ### Fixed - Fix Antigravity usage on Windows when the local language server binds its API to a random listening port instead of a port near `--extension_server_port`. - Prefer the Antigravity language-server process's actual listening ports before falling back to heuristic API port probes. --- ## [Windows] 0.31.0 - 2026-05-29 ### Added - Support AWS Bedrock usage through named AWS CLI profiles, including SSO, assume-role, and credential-process profiles that `aws configure export-credentials` can resolve. - Show Codex Spark 5-hour and weekly quota lanes from ChatGPT/Codex `additional_rate_limits` payloads. ### Changed - Port upstream CodexBar 0.31.0 provider behavior into the Windows/Tauri Rust backend while keeping macOS-only AppKit menu and Homebrew changes out of the Windows shell. - Make local Codex/Claude chart scans cancellation-aware so repeated chart refreshes stop obsolete JSONL scans sooner. - Document Bedrock profile credentials in the provider settings help text. ### Fixed - Hide Claude's obsolete Design quota lane while preserving the remaining OAuth apps and Daily Routines usage lanes. --- ## [Windows] 0.30.4 - 2026-05-29 ### Added - Add `codexbar diagnose`, a generic safe provider diagnostic export that reports provider/source/config/fetch health without exposing cookies, tokens, account emails, or raw secrets. ### Changed - Port upstream CodexBar 0.30.1 provider diagnostics behavior to the Rust CLI while omitting macOS-only AppKit status-item handling that has no Windows Tauri equivalent. - Add trailing breathing room to Providers settings sidebar rows so row controls do not crowd the scrollbar. ### Fixed - Treat Claude OAuth usage HTTP 429s as rate limits, preserve cached credentials, and back off repeated background retries. - Reopen the tray panel from Windows shortcut/tray activation when the app is hidden, keep Claude usage on the current OAuth API path when no manual cookie is configured, and avoid flashing console windows during Windows CLI path probes. --- ## [Windows] 0.29.0 - 2026-05-24 ### Added - Port upstream CodexBar 0.29 Alibaba Token Plan support to the Rust/Tauri provider registry, protected token-account storage, provider icon registry, and CLI aliases. - Show OpenCode and OpenCode Go renewal dates as a separate **Renews** usage window when their usage payloads expose `renewAt` / `renew_at`. - Split local Codex cost output into standard vs fast/priority buckets when local session logs expose fast model naming. ### Fixed - Preserve the upstream 0.29 quote-handling intent through the existing Rust secret cleanup paths while keeping provider tokens out of frontend state and logs. --- ## [Windows] 0.28.0 - 2026-05-24 ### Added - Port upstream CodexBar 0.28 Azure OpenAI and T3 Chat provider support to the Windows/Tauri provider registry, Settings UI metadata, protected credential storage, and CLI aliases. - Add Ollama API-key support while keeping browser-cookie usage available as the Web source. ### Fixed - Harden OpenAI dashboard account scraping and MiniMax billing aggregation for additional upstream response shapes. --- ## [Windows] 0.27.4 - 2026-05-23 ### Added - Add Floating Bar light-background mode for better contrast on bright desktops. - Show localized provider reset timing in Floating Bar pill tooltips. ### Fixed - Apply the Floating Bar opacity slider through the rendered bar so visual opacity updates reliably. - Keep the Floating Bar release build compiling on the repo's active Tauri 2.10 API surface. --- ## [Windows] 0.27.3 - 2026-05-21 ### Fixed - Prefer Claude browser-session usage over Claude OAuth in Auto mode so the app follows the same settings-page endpoint as `claude.ai/settings/usage`. - Use Claude's `lastActiveOrg` cookie or account memberships before falling back to the organizations list, which keeps multi-org accounts aligned with the active Claude web session. - Parse Claude `seven_day_oauth_apps` and embedded `extra_usage` payloads from the web usage response. --- ## [Windows] 0.27.2 - 2026-05-20 ### Added - Add GitHub device-code sign-in for Copilot in the Tauri provider settings, storing the OAuth token as a protected Copilot token account. - Reuse `gh auth token` as a Copilot auth fallback so existing GitHub CLI logins can power Copilot usage without pasting a token. ### Fixed - Parse Copilot plan usage across paid `premium_interactions` / `chat` snapshots and free-plan `monthly_quotas` / `limited_user_quotas` responses. - Show Copilot as OAuth-backed in the Providers UI while keeping the legacy manual token path as an optional fallback. --- ## [Windows] 0.27.1 - 2026-05-19 ### Added - Complete the upstream CodexBar 0.27 provider port for Windows/Tauri by adding Grok billing support, Claude Admin API usage, OpenAI Admin API usage with legacy credit-balance fallback, MiniMax billing summaries, OpenCode Go Zen balance display, and Kiro overage usage/cost parsing. - Add Grok across the Rust provider registry, credential migration, token-account support decisions, Settings provider catalog, Tauri provider unions, provider icon registry, and chart colors. - Add `codexbar serve` for loopback `/health`, `/usage`, and `/cost` JSON, with loopback Host-header validation. - Add the upstream-compatible `--all-accounts` CLI flag surface. ### Fixed - Correct the Windows 0.27 line so the release reflects the full portable upstream provider/CLI changes instead of only the API-key quota-provider subset. - Update README provider counts and v0.27 notes to describe the full Windows/Tauri port. --- ## [Windows] 0.27.0 - 2026-05-19 ### Added - Port upstream CodexBar 0.27 API quota providers for ElevenLabs subscription credits, Deepgram project usage, GroqCloud Enterprise Prometheus metrics, and LLM Proxy quota-stats. - Add the v0.27 provider wiring across the Rust registry, Settings API-key catalog, Tauri provider icons, chart colors, dashboard/status links, and frontend provider unions. - Add `codexbar config providers`, `codexbar config enable`, `codexbar config disable`, and `codexbar config set-api-key` for scriptable provider setup. ### Fixed - Keep API-key provider refreshes on the Windows/Tauri API source path and add deterministic parser coverage for the new providers. --- ## [Windows] 0.26.3 - 2026-05-17 ### Fixed - Fix DeepSeek refresh in the desktop app when an API key is configured by keeping API-key providers on the automatic API source path instead of falling back to unsupported CLI mode. - Stop writing raw CLI argument values to startup diagnostics and use per-process launch log files to avoid leaking tokens or mixing concurrent launch logs. --- ## [Windows] 0.26.2 - 2026-05-16 ### Added - Add an optional always-on-top Floating Bar that shows remaining provider capacity in a compact transparent strip. - Add Floating Bar display settings for enablement, horizontal/vertical orientation, opacity, and click-through overlay mode. - Add native tray menu support for toggling the Floating Bar while keeping the tray check state in sync with Settings changes. ### Fixed - Make the Settings tab's Quit button close only the Settings window so the tray service keeps running. - Keep tray panel, pop-out, and native tray menu Quit actions on the app-level exit path. - Keep Floating Bar updates live when provider enablement, refresh cadence, or usage thresholds change. - Avoid Windows Tauri deadlocks by opening the Floating Bar from async command paths. --- ## [Windows] 0.26.1 - 2026-05-15 ### Fixed - Preserve Moonshot / Kimi API compatibility across international and China-region API keys by trying both endpoints when `MOONSHOT_API_REGION` is unset. - Keep explicit `MOONSHOT_API_REGION=international` and `MOONSHOT_API_REGION=china` region pinning for users who want a single endpoint. --- ## [Windows] 0.26.0 - 2026-05-15 ### Added - Port upstream CodexBar 0.26 AWS Bedrock monthly spend tracking into the Windows/Tauri Rust backend using AWS Cost Explorer and SigV4 request signing. - Add Bedrock provider metadata, CLI aliases, Settings provider catalog support, frontend provider types, source hints, and provider icon registry entry. - Add OpenRouter daily, weekly, and monthly API-key spend windows from the `/api/v1/auth/key` endpoint. - Add Moonshot / Kimi API balance parsing for international and China API regions, voucher balance, cash balance, and deficit state. ### Changed - Stop shipping `WebView2Loader.dll` in Windows installer and portable packages because MSVC release builds statically link the WebView2 loader. - Restore portable release packaging to a standalone `CodexBar--portable.exe` asset instead of a zip bundle. - Update app, CLI, package, Tauri, and release metadata to 0.26.0 for the Windows artifact release. ### Notes - Upstream 0.26 also includes several macOS/Swift-only menu, Sparkle, localization, and native settings changes. Those code paths do not exist in Win-CodexBar's Tauri/Rust shell. --- ## [Windows] 0.25.1 - 2026-05-11 ### Changed - Align the Windows/Tauri release with upstream CodexBar 0.25.1 after reviewing the upstream patch set. - Bump app, CLI, package, Tauri, and release metadata to 0.25.1 for the follow-up Windows artifact release. ### Notes - Upstream 0.25.1 fixes macOS SwiftPM localization bundle lookup, macOS Keychain cache prompt churn, Pi session cost cache migration, Swift concurrency annotations, and standalone Swift CLI archive version fallback. Those code paths do not exist in the Windows/Tauri port, so no runtime Rust/Tauri logic change was required beyond the release alignment. --- ## [Windows] 0.25.0 - 2026-05-11 ### Added - Port upstream CodexBar 0.25 provider support for Manus, Xiaomi MiMo, Doubao, Command Code, Crof, StepFun, Venice, and OpenAI API balance into the Windows/Tauri app. - Add v0.25 providers to the Rust provider registry, Settings provider list, credential/API-key catalog, CLI aliases, cookie/token-account handling, and provider icon registry. - Add credit, request, refresh-credit, token-plan, purchased-credit, DIEM/USD balance, and OpenAI API credit-grants usage snapshots. ### Changed - Update the provider catalog, CLI metadata, frontend provider unions, and release docs for 40 supported providers. --- ## [Windows] 0.24.0 - 2026-05-10 ### Added - Port upstream CodexBar 0.24 provider support for Codebuff, DeepSeek, and Windsurf into the Windows/Tauri app. - Add Codebuff and DeepSeek API-key setup to Preferences, including provider icons, chart colors, CLI aliases, and release metadata. - Add Windsurf local cached-plan usage reading from the Windows application data path. ### Changed - Update the provider catalog, CLI help text, credential metadata, frontend provider unions, and release docs for 32 supported providers. --- ## [Windows] 0.23.11 - 2026-05-10 ### Fixed - Handle Claude Web usage payloads that include overlapping design or routines alias fields without failing with a duplicate-field parse error. - Keep Claude Web parse diagnostics useful without exposing raw response bodies in user-facing errors or logs. --- ## [Windows] 0.23.10 - 2026-05-06 ### Fixed - Route active Claude OAuth token accounts through OAuth mode and pass the selected token directly into the Claude OAuth fetcher. - Keep Claude `sessionKey` token accounts on the web/cookie path instead of confusing them with OAuth tokens. - Report OAuth, Web, and CLI failures together in Claude Auto mode so a final CLI parse error no longer hides earlier token or cookie failures. --- ## [Windows] 0.23.7 - 2026-05-03 ### Fixed - Parse Claude CLI's exhausted `You've hit your limit · resets ...` short form as full session usage instead of reporting `Claude CLI did not return usage data`. - Make Claude CLI usage parsing more tolerant of compact labels, decimal percentages, and remaining/available wording. - Keep weekly reset lines from being promoted into the session reset when the session section has no reset. ### Security - Re-enable the Tauri content security policy and disable global Tauri injection. - Narrow the default Tauri capability permissions to the event, window, and global shortcut APIs the frontend actually uses. - Harden external URL opening by validating web URLs and avoiding `cmd /c start` on Windows. --- ## [Windows] 0.23.5 - 2026-04-29 ### Added - Add safe diagnostics and credential storage status reporting without exposing secret values. - Add a Windows installer smoke-test script for silent install, installed-file, registry, shortcut, and uninstall validation. ### Changed - Reuse fresh provider refresh results during startup and panel opening to reduce avoidable provider fetches. ### Fixed - Redact secret-like values from provider refresh errors before they cross the Tauri bridge. - Re-verify downloaded installer SHA-256 hashes immediately before applying an update. - Harden desktop command inputs for provider IDs, credential values, cookie source values, region values, token accounts, and filesystem paths. --- ## [Windows] 0.23.4 - 2026-04-29 ### Security - Default browser-cookie usage to manual mode so provider refreshes no longer read and decrypt browser cookie stores unless the user explicitly selects Automatic or imports cookies. - Respect manual/off cookie-source settings when building provider fetch contexts, reducing behavior-based antivirus triggers around DPAPI browser-cookie access. - Save local secret-bearing files through a secure-file wrapper; Windows writes are protected with DPAPI while existing plaintext files remain readable for migration. - Redact raw provider response bodies and browser cookie-store paths from routine diagnostic logs. --- ## [Windows] 0.23.3 - 2026-04-29 ### Fixed - Ship `WebView2Loader.dll` beside `codexbar.exe` in the Windows installer so clean installs can launch the Tauri shell. - Replace the standalone portable executable release asset with `CodexBar--portable.zip`, which includes both `codexbar.exe` and `WebView2Loader.dll`. - Add release workflow checks that fail the build when the WebView2 runtime sidecar is missing. ### Superseded - Later Windows MSVC builds statically link the WebView2 loader, so release packaging no longer needs to ship `WebView2Loader.dll` beside `codexbar.exe`. --- ## [Windows] 0.23.2 - 2026-04-28 ### Fixed - Accept a raw `__Secure-session` value for Ollama Cloud manual cookies instead of requiring a full `Cookie` header. - Normalize Ollama token-account entries the same way, so saved accounts can use either raw `__Secure-session` values or full cookie headers. - Clarify the Ollama cookie placeholder in the desktop settings UI. --- ## [Windows] 0.23.1 — 2026-04-26 ### Fixed - Add the provider Settings picker for the tray/menu bar metric so the Windows frontend can choose session, weekly, model-specific, tertiary, average, or Cursor extra-usage display modes. - Make the tray icon respect per-provider metric preferences, including Cursor on-demand budget and legacy credits settings. --- ## [Windows] 0.23.0 — 2026-04-26 ### Upstream 0.23 Parity - Add Mistral usage support with monthly spend parsing from the Mistral Admin billing API, browser-cookie/manual-cookie auth, token-account storage, and provider branding. - Add Claude Designs and Daily Routines usage windows when Claude OAuth/Web quota payloads include those limits. - Add GPT-5.5 and GPT-5.5 Pro pricing for local Codex cost scanning. - Prefer Cursor on-demand budget data for the extra/monthly cost metric when Cursor returns it. ### Windows Release - Bump the Tauri desktop and shared Rust crate to `0.23.0`. - Keep macOS-only upstream 0.23 work out of the Windows port: WidgetKit metadata, Sparkle appcast, AppKit menu sizing, and full-screen confetti are not applicable here. --- ## [Windows] 0.22.1 — 2026-04-24 ### Fixed - Stabilize the tray panel height measurement so provider refreshes and provider selection no longer visibly jump or re-anchor the popup. - Close the tray panel when opening Settings or About so those windows can take focus cleanly. - Keep the Windows DWM helper clean under `cargo clippy --all-targets -- -D warnings`. --- ## [Windows] 0.22.0 — 2026-04-23 ### New Providers - Perplexity: cookie-based credits tracking (recurring/bonus/purchased), Pro/Max plan detection - Abacus AI: cookie-based compute points + billing tier fetch - OpenCode Go: cookie-based workspace usage (rolling/weekly/monthly windows) - Kilo: API-key tRPC batch (env/keyring/auth.json), credit blocks + Kilo Pass ### Provider Updates (upstream 0.18–0.22 parity) - Claude: broader CLI lookup (Volta, fnm, npm-global), status page URL fix - Codex: Pro Lite/Go/Quorum/K12 plan types, dashboard URL, weekly-only rate limits - Cursor: defensive JSON parsing with text fallback - Synthetic: 3-slot quota (5-hour, weekly, search limits) - Antigravity: extension_server_csrf_token extraction and fallback probing - z.ai: dual TOKENS_LIMIT (weekly + 5-hour session), TIME_LIMIT, plan name - Ollama: validate session cookie names - OpenCode: expanded percent/reset key variants, absolute resetAt support - Alibaba: region-aware endpoints (international/China), multi-domain cookies - Copilot: verification_uri_complete for pre-filled device login URL - Gemini: OAuth credential discovery from CLI paths (Homebrew/npm/Nix/Bun/Volta) ### Pricing & Models - Fix stale GPT-5.4/5.4-mini/5.4-nano pricing - Add 10 new Codex models (gpt-5-mini, gpt-5-nano, gpt-5-pro, gpt-5.1-codex, etc.) - Add Claude Opus 4.7 and Claude Sonnet 4.6 pricing - Add displayLabel field to CodexPricing (for Research Preview tags) ### UI - Add keyboard shortcuts: Ctrl+R (Refresh), Ctrl+, (Settings), Ctrl+Q (Quit) - Show shortcut hints in footer menu items - Update PopOutPanel shortcuts from macOS ⌘ to Windows Ctrl+ - Fix settings window resize (preserve WS_THICKFRAME in DWM caption hack) - Fix async race conditions on provider switching (stale response guards) - Fix error visibility in API key section - Fix GDI brush leak in DWM dark caption ### Repo Cleanup - Remove legacy egui shell (22,539 lines of dead code) - Rewrite README with extra-docs split (WSL, Building, Cookies) - Fresh Windows screenshots - Fix CI target paths for workspace layout - Release workflow now builds Tauri app as codexbar.exe - Add frontend CI job, Rust/npm caching, Dependabot --- ## [Windows] 1.0.2 — 2026-01-24 ### UI Redesign - Redesign main UI with 4-column grid layout for provider tabs - Replace amber progress bars with blue color scheme - Add section headers with chevron indicators - Increase font sizes across all tiers for better readability - Disable window state persistence to prevent size corruption ### Settings Page - Complete redesign with "precision calm" aesthetic - Underline-style tab navigation - Settings cards with grouped settings and dividers - Left accent bars on API key cards for status indication - Reusable helper components for consistent styling ### New Provider - Add JetBrains AI provider support with usage tracking - Support aliases: jetbrains, jetbrains-ai, intellij - Add JetBrains icon and brand color to theme ### Housekeeping - Remove development screenshots from repository --- ## 0.18.0 — Unreleased ### Providers - Claude: harden Windows CLI detection, prefer `.cmd` wrappers on PATH, and surface clearer startup errors for Git Bash / PowerShell wrapper failures. - OpenCode: add web usage provider with workspace override + Chrome-first cookie import (#188). Thanks @anthnykr! - Providers: cache browser cookies on disk (per provider) and show cached source/time in settings. - Vertex AI: add provider with quota-based usage from gcloud ADC. Thanks @bahag-chaurasiak! - Vertex AI: token costs are shown via the Claude provider (same local logs). - Vertex AI: harden quota usage parsing for edge-case responses. - Kiro: add CLI-based usage provider via kiro-cli. Thanks @neror! - Kiro: clean up provider wiring and show plan name in the menu. - Augment: add provider with browser-cookie usage tracking. - Cursor: support legacy request-based plans and show individual on-demand usage (#125) — thanks @vltansky - Cursor: avoid Intel crash when opening login and harden WebKit teardown. Thanks @meghanto! - Cursor: load stored session cookies before reads to make relaunches deterministic. - Codex/Claude/Cursor/Factory/MiniMax: cookie sources now include Manual (paste a Cookie header) in addition to Automatic. - Codex/Claude/Cursor/Factory/MiniMax: skip cookie imports from browsers without usable cookie stores (profile/cookie DB) to avoid unnecessary Keychain prompts. - Claude: fix OAuth “Extra usage” spend/limit units when the API returns minor currency units (#97). - Usage formatting: fix currency parsing/formatting on non-US locales (e.g., pt-BR). Thanks @mneves75! - Antigravity: compile Windows probe regexes once instead of rebuilding them on each scan. ### Preferences & UI - Windows: open the main window automatically when tray startup is unavailable, and support `CODEXBAR_START_VISIBLE` for proof/automation flows. - Preferences: move “Access OpenAI via web” into Providers → Codex. - Preferences: add usage source pickers for Codex + Claude with auto fallback. - Preferences: add cookie source pickers with contextual helper text for the selected mode. - Preferences: add debug switch to disable Keychain access and hide cookie-based web options. - Preferences: add per-provider menu bar metric picker (#185) — thanks @HaukeSchnau - Preferences: tighten provider rows (inline pickers, compact layout, inline refresh + auto-source status). - Preferences: remove the “experimental” label from Antigravity. - Menu bar: fix combined loading indicator flicker during loading animation (incl. debug replay). - Menu bar: prevent blink updates from clobbering the loading animation. ### Menu - Menu: add a toggle to show reset times as absolute clock values (instead of countdowns). - Menu: show an “Open Terminal” action when Claude OAuth fails. - Menu: add “Hide personal information” toggle and redact emails in menu UI (#137). Thanks @t3dotgg! - Menu: reduce provider-switch flicker and avoid redundant menu card sizing for faster opens (#132). Thanks @ibehnam! ### CLI - CLI: respect the reset time display setting. ### Dev & Tests - Windows: switch eframe from `glow` to `wgpu` to avoid legacy OpenGL renderer issues in the VM. - Dev: ignore VM proof screenshots and throwaway launcher scripts in git. - Browser detection: remove an unused `find_browser_with_cookies` stub. - Dev: move Chromium profile discovery into SweetCookieKit (adds Helium net.imput.helium). Thanks @hhushhas! - Dev: bump SweetCookieKit to 0.2.0. - Dev: migrate stored Keychain items to reduce rebuild prompts. - Tests: expand Kiro CLI coverage. - Tests: stabilize Claude PTY integration cleanup and reset CLI sessions after probes. - Tests: kill leaked codex app-server after tests. - Tests: add regression coverage for merged loading icon layout stability. - Build: stabilize Swift test runtime. ## 0.17.0 — 2025-12-31 - New providers: MiniMax. - Keychain: show a preflight explanation before macOS prompts for OAuth tokens or cookie decryption. - Providers: defer z.ai + Copilot Keychain reads until the user interacts with the token field. - Menu bar: avoid status item menu reattachment and layout flips during refresh to reduce icon flicker. - Dev: align SweetCookieKit local-storage tests with Swift Testing. - Charts: align hover selection bands with visible bars in credits + usage breakdown history. - About: fix website link in the About panel. Thanks @felipeorlando! ## 0.16.1 — 2025-12-29 - Menu: reduce layout thrash when opening menus and sizing charts. Thanks @ibehnam! - Packaging: default release notarization builds universal (arm64 + x86_64) zip. - OpenAI web: reduce idle CPU by suspending cached WebViews when not scraping. Thanks @douglascamata! - Icons: switch provider brand icons to SVGs for sharper rendering. Thanks @vandamd! ## 0.16.0 — 2025-12-29 - Menu bar: optional “percent mode” (provider brand icons + percentage labels) via Advanced toggle. - CLI: add `codexbar cost` to print local cost usage (text/JSON) for Codex + Claude. - Cost: align local cost scanner with ccusage; stabilize parsing/decoding and handle large JSONL lines. - Claude: skip pricing for unknown models (tokens still tracked) to avoid hard-coded legacy prices. - Performance: reduce menu bar CPU usage by caching morph icons, skipping redundant status-item updates, and caching provider enablement/order during animations. - Menu: improve provider switcher hover contrast in light mode. - Icons: refresh Droid + Claude brand assets to better match menu sizing. - CI: avoid interactive login-shell probes to reduce noisy “CLI missing” errors. ## 0.15.3 — 2025-12-28 - Codex: default to OAuth usage API (ChatGPT backend) with CLI-only override in Debug. - Codex: map OAuth credits balance directly, avoiding web fallback for credits. - Preferences: add optional “Access OpenAI via web” toggle and show blended source labels when web extras are active. - Copilot: replace blocking auth wait dialog with a non-modal sheet to avoid stuck login. ## 0.15.2 — 2025-12-28 - Copilot: fix device-flow waiting modal to close reliably after auth (and avoid stuck waits). - Packaging: include the KeyboardShortcuts resource bundle to prevent Settings → Keyboard shortcut crashes in packaged builds. ## 0.15.1 — 2025-12-28 - Preferences: fix provider API key fields reusing the wrong input when switching rows. - Preferences: avoid Advanced tab crash when opening settings. ## 0.15.0 — 2025-12-28 - New providers: Droid (Factory), Cursor, z.ai, Copilot. - macOS: CodexBar now supports Intel Macs (x86_64 builds + Sonoma fallbacks). Thanks @epoyraz! - Droid (Factory): new provider with Standard + Premium usage via browser cookies, plus dashboard + status links. Thanks @shashank-factory! - Menu: allow multi-line error messages in the provider subtitle (up to 4 lines). - Menu: fix subtitle sizing for multi-line error states. - Menu: avoid clipping on multi-line error subtitles. - Menu: widen the menu card when 7+ providers are enabled. - Providers: Codex, Claude Code, Cursor, Gemini, Antigravity, z.ai. - Gemini: switch plan detection to loadCodeAssist tier lookup (Paid/Workspace/Free/Legacy). Thanks @381181295! - Codex: OpenAI web dashboard is now the primary source for usage + credits; CLI fallback only when no matching cookies exist. - Claude: prefer OAuth when credentials exist; fall back to web cookies or CLI (thanks @ibehnam). - CLI: replace `--web`/`--claude-source` with `--source` (auto/web/cli/oauth); auto falls back only when cookies are missing. - Homebrew: cask now installs the `codexbar` CLI symlink. Thanks @dalisoft! - Cursor: add new usage provider with browser cookie auth (cursor.com + cursor.sh), on-demand bar support, and dashboard access. - Cursor: keep stored sessions on transient failures; clear only on invalid auth. - z.ai: new provider support with Tokens + MCP usage bars and MCP details submenu; API token now lives in Preferences (stored in Keychain); usage bars respect the show-used toggle. Thanks @uwe-schwarz for the initial work! - Copilot: new GitHub Copilot provider with device flow login plus Premium + Chat usage bars (including CLI support). Thanks @roshan-c! - Preferences: fix Advanced Display checkboxes and move the Quit button to the bottom of General. - Preferences: hide “Augment Claude via web” unless Claude usage source is CLI; rename the cost toggle to “Show cost summary”. - Preferences: add an Advanced toggle to show/hide optional Codex Credits + Claude Extra usage sections (on by default). - Widgets: add a new “CodexBar Switcher” widget that lets you switch providers and remember the selection. - Menu: provider switcher now uses crisp brand icons with equal-width segments and a per-provider usage indicator. - Menu: tighten provider switcher sizing and increase spacing between label and weekly indicator bar. - Menu: provider switcher no longer forces a wider menu when many providers are enabled; segments clamp to the menu width. - Menu: provider switcher now aligns to the same horizontal padding grid as the menu cards when space allows. - Dev: `compile_and_run.sh` now force-kills old instances to avoid launching duplicates. - Dev: `compile_and_run.sh` now waits for slow launches (polling for the process). - Dev: `compile_and_run.sh` now launches a single app instance (no more extra windows). - CI: build/test Linux `CodexBarCLI` (x86_64 + aarch64) and publish release assets as `CodexBarCLI--linux-.tar.gz` (+ `.sha256`). - CLI: add alias fallback for Codex/Claude detection when PATH lookups fail. - Providers: support Arc browser cookies for Factory/Droid (and other Chromium-based cookie imports). - Providers: support ChatGPT Atlas browser data for Chromium cookie imports. - Providers: accept Auth.js secure session cookies for Factory/Droid login detection. - Providers: accept Factory auth session cookies (session/access-token) for Droid. - Droid: surface Factory API errors instead of masking them as missing sessions. - Droid: retry auth without access-token cookies when Factory flags a stale token. - Droid: try all detected browser profiles before giving up. - Droid: fall back to auth.factory.ai endpoints when cookies live on the auth host. - Droid: use WorkOS refresh tokens from browser local storage when cookies fail. - Droid: read WorkOS refresh tokens from Safari local storage. - Droid: try stored/WorkOS tokens before Chrome cookies to reduce Chrome Safe Storage prompts. - Menu: provider switcher bars now track primary quotas (Plan/Tokens/Pro), with Premium shown for Droid. - Menu: avoid duplicate summary blocks when a provider has no action rows. - OpenAI web: ignore cookie sets without session tokens to avoid false-positive dashboard fetches. - Providers: hide z.ai in the menu until an API key is set. - Menu: refresh runs automatically when opening the menu with a short retry (refresh row removed). - Menu: hide the Status Page row when a provider has no status URL. - Menu: align switcher bar with the “show usage as used” toggle. - Antigravity: fix lsof port filtering by ANDing listen + pid conditions. Thanks @shaw-baobao! - Claude: default to Claude Code OAuth usage API (credentials from Keychain or `~/.claude/.credentials.json`), with Debug selector + `--claude-source` CLI override (OAuth/Web/CLI). - OpenAI web: allow importing any signed-in browser session when Codex email is unknown (first-run friendly). - Core: Linux CLI builds now compile (mac-only WebKit/logging gated; FoundationNetworking imports where needed). - Core: fix CI flake for Claude trust prompts by making PTY writes fully reliable. - Core: Cursor provider is macOS-only (Linux CLI builds stub it). - Core: make `RateWindow` equatable (used by OpenAI dashboard snapshots and tests). - Tests: cover alias fallback resolution for Codex/Claude and add Linux platform gating coverage (run in CI). - Tests: cover hiding Codex Credits + Claude Extra usage via the Advanced toggle. - Docs: expand CLI docs for Linux install + flags. ## 0.14.0 — 2025-12-25 - New providers: Antigravity. - Antigravity: new local provider for the Antigravity language server (Claude + Gemini quotas) with an experimental toggle; improved plan display + debug output; clearer not-running/port errors; hide account switch. - Status: poll Google Workspace incidents for Gemini + Antigravity; Status Page opens the Workspace status page. - Settings: add Providers tab; move ccusage + status toggles to General; keep display controls in Advanced. - Menu/UI: widen the menu for four providers; cards/charts adapt to menu width; tighten provider switcher/toggle spacing; keep menus refreshed while open. - Gemini: hide the dashboard action when unsupported. - Claude: fix Extra usage spend/limit units (cents); improve CLI probe stability; surface web session info in Debug. - OpenAI web: fix dashboard ghost overlay on desktop (WebKit keepalive window). - Debug: add a debug-lldb build mode for troubleshooting. ## 0.13.0 — 2025-12-24 - Claude: add optional web-first usage via Safari/Chrome cookies (no CLI fallback) including “Extra usage” budget bar. - Claude: web identity now uses `/api/account` for email + plan (via rate_limit_tier). - Settings: standardize “Augment … via web” copy for Codex + Claude web cookie features. - Debug: Claude dump now shows web strategy, cookie discovery, HTTP status codes, and parsed summary. - Dev: add Claude web probe CLI to enumerate endpoints/fields using browser cookies. - Tests: add unit coverage for Claude web API usage, overage, and account parsing. - Menu: custom menu items now use the native selection highlight color (plus matching selection text/track colors). - Charts: boost hover highlight contrast for credits/usage history bands. - Menu: reorder Codex blocks to show credits before cost. - Menu: split Claude “Extra usage” (no submenu) from “Cost” (history submenu) and trim redundant extra-usage subtext. ## 0.12.0 — 2025-12-23 - Widgets: add WidgetKit extension backed by a shared app‑group usage snapshot. - New local cost usage tracking (Codex + Claude) via a lightweight scanner — inspired by ccusage (MIT). Computes cost from local JSONL logs without Node CLIs. Thanks @ryoppippi! - Cost summary now includes last‑30‑days tokens; weekly pace indicators (with runout copy) hide when usage is fully depleted. Thanks @Remedy92! - Claude: PTY probes now stop after idle, auto‑clean on restart, and run under a watchdog to avoid runaway CLI processes. - Menu polish: group history under card sections, simplify history labels, and refresh menus live while open. - Performance: faster usage log scanning + cost parsing; cache menu icons and speed up OpenAI dashboard parsing. - Sparkle: auto-download updates when auto-check is enabled, and only show the restart menu entry once an update is ready. - Widgets: experimental WidgetKit extension (may require restarting the widget gallery/Dock to appear). - Credits: show credits as a progress bar and add a credits history chart when OpenAI web data is available. - Credits: move “Buy Credits…” into its own menu item and improve auto-start checkout flow. ## 0.11.2 — 2025-12-21 - ccusage-codex cost fetch is faster and more reliable by limiting the session scan window. - Fix ccusage cost fetch hanging for large Codex histories by draining subprocess output while commands run. - Fix merged-icon loading animation when another provider is fetching (only the selected provider animates). - CLI PATH capture now uses an interactive login shell and merges with the app PATH, fixing missing Node/Codex/Claude/Gemini resolution for NVM-style installs. ## 0.11.1 — 2025-12-21 - Gemini OAuth token refresh now supports Bun/npm installations. Thanks @ben-vargas! ## 0.11.0 — 2025-12-21 - New optional cost display in the menu (session + last 30 days), powered by ccusage. Thanks @Xuanwo! - Fix loading-state card spacing to avoid double separators. ## 0.10.0 — 2025-12-20 - Gemini provider support (usage, plan detection, login flow). Thanks @381181295! - Unified menu bar icon mode with a provider switcher and Merge Icons toggle (default on when multiple providers are enabled). Thanks @ibehnam! - Fix regression from 0.9.1 where CLI detection failed for some installs by restoring interactive login-shell PATH loading. ## 0.9.1 — 2025-12-19 - CLI resolution now uses the login shell PATH directly (no more heuristic path scanning), so Codex/Claude match your shell config reliably. ## 0.9.0 — 2025-12-19 - New optional OpenAI web access: reuses your signed-in Safari/Chrome session to show **Code review remaining**, **Usage breakdown**, and **Credits usage history** in the menu (no credentials stored). - Credits still come from the Codex CLI; OpenAI web access is only used for the dashboard extras above. - OpenAI web sessions auto-sync to the Codex CLI email, support multiple accounts, and reset/re-import cookies on account switches to avoid stale cross-account data. - Fix Chrome cookie import (macOS 10): signed-in Chrome sessions are detected reliably (thanks @tobihagemann!). - Usage breakdown submenu: compact chart with hover details for day/service totals. - New “Show usage as used” toggle to invert progress bars (default remains “% left”, now in Advanced). - Session (5-hour) reset now shows a relative countdown (“Resets in 3h 31m”) in the menu card for Codex and Claude. - Claude: fix reset parsing so “Resets …” can’t be mis-attributed to the wrong window (session vs weekly). ## 0.8.1 — 2025-12-17 - Claude trust prompts (“Do you trust the files in this folder?”) are now auto-accepted during probes to prevent stuck refreshes. Thanks @tobihagemann! ## 0.8.0 — 2025-12-17 - CodexBar is now available via Homebrew: `brew install --cask steipete/tap/codexbar` (updates via `brew upgrade --cask steipete/tap/codexbar`). - Added session quota notifications for the sliding 5-hour window (Codex + Claude): notifies when it hits 0% and when it’s available again, based only on observed refresh data (including startup when already depleted). Thanks @GKannanDev! ## 0.7.3 — 2025-12-17 - Claude Enterprise accounts whose Claude Code `/usage` panel only shows “Current session” no longer fail parsing; weekly usage is treated as unavailable (fixes #19). ## 0.7.2 — 2025-12-13 - Claude “Open Dashboard” now routes subscription accounts (Max/Pro/Ultra/Team) to the usage page instead of the API console billing page. Thanks @auroraflux! - Codex/Claude binary resolution now detects mise/rtx installs (shims and newest installed tool version), fixing missing CLI detection for mise users. Thanks @philipp-spiess! - Claude usage/status probes now auto-accept the first-run “Ready to code here?” permission prompt (when launched from Finder), preventing timeouts and parse errors. Thanks @alexissan! - General preferences now surface full Codex/Claude fetch errors with one-click copy and expandable details, reducing first-run confusion when a CLI is missing. - Polished the menu bar “critter” icons: Claude is now a crisper, blockier pixel crab, and Codex has punchier eyes with reduced blurring in SwiftUI/menu rendering. ## 0.7.1 — 2025-12-09 - Menu bar icons now render on a true 18 pt/2× backing with pixel-aligned bars and overlays for noticeably crisper edges. - PTY runner now preserves the caller’s environment (HOME/TERM/bun installs) while enriching PATH, preventing Codex/Claude probes from failing when CLIs are installed via bun/nvm or need their auth/config paths. - Added regression tests to lock in the enriched environment behavior. - Fixed a first-launch crash on macOS 26 caused by the 1×1 keepalive window triggering endless constraint updates; the hidden window now uses a safe size and no longer spams SwiftUI state warnings. - Menu action rows now ship with SF Symbol icons (refresh, dashboard, status, settings, about, quit, copy error) for clearer at-a-glance affordances. - When the Codex CLI is missing, menu and CLI now surface an actionable install hint (`npm i -g @openai/codex` / bun) instead of a generic PATH error. - Node manager (nvm/fnm) resolution corrected so codex/claude binaries — and their `node` — are found reliably even when installed via fnm aliases or nvm defaults. Thanks @aliceisjustplaying for surfacing the gaps. - Login menu now shows phase-specific subtitles and disables interaction while running: “Requesting login…” while starting the CLI, then “Waiting in browser…” once the auth URL is printed; success still triggers the macOS notification. - Login state is tracked per provider so Codex and Claude icons/menus no longer share the same in-flight status when switching accounts. - Claude login PTY runner detects the auth URL without clearing buffers, keeps the session alive until confirmation, and exposes a Sendable phase callback used by the menu. - Claude CLI detection now includes Claude Code’s self-updating paths (`~/.claude/local/claude`, `~/.claude/bin/claude`) so PTY probes work even when only the bundled installer is used. ## 0.7.0 — 2025-12-07 - ✨ New rich menu card with inline progress bars and reset times for each provider, giving the menu a beautiful, at-a-glance dashboard feel (credit: Anton Sotkov @antons). ## 0.6.1 — 2025-12-07 - Claude CLI probes stop passing `--dangerously-skip-permissions`, aligning with the default permission prompt and avoiding hidden first-run failures. ## 0.6.0 — 2025-12-04 - New bundled CLI (`codexbar`) with single `usage` command, `--format text|json`, `--status`, and fast `-h/-V`. - CLI output now shows consistent headers (`Codex 0.x.y (codex-cli)`, `Claude Code (claude)`) and JSON includes `source` + `status`. - Advanced prefs install button symlinks `codexbar` into /usr/local/bin and /opt/homebrew/bin; docs refreshed. ## 0.5.7 — 2025-11-26 - Status Page and Usage Dashboard menu actions now honor the icon you click; Codex menus no longer open the Claude status site. ## 0.5.6 — 2025-11-25 - New playful “Surprise me” option adds occasional blinks/tilts/wiggles to the menu bar icons (one random effect at a time) plus a Debug “Blink now” trigger. - Preferences now include an Advanced tab (refresh cadence, Surprise me toggle, Debug visibility); window height trimmed ~20% for a tighter fit. - Motion timing eased and lengthened so blinks/wiggles feel smoother and less twitchy. ## 0.5.5 — 2025-11-25 - Claude usage scrape now recognizes the new “Current week (Sonnet only)” bar while keeping the legacy Opus label as a fallback. - Menu and docs now label the Claude tertiary limit as Sonnet to match the latest CLI wording. - PATH seeding now uses a deterministic binary locator plus a one-shot login-shell capture at startup (no globbed nvm paths); the Debug tab shows the resolved Codex binary and effective PATH layers. ## 0.5.4 — 2025-11-24 - Status blurb under “Status Page” no longer prefixes the text with “Status:”, keeping the incident description concise. - PTY runner now registers cleanup before launch so both ends of the TTY and the process group are torn down even when `Process.run()` throws (no leaked fds when spawn fails). ## 0.5.3 — 2025-11-22 - Added a per-provider “Status Page” menu item beneath Usage that opens the provider’s live status page (OpenAI or Claude). - Status API now refreshes alongside usage; incident states show a dot/! overlay on the status icon plus a status blurb under the menu item. - General preferences now include a default-on “Check provider status” toggle above refresh cadence. ## 0.5.2 — 2025-11-22 - Release packaging now includes uploading the dSYM archive alongside the app zip to aid crash symbolication (policy documented in the shared mac release guide). - Claude PTY fallback removed: Claude probes now rely solely on `script` stdout parsing, and the generic TTY runner is trimmed to Codex `/status` handling. - Fixed a busy-loop on the codex RPC stderr pipe (handler now detaches on EOF), eliminating the long-running high-CPU spin reported in issue #9. ## 0.5.1 — 2025-11-22 - Debug pane now exposes the Claude parse dump toggle, keeping the captured raw scrape in memory for inspection. - Claude About/debug views embed the current git hash so builds can be identified precisely. - Minor runtime robustness tweaks in the PTY runner and usage fetcher. ## 0.5.0 — 2025-11-22 - Codex usage/credits now use the codex app-server RPC by default (with PTY `/status` fallback when RPC is unavailable), reducing flakiness and speeding refreshes. - Codex CLI launches seed PATH with Homebrew/bun/npm/nvm/fnm defaults to avoid ENOENT in hardened/release builds; TTY probes reuse the same PATH. - Claude CLI probe now runs `/usage` and `/status` in parallel (no simulated typing), captures reset strings, and uses a resilient parser (label-first with ordered fallback) while keeping org/email separate by provider. - TTY runner now always tears down the spawned process group (even on early Claude login prompts) to avoid leaking CLI processes. - Default refresh cadence is now 5 minutes, and a 15-minute option was added to the settings picker. - Claude probes/version detection now start with `--allowed-tools ""` (tool access disabled) while keeping interactive PTY mode working. - Codex probes and version detection now launch the CLI with `-s read-only -a untrusted` to keep PTY runs sandboxed. - Codex warm-up screens (“data not available yet”) are handled gracefully: cached credits stay visible and the menu skips the scary parse error. - Codex reset times are shown for both RPC and TTY fallback, and plan labels are capitalized while emails stay verbatim. ## 0.4.3 — 2025-11-21 - Fix status item creation timing on macOS 15 by deferring NSStatusItem setup to after launch; adds a regression test for the path. - Menu bar icon with unknown usage now draws empty tracks (instead of a full bar when decorations are shown) by treating nil values as 0%. ## 0.4.2 — 2025-11-21 - Sparkle updates re-enabled in release builds (disabled only for the debug bundle ID). ## 0.4.1 — 2025-11-21 - Both Codex and Claude probes now run off the main thread (background PTY), avoiding menu/UI stalls during `/status` or `/usage` fetches. - Codex credits stay available even when `/status` times out: cached values are kept and errors are surfaced separately. - Claude/Codex provider autodetect runs on first launch (defaults to Codex if neither is installed) with a debug reset button. - Sparkle updates re-enabled in release builds (disabled only for debug bundle ID). - Claude probe now issues the `/usage` slash command directly to land on the Usage tab reliably and avoid palette misfires. ## 0.4.0 — 2025-11-21 - Claude Code support: dedicated Claude menu/icon plus dual-wired menus when both providers are enabled; shows email/org/plan and Sonnet usage with clickable errors. - New Preferences window: General/About tabs with provider toggles, refresh cadence, start-at-login, and always-on Quit. - Codex credits without web login: we now read `codex /status` in a PTY, auto-skip the update prompt, and parse session/weekly/credits; cached credits stay visible on transient timeouts. - Resilience: longer PTY timeouts, cached-credit fallback, one-line menu errors, and clearer parse/update messages. ## 0.3.0 — 2025-11-18 - Credits support: reads Codex CLI `/status` via PTY (no browser login), shows remaining credits inline, and moves history to a submenu. - Sign-in window with cookie reuse and a logout/clear-cookies action; waits out workspace picker and auto-navigates to usage page. - Menu: credits line bolded; login prompt hides once credits load; debug toggle always visible (HTML dump). - Icon: when weekly is empty, top bar becomes a thick credits bar (capped at 1k); otherwise bars stay 5h/weekly. ## 0.2.2 — 2025-11-17 - Menu bar icon stays static when no account/usage is present; loading animation only runs while fetching (12 fps) to keep idle CPU low. - Usage refresh first tails the newest session log (512 KB window) before scanning everything, reducing IO on large Codex logs. - Packaging/signing hardened: strip extended attributes, delete AppleDouble (`._*`) files, and re-sign Sparkle + app bundle to satisfy Gatekeeper. ## 0.2.1 — 2025-11-17 - Patch bump for refactor/relative-time changes; packaging scripts set to 0.2.1 (5). - Streamlined Codex usage parsing: modern rate-limit handling, flexible reset time parsing, and account rate-limit updates (thanks @jazzyalex and https://jazzyalex.github.io/agent-sessions/). ## 0.2.0 — 2025-11-16 - CADisplayLink-based loading animations (macOS 15 displayLink API) with randomized patterns (Knight Rider, Cylon, outside-in, race, pulse) and debug replay cycling through all. - Debug replay toggle (`defaults write com.steipete.codexbar debugMenuEnabled -bool YES`) to view every pattern. - Usage Dashboard link in menu; menu layout tweaked. - Updated time now shows relative formatting when fresher than 24h; refactored sources into smaller files for maintainability. - Version bumped to 0.2.0 (4). ## 0.1.2 — 2025-11-16 - Animated loading icon (dual bars sweep until usage arrives); always uses rendered template icon. - Sparkle embedding/signing fixed with deep+timestamp; notarization pipeline solid. - Icon conversion scripted via ictool with docs. - Menu: settings submenu, no GitHub item; About link clickable. ## 0.1.1 — 2025-11-16 - Launch-at-login toggle (SMAppService) and saved preference applied at startup. - Sparkle auto-update wiring (SUFeedURL to GitHub, SUPublicEDKey set); Settings submenu with auto-update toggle + Check for Updates. - Menu cleanup: settings grouped, GitHub menu removed, About link clickable. - Usage parser scans newest session logs until it finds `token_count` events. - Icon pipeline fixed: regenerated `.icns` via ictool with proper transparency (docs in docs/icon.md). - Added lint/format configs, Swift Testing, strict concurrency, and usage parser tests. - Notarized release build "CodexBar-0.1.0.zip" remains current artifact; app version 0.1.1. ## 0.1.0 — 2025-11-16 - Initial CodexBar release: macOS 15+ menu bar app, no Dock icon. - Reads latest Codex CLI `token_count` events from session logs (5h + weekly usage, reset times); no extra login or browser scraping. - Shows account email/plan decoded locally from `auth.json`. - Horizontal dual-bar icon (top = 5h, bottom = weekly); dims on errors. - Configurable refresh cadence, manual refresh, and About links. - Async off-main log parsing for responsiveness; strict-concurrency build flags enabled. - Packaging + signing/notarization scripts (arm64); build scripts convert `.icon` bundle to `.icns`.