mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 00:14:15 +00:00
refactor(cliproxy): reorder providers - Antigravity first, then Claude
This commit is contained in:
1 parent
d2129957d7
commit
b385ab131d
2 files changed
+4
-4
No files matched your search
@@ -146,14 +146,14 @@ export function getAuthStatus(provider: CLIProxyProvider): AuthStatus {
|
|||||||
*/
|
*/
|
||||||
export function getAllAuthStatus(): AuthStatus[] {
|
export function getAllAuthStatus(): AuthStatus[] {
|
||||||
const providers: CLIProxyProvider[] = [
|
const providers: CLIProxyProvider[] = [
|
||||||
|
'agy',
|
||||||
|
'claude',
|
||||||
'gemini',
|
'gemini',
|
||||||
'codex',
|
'codex',
|
||||||
'agy',
|
|
||||||
'qwen',
|
'qwen',
|
||||||
'iflow',
|
'iflow',
|
||||||
'kiro',
|
'kiro',
|
||||||
'ghcp',
|
'ghcp',
|
||||||
'claude',
|
|
||||||
];
|
];
|
||||||
return providers.map(getAuthStatus);
|
return providers.map(getAuthStatus);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,14 +5,14 @@
|
|||||||
import type { ProviderOption } from './types';
|
import type { ProviderOption } from './types';
|
||||||
|
|
||||||
export const PROVIDERS: ProviderOption[] = [
|
export const PROVIDERS: ProviderOption[] = [
|
||||||
|
{ id: 'agy', name: 'Antigravity', description: 'Antigravity AI models' },
|
||||||
|
{ id: 'claude', name: 'Claude (Anthropic)', description: 'Claude Opus/Sonnet models' },
|
||||||
{ id: 'gemini', name: 'Google Gemini', description: 'Gemini Pro/Flash models' },
|
{ id: 'gemini', name: 'Google Gemini', description: 'Gemini Pro/Flash models' },
|
||||||
{ id: 'codex', name: 'OpenAI Codex', description: 'GPT-4 and codex models' },
|
{ id: 'codex', name: 'OpenAI Codex', description: 'GPT-4 and codex models' },
|
||||||
{ id: 'agy', name: 'Antigravity', description: 'Antigravity AI models' },
|
|
||||||
{ id: 'qwen', name: 'Alibaba Qwen', description: 'Qwen Code models' },
|
{ id: 'qwen', name: 'Alibaba Qwen', description: 'Qwen Code models' },
|
||||||
{ id: 'iflow', name: 'iFlow', description: 'iFlow AI models' },
|
{ id: 'iflow', name: 'iFlow', description: 'iFlow AI models' },
|
||||||
{ id: 'kiro', name: 'Kiro (AWS)', description: 'AWS CodeWhisperer models' },
|
{ id: 'kiro', name: 'Kiro (AWS)', description: 'AWS CodeWhisperer models' },
|
||||||
{ id: 'ghcp', name: 'GitHub Copilot (OAuth)', description: 'GitHub Copilot via OAuth' },
|
{ id: 'ghcp', name: 'GitHub Copilot (OAuth)', description: 'GitHub Copilot via OAuth' },
|
||||||
{ id: 'claude', name: 'Claude (Anthropic)', description: 'Claude Opus/Sonnet models' },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const ALL_STEPS = ['provider', 'auth', 'variant', 'success'];
|
export const ALL_STEPS = ['provider', 'auth', 'variant', 'success'];
|
||||||
|
|||||||
Reference in new issue
Block a user