codeburn/mac/Sources/CodeBurnMenubar/Data
iamtoruk b9e70bedcb Raise a live session's terminal from the Capacity Dock card
Clicking a session row finds the row's process — Claude Code writes its
pid into ~/.claude/sessions/<pid>.json, Kimi Code is found by the one
`kimi` working in the directory its state.json records — walks the
process tree to the application that owns it, selects the tab by tty in
Terminal.app and iTerm2, and raises the app everywhere else. The
AppleScript runs off the main actor with a 3s cap.

A row whose process cannot be found keeps its layout and stays inert: no
pointer change, no tooltip.
2026-09-14 01:38:01 -07:00
..
AntigravityQuotaPresentation.swift feat(menubar): live Antigravity quota — local language-server probe, Settings pane, Plan tab 2026-08-24 09:40:04 -07:00
AntigravitySubscriptionService.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CapacityDockGlanceWindow.swift feat(menubar): switch the Capacity Dock gauge between usage windows 2026-09-12 06:38:34 -07:00
CapacityDockInteractionState.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CapacityDockPreferences.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
CapacityDockProviderCredential.swift fix(menubar): give the pasted Copilot token a GitHub host of its own 2026-09-12 12:02:13 -07:00
CapacityDockProviderQuotaService.swift feat(mac): add native Grok Build provider 2026-09-01 18:46:02 +05:30
CapacityEstimator.swift
ClaudeCredentialStore.swift fix: isolate overridden Claude credential homes 2026-08-29 23:38:37 +05:30
ClaudeSubscriptionService.swift fix(menubar): make a failed disconnect leave a consistent state 2026-08-19 11:43:44 -07:00
CLIClaudeConfig.swift
ClinePassSubscriptionService.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CLIWatchdog.swift fix(menubar): no-output watchdog, lock signal cleanup, dead-pid takeover, serve orphan reaping 2026-08-23 05:35:17 -07:00
CodeBurnCacheDirectory.swift perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
CodexBankedResets.swift feat(menubar): translate the Codex banked-reset copy and the cache-read tooltip 2026-09-12 16:12:11 -07:00
CodexCredentialStore.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
CodexSubscriptionService.swift feat(codex): read the per-credit fields the reset-credits payload already carries 2026-09-12 14:37:24 -07:00
CodexUsage.swift feat(menubar): translate the strings the two new menubar features added 2026-09-12 15:22:47 -07:00
CopilotExplicitDisconnect.swift fix(mac): preserve explicit Copilot disconnect across refreshes 2026-09-09 16:17:15 +05:30
CopilotHostEndpoint.swift fix(menubar): follow GH_HOST and gh's own host for the Copilot env and gh rungs 2026-09-12 12:02:13 -07:00
CopilotQuotaPresentation.swift fix(menubar): carry the localization catalog onto current main 2026-09-12 16:12:11 -07:00
CopilotSubscriptionService.swift fix(menubar): follow GH_HOST and gh's own host for the Copilot env and gh rungs 2026-09-12 12:02:13 -07:00
CursorSubscriptionService.swift fix(menubar): harden the Cursor quota adapter 2026-08-29 14:17:15 -07:00
DataClient.swift fix(menubar): refresh(key:) reported failure instead of joining an in-flight fetch 2026-09-02 07:52:18 -07:00
EarlyQuotaReset.swift feat(menubar): translate the early-reset notification, band and history 2026-09-12 16:12:11 -07:00
EarlyQuotaResetMonitor.swift feat(mac): decide early quota resets in pure, testable types 2026-09-12 14:58:17 -07:00
GeminiQuotaPresentation.swift feat(menubar): live Gemini quota — service, Settings pane, popover Plan tab 2026-08-24 08:43:47 -07:00
GeminiSubscriptionService.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
GrokBuildSubscriptionService.swift fix(mac): scope Grok's omitted-percent-is-zero rule to unified billing; finish the fixture scrub 2026-09-04 01:38:08 -07:00
KimiQuotaPresentation.swift fix(menubar): keep showing Kimi quota when the login is idle, stamp stale data 2026-07-26 06:35:13 -07:00
KimiSubscriptionService.swift feat(menubar): add native Capacity Dock (#1167) 2026-08-29 00:37:30 -07:00
LanguagePreference.swift feat(menubar): add a language picker to Settings 2026-09-12 16:12:11 -07:00
MenubarPayload.swift Merge origin/main into cache-read and quota pace 2026-09-12 20:27:33 +03:00
MenubarStatusCache.swift perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
ProviderConnectionCatalog.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
ProviderReconnectPresentation.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
ProviderStripPagingState.swift harden provider period and cache contracts 2026-09-02 16:18:05 +05:30
QuotaCrossing.swift Notify when a quota window crosses 80% and 100% 2026-09-13 13:59:31 -07:00
QuotaPace.swift menubar: linear pace on Codex quota windows — deficit/reserve, projection, run-out ETA (#726) (#728) 2026-07-20 05:21:43 -07:00
QuotaPacePresentation.swift menubar: drop the pace caption from the popover quota rows and delete the caption builder 2026-09-13 12:39:36 -07:00
QuotaSummary.swift menubar: one set of quota colour bands, 60/70/95, for the flame, popover and dock 2026-09-13 12:50:25 -07:00
QuotaWarningPresentation.swift fix(menubar): make the quota warning legible and name the window it means 2026-09-13 06:29:21 -07:00
ServeConnection.swift fix(menubar): no-output watchdog, lock signal cleanup, dead-pid takeover, serve orphan reaping 2026-08-23 05:35:17 -07:00
SubscriptionRefreshCadence.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
SubscriptionSnapshotStore.swift perf(desktop): share cache state and eliminate duplicate cold hydration 2026-08-12 17:16:41 +03:00
SubscriptionUsage.swift
UpdateChecker.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
UpdateNotifier.swift feat(mac): notify when an update is available 2026-09-10 12:39:38 -07:00
UsageDataChangeGuard.swift Raise a live session's terminal from the Capacity Dock card 2026-09-14 01:38:01 -07:00
UsageRefreshCadence.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
ZaiSubscriptionService.swift fix(mac): map Z.ai body auth errors 2026-08-31 13:51:46 -03:00