Onboarding: drop completion prompt

This commit is contained in:
Shakker
2026-02-03 08:37:40 +00:00
parent 9950440cf6
commit 981de05181

View File

@@ -10,7 +10,6 @@ import type { QuickstartGatewayDefaults, WizardFlow } from "./onboarding.types.j
import { ensureAuthProfileStore } from "../agents/auth-profiles.js";
import { listChannelPlugins } from "../channels/plugins/index.js";
import { formatCliCommand } from "../cli/command-format.js";
import { installCompletion } from "../cli/completion-cli.js";
import { promptAuthChoiceGrouped } from "../commands/auth-choice-prompt.js";
import {
applyAuthChoice,
@@ -468,16 +467,4 @@ export async function runOnboardingWizard(
if (launchedTui) {
return;
}
const installShell = await prompter.confirm({
message: "Install shell completion script?",
initialValue: true,
});
if (installShell) {
const shell = process.env.SHELL?.split("/").pop() || "zsh";
// We pass 'yes=true' to skip any double-confirmation inside the helper,
// as the wizard prompt above serves as confirmation.
await installCompletion(shell, true);
}
}