codeburn/mac/Sources/CodeBurnMenubar/Data
Resham Joshi 063e42796d
feat(providers): add Command Code (#1658)
* feat: Command Code support

Reads the cmd CLI's session transcripts at
~/.commandcode/projects/<slug>/<id>.jsonl (CODEBURN_COMMANDCODE_DIR moves
the root). Checkpoint and prompt sidecars are skipped.

usage.inputTokens includes cacheReadTokens, so fresh input is
inputTokens - cacheReadTokens. The recorded costUsd is kept per call
(costFromBilling); a call without one is priced from tokens and marked
estimated. Forks copy parent message ids into a new file, so calls dedupe
by message id across sessions.

Desktop: Electron sandbox read path, macOS and Windows change watchers,
Windows tab colour. No quota adapter.

* fix(command-code): dedupe on meta.messageId, not the 8-hex line id

The top-level id is randomUUID().slice(0, 8) and only unique within one
file, so calls from unrelated sessions could collide and vanish.
meta.messageId is a full uuid that survives forks. Fixture ids now use
the real 8-hex shape.

* test(command-code): check sidecar skipping by file name, not a posix path
2026-10-07 00:18:50 +02:00
..
AntigravityQuotaPresentation.swift
AntigravitySubscriptionService.swift
CapacityDockGlanceWindow.swift
CapacityDockInteractionState.swift
CapacityDockPreferences.swift feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00
CapacityDockProviderCredential.swift
CapacityDockProviderQuotaService.swift feat(devin): plan and quota from the Devin CLI cache (#1606) 2026-10-02 16:43:15 +02:00
CapacityEstimator.swift
ClaudeCredentialStore.swift Claude plan label: read subscriptionType so a Team seat is not shown as Max 5x (#1492) 2026-09-19 11:25:17 -07:00
ClaudeSubscriptionService.swift Claude plan label: read subscriptionType so a Team seat is not shown as Max 5x (#1492) 2026-09-19 11:25:17 -07:00
CLIClaudeConfig.swift
CLICursorSyncConfig.swift feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638) 2026-10-05 17:11:41 +02:00
ClinePassSubscriptionService.swift
CLIWatchdog.swift
CodeBurnCacheDirectory.swift
CodexBankedResets.swift fix(menubar): pin multi-argument catalog keys to positional specifiers 2026-09-15 01:33:28 +03:00
CodexCredentialStore.swift
CodexSubscriptionService.swift
CodexUsage.swift menubar: early-reset notification for Codex (#1339) 2026-09-17 14:33:35 +02:00
CopilotExplicitDisconnect.swift
CopilotHostEndpoint.swift
CopilotQuotaPresentation.swift fix(menubar): pin multi-argument catalog keys to positional specifiers 2026-09-15 01:33:28 +03:00
CopilotSubscriptionService.swift
CursorSubscriptionService.swift fix(cursor): connect Enterprise team seats on the team on-demand meter (#1553) 2026-09-25 01:33:41 +02:00
DataClient.swift
DevinSubscriptionService.swift feat(devin): plan and quota from the Devin CLI cache (#1606) 2026-10-02 16:43:15 +02:00
EarlyQuotaReset.swift menubar: early-reset notification for Codex (#1339) 2026-09-17 14:33:35 +02:00
EarlyQuotaResetMonitor.swift menubar: drop the early-reset dock band and history caption (#1452) 2026-09-16 11:29:38 +02:00
GeminiQuotaPresentation.swift
GeminiSubscriptionService.swift
GrokBotSubscriptionService.swift Grok Bot: sessions, estimated spend and the weekly allowance on all three surfaces (#1462) 2026-09-16 21:17:48 +02:00
GrokBuildSubscriptionService.swift
KimiQuotaPresentation.swift
KimiSubscriptionService.swift
LanguagePreference.swift desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
MenubarPayload.swift feat: mark estimated dollars the same way in every view (#1657) 2026-10-06 22:27:13 +02:00
MenubarStatusCache.swift
ProviderConnectionCatalog.swift feat(devin): plan and quota from the Devin CLI cache (#1606) 2026-10-02 16:43:15 +02:00
ProviderReconnectPresentation.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
ProviderStripPagingState.swift
QuotaCrossing.swift fix(menubar): pin multi-argument catalog keys to positional specifiers 2026-09-15 01:33:28 +03:00
QuotaPace.swift
QuotaPacePresentation.swift fix(menubar): pin multi-argument catalog keys to positional specifiers 2026-09-15 01:33:28 +03:00
QuotaSummary.swift menubar: early-reset notification for Codex (#1339) 2026-09-17 14:33:35 +02:00
QuotaWarningPresentation.swift fix(menubar): pin multi-argument catalog keys to positional specifiers 2026-09-15 01:33:28 +03:00
ServeConnection.swift 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
SubscriptionRefreshCadence.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
SubscriptionSnapshotStore.swift
SubscriptionUsage.swift Claude plan label: read subscriptionType so a Team seat is not shown as Max 5x (#1492) 2026-09-19 11:25:17 -07:00
Telemetry.swift 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
UpdateChecker.swift fix(menubar): pick the CLI package manager from the resolved symlink (#1563) 2026-09-27 17:17:51 +02:00
UpdateNotifier.swift
UsageDataChangeGuard.swift feat(providers): add Command Code (#1658) 2026-10-07 00:18:50 +02:00
UsageRefreshCadence.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
ZaiPlanQuotaDecoder.swift feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00
ZaiSubscriptionService.swift feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00
ZcodeSubscriptionService.swift feat(quota): add ZCode (z.ai coding plan) live quota provider (#1347) 2026-09-18 18:11:08 -07:00