From dea0e872bd529b2c6f825dc1d9e901d0896b7f41 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Fri, 2 Jan 2026 20:42:14 -0500 Subject: [PATCH] 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. --- src/cliproxy/remote-auth-fetcher.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cliproxy/remote-auth-fetcher.ts b/src/cliproxy/remote-auth-fetcher.ts index 5acaba86..358ee42a 100644 --- a/src/cliproxy/remote-auth-fetcher.ts +++ b/src/cliproxy/remote-auth-fetcher.ts @@ -51,6 +51,11 @@ const PROVIDER_MAP: Record = { 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 = { codex: 'Codex', qwen: 'Qwen', iflow: 'iFlow', + kiro: 'Kiro (AWS)', + ghcp: 'GitHub Copilot (OAuth)', }; /**