Repository navigation
Releases
v0.25.0-preview.14
v0.25.0-preview.14
CodexBar now tells you when a provider's credentials expire — with the exact steps to reconnect — instead of showing a blank tab or silently-stale numbers.
Credential-expiry surfacing (all five providers)
When a provider's sign-in expires or is rejected, the popover shows a Warning bar with a Reconnect button (deep-links to that provider's setup doc), and a one-time Windows toast fires so you notice even without opening the popover.
Per-provider guidance:
- Codex — run
codex login - Claude — run
claudethen/login(covers expired access token, empty refresh token, and revoked refresh token /invalid_grant) - Cursor — re-paste your cookie in Settings
- Gemini — run
gemini, choose Login with Google - Copilot — re-run
gh auth login
Expired credentials are kept distinct from transient network blips (those keep your last-good numbers, marked stale) and rate limits (which back off rather than telling you to re-authenticate).
Under the hood
- A struggling endpoint (429 / 5xx) now backs off correctly instead of being hammered or faking a successful refresh.
- Contributor docs gained an "auth-expiry contract" so future providers surface the same actionable re-auth message.
This is also the first release where the in-app updater is fully wired end to end — installing it from preview.13 should download, verify, install, and relaunch automatically.
v0.25.0-preview.13
v0.25.0-preview.13
Fixes the "every release reports as preview.0" bug and makes the in-app installer actually relaunch the app.
Critical: self-reported version was always preview.0
The MSBuild properties passed at publish time (-p:BuildNumber=..., -p:WindowsPreviewNumber=...) were never embedded in the compiled assembly because no <AssemblyMetadata> items mapped them. AppVersionInfo.FromAssembly looked them up, found nothing, and fell through to preview.0. Every release from preview.7 through preview.12 was a binary that thought it was preview.0 — so every install showed "update available" forever.
After installing preview.13, Settings → About should show 0.25.0-preview.13 (not preview.0) and the update card should say you're on the latest release.
In-app installer now relaunches CodexBar
The Inno Setup [Run] entry had skipifsilent, making the post-install relaunch a no-op when the in-app installer passed /SILENT. Removed the flag and added runasoriginaluser so the relaunched tray app runs as the user instead of elevated. The launcher also now passes /RESTARTAPPLICATIONS so Restart Manager can relaunch any closed processes (belt-and-suspenders).
Internal
- CI workflow rewrites
version.env'sWINDOWS_PREVIEW_NUMBERfrom the git tag before publish, so future releases auto-bake the right preview number into the binary.
v0.25.0-preview.12
v0.25.0-preview.12
Codex automated reviewer findings across PRs #2-#7 — all addressed.
Important: signed installer payload
Previous releases shipped a signed .installer.exe, but the CodexBar.WinUI.exe inside the installer was unsigned (the workflow signed the portable zip extraction but not the publish dir before Inno Setup compiled). Workflow reordered: publish → sign exe → zip + installer (both consuming the signed exe) → sign outer installer → refresh checksums. After installing preview.12, Get-AuthenticodeSignature on the installed CodexBar.WinUI.exe now reports Status: Valid chained to your Microsoft ID-Verified cert.
Bug fixes
- Launch at startup actually works now. Setting persisted but never registered with Windows in any prior release. New
StartupRegistrationwrites the HKCU Run key on toggle. - Refresh interval honors the full range. UI allowed up to 1440 minutes but scheduler silently clamped to 60. Scheduler now clamps to 1440 to match.
- Hotkey doesn't flicker on hold.
MOD_NOREPEATadded toRegisterHotKeyso Ctrl+Alt+U fires once per press. - Disabled-active-provider doesn't break footer commands. If you disable the currently active provider while the popover is alive, ActiveProvider now falls back to the first enabled provider instead of leaving Dashboard/Status targeting the disabled one.
- Orphan installers cleaned up. UAC-denied in-app installs no longer leave 50MB
.installer.exefiles in%TEMP%. Prior orphans are swept before each new download. - Asset picker pairs installer with its sibling
.sha256by basename (defensive for future arm64 alongside x64). - Trusted Signing config gate now requires all six Azure variables, not just the three TS-specific ones, so a half-configured repo falls back to unsigned instead of hard-failing.
v0.25.0-preview.11
v0.25.0-preview.11
In-app update installer.
New: install updates from inside the app
Settings now shows an "Install update" card whenever a newer release is available. Click "Install now" and CodexBar will:
- Download the signed
.installer.exefrom GitHub Releases to%TEMP%. - Download the matching
.sha256sidecar and verify the installer hash. - Launch the installer with
/CLOSEAPPLICATIONS /SILENT /SUPPRESSMSGBOXES(UAC will pop). - Exit the running app so Inno Setup can replace the binaries.
The Settings card surfaces progress (downloading %, verifying, launching) and any errors — including if you decline the UAC prompt. The release-page link is still available from "Open Release" if you'd rather grab the installer or portable zip from GitHub manually.
How to test this release
Install preview.11. Leave it running. When preview.12 lands, the Settings card will light up — click Install now and the in-app installer should carry you to preview.12 without leaving the app.
Internal
- Authenticode signature verification (
WinVerifyTrust) is intentionally not used — defense in depth is SHA-256 against the published sidecar plus Windows' own UAC + SmartScreen prompts when launching the installer. - AppNotification banner still uses the old "Open Release" action — wiring an "Install Now" action button into the notification is a separate follow-up.
- No cancel button during download (you can just close Settings; the next launch starts clean).
v0.25.0-preview.10
v0.25.0-preview.10
Three batch-1 features cribbed from openusage, plus a couple of popover fixes.
Features
- Global hotkey — Default
Ctrl+Alt+Utoggles the popover from anywhere. Configurable in Settings → General → Rebind. Conflict detection if another app already owns the combo. - GitHub Copilot provider — Reads your
ghCLI token (gh auth loginfirst), calls the Copilot usage endpoint, surfaces premium/chat quotas for paid plans and chat/completions for free. Off by default — opt in from Settings. - Local Claude Code token tracking — Scans
~/.claude/projects/**/*.jsonlto compute today's Claude Code token spend. Surfaces as "Claude Code today: 1.2M" on the Claude tab. Local-only, no API round-trip.
Popover fixes
- Global-hotkey triggers now anchor the popover to the bottom-right corner above the system tray (regardless of cursor location), so it never opens off-screen.
- Provider tabs are driven by your enabled-provider Settings, not the snapshot store. Newly-enabled providers (with or without credentials yet) get a tab; disabled providers never render. No more
…overflow with phantom tabs.
Internal
- Roadmap doc added at
docs/ROADMAP.mdcovering items 4-9.
v0.25.0-preview.9
v0.25.0-preview.8
What's Changed
- Wire CI to Azure Trusted Signing by @dontcallmejames in https://github.com/dontcallmejames/CodexBar-Windows/pull/5
Full Changelog: dontcallmejames/CodexBar-Windows@v0.25.0-preview.7...v0.25.0-preview.8
v0.25.0-preview.7
What's Changed
- WinUI code review fixes by @dontcallmejames in dontcallmejames/CodexBar-Windows#4
Full Changelog: dontcallmejames/CodexBar-Windows@v0.25.0-preview.6...v0.25.0-preview.7