fix: remove configure control-ui prompt

This commit is contained in:
Peter Steinberger
2026-01-09 15:14:25 +01:00
parent adb3bc2577
commit fc7580ab5e
2 changed files with 1 additions and 38 deletions

View File

@@ -78,11 +78,8 @@ import {
import {
applyWizardMetadata,
DEFAULT_WORKSPACE,
detectBrowserOpenSupport,
ensureWorkspaceAndSessions,
formatControlUiSshHint,
guardCancel,
openUrl,
printWizardHeader,
probeGatewayReachable,
randomToken,
@@ -1142,41 +1139,6 @@ export async function runConfigureWizard(
"Control UI",
);
const browserSupport = await detectBrowserOpenSupport();
if (gatewayProbe.ok) {
if (!browserSupport.ok) {
note(
formatControlUiSshHint({
port: gatewayPort,
basePath: nextConfig.gateway?.controlUi?.basePath,
token: gatewayToken,
}),
"Open Control UI",
);
} else {
const wantsOpen = guardCancel(
await confirm({
message: "Open Control UI now?",
initialValue: false,
}),
runtime,
);
if (wantsOpen) {
const opened = await openUrl(links.httpUrl);
if (!opened) {
note(
formatControlUiSshHint({
port: gatewayPort,
basePath: nextConfig.gateway?.controlUi?.basePath,
token: gatewayToken,
}),
"Open Control UI",
);
}
}
}
}
outro("Configure complete.");
}