codeburn/mac/Sources/CodeBurnMenubar/Data
iamtoruk 0f7bfb3eb2 fix(menubar): make a failed disconnect leave a consistent state
disconnect() cleared the usage block before anyone knew whether the delete
had worked, and AppStore then returned early on failure — so a failed
disconnect cleared some state, left the rest, and still posted
subscriptionDisconnected. It also carried a second !isSuccess branch that the
early return had already made unreachable.

Both services now return the delete result and only clear the usage block on
success, so a failure changes nothing at all: the provider stays connected,
Disconnect stays available, and the banner asks for a retry. That matches the
success path's ordering instead of half-applying it.

Errors reaching the generic catches now render localizedDescription rather
than String(describing:), so a Keychain failure shows its message instead of
an enum dump with the raw item name in it.
2026-08-19 11:43:44 -07:00
..
CapacityEstimator.swift
ClaudeCredentialStore.swift fix(menubar): keep the newer credential copy and drop the sticky retry flag 2026-08-19 11:43:32 -07:00
ClaudeSubscriptionService.swift fix(menubar): make a failed disconnect leave a consistent state 2026-08-19 11:43:44 -07:00
CLIClaudeConfig.swift
CodeBurnCacheDirectory.swift
CodexCredentialStore.swift fix(menubar): keep the newer credential copy and drop the sticky retry flag 2026-08-19 11:43:32 -07:00
CodexSubscriptionService.swift fix(menubar): make a failed disconnect leave a consistent state 2026-08-19 11:43:44 -07:00
CodexUsage.swift
DataClient.swift
KimiQuotaPresentation.swift
KimiSubscriptionService.swift
MenubarPayload.swift
MenubarStatusCache.swift
QuotaPace.swift
QuotaSummary.swift
ServeConnection.swift
SubscriptionRefreshCadence.swift
SubscriptionSnapshotStore.swift
SubscriptionUsage.swift
UpdateChecker.swift
UsageDataChangeGuard.swift docs(dsh): finish the provider registration checklist 2026-08-17 10:59:58 -07:00
UsageRefreshCadence.swift