mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-04 16:16:46 +00:00
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:
@@ -27,7 +27,7 @@ export const CLIPROXY_PROFILES = [
|
|||||||
'qwen',
|
'qwen',
|
||||||
'iflow',
|
'iflow',
|
||||||
'kiro',
|
'kiro',
|
||||||
'copilot',
|
'ghcp',
|
||||||
] as const;
|
] as const;
|
||||||
export type CLIProxyProfileName = (typeof CLIPROXY_PROFILES)[number];
|
export type CLIProxyProfileName = (typeof CLIPROXY_PROFILES)[number];
|
||||||
|
|
||||||
|
|||||||
@@ -115,9 +115,9 @@ export interface DownloadResult {
|
|||||||
* - qwen: Qwen Code via OAuth (qwen3-coder)
|
* - qwen: Qwen Code via OAuth (qwen3-coder)
|
||||||
* - iflow: iFlow via OAuth
|
* - iflow: iFlow via OAuth
|
||||||
* - kiro: Kiro (AWS CodeWhisperer) 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)
|
* CLIProxy config.yaml structure (minimal)
|
||||||
|
|||||||
Reference in New Issue
Block a user