fix: prevent onboarding TUI auto-delivery (#791) (thanks @roshanasingh4)

This commit is contained in:
Peter Steinberger
2026-01-12 19:38:52 +00:00
parent 298c6eea1f
commit ddd4b55cf6
5 changed files with 79 additions and 6 deletions

View File

@@ -1,6 +1,9 @@
import { resolveGatewayPort, readConfigFileSnapshot } from "../config/config.js";
import { defaultRuntime } from "../runtime.js";
import {
readConfigFileSnapshot,
resolveGatewayPort,
} from "../config/config.js";
import type { RuntimeEnv } from "../runtime.js";
import { defaultRuntime } from "../runtime.js";
import {
copyToClipboard,
detectBrowserOpenSupport,
@@ -33,7 +36,9 @@ export async function dashboardCommand(
runtime.log(`Dashboard URL: ${authedUrl}`);
const copied = await copyToClipboard(authedUrl).catch(() => false);
runtime.log(copied ? "Copied to clipboard." : "Copy to clipboard unavailable.");
runtime.log(
copied ? "Copied to clipboard." : "Copy to clipboard unavailable.",
);
let opened = false;
let hint: string | undefined;