A failed fetch put an eight-second toast over an empty window and then
took the toast away, leaving a blank popover and no way to try again. The
mac replaces the loading overlay with a retry card whenever the fetch
failed and there is nothing cached to fall back on, and keeps a toast for
the case where numbers are already on screen and the failure is an aside.
Do the same, and clear the error whenever the selection changes or a
fetch succeeds, since an error describes one selection.
Stuck-load recovery is the mac's ladder: while the popover has nothing to
show, retry at 8 s doubling to 60 s, six times, then say "Could not load
X. Check that the codeburn CLI is installed and working." A fetch torn
down across sleep can leave its in-flight mark behind, which would make
every retry bail on the guard, so a mark older than the CLI's own 60 s
timeout is cleared first. A younger one is left alone, so recovery never
races a fetch that is still going to answer.
The toast is anchored to the popover card rather than to the window: the
card now sits inside a transparent gutter, so an absolute offset from the
window is 12 px out.
The popover could only ever describe this machine, and could only ever
describe every Claude config at once. Both are the mac's second row under
the period strip.
Combined asks the CLI to pull every paired device; the hero then reports
their totals with a per-device list underneath and "Combined · <period>"
as its caption. Pulling peers is best effort in the CLI, so a combined
request can come back with local numbers and no combined block: the hero
says "Combined unavailable · showing local" rather than pretending. The
daily-budget alert stays out of combined, since the limit was set against
one machine.
The Claude config picker appears only past one config, which is exactly
when the CLI emits the block. The two controls exclude each other by
design, as they do on the mac and as the CLI enforces: combined resets
the provider to All and clears the config, since paired devices report
unfiltered usage; picking a config forces All and local, since a config
scopes Claude on this machine. A multi-day pick falls back to local for
the same reason.
The payload cache key and the fetch arguments grow scope and the config
id alongside the days.
The period strip stopped at "All", which the CLI reads as six months, so
there was no way to ask for the whole history and no way to ask about one
particular day. The mac offers six segments plus a calendar button, and
the CLI has taken --day and --days all along.
The strip now carries the mac's labels (Today, 7D, 30D, Month, 6M, Life),
which are short for a reason: six segments and the button share one 360 px
row. The picker collects days into a pending set and only applies them on
Done, so choosing five days costs one CLI run rather than five, and the
caption reads "2 days (2026-08-31 .. 2026-09-01)" as it does on the mac.
A picked day overrides the period without clearing it, so dismissing the
picker returns to whatever segment was live.
The payload cache is now keyed on the whole selection rather than on
period and provider, since two selections that send different arguments
to the CLI are different answers. Rust validates the dates itself: is_safe_arg
would happily pass "2026" or a bare word to --day.
Brings the Tauri 2.x tray popover from #1022 onto main as windows/, mirroring
mac/. Product name, bundle identifier, and version line up with the macOS
menubar (org.agentseal.codeburn-menubar, 0.9.20); the crate is renamed off
"desktop" so it no longer collides with the Electron app in app/.
Linux (ksni) stays compiled and dev-usable but is documented as experimental:
gnome/ is the shipping Linux surface.
The five src/ CLI commits on that branch are dropped - they re-implement a
daily-bucketing fix main already carries.