orca/src/main/rate-limits
Jinjing 953b325180
Scope Claude Keychain lookup and disable PTY fallback for system auth (#6180)
* Scope Claude Keychain lookup and disable PTY fallback for system auth

* Scope macOS Keychain credential lookups to the config directory first to support Claude Code 2.1+, falling back to the legacy system default.
* Disable Claude CLI PTY execution fallback for system-default accounts during usage refreshes to avoid launching unexpected browser auth flows.

* Disable Claude PTY fallback when auth preparation is unavailable

Treat missing Claude auth preparation as system-default. This aligns
the PTY fallback gate to prevent background refreshes from triggering
interactive authentication flows when no auth is configured.
2026-06-23 10:38:37 -07:00
..
claude-fetcher.test.ts Scope Claude Keychain lookup and disable PTY fallback for system auth (#6180) 2026-06-23 10:38:37 -07:00
claude-fetcher.ts Scope Claude Keychain lookup and disable PTY fallback for system auth (#6180) 2026-06-23 10:38:37 -07:00
claude-oauth-usage-error.ts Avoid Claude CLI fallback during rate-limit refresh (#4553) 2026-06-02 23:44:46 -07:00
claude-pty.test.ts fix: clear claude usage pty timers on exit (#4252) 2026-05-31 09:41:45 -07:00
claude-pty.ts fix: clear claude usage pty timers on exit (#4252) 2026-05-31 09:41:45 -07:00
claude-rate-limit-target.test.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
claude-rate-limit-target.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
claude-usage-error-classification.test.ts Improve Claude usage refresh fallback behavior (#5995) 2026-06-21 13:10:25 -07:00
claude-usage-error-classification.ts Improve Claude usage refresh fallback behavior (#5995) 2026-06-21 13:10:25 -07:00
claude-usage-refresh-plan.test.ts Improve Claude usage refresh fallback behavior (#5995) 2026-06-21 13:10:25 -07:00
claude-usage-refresh-plan.ts Improve Claude usage refresh fallback behavior (#5995) 2026-06-21 13:10:25 -07:00
codex-auth-presence.test.ts fix: don't spawn Codex in the background when signed out (#4593) 2026-06-03 20:10:51 -04:00
codex-auth-presence.ts fix: don't spawn Codex in the background when signed out (#4593) 2026-06-03 20:10:51 -04:00
codex-fetcher-auth-errors.test.ts fix: don't spawn Codex in the background when signed out (#4593) 2026-06-03 20:10:51 -04:00
codex-fetcher-pty-settle.test.ts fix: don't spawn Codex in the background when signed out (#4593) 2026-06-03 20:10:51 -04:00
codex-fetcher.test.ts Show Codex reset credit expiry (#5865) 2026-06-19 18:49:22 -07:00
codex-fetcher.ts Show Codex reset credit expiry (#5865) 2026-06-19 18:49:22 -07:00
codex-rate-limit-target.test.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
codex-rate-limit-target.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
gemini-bucket-formatting.test.ts
gemini-bucket-formatting.ts
gemini-cli-oauth-extractor.ts
gemini-oauth-sources.ts
gemini-usage-fetcher.fallback.test.ts
gemini-usage-fetcher.test-fixtures.ts chore: remove unused code 2026-05-30 11:05:58 -07:00
gemini-usage-fetcher.test.ts
gemini-usage-fetcher.ts
hidden-pty-cleanup.test.ts Avoid double-closing Windows ConPTY handles (#3359) 2026-05-29 19:17:34 -04:00
hidden-pty-cleanup.ts Avoid double-closing Windows ConPTY handles (#3359) 2026-05-29 19:17:34 -04:00
kimi-fetcher.test.ts Show Kimi Code subscription usage in the status bar (#4641) 2026-06-07 13:58:29 -04:00
kimi-fetcher.ts Show Kimi Code subscription usage in the status bar (#4641) 2026-06-07 13:58:29 -04:00
opencode-go-page-scraper.ts
opencode-go-usage-fetcher.test.ts
opencode-go-usage-fetcher.ts
project-runtime-rate-limit-target.ts Add project Windows runtime selection (#5519) 2026-06-17 16:08:14 -07:00
service.test.ts Scope Claude Keychain lookup and disable PTY fallback for system auth (#6180) 2026-06-23 10:38:37 -07:00
service.ts Scope Claude Keychain lookup and disable PTY fallback for system auth (#6180) 2026-06-23 10:38:37 -07:00