fix: native command arg menus follow-ups (#936) (thanks @thewilloftheshadow)

This commit is contained in:
Peter Steinberger
2026-01-15 09:23:21 +00:00
parent 74bc5bfd7c
commit 52f876bfbc
8 changed files with 246 additions and 15 deletions

View File

@@ -362,9 +362,11 @@ export async function runConfigureWizard(
basePath: undefined,
});
const remoteUrl = nextConfig.gateway?.remote?.url?.trim();
const wsUrl = nextConfig.gateway?.mode === "remote" && remoteUrl ? remoteUrl : localLinks.wsUrl;
const wsUrl =
nextConfig.gateway?.mode === "remote" && remoteUrl ? remoteUrl : localLinks.wsUrl;
const token = nextConfig.gateway?.auth?.token ?? process.env.CLAWDBOT_GATEWAY_TOKEN;
const password = nextConfig.gateway?.auth?.password ?? process.env.CLAWDBOT_GATEWAY_PASSWORD;
const password =
nextConfig.gateway?.auth?.password ?? process.env.CLAWDBOT_GATEWAY_PASSWORD;
await waitForGatewayReachable({
url: wsUrl,
token,