Skip to content

Commit bbd5a18

Browse files
committed
fix(setup): point non-interactive health hints at onboard flags
The recovery hint printed by setup --non-interactive referenced --install-daemon and --skip-health, which are only registered on openclaw onboard. Update the message to reference openclaw onboard --install-daemon and openclaw onboard --skip-health. Fixes #93947
1 parent e2fa4f3 commit bbd5a18

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/commands/onboard-non-interactive.gateway.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ describe("onboard (non-interactive): gateway and remote auth", () => {
783783
runtime,
784784
),
785785
).rejects.toThrow(
786-
/only waits for an already-running gateway unless you pass --install-daemon[\s\S]*--skip-health/,
786+
/only waits for an already-running gateway unless you pass `--install-daemon` to `openclaw onboard`[\s\S]*openclaw onboard --install-daemon[\s\S]*openclaw onboard --skip-health/,
787787
);
788788
});
789789
}, 60_000);

‎src/commands/onboard-non-interactive/local.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ export async function runNonInteractiveLocalSetup(params: {
342342
diagnostics,
343343
hints: !opts.installDaemon
344344
? [
345-
"Non-interactive local setup only waits for an already-running gateway unless you pass --install-daemon.",
346-
`Fix: start \`${formatCliCommand("openclaw gateway run")}\`, re-run with \`--install-daemon\`, or use \`--skip-health\`.`,
345+
"Non-interactive local setup only waits for an already-running gateway unless you pass `--install-daemon` to `openclaw onboard`.",
346+
`Fix: start \`${formatCliCommand("openclaw gateway run")}\`, re-run \`${formatCliCommand("openclaw onboard --install-daemon")}\`, or use \`${formatCliCommand("openclaw onboard --skip-health")}\`.`,
347347
process.platform === "win32"
348348
? "Native Windows managed gateway install tries Scheduled Tasks first and falls back to a per-user Startup-folder login item when task creation is denied."
349349
: undefined,

0 commit comments

Comments
 (0)