Repository navigation
feat(desktop): onboarding connects AI tools over live MCP via the shared connect sheet - #10208
Conversation
…anguage flags, trimmed sources
… shared connect sheet Replace the onboarding-only inline export panel (copy-paste memory packs) with the same end-to-end connect flow the main app uses: rows mirror the home 'Use omi memory anywhere' stack (Notion, Obsidian, Claude / Claude Code, ChatGPT / Codex, OpenClaw, Hermes, + More) and Connect presents the shared ConnectDestinationSheet — grouped picker for Claude/Claude Code and ChatGPT/Codex, full MemoryExportDestinationSheet (execute-with-Omi, key generation, manual fallback, memory pack) for the rest. Verification: built and exercised in named bundle omi-v6 — onboarding exports step renders the mirrored row list with live connection status (Claude Code showed 'Connected — live memory' from seeded state); clicking Connect on Claude / Claude Code opened the grouped sheet with both option cards and manual fallback; sheet dismisses cleanly. Fresh ChatGPT OAuth round-trip not re-run (would touch a real browser account); it is the unchanged main-app code path.
|
Related: #10205 (connect-flow upgrades). Complementary, no overlapping files — this PR rewires onboarding to present the shared ConnectDestinationSheet, #10205 upgrades that sheet's internals (its public init and grouping are unchanged). Verified both merge cleanly onto current main together in either order (no conflicts) and the combined tree builds ( |
undivisible
left a comment
There was a problem hiding this comment.
Approve
Onboarding stopped reimplementing connect in a ~220-line side quest and now opens the same sheet the rest of the app trusts. That’s the whole PR, and it’s the right whole PR. Live status subtitles match home. Merge after #10205 so Notion on the happy path is live, not a memory-pack throwback.
What
The onboarding "Use Omi memory where you work" step now connects AI tools over the live MCP integration instead of copy-paste memory packs, using the exact same end-to-end connect flow as the main app.
ConnectDestinationSheet: grouped two-option picker for Claude / Claude Code and ChatGPT / Codex, fullMemoryExportDestinationSheet(execute-with-Omi, MCP key generation, manual fallback, memory pack) for the rest. The onboarding-only inline export panel (~220 lines) is deleted — no duplicated connect logic remains.isMCPDestinationConnected).Also includes one commit of onboarding step layout polish from the live user-interview rounds (centered chip steps, language flags, trimmed "how did you hear" sources).
Verification
xcrun swift build -c debug --package-path Desktop— clean.omi-v6(OMI_APP_NAME=omi-v6 ./run.sh --yolo): onboarding exports step renders the mirrored row list with live status (Claude Code showed "Connected — live memory" from seeded state); clicking Connect on Claude / Claude Code opened the grouped sheet ("Connect Claude — Pick how to connect.") with the Claude Code card showing "Setup complete" and the Claude (cloud) card with the MCP connect plus manual-installation fallback; sheet dismisses cleanly and returns to the step.make preflightrun on the qualification machine.Product invariants
none (per
scripts/pr-preflight --suggest)