From 481f696a873c5d36028b64d150497267109029d1 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 31 Jan 2026 08:02:42 +0100 Subject: [PATCH] chore: reorder auth provider list --- src/commands/auth-choice-options.ts | 96 ++++++++++++++--------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/src/commands/auth-choice-options.ts b/src/commands/auth-choice-options.ts index 534278a1f..94cde5749 100644 --- a/src/commands/auth-choice-options.ts +++ b/src/commands/auth-choice-options.ts @@ -54,12 +54,60 @@ const AUTH_CHOICE_GROUP_DEFS: { hint: "M2.1 (recommended)", choices: ["minimax-api", "minimax-api-lightning"], }, + { + value: "moonshot", + label: "Moonshot AI", + hint: "Kimi K2 + Kimi Coding", + choices: ["moonshot-api-key", "kimi-code-api-key"], + }, + { + value: "google", + label: "Google", + hint: "Gemini API key + OAuth", + choices: ["gemini-api-key", "google-antigravity", "google-gemini-cli"], + }, + { + value: "openrouter", + label: "OpenRouter", + hint: "API key", + choices: ["openrouter-api-key"], + }, { value: "qwen", label: "Qwen", hint: "OAuth", choices: ["qwen-portal"], }, + { + value: "zai", + label: "Z.AI (GLM 4.7)", + hint: "API key", + choices: ["zai-api-key"], + }, + { + value: "copilot", + label: "Copilot", + hint: "GitHub + local proxy", + choices: ["github-copilot", "copilot-proxy"], + }, + { + value: "ai-gateway", + label: "Vercel AI Gateway", + hint: "API key", + choices: ["ai-gateway-api-key"], + }, + { + value: "opencode-zen", + label: "OpenCode Zen", + hint: "API key", + choices: ["opencode-zen"], + }, + { + value: "xiaomi", + label: "Xiaomi", + hint: "API key", + choices: ["xiaomi-api-key"], + }, { value: "synthetic", label: "Synthetic", @@ -72,54 +120,6 @@ const AUTH_CHOICE_GROUP_DEFS: { hint: "Privacy-focused (uncensored models)", choices: ["venice-api-key"], }, - { - value: "google", - label: "Google", - hint: "Gemini API key + OAuth", - choices: ["gemini-api-key", "google-antigravity", "google-gemini-cli"], - }, - { - value: "copilot", - label: "Copilot", - hint: "GitHub + local proxy", - choices: ["github-copilot", "copilot-proxy"], - }, - { - value: "openrouter", - label: "OpenRouter", - hint: "API key", - choices: ["openrouter-api-key"], - }, - { - value: "ai-gateway", - label: "Vercel AI Gateway", - hint: "API key", - choices: ["ai-gateway-api-key"], - }, - { - value: "moonshot", - label: "Moonshot AI", - hint: "Kimi K2 + Kimi Coding", - choices: ["moonshot-api-key", "kimi-code-api-key"], - }, - { - value: "zai", - label: "Z.AI (GLM 4.7)", - hint: "API key", - choices: ["zai-api-key"], - }, - { - value: "xiaomi", - label: "Xiaomi", - hint: "API key", - choices: ["xiaomi-api-key"], - }, - { - value: "opencode-zen", - label: "OpenCode Zen", - hint: "API key", - choices: ["opencode-zen"], - }, ]; export function buildAuthChoiceOptions(params: {