codeburn/app/electron
Resham Joshi 6646fad9bf
fix(desktop): read the Claude login of a non-default config dir (#1832)
The desktop app and the VS Code extension read quota through their own
copy in app/electron/quota, which only knew the unsuffixed "Claude
Code-credentials" Keychain item and ~/.claude/.credentials.json. Claude
Code keeps the login of any other config dir under "Claude
Code-credentials-" plus the first 8 hex chars of the SHA-256 of the
dir's NFC path, so on macOS that login read as not connected.

The Claude row now reads the first configured dir, in the CLI's order:
CLAUDE_CONFIG_DIRS, CLAUDE_CONFIG_DIR, the claudeConfigDirs the menubar
writes to config.json, then ~/.claude. An expired credential file no
longer hides a live Keychain login; a denied Keychain still reports
accessDenied, and with no Keychain item the expired file is still the
answer. A background poll, which never reads the Keychain, reports an
expired file on macOS as not checked, so the login a forced check found
is held instead of flipping to expired.

Keychain reads still happen only on a forced refresh.
2026-11-02 19:50:55 +01:00
..
quota fix(desktop): read the Claude login of a non-default config dir (#1832) 2026-11-02 19:50:55 +01:00
auto-update.test.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
auto-update.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
bridge-handlers.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
cli-win32-reap.test.ts fix: bound the serve drain, reap orphans on Windows, and de-flake the grace test 2026-08-22 10:36:58 -07:00
cli-win32-tree-kill.test.ts fix(app): actually kill the CLI process tree on Windows 2026-09-02 22:10:37 -07:00
cli.test.ts feat: telemetry for CLI error causes, provider read failures and update results (#1702) 2026-10-09 12:47:49 +02:00
cli.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
companion-update.test.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
companion-update.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
mac-menubar.test.ts 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
mac-menubar.ts 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
main.test.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
main.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
menubar.test.ts Windows tray: fall back past a broken managed CLI to Volta and PATH installs (#1753) 2026-10-13 10:10:38 +02:00
menubar.ts Windows tray: fall back past a broken managed CLI to Volta and PATH installs (#1753) 2026-10-13 10:10:38 +02:00
optimize-store.test.ts 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
optimize-store.ts 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
preload.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00
telemetry.test.ts feat: telemetry for CLI error causes, provider read failures and update results (#1702) 2026-10-09 12:47:49 +02:00
telemetry.ts feat: telemetry for CLI error causes, provider read failures and update results (#1702) 2026-10-09 12:47:49 +02:00
tray-settings-atomic.test.ts fix(windows): wait out a reader when replacing a preference file 2026-09-03 11:10:33 -07:00
tray-settings-lock.test.ts fix(windows): close three holes in the cross-process preference lock 2026-09-03 10:28:05 -07:00
tray-settings.test.ts fix: keep a saved Capacity Dock provider across quota refreshes (#1768) 2026-10-31 03:48:01 +01:00
tray-settings.ts fix: keep a saved Capacity Dock provider across quota refreshes (#1768) 2026-10-31 03:48:01 +01:00
updates.test.ts fix(windows): Store installs get no GitHub update offer, and codeburn menubar opens the Store copy by its app id (#1520) (#1549) 2026-09-24 19:51:04 +02:00
updates.ts feat(update): desktop updates its companions and itself in one click (#1741) 2026-10-11 04:34:34 +02:00