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:
kaitranntt
2026-01-02 20:42:14 -05:00
parent b549bb433c
commit dea0e872bd
+7
View File
@@ -51,6 +51,11 @@ const PROVIDER_MAP: Record<string, string> = {
codex: 'codex',
qwen: 'qwen',
iflow: 'iflow',
kiro: 'kiro',
codewhisperer: 'kiro', // CLIProxyAPI may use 'codewhisperer' for Kiro
ghcp: 'ghcp',
'github-copilot': 'ghcp',
copilot: 'ghcp',
};
/** Display names for providers */
@@ -60,6 +65,8 @@ const PROVIDER_DISPLAY_NAMES: Record<string, string> = {
codex: 'Codex',
qwen: 'Qwen',
iflow: 'iFlow',
kiro: 'Kiro (AWS)',
ghcp: 'GitHub Copilot (OAuth)',
};
/**