Skip to content

feat(desktop): onboarding connects AI tools over live MCP via the shared connect sheet - #10208

Merged
skanderkaroui merged 3 commits into
mainfrom
feat/onboarding-mcp-connect
Jul 21, 2026
Merged

skanderkaroui merged 3 commits into
mainfrom
feat/onboarding-mcp-connect

Conversation

@skanderkaroui

@skanderkaroui skanderkaroui commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Rows mirror the home "Use omi memory anywhere" stack: Notion, Obsidian, Claude / Claude Code, ChatGPT / Codex, OpenClaw, Hermes, plus a More toggle revealing Claude (cloud), Codex, Gemini, and AI Agents.
  • Connect presents the shared ConnectDestinationSheet: grouped two-option picker for Claude / Claude Code and ChatGPT / Codex, full MemoryExportDestinationSheet (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.
  • Row subtitles show live connection state ("Live connection" / "Connected — live memory"), with grouped rows connected when any group member is (same rule as the dashboard's 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.
  • Built and exercised in named bundle 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.
  • Not re-run: a fresh ChatGPT OAuth browser round-trip (touches a real account); it is the unchanged main-app code path.
  • make preflight run on the qualification machine.

Product invariants

none (per scripts/pr-preflight --suggest)

Review in cubic

… 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.
@skanderkaroui

Copy link
Copy Markdown
Contributor Author

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 (xcrun swift build). Once both land, onboarding automatically inherits the #10205 improvements.

@undivisible undivisible left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@skanderkaroui
skanderkaroui merged commit 928b396 into main Jul 21, 2026
25 of 26 checks passed
@skanderkaroui
skanderkaroui deleted the feat/onboarding-mcp-connect branch July 21, 2026 17:12
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.

2 participants