refactor(oauth): rename credentials/ to oauth/ for clarity

Separate OAuth credential reading (external CLI tools) from the main
CredentialManager (API Key configuration in credentials.json5).

- credentials.ts: API Key configuration management
- oauth/: External OAuth credential reading (Claude Code, Codex)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jiang Bohan 2026-02-02 16:52:04 +08:00
parent 307b381e6c
commit da11e65d35
5 changed files with 8 additions and 8 deletions

View file

@ -17,7 +17,7 @@ import {
getCurrentProvider,
getLoginInstructions,
type ProviderInfo,
} from "../../credentials/providers.js";
} from "../../oauth/providers.js";
type ChatOptions = {
profile?: string;