mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
fix(onboard): preserve JSON errors when no terminal is available (#129437)
This commit is contained in:
committed by
GitHub
parent
7782e4af5c
commit
948ae80ae6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user