feat(openclaw): use openclaw onboard --non-interactive instead of manual config JSON (#2655)

Replace the manual config JSON construction + download-merge-upload flow
with `openclaw onboard --non-interactive`, which creates a properly
structured config with auth profiles, provider setup, gateway config,
and workspace. Follow up with `openclaw config set` for browser and
Telegram settings.

This fixes the broken dashboard channel setup caused by bypassing
OpenClaw's credential/auth profile system. Removes the gateway auth
re-assertion hack that was needed due to field-dropping during
config set cycles on manually-written JSON.

Includes a fallback path that writes minimal JSON if onboard fails.

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
A 2026-03-15 10:44:37 -07:00 committed by GitHub
parent 8d3d7e4619
commit 6cf748e1b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 68 additions and 77 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "0.18.7",
"version": "0.18.8",
"type": "module",
"bin": {
"spawn": "cli.js"