diff --git a/src/auth/profile-detector.ts b/src/auth/profile-detector.ts index 7016a0ae..014d5407 100644 --- a/src/auth/profile-detector.ts +++ b/src/auth/profile-detector.ts @@ -27,7 +27,7 @@ export const CLIPROXY_PROFILES = [ 'qwen', 'iflow', 'kiro', - 'copilot', + 'ghcp', ] as const; export type CLIProxyProfileName = (typeof CLIPROXY_PROFILES)[number]; diff --git a/src/cliproxy/types.ts b/src/cliproxy/types.ts index b6cb745a..b501fa71 100644 --- a/src/cliproxy/types.ts +++ b/src/cliproxy/types.ts @@ -115,9 +115,9 @@ export interface DownloadResult { * - qwen: Qwen Code via OAuth (qwen3-coder) * - iflow: iFlow via OAuth * - kiro: Kiro (AWS CodeWhisperer) via OAuth - * - copilot: GitHub Copilot via Device Code + * - ghcp: GitHub Copilot via Device Code (OAuth through CLIProxyAPIPlus) */ -export type CLIProxyProvider = 'gemini' | 'codex' | 'agy' | 'qwen' | 'iflow' | 'kiro' | 'copilot'; +export type CLIProxyProvider = 'gemini' | 'codex' | 'agy' | 'qwen' | 'iflow' | 'kiro' | 'ghcp'; /** * CLIProxy config.yaml structure (minimal)