feat(cliproxy): add kiro and ghcp providers to CLIProxyProvider type

- extend CLIProxyProvider union with 'kiro' and 'ghcp'

- add both to CLIPROXY_PROFILES array
This commit is contained in:
kaitranntt
2025-12-22 00:44:03 -05:00
parent af92bc30bf
commit 036714c774
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export const CLIPROXY_PROFILES = [
'qwen',
'iflow',
'kiro',
'copilot',
'ghcp',
] as const;
export type CLIProxyProfileName = (typeof CLIPROXY_PROFILES)[number];
+2 -2
View File
@@ -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)