Repository navigation
v1.15.0
Fix: Stale File Cache Override
Fixes "Authentication Required" errors when the keychain has a valid token but file-based credentials are stale.
What Changed
- Credential priority now prefers keychain over file sources on macOS
- The keychain is the authoritative source (updated by Claude CLI on token refresh)
- File-based sources remain as fallbacks for Linux or when keychain access is denied
New Priority Order
- Environment variable
- Memory cache
- App keychain cache
- Claude's keychain ← moved up
- App file cache (fallback)
- File credentials (fallback)
Upgrade Notes
Existing users: If you had stale cached tokens, the first request may return 401, but the retry will automatically fetch the valid keychain token. No manual intervention needed.