Commit graph

2345 commits

Author SHA1 Message Date
Resham Joshi
e1e27de2db
fix: stop a Full Disk Access blocked Warp read from freezing serve, and harden the Grok Bot quota reader (#1487)
Some checks are pending
macOS Menubar CI / test (push) Waiting to run
CI / semgrep (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
The Warp Full Disk Access probe ran synchronously on the serve request thread, so a denial froze the whole serve for about six seconds every sixty seconds; the recurring re-probe now returns the last known verdict instantly and refreshes off the request path. A probe child that cannot start on a Group Container path now fails closed, skipping Warp with the grant-access notice, instead of opening the file and re-wedging. The desktop Grok Bot quota reader opened Cursor's database with no busy timeout, so a Cursor write-lock could hang it; it now uses the same busy timeout the CLI uses and waits out the lock. The FIFO-based preflight test is skipped on Windows, where named pipes are not available.
2026-09-18 15:23:22 -07:00
Resham Joshi
3925cade06
fix: four provider parsing and pricing attribution bugs (#1489)
Antigravity now stores the command basename instead of the full command line, so secrets in flags no longer reach the on-disk session cache, matching every other provider. A Copilot OpenTelemetry skill or tool is credited once per trace instead of once per chat span, so a multi-span trace no longer multiplies it in the skill and tool breakdowns; grand totals are unchanged, and the copilot parse version and the status snapshot version are bumped so warm caches re-derive. The daily-cache carried-remainder row now also carries a token shortfall, so per-model token sums reconcile to the day total where cost and calls already did. Bedrock provisioned-model and custom-model ARNs are recognised as unpriced Bedrock rather than hidden as local inference. Verified against the real cache: report, models and menubar totals identical to the cent.
2026-09-18 15:15:10 -07:00
Resham Joshi
80931d3ba3
fix(menubar): record Codex early resets at 0% and stop reconnect text clipping at 0.9 dock scale (#1490)
The Codex early-reset detector dropped additional-limit windows that were at 0 percent used before checking them, so a per-model window that reset early to 0 percent was never recorded or notified; those windows now reach the detector while the popover stays compact. The Capacity Dock reconnect text was a fixed size while its reserved height scaled with the dock, so it clipped at the 0.9 minimum scale; the text now scales with the dock and the reserve is measured at the scaled font.
2026-09-18 15:09:37 -07:00
Resham Joshi
246cb37c83
desktop: light theme default, refreshed type and spacing, plugin and plan cards (#1485)
Fresh installs now default to the light theme; an explicit theme choice is still honored. Type and spacing move one step up (larger body, titles, sidebar rows and page padding), sidebar shortcut chips move to hover tooltips, and primary text gets full contrast in both themes.

The Plugins page shows the Menu bar and Teams plugins as two cards side by side with embossed background art. The Menu bar card carries the Capacity Dock switch and Settings, Quit and Uninstall as icon buttons with tooltips, an info modal describing the menu bar and the Capacity Dock with the real supported-provider list, and it can install, update, open, quit and uninstall the menu bar app, versioned so an older one shows Update, with a Settings action that opens the menu bar app's own settings. The Teams card shows what is planned in an info modal and a Register for beta testing link.

The Plans page is redesigned as provider cards in a responsive grid, each with its own logo embossed. Connection status is now stable: a single empty or slow poll no longer flips a connected provider to disconnected, a connected provider keeps its quota bars through a transient refresh, and a stuck waiting resolves to an actionable state after twenty seconds. A login-expired error offers Connect, and Gemini's expired login is now a terminal actionable state instead of an endless wait, matching the menu bar.

CLI report, models and menubar-json numbers are identical to the cent before and after; only the Gemini quota error string changes.
2026-09-18 15:09:01 -07:00
Resham Joshi
332238e3e0
fix(opencode): union un-migrated legacy sessions on upgraded 2.x databases (#1488)
When an OpenCode database has the 2.x session_v2 tables and the legacy session/message/part tables, only the v2 rows were read, so sessions that never migrated during a 1.x to 2.x upgrade were silently dropped and lifetime totals fell. Discovery now also lists legacy sessions whose id is not present in session_v2, and each such session is read from the legacy tables. A session present in both is counted once and resolves to v2. Legacy-only and v2-only databases are unchanged, verified byte-identical on a real database. No cache version bump is needed.
2026-09-18 15:04:23 -07:00
ozymandiashh
0f5a33450c
fix(app): stage the CLI closure without anchoring on the checkout's absolute path (#1473)
Some checks are pending
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
CI / semgrep (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
npm redacts UUID-shaped path segments to `***` in `npm ls --parseable`, so matching each line against the checkout's absolute <root>/node_modules/ prefix found nothing on any path containing a UUID and packaging aborted with the misleading "is the root npm installed?".
The top-level package name is now read by segment position: after the N-th /node_modules segment, N counted off the real root path, which the redaction renames around but cannot move.
Closure verified identical: 160 packages, same names and versions, same 55M, staged from a UUID worktree and from a UUID-free checkout of main.
Reproduced before and after: main aborts from the UUID path, the branch stages 160 packages from that same path.
A non-zero `npm ls` exit still yields its stdout, so an extraneous package in node_modules does not abort staging.
A missing npm_execpath now fails with its own message instead of degrading into the empty-closure one.
Review patch on the branch: the two hand-rolled path scanners collapse to one split('/node_modules/'), and the npm attribution is corrected from 12 to 11 and later, reproduced on npm 11.19.0.
Fixes #1466.
2026-09-18 04:59:38 -07:00
ozymandiashh
f1f275e27e
fix(opencode): stop dropping archived sessions from discovery and subtotals (#1475)
Archiving a session in OpenCode only sets time_archived, but the discovery query and all three recursive session_tree walks filtered on it, so the session vanished from the sessions list, from per-project views and from any cache rebuild. All four predicates are gone; the rows stay in the database, so archived roots and children now parse like any other session. Kilo Code shares this parser and is covered.
Real data, a copy of a 193-session legacy OpenCode database: with nothing archived, main and the branch both read $109.91 / 4,009 calls / 177 sessions.
With three roots flagged archived, main fell to $100.75 / 2,875 / 174 while the branch held $109.91 / 4,009 / 177 — the gap is exactly those three sessions, $9.16023 and 1,134 calls, and nothing else.
The opencode and kilo-code parse versions move as well: an archived root came back on its own, but a root whose child was archived stayed a present, unchanged source, so a warm cache kept serving the parse that dropped the child.
That case measured $104.48 / 3,752 on a main-seeded warm cache and stayed there on the branch until the bump, which restores $109.91 / 4,009.
Tests 4,278 pass, locks 36, tsc clean; the three archived assertions fail on main across both schema generations. CI 19 green.
Fixes #1362.
2026-09-18 04:29:13 -07:00
ozymandiashh
f899e3d824
fix(app): pass --min-cost 0 so Models shows sub-cent and unpriced rows (#1474)
The CLI defaults minCost to $0.01 and the desktop bridge passed no override, so the Models table silently dropped every row under a cent. That also excluded every unpriced row, since a 0 >= 0.01 predicate can never hold, leaving #1443's dimming and add-alias affordances unreachable in the shipped app.

codeburn:getModels now passes --min-cost 0, and the demo bridge mirrors it. --unpriced would have been wrong: it filters to only the unpriced rows rather than completing the set.

On a frozen lifetime range the flag is exactly additive: 41 rows and 168,141 calls become 62 rows and 170,314 calls, +2,173 calls and +$0.007890, every original row unchanged. 20 of the 21 recovered rows are unpriced; one is a genuinely priced sub-cent row. The app agrees, 41 rows before and 62 after, with 20 dimmed rows and 20 add-alias buttons where there were none.

Fixes #1465.
2026-09-18 04:12:27 -07:00
ksp2000
ac73c8dcd8
fix: extract Copilot skill calls from chatSessions and OTel spans (#1480)
Copilot calls parsed from VS Code chatSessions and the OTel agent-traces store
never carried the structured skill name, so the skills breakdown stayed empty
for every period while the Skill tool itself showed up under tools.

Pull the skill name out of the tool call arguments on both paths, and bump the
Copilot parse version and the status snapshot render version so warm caches
re-derive once instead of serving the old empty breakdown.

Costs, token counts and daily totals are unchanged for every provider.
2026-09-18 03:45:11 -07:00
Resham Joshi
0b4c20f14a
desktop: restore the splash alpha channel and rebuild the icon set (#1482)
The splash video re-encoded in the render-churn change had lost its alpha plane, so the flame played over the grey the artwork carries under its transparent pixels. Re-encoding with alpha kept is larger than the original, so the original file is restored with transparent corners verified frame by frame. The app icon was one 1024 px PNG downsampled to all ten sizes, which collapses the dark textured flame into a brown square below 64 px; the icon set is now built by hand with a solid flame at the small sizes and the master art from 128 px up, so the Dock icon is unchanged.
2026-09-18 03:38:52 -07:00
Resham Joshi
6f91914214
fix: never let a Full Disk Access blocked Warp database wedge the run (#1481)
macOS gates ~/Library/Group Containers behind Full Disk Access, and an open() there never returns when the process has no consent and cannot prompt, so codeburn status and the resident serve child both hung with no output. Any database under that prefix is now opened first in a killable child with a three second timeout; on a timeout or refusal it is skipped with one warning naming Full Disk Access, warp is reported as failed discovery rather than empty, serve skips fs.watch on the same path, and the result is cached for a minute so access granted later is picked up. A probe spawn failure is never treated as blocked.
2026-09-18 02:43:18 -07:00
Resham Joshi
86b3134694
test: stop the dashboard Ctrl-C test timing out (#1477)
The test wrote 2,000 session files of 30 KB per run to keep the child holding the hydration lock, but the lock window depends on bytes while setup and teardown depend on file count, so on Windows CI the fixture alone pushed it past 30 s. The same 60 MB now lives in 100 files with the identical lock window. The readiness gate also waits for the lock to still be held after a 150 ms settle, since early index phases blink it for a few milliseconds. Test only, no product change.
2026-09-18 00:12:42 -07:00
Resham Joshi
4caf59dafb
desktop: token breakdown popover behind dollar amounts (#1472)
Hovering or focusing a dollar amount shows the input, output, cache read and cache write tokens behind it, plus calls, in a popover portaled to the body. Amounts with no token counts behind them, such as projected month, percentages, retry tax, savings and the Spend and Plans tables, are left alone rather than shown a fabricated breakdown. periodTotals carries the four counts so the hero keeps its breakdown when the number comes from the generation window, and weekly bars sum them. No typography or layout change.
2026-09-18 00:03:37 -07:00
Resham Joshi
3bf2ab6db3
desktop: stop the Overview side column painting over the models table (#1471)
Some checks are pending
CI / semgrep (push) Waiting to run
macOS Menubar CI / test (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
The Models this period card had an automatic minimum width equal to its no-wrap table, wider than its column between 1000 and 1190px, so the side column painted over the Calls column and the sessions card. Cards now get min-width 0 and the body grid stacks on its own width with auto-fit columns; the table scrolls inside its card where the width is tight.
2026-09-17 16:57:48 +02:00
Resham Joshi
1579728b5c
menubar: size and pad the Capacity Dock glance popover (#1470)
The reconnect and disconnected blocks fell through an unpadded branch and ran to the panel edge, the action button sat in the corner with no inset, and a worst-case height reserve parked about 40pt of dead space above it. The connection block is now measured from the strings it wraps, every state goes through the padded notice section, the Today amount and its token column share a baseline, and a plan label that only repeats the provider name is dropped.
2026-09-17 16:57:39 +02:00
Resham Joshi
b162dcfcef
devin: price sessions from tokens, drop the ACU rate (#1469)
Devin transcripts carry no committed_acu_cost, so the ACU path priced every session at zero and devin.acuUsdRate hid them all until it was set by hand. Cost now comes from each step's tokens and its generation_model through the shared pricing tables, with the cached share carved out of OpenAI-style prompt_tokens; swe-2-high stays unpriced at $0. Task text is the user turn, then the sessions.db title, then prompt_history. The menubar ACU field, its config store and the config key are gone. Separate commit: gpt-5-3-codex ids resolve to the gpt-5.3-codex pricing row instead of the base gpt-5 row.
2026-09-17 16:57:30 +02:00
Resham Joshi
2371760b27
fix: model tables sum to the headline above them (#1468)
The JSON report built its model rows from surviving sessions while the headline
came from the durable daily cache, so a long period's rows summed to less than
the headline. Rows now come from the same days as the headline and the daily
rows, keyed through modelRowKey. Days recorded before per-model tracking keep
their calls and cost under one explicit "Unknown (carried)" row, credited per
provider slice and per day, idempotently, remainders under half a cent ignored.
A guard test runs all 42 providers proving none writes a day without its model map.
2026-09-17 15:54:14 +02:00
ozymandiashh
1e6d43d836
menubar: early-reset notification for Codex (#1339)
Some checks are pending
CI / semgrep (push) Waiting to run
macOS Menubar CI / test (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
Codex hands its quota windows to the same early-reset monitor Claude uses, on refresh and on bootstrap, and a Codex disconnect clears its record. Window identity comes from a pre-localization storage label, so a language switch or the limit-reached suffix cannot drop the stored baseline or flip the key at the boundary. A window with no validated cycle length stays silent, and when a provider reports absolute usage a spend-cap increase no longer reads as a cleared counter.
2026-09-17 14:33:35 +02:00
ozymandiashh
633ea32382
fix(opencode): read the 2.x session_v2 and session_message generation (#1436)
OpenCode 2.x (mainline since 2.0.3) writes sessions to session_v2 and messages to session_message, tagged by a type column and ordered by seq, while the legacy session/message/part tables freeze at upgrade. Every session created after the upgrade was invisible to CodeBurn.

The parser now branches per database on sqlite_master: when the v2 tables exist they are read and the frozen legacy tables are ignored, otherwise the legacy path runs exactly as before. The two generations are never joined.

v2 payloads normalize into the shared message/part shape, so tokens, cost, model refs, tools, bash commands, user attribution, the parent_id child-session walk and the session-level rollup fallback behave as they did on 1.x.

Compaction rows carry their own cost and tokens in 2.0.3 and were counted as assistant messages on 1.x, so they are counted here too; a running compaction has no usage and yields nothing.

Verified against a real 1.x database: the opencode report is unchanged at $109.91, 4,009 calls, 177 sessions.

Fixes #1293.
2026-09-17 14:18:41 +02:00
ozymandiashh
dd1f11f528
fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443)
The period model list the Overview table reads is no longer cut at 20 rows, so
every model with usage in the period shows up instead of only the costliest
twenty - the rows that dropped out were exactly the $0 local and free models.

formatTokens gains a billions rung, so a codeburn models totals row reads 29.9B
instead of 29868.7M; the menubar row formatter gains the same rung, and compare
now reuses formatTokens instead of its own K/M copy.

The desktop Models tables stop dimming the calls column on unpriced rows. In the
shipped app those rows do not reach the table yet - codeburn models defaults to
minCost 0.01 and getModels passes no override - so the change takes effect once
that filter is addressed, tracked separately.

Also re-lands the three #1315 commits that never reached main: per-model token
counts beside per-model cost in the Overview and the macOS menubar Models rows.
Status snapshot revision goes to 9 so a warm snapshot cannot keep serving the
truncated list. Fixes #1318.
2026-09-17 13:53:10 +02:00
Ulises
724b9f3621
feat(models): carry the billing route on the call and key model rows on it (#1448)
The same model billed through a different door is its own row on every surface.

The route rides on the call as a field: the model id names it when the door renames the model (Bedrock's <vendor>.<model>[-vN:M], with the cross-region profile kept as its own SKU), and the provider's own column names it when it does not (Hermes billing_provider). Only bedrock is registered; openrouter and bedrock-mantle wait for real sessions.

Every report keys a model row on one function, modelRowKey: short name plus the door's label. models-report folds on that row key rather than the route id, so two doors sharing one label can never print two rows a reader cannot tell apart. codeburn models --format json carries route per row.

Daily cache moves to v33: day.models is keyed by the row key so a column-sourced route survives into a finalized day, and hermes joins the pending-rederive table. Hermes sessions re-parse once.

Pricing never consults the route and runs on the raw id. granular-history still keys on the raw model id, so the desktop Trend timeline is the one surface outside this.

Verified on a real cache: 142 finalized days, $37,898.851498 and 272,985 calls unchanged.
2026-09-17 13:32:34 +02:00
ozymandiashh
426fea3a23
perf(app): stop the per-second shell re-render and halve the splash video (#1352)
AppMain owned a wall-clock setInterval(1000) that existed only so the footer
could print "refreshed Ns ago", so every tick reconciled the sidebar, hero,
daily chart, heatmap and every table 60 times a minute.

The per-second tick now lives in a leaf RefreshedAt component that owns just
that label. The shell re-renders on real state changes plus a 15-second day
check that fires only when the local calendar rolls over, which the overview
memo keys need to keep "Today" honest at midnight.

App.renderChurn.test.tsx pins it: 10 renders over 10 idle seconds before, 0
after. The splash video is re-encoded at VP9 CRF 30, 2,582,836 to 1,294,904
bytes, same 544x544 and 6.04s.
2026-09-17 13:05:43 +02:00
Ulises
9cd7dc5c98
fix(models): a Bedrock -v1:0 version is not an Ollama tag (#1463)
Bedrock foundation-model ids end in a -[v]<major>:<minor> version. looksLikeLocalModel read that colon as an Ollama :tag, so an unpriced Bedrock model was classed as free local inference: excluded from models --unpriced, from the unpriced warning and from the pricing-coverage denominator, with metered spend showing $0. The version shape is now exempted before the tag rule. Covers ids without the v (openai.gpt-oss-120b-1:0, cohere.rerank-v3-5:0); Ollama and LM Studio tags are unaffected.
2026-09-17 12:50:41 +02:00
Resham Joshi
3e9542d63d
Consistent period totals and incremental refresh (#1467)
Every period headline now comes from one aggregation, so switching period no longer mixes snapshots taken minutes apart and Lifetime can no longer read below the six months inside it.
Days preserved from expired transcripts count toward the totals, and the usage streak is one machine-wide number taken from the hydrated daily cache.
A provider-filtered hero reads the scoped payload instead of the unscoped one.
Anchored menus and popovers render through a portal, so the card anatomy no longer clips them after three rows.
The Spend by-branch picker groups checkouts by git origin, one entry per repository with the checkout count beside it.
On the performance side, serve invalidation is scoped to the day a changed file can hold, -shm writes are ignored, and the optimize detectors keep one range-independent scan record with ordered version events.
Memo budgets are set by retained bytes, and every serve response carries the generation and timestamp it was built from.
A 30D stay with appends drops from 7253ms to 2387ms and peak RSS from 2904MB to 1819MB.
No cache format changed. Payloads stay byte-identical except for periodTotals, streak and liveSessions.
2026-09-17 12:35:05 +02:00
Dan Caldr
00c5b0b39c
feat(antigravity): parse tool calls, bash commands, MCP tools, and skills from SQLite steps table (#1456)
* Extract Antigravity tool calls, bash commands, MCP tools, and skills from SQLite steps

Parse tool execution events from the SQLite steps table (step_type == 132) grouped by turn boundaries (step_type == 15), mapping run_command to bashCommands, call_mcp_tool to mcp__<server>__<tool>, view_file to skills, and invoke_subagent to subagentTypes. Bump CACHE_VERSION to 6 and add synthetic unit test coverage.

* feat(antigravity): index steps via gen_metadata packed varints and support repeated tools

- Decode packed varint stepIndices in gen_metadata Field 2 for direct step lookup, replacing heuristic turn grouping based on step_type 15.
- Read repeated Field 4 ToolCallMetadata entries per step and ignore send_message.
- Retain SQLITE_BUSY error propagation for WAL concurrency during active sessions.
- Bump session cache key to worktree-project-grouping-v6.
- Update docs and unit tests to reflect realistic step types and schema.

* fix(antigravity): drop unused step_type, simplify skill pattern, and loop all stepIndices chunks
2026-09-17 09:14:17 +02:00
Resham Joshi
3684f1d5f0
Grok Bot: sessions, estimated spend and the weekly allowance on all three surfaces (#1462)
Some checks are pending
CI / semgrep (push) Waiting to run
macOS Menubar CI / test (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
Adds xAI's Grok Bot desktop app as a provider: per-bot sessions with estimated usage, and the weekly allowance read through the Cursor IDE login on the CLI, desktop Plans screen and menubar. No row unless the app is installed. Two independent review rounds on real data.
2026-09-16 21:17:48 +02:00
Resham Joshi
d81a86dd02
Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459)
Measured design audit fixes, one type ladder and header, zero clipping at 900 to 1680, light-theme contrast, Lucide icons, shared Escape, plurals and provider names, motion tokens with zero refresh shift, black frame with rounded content card, grouped monochrome sidebar with collapse, two-layer card system on every screen, Overview gauge, sparkline cards and chart grid, wallpaper onboarding, Windows fixes. Every number diffed identical to main on a fixed range; 1,032 app tests passing.
2026-09-16 19:48:33 +02:00
Resham Joshi
29fe23e6d6
dashboard: fold instead of spread when measuring column widths (#1460) 2026-09-16 18:52:02 +02:00
Resham Joshi
bf06d6c0a0
menubar: keep retrying parked status item on a persistent menu bar (#1461) 2026-09-16 18:46:13 +02:00
Resham Joshi
31bd0ff2cb
menubar: drop the early-reset dock band and history caption (#1452)
Some checks are pending
CI / semgrep (push) Waiting to run
macOS Menubar CI / test (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
* fix(menubar): drop the early-reset dock band and history caption

* menubar: drop stale band references left by the caption removal
2026-09-16 11:29:38 +02:00
Roy Tong
47b7441dd6
fix(codex): preserve distinct requests when cumulative usage is missing (#1264)
* fix(codex): keep token_count events in sessions that never write total_token_usage

* fix(codex): preserve distinct requests when cumulative usage is missing

* fix(codex): narrow missing-cumulative fix - byte-identical re-emissions still collapse (#257)

Real-data answer to the review's question: Codex does re-emit byte-identical
token_count events. Scanned 53 public rollout sessions (codeset-ai/
codeset-release-evals, 1313 token_count events): 603 (46%) are byte-identical
repeats of their predecessor (identical total AND last usage), 0 cumulative
monotonicity violations, 54 events carry no total_token_usage at all.

The missing-cumulative path now collapses a record whose info payload is
byte-identical to the previous event's (#257 semantics restored); only
records with differing payloads count as distinct requests. prevInfoIdentity
is persisted in the resume state. The #1088 invariant note is restored at
the dedupKey in adapted form; docs/providers/codex.md documents the
three-layer dedup and the accepted fork-cutoff trade-off.

* fix(codex): revert cache/parse version bumps, correct null-info docs per review

Re-verified on a fresh spread sample of codeset-release-evals (21 sessions,
404 events): exactly one info:null rate-limit ping per session, zero events
with info present but total_token_usage absent — matching the reviewer's
137k-event corpus. The missing-cumulative branch is a no-op on real data:

- CODEX_CACHE_VERSION stays 15 (no cold reparse for identical numbers; v16
  never shipped in a release)
- drop the -missing-cumulative-v1 parse suffix
- Quirks: null-info pings take the estimate path, not the dedup path; the
  earlier 54-of-1313 figure conflated them with partial-info events
- dedup layer 3 now documents the forkedFromId/#1383 sub-agent caveat

---------

Co-authored-by: Roy tong <tongxiarui@elliwooddeMacBook-Air.local>
2026-09-16 10:50:25 +02:00
Resham Joshi
3a1dac20a1
Plugins: coming-soon card instead of the bare empty state (#1447)
Some checks are pending
CI / semgrep (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
* Replace broken Plugins empty state with a coming-soon card

* Remove redundant eyebrow from Plugins coming-soon card

The h1 above already says Plugins, so the eyebrow duplicated it.
2026-09-15 23:13:00 +02:00
Resham Joshi
16c41df8eb
Compare periods: lead sentence, three tiles, day bars, top movers (#1446)
* Add per-day cost for both sides to the compare-periods report

* Rebuild the Compare periods screen around a lead sentence, day bars and top movers

* Update the Compare periods doc for the new layout

* Extract the duplicated chart tooltip into one ChartTip component

* Make the Compare periods sentence, tiles, day chart and movers table say what they measure

* Cover the compare lead sentence rules and the percent, date and path formats

* Update the Compare periods doc for the new day chart

* Style the Compare periods Swap button as an outlined pill instead of a solid grey block

* Fix the round-2 findings on the Compare periods chart, range label, Swap button and duration

* Fix single-day range label doubling and lone day bar width in Compare periods

rangeLabel now short-circuits from === to like terseRangeLabel already did.
pcmp-bar uses flex 0 1 50% so a lone bar in a slot takes half the slot
instead of the full slot, matching paired bars.

* Keep a lone day bar the same width as a paired one
2026-09-15 23:12:12 +02:00
Resham Joshi
ce49dc46a6
Refresh without layout shift: hairline and status spinner instead of banners (#1445)
* fix(desktop): replace switching banners with a non-shifting hairline and footer refresh mark

* fix(desktop): round 3 review fixes for refresh indicator

- footer live region now announces empty string while idle instead of
  re-announcing the ticking elapsed-time label every second
- reserve width on the footer status box so it does not shift between
  "refreshed Ns ago" and "not refreshed yet"
- guard usePolled's fetcher() call so a synchronous throw still
  decrements the in-flight counter
- __resetPolledMemo now notifies in-flight listeners when it zeroes
  the counter
- restore the "sessions updating" suffix on the cached snapshot's
  calls sub-line
2026-09-15 23:11:34 +02:00
Resham Joshi
c2d514d1e5
Session drawer: plain-language lead, three tiles, folded detail (#1444)
* Fix session drawer tile grid wrapping and edge clipping

* Stop the session drawer tile value from clipping

* Rewrite the session drawer around a plain-language lead, three tiles, and folds

* Reword the pull-requests caption to drop the em dash

* Drop the drawer's shape clause instead of labelling most sessions the same

* Base the drawer's multiple on the rows the list shows, and keep it readable

* Put the selected figure in the drawer's lead and Cost tile

* Swap the drawer's empty Duration tile for Calls and say long spans in days

* Name the drawer's breakdowns, singularize one call, and hide an empty fold

* Cover the drawer's ratio bounds, selected cost, Calls tile, and fold rule

* Separate the drawer fold count, punctuate the cost caption, and soften the smallest ratio

* Shorten the drawer cost caption and name the smallest ratio without an inequality
2026-09-15 22:53:43 +02:00
Resham Joshi
38a3d3b1cf
Fix layout, clipping and copy on Compare periods (#1440)
Some checks are pending
CI / semgrep (push) Waiting to run
macOS Menubar CI / test (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
* Fix layout, clipping and copy on the Compare periods screen

* Drop dead control padding and restore the compare row hover inset
2026-09-15 21:18:55 +02:00
Resham Joshi
954bfe3e32
fix(models): price cliproxy-gateway routed ids as the models they wrap (#1439)
* fix(models): price cliproxy-gateway routed ids as the models they wrap

codex-cliproxy-gateway forwards only cliproxy/* ids to a local CLIProxyAPI,
so routed Codex sessions record cliproxy/<id> model names, sometimes with a
CLIProxyAPI provider path behind the wrapper (cliproxy/zcode/glm-5.3-flash).
None of those match a pricing row, so the tokens were counted but the dollars
were not, and the models table hides zero-cost rows — routed spend looked
absent rather than unpriced.

Peel the cliproxy/ wrapper like the other routing wrappers and treat zcode
as a known vendor namespace so the provider path strips to its priced glm-*
leaf. An unknown vendor behind the wrapper still fails closed.

* Fix cliproxy-gateway README link and correct bare-glm pricing comment

---------

Co-authored-by: ozymandiashh <234437643+ozymandiashh@users.noreply.github.com>
2026-09-15 21:13:27 +02:00
Resham Joshi
9eb51af7cf
Fix Overview crash when the act report has no totals block (#1438)
* fix(app): tolerate an act report without totals on Overview

* Make ActReportJson.totals optional to match existing optional access
2026-09-15 21:13:23 +02:00
Resham Joshi
94090583f0
Require screenshots on UI pull requests (#1437)
* Require before/after screenshots on UI pull requests

* Split UI screenshot checkbox into not-a-UI-change and UI-change alternatives
2026-09-15 21:13:20 +02:00
ozymandiashh
21c677a450
fix(menubar): show a Total row under the Trend tooltip's model breakdown (#1434)
Provider-filtered daily history now carries input and output tokens, so
the Trend chart picks tokens as its metric even with a single provider
selected. The tooltip header followed it and showed "N tok", which left
the day's cost nowhere in the tooltip. The model rows could not stand in
for a total either: only the first four of up to five topModels render.

When a day has a model breakdown, the tooltip now ends it with a
separator and a Total row carrying the day's cost and tokens from the
payload (not a sum of the visible rows), matching the web dashboard's
tooltip. The header figure is kept only for days without a breakdown.

Fixes #1433
2026-09-15 19:05:45 +02:00
ozymandiashh
a208c25f86 fix(menubar): pin multi-argument catalog keys to positional specifiers
Some checks are pending
CI / semgrep (push) Waiting to run
macOS Menubar CI / test (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
The catalog comparison matched specifier lists, so a key whose
placeholders are all %@ passed even when the Chinese value bound the
arguments into the wrong slots — the drift that shipped in three
early-reset keys and was only caught by rendering real data bilingually
(#1331).

All 42 multi-argument keys in both tables now use positional specifiers
(%1$@, %2$lld, ...); the parity check compares slot to verb so Chinese
word order stays free while each slot keeps its type; a new test fails
on any multi-argument key that is not positional.

The source scanner closes its three expression gaps: ternary branches,
concatenated literals, and let-bound literals passed by name.
Text(verbatim:) stays the explicit opt-out; the four provider-name
fallbacks the new rules surfaced in HeatmapSection route through the
catalog as verbatim entries.

Closes #1331
2026-09-15 01:33:28 +03:00
dependabot[bot]
a2a31932da
chore(deps): bump ip-address from 10.2.0 to 10.7.0 (#1429)
Bumps [ip-address](https://github.com/beaugunderson/ip-address) from 10.2.0 to 10.7.0.
- [Release notes](https://github.com/beaugunderson/ip-address/releases)
- [Commits](https://github.com/beaugunderson/ip-address/compare/v10.2.0...v10.7.0)

---
updated-dependencies:
- dependency-name: ip-address
  dependency-version: 10.7.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-15 00:38:44 +03:00
dependabot[bot]
1fd7f780d7
chore(deps): bump qs from 6.15.2 to 6.16.0 (#1427)
Bumps [qs](https://github.com/ljharb/qs) from 6.15.2 to 6.16.0.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.15.2...v6.16.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-15 00:38:41 +03:00
Resham Joshi
e0da54c90f
test: deflake the Sessions drawer and TUI startup tests (#1432)
Some checks failed
CI / semgrep (push) Waiting to run
macOS Menubar CI / test (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
Tests / test (24) (push) Waiting to run
Tests / test (26) (push) Waiting to run
Tests / test-platforms (macos-latest) (push) Waiting to run
Tests / test-platforms (windows-latest) (push) Waiting to run
Tests / desktop (push) Waiting to run
Windows Menubar CI / check (ubuntu-latest) (push) Has been cancelled
Windows Menubar CI / check (windows-latest) (push) Has been cancelled
* test: wait for the drawer close callback and give the TUI frame wait a time budget

* test(dashboard): await the indexing settle callback instead of polling frames
2026-09-14 18:07:57 +03:00
Resham Joshi
bdf7ecb3e3
chore(windows): Tauri 2.11 on both the npm and Rust side (#1428)
* chore(deps): bump the minor-and-patch group across 1 directory with 8 updates

Bumps the minor-and-patch group with 8 updates in the /windows directory:

| Package | From | To |
| --- | --- | --- |
| [@tauri-apps/api](https://github.com/tauri-apps/tauri) | `2.10.1` | `2.11.1` |
| [@tauri-apps/plugin-opener](https://github.com/tauri-apps/plugins-workspace) | `2.5.3` | `2.5.5` |
| [@tauri-apps/plugin-shell](https://github.com/tauri-apps/plugins-workspace) | `2.3.5` | `2.3.6` |
| [react](https://github.com/react/react/tree/HEAD/packages/react) | `19.2.5` | `19.3.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `19.2.14` | `19.3.0` |
| [react-dom](https://github.com/react/react/tree/HEAD/packages/react-dom) | `19.2.5` | `19.3.0` |
| [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) | `19.2.3` | `19.3.0` |
| [@tauri-apps/cli](https://github.com/tauri-apps/tauri) | `2.10.1` | `2.11.4` |



Updates `@tauri-apps/api` from 2.10.1 to 2.11.1
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/api-v2.10.1...@tauri-apps/api-v2.11.1)

Updates `@tauri-apps/plugin-opener` from 2.5.3 to 2.5.5
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](https://github.com/tauri-apps/plugins-workspace/compare/http-v2.5.3...http-v2.5.5)

Updates `@tauri-apps/plugin-shell` from 2.3.5 to 2.3.6
- [Release notes](https://github.com/tauri-apps/plugins-workspace/releases)
- [Commits](https://github.com/tauri-apps/plugins-workspace/compare/nfc-v2.3.5...nfc-v2.3.6)

Updates `react` from 19.2.5 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react)

Updates `@types/react` from 19.2.14 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 19.2.5 to 19.3.0
- [Release notes](https://github.com/react/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/react/react/commits/v19.3.0/packages/react-dom)

Updates `@types/react-dom` from 19.2.3 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

Updates `@tauri-apps/cli` from 2.10.1 to 2.11.4
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](https://github.com/tauri-apps/tauri/compare/@tauri-apps/cli-v2.10.1...@tauri-apps/cli-v2.11.4)

Updates `@types/react` from 19.2.14 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `@types/react-dom` from 19.2.3 to 19.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@tauri-apps/api"
  dependency-version: 2.11.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@tauri-apps/cli"
  dependency-version: 2.11.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@tauri-apps/plugin-opener"
  dependency-version: 2.5.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@tauri-apps/plugin-shell"
  dependency-version: 2.3.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: "@types/react"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react-dom"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: "@types/react-dom"
  dependency-version: 19.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: react
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: react-dom
  dependency-version: 19.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(windows): tauri 2.11 on both the npm and Rust side

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 17:54:03 +03:00
ozymandiashh
af0f23d09d fix(sharing,mcp): drop or pseudonymize pull request rows in redacted payloads
current.pullRequests survived both sanitizeForSharing and
redactProjectNames(include_project_names: false) verbatim, so each row's
full GitHub url and owner/repo#123 label named the repository to a paired
peer device and to a name-redacted MCP client — the same class of leak

Sharing drops the block like it drops the project, session and per-branch
rows. The MCP pass pseudonymizes url and label from the url (the
aggregation key) with the same salted, domain-separated hash as the other
pseudonyms, so rows referring to the same PR still line up and every
number stays untouched.

Closes #1346
2026-09-14 17:53:04 +03:00
dependabot[bot]
554ce6714a
chore(deps): bump lucide-react in /dash in the minor-and-patch group (#1425)
Bumps the minor-and-patch group in /dash with 1 update: [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react).


Updates `lucide-react` from 0.468.0 to 0.577.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.577.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-version: 0.577.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 16:50:50 +03:00
dependabot[bot]
d553b1e2fd
chore(deps-dev): bump electron in /app in the minor-and-patch group (#1424)
Bumps the minor-and-patch group in /app with 1 update: [electron](https://github.com/electron/electron).


Updates `electron` from 43.1.0 to 43.7.0
- [Release notes](https://github.com/electron/electron/releases)
- [Commits](https://github.com/electron/electron/compare/v43.1.0...v43.7.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 43.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 16:50:14 +03:00
dependabot[bot]
013f3db971
chore(deps): bump fast-uri from 3.1.2 to 3.1.7 (#1423)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.7.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.2...v3.1.7)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-14 16:49:38 +03:00
Resham Joshi
79be6e3d71
docs: drop the third-party Omarchy plugin section from the README (#1419) 2026-09-14 16:49:00 +03:00