feat: improve onboarding auth prompts
This commit is contained in:
@@ -47,6 +47,12 @@ const AUTH_CHOICE_GROUP_DEFS: {
|
||||
hint: "Claude CLI + API key",
|
||||
choices: ["claude-cli", "setup-token", "token", "apiKey"],
|
||||
},
|
||||
{
|
||||
value: "minimax",
|
||||
label: "MiniMax",
|
||||
hint: "M2.1 (recommended)",
|
||||
choices: ["minimax-api", "minimax-api-lightning"],
|
||||
},
|
||||
{
|
||||
value: "google",
|
||||
label: "Google",
|
||||
@@ -77,12 +83,6 @@ const AUTH_CHOICE_GROUP_DEFS: {
|
||||
hint: "API key",
|
||||
choices: ["opencode-zen"],
|
||||
},
|
||||
{
|
||||
value: "minimax",
|
||||
label: "MiniMax",
|
||||
hint: "M2.1 (recommended)",
|
||||
choices: ["minimax-api"],
|
||||
},
|
||||
];
|
||||
|
||||
function formatOAuthHint(
|
||||
@@ -181,6 +181,11 @@ export function buildAuthChoiceOptions(params: {
|
||||
hint: "Claude, GPT, Gemini via opencode.ai/zen",
|
||||
});
|
||||
options.push({ value: "minimax-api", label: "MiniMax M2.1" });
|
||||
options.push({
|
||||
value: "minimax-api-lightning",
|
||||
label: "MiniMax M2.1 Lightning",
|
||||
hint: "Faster, lower cost",
|
||||
});
|
||||
if (params.includeSkip) {
|
||||
options.push({ value: "skip", label: "Skip for now" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user