fix(onboard): preserve JSON errors when no terminal is available (#129437)

This commit is contained in:
Peter Steinberger
2026-08-25 16:31:09 -07:00
committed by GitHub
parent 7782e4af5c
commit 948ae80ae6
3 changed files with 12 additions and 4 deletions
+2
View File
@@ -369,6 +369,8 @@ Output: `--suppress-gateway-token-output` disables the automatic Control UI hand
<Note>
`--json` does not imply non-interactive mode in guided or classic onboarding.
Without an interactive terminal, both onboarding modes return a structured
JSON error; add `--non-interactive --accept-risk` for automation.
With `--modern`, JSON is a one-shot OpenClaw overview and exits after that
single result. Use `--non-interactive` for other scripts.
</Note>