codeburn/src
Resham Joshi ea78d36ccf
Some checks are pending
Tests / desktop (push) Waiting to run
Tests / test (22) (push) Waiting to run
Tests / test (22.13.0) (push) Waiting to run
CI / semgrep (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
Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507)
* feat(windows): configure the menu bar and Capacity Dock as a Plugins card

Windows now configures its tray companion from a card on the Plugins page, the
same place macOS does, instead of two switches in the sidebar corner.

- WindowsCompanionCard mirrors the macOS MenuBarCard: Install/Reinstall,
  Update, Open (show the tray popover), Settings (opens the desktop Menu bar
  settings pane), Quit (stop without uninstalling), Uninstall, plus the
  Capacity Dock toggle, a Running dot, the version, and an info popup.
- MenubarCompanion.status() now reports installed/running/version/outdated/
  canInstall, and new discrete install/open/quit/uninstall actions back the
  card. uninstall only forgets the tray once the CLI removal succeeds, and a
  cancelled elevation prompt is treated as a no-op rather than a failure.
- isNewerVersion sorts a dev build below any release, so a staged release still
  lights Update and a dev build never does.
- codeburn menubar --uninstall reads the product code from the install marker
  or the uninstall registry and runs msiexec /x.
- Remove the bespoke sidebar CompanionSwitches and their dead CSS.
- A dev-only CODEBURN_MENUBAR_RESOURCES override lets the tray install run
  without packaging; the CLI still validates the staged path in full.

* feat(desktop): fold the Capacity Dock settings into the Menu bar pane

One tray rail entry instead of two: MenuBarPane and CapacityDockPane render
together in the Menu bar pane with a clear gap between the two cards, so the
card's Settings button opens both. Drops the now-unreachable 'dock' pane value.

* fix(desktop): stop the Spend cost-flow Sankey from re-rendering forever

The label-fit effect measured the already-truncated text, so a capped label
read as short, un-capped, overflowed the cap, and re-capped without end
(Maximum update depth exceeded). It now estimates each label from its full
name via data-name, and caps only tighten per layout, so the measure, cap and
remeasure cycle is guaranteed to settle instead of oscillating.

* feat(desktop): bundle Inter and JetBrains Mono for one UI on every OS

The app used each platform's system font (SF Pro on macOS, Segoe UI on
Windows), so the two looked different. Bundle Inter for text and JetBrains
Mono for figures and lead the --sans and --mono stacks with them, keeping the
per-locale CJK fallbacks, so Windows and macOS render the same faces.

* desktop: gate tray installed state on support; drop strings and channels the sidebar switches left behind
2026-09-19 18:43:27 -07:00
..
act fix(windows): nine Windows path and process bugs the CLI tests exposed 2026-09-02 13:43:57 -07:00
data chore(pricing): refresh the bundled snapshot; a refresh can no longer drop a model's pricing (#1483) 2026-09-19 11:25:21 -07:00
guard fix: keep macOS and Linux path behaviour exact in guard flags and Hermes 2026-09-02 15:11:01 -07:00
mcp fix(sharing,mcp): drop or pseudonymize pull request rows in redacted payloads 2026-09-14 17:53:04 +03:00
plugins fix(windows): nine Windows path and process bugs the CLI tests exposed 2026-09-02 13:43:57 -07:00
providers windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
quota Claude plan label: read subscriptionType so a Team seat is not shown as Max 5x (#1492) 2026-09-19 11:25:17 -07:00
sharing fix(sharing,mcp): drop or pseudonymize pull request rows in redacted payloads 2026-09-14 17:53:04 +03:00
sync feat(desktop): complete plugin-era UI with details, install flow, settings, and team registry 2026-08-28 06:59:50 -07:00
antigravity-statusline.ts fix(windows): nine Windows path and process bugs the CLI tests exposed 2026-09-02 13:43:57 -07:00
audit-report.ts Merge origin/main into feat/copilot-session-store 2026-08-22 09:36:51 -07:00
bash-utils.ts perf(classifier): linear bash separator split 2026-08-16 18:31:41 -07:00
behavioral-weight.ts fix(hermes): keep post-finalization session growth on the observation day 2026-08-23 18:26:51 +05:30
billing-filter.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
branch-spend.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
budget.ts feat(budget): spend budgets with overview display and scriptable --check (#562) 2026-07-16 11:10:16 -07:00
cache-dir.ts fix(cache): treat a present versioned result file as exclusive 2026-08-22 01:49:39 +05:30
cache-refresh-lock.ts fix(lock): heartbeat replaces the lock body atomically instead of truncating in place 2026-08-30 03:29:01 -07:00
classifier.ts fix(insights): count read-shaped shell commands as reads, not as verification (#941) 2026-08-10 06:07:27 -07:00
cli-date.ts feat(cli): add lifetime period for CLI and dashboard (#753) 2026-07-20 05:24:33 -07:00
cli.ts fix(cli): default NODE_ENV to production so Ink's React build stops leaking user-timing entries. 2026-09-07 10:27:46 -03:00
codex-cache.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
codex-credits.ts merge: rebase #1056 onto main with Codex v12 / daily v24 2026-08-22 02:35:51 +05:30
codex-throughput.ts fix(codex): exclude harness startup and fix partial-dedup timing in Tok/s 2026-08-21 15:29:14 -07:00
compare-cohorts.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
compare-stats.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
compare.tsx fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
config.ts devin: price sessions from tokens, drop the ACU rate (#1469) 2026-09-17 16:57:30 +02:00
content-utils.ts fix(parser): flatten already-sliced previews and memoize canonical path walks 2026-08-16 01:49:10 -07:00
context-budget.ts fix(context-budget): stop double-counting home skills and CLAUDE.md 2026-08-04 06:32:58 +03:00
context-tree-codex.ts Extract shared token estimation helper, migrate all CHARS_PER_TOKEN sites (#644) (#677) 2026-07-16 11:58:22 -07:00
context-tree.ts feat(dock): glance popover with hero window, sessions and today strip 2026-09-02 06:09:06 -07:00
context-tui.tsx fix(cli): default NODE_ENV to production so Ink's React build stops leaking user-timing entries. 2026-09-07 10:27:46 -03:00
copilot-aiu.ts feat: Copilot AI Credit plan math from total_nano_aiu 2026-08-23 19:12:04 +05:30
currency.ts test: skip the live Frankfurter fetch so FX moves can't shift assertions 2026-08-21 02:23:41 -07:00
cursor-cache.ts fix(cache): treat a present versioned result file as exclusive 2026-08-22 01:49:39 +05:30
daily-cache.ts fix: four provider parsing and pricing attribution bugs (#1489) 2026-09-18 15:15:10 -07:00
dashboard.tsx dashboard: fold instead of spread when measuring column widths (#1460) 2026-09-16 18:52:02 +02:00
day-aggregator.ts fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
doctor.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
export.ts fix(report): join model output on modelBreakdown keys 2026-08-23 18:43:37 +05:30
fetch-utils.ts fix(network): add timeouts to critical-path fetches (#445) (#448) 2026-06-06 03:25:36 +02:00
format.ts fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
fs-utils.ts perf: fan out the discovery sweep instead of walking it one syscall at a time 2026-08-22 15:52:47 -07:00
git-origin.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
granular-history.ts fix(web): count legend title uniqueness in code points 2026-08-21 21:59:13 +05:30
hermes-session-ledger.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
ink-win.ts fix(ink-win): strip synchronized-update escapes instead of exact-matching them 2026-08-04 03:06:47 +03:00
launcher-homes.ts Grok Bot: sessions, estimated spend and the weekly allowance on all three surfaces (#1462) 2026-09-16 21:17:48 +02:00
live-sessions.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
main.ts Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00
math-utils.ts dashboard: fold instead of spread when measuring column widths (#1460) 2026-09-16 18:52:02 +02:00
menubar-installer.ts Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00
menubar-json.ts desktop: token breakdown popover behind dollar amounts (#1472) 2026-09-18 00:03:37 -07:00
model-breakdown.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
model-efficiency.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
models-report.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
models.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
optimize.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
overview.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
parse-worker.ts perf(parse-workers): gate on pending bytes, size the per-worker budget per parse 2026-08-17 02:53:19 -07:00
parse-workers.ts perf(parse-workers): gate on pending bytes, size the per-worker budget per parse 2026-08-17 02:53:19 -07:00
parser.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
path-privacy.ts fix(sync): address project privacy review 2026-08-24 20:09:27 +05:30
period-diff.ts Compare periods: lead sentence, three tiles, day bars, top movers (#1446) 2026-09-15 23:12:12 +02:00
persistent-codeburn.ts refactor(cli): share persistent-codeburn resolver; tighten Antigravity hook ownership 2026-05-31 20:07:57 -07:00
plan-usage.ts docs(plan): calibrate the Copilot credit estimate wording against real session-store rows (#1199) 2026-08-31 03:13:04 -07:00
plans.ts feat: Copilot AI Credit plan math from total_nano_aiu 2026-08-23 19:12:04 +05:30
project-filter-warnings.ts fix(cli): judge a pattern against the day cache, and never on screen 2026-09-11 17:29:55 +02:00
quota.ts prerelease: quota NaN guard, 10-year daily retention, test date bomb (#764) 2026-07-20 07:37:56 -07:00
serve.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
session-cache.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
session-contributions.ts Fix drill-through provider, day and model attribution 2026-09-12 12:22:19 -07:00
session-count-label.ts fix(usage): fold Windows case in spend identity, qualify --json counts, drop scratch tests 2026-09-07 14:56:32 -07:00
session-output.ts fix: uncap the Overview model table, billions token rung, unpriced calls dimming (#1443) 2026-09-17 13:53:10 +02:00
session-population.ts fix(optimize): isolate sidechains from behavior 2026-08-14 02:51:54 +05:30
sessions-report.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
sessions-tui.tsx fix(cli): default NODE_ENV to production so Ink's React build stops leaking user-timing entries. 2026-09-07 10:27:46 -03:00
spend-flow.ts fix(cli): judge a pattern against the day cache, and never on screen 2026-09-11 17:29:55 +02:00
sqlite.ts fix: stop a Full Disk Access blocked Warp read from freezing serve, and harden the Grok Bot quota reader (#1487) 2026-09-18 15:23:22 -07:00
status-snapshot-semantic.ts fix: four provider parsing and pricing attribution bugs (#1489) 2026-09-18 15:15:10 -07:00
streak.ts Consistent period totals and incremental refresh (#1467) 2026-09-17 12:35:05 +02:00
telemetry-snapshot.ts feat(models): carry the billing route on the call and key model rows on it (#1448) 2026-09-17 13:32:34 +02:00
text-table.ts dashboard: fold instead of spread when measuring column widths (#1460) 2026-09-16 18:52:02 +02:00
token-estimate.ts Extract shared token estimation helper, migrate all CHARS_PER_TOKEN sites (#644) (#677) 2026-07-16 11:58:22 -07:00
types.ts feat(cli): filter usage by billing route and mode (#1486) 2026-09-19 11:32:06 -07:00
usage-aggregator.ts desktop: token breakdown popover behind dollar amounts (#1472) 2026-09-18 00:03:37 -07:00
user-timing-guard.ts fix(cli): clear the user-timing buffer blind on the guard tick. 2026-09-07 10:57:14 -03:00
web-dashboard.ts fix(dash): keep the disambiguator visible, make the bootstrap safe by construction 2026-08-18 05:49:16 +03:00
work-units.ts feat(sessions): deterministic work-unit resolver and sessions --by-work-unit (CB-2 slice 1) (#1145) 2026-08-25 09:30:05 -07:00
workflow-insights.ts fix(optimize): isolate sidechains from behavior 2026-08-14 02:51:54 +05:30
wsl.ts windows: discover provider roots inside WSL distros (#1062) 2026-09-19 12:33:29 -07:00
yield.ts fix(yield): rescue sessions whose branch shipped past the session's window (#1476) 2026-09-18 17:10:27 -07:00