Skip to content

feat: add setup wizard with pairing-aware connection test - #201

Merged
shanselman merged 1 commit into
masterfrom
feat/setup-wizard
Apr 23, 2026
Merged

shanselman merged 1 commit into
masterfrom
feat/setup-wizard

Conversation

@shanselman

Copy link
Copy Markdown
Collaborator

3-step onboarding wizard for new users and re-configuration.

Step 1 — Connect: Paste setup code (auto-decodes URL+token) or manual entry. Connection test understands 'pairing required' as success with actionable approve instructions.

Step 2 — Node Mode: Optional toggle with device ID display and copy-paste approve command.

Step 3 — Done: Saves settings, reconnects with correct either/or pattern (node OR operator, never both).

Also: Setup Guide menu item, openclaw://setup deep link, empty token guard on node service startup.

Dual-model reviewed (Opus + Codex) — fixed dual connection bug, client leak, and stale test state.

Addresses #199

Add SetupWizardWindow with 3-step onboarding flow:
- Step 1: Paste setup code (auto-decodes URL+token) or manual entry
  with connection test that understands pairing-required as success
- Step 2: Optional node mode with device ID and approve instructions
- Step 3: Done - saves settings and reconnects

Integration:
- Replace WelcomeDialog with wizard on first run (empty token)
- Add Setup Guide menu item to tray menu
- Add openclaw://setup deep link
- Guard node service against empty token (no crash)
- Contextual error messages for token mismatch, origin rejection,
  rate limiting, and pairing required

Addresses #199
@shanselman
shanselman merged commit f235f3f into master Apr 23, 2026
15 checks passed
@shanselman
shanselman deleted the feat/setup-wizard branch April 23, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant