mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-02 08:19:59 +00:00
fix(cliproxy): add missing kiro/ghcp provider mappings in remote-auth-fetcher
Remote mode was silently skipping kiro and ghcp providers because PROVIDER_MAP and PROVIDER_DISPLAY_NAMES were incomplete. Added: - kiro, codewhisperer -> kiro - ghcp, github-copilot, copilot -> ghcp Fixes dashboard showing '0 providers' when using Remote Proxy.
This commit is contained in:
@@ -51,6 +51,11 @@ const PROVIDER_MAP: Record<string, string> = {
|
|||||||
codex: 'codex',
|
codex: 'codex',
|
||||||
qwen: 'qwen',
|
qwen: 'qwen',
|
||||||
iflow: 'iflow',
|
iflow: 'iflow',
|
||||||
|
kiro: 'kiro',
|
||||||
|
codewhisperer: 'kiro', // CLIProxyAPI may use 'codewhisperer' for Kiro
|
||||||
|
ghcp: 'ghcp',
|
||||||
|
'github-copilot': 'ghcp',
|
||||||
|
copilot: 'ghcp',
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Display names for providers */
|
/** Display names for providers */
|
||||||
@@ -60,6 +65,8 @@ const PROVIDER_DISPLAY_NAMES: Record<string, string> = {
|
|||||||
codex: 'Codex',
|
codex: 'Codex',
|
||||||
qwen: 'Qwen',
|
qwen: 'Qwen',
|
||||||
iflow: 'iFlow',
|
iflow: 'iFlow',
|
||||||
|
kiro: 'Kiro (AWS)',
|
||||||
|
ghcp: 'GitHub Copilot (OAuth)',
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user