Repository navigation
feat: add setup wizard with pairing-aware connection test - #201
Merged
Merged
Conversation
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
12 tasks
6 of 16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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