feat(ui): add kiro and ghcp to wizard, auth flow, and settings

- update PROVIDERS in wizard constants with ghcp

- add AUTH_ENDPOINTS for qwen, iflow, kiro, ghcp

- update globalenv description text
This commit is contained in:
kaitranntt
2025-12-22 00:48:10 -05:00
parent 099b712d4a
commit 92215457f0
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export const PROVIDERS: ProviderOption[] = [
{ id: 'qwen', name: 'Alibaba Qwen', description: 'Qwen Code models' },
{ id: 'iflow', name: 'iFlow', description: 'iFlow AI models' },
{ id: 'kiro', name: 'Kiro (AWS)', description: 'AWS CodeWhisperer models' },
{ id: 'copilot', name: 'GitHub Copilot', description: 'GitHub Copilot models' },
{ id: 'ghcp', name: 'GitHub Copilot (OAuth)', description: 'GitHub Copilot via OAuth' },
];
export const ALL_STEPS = ['provider', 'auth', 'variant', 'success'];
+4
View File
@@ -18,6 +18,10 @@ const AUTH_ENDPOINTS: Record<string, string> = {
gemini: '/gemini-cli-auth-url',
codex: '/codex-auth-url',
agy: '/antigravity-auth-url',
qwen: '/qwen-auth-url',
iflow: '/iflow-auth-url',
kiro: '/kiro-auth-url',
ghcp: '/ghcp-auth-url',
};
const AUTH_TIMEOUT_MS = 300000; // 5 minutes
@@ -81,7 +81,7 @@ export default function GlobalEnvSection() {
<div className="p-5 space-y-6">
<p className="text-sm text-muted-foreground">
Environment variables injected into all non-Claude subscription profiles (gemini, codex,
agy, copilot, etc.)
agy, ghcp, etc.)
</p>
{/* Enable/Disable Toggle */}