Skip to content

feat: redesign onboarding — auto-detect runtimes, remove install step#547

Merged
0xNyk merged 1 commit intomainfrom
feat/onboarding-redesign
Apr 3, 2026
Merged

feat: redesign onboarding — auto-detect runtimes, remove install step#547
0xNyk merged 1 commit intomainfrom
feat/onboarding-redesign

Conversation

@0xNyk
Copy link
Copy Markdown
Member

@0xNyk 0xNyk commented Apr 2, 2026

Summary

Redesigns the onboarding wizard based on research into how other agent orchestration tools handle setup (Dify, CrewAI, AutoGen, Paperclip, LangSmith, etc.). The dominant pattern is "auto-detect and go" — not "install 4 runtimes from a wizard."

Before: 4-5 step wizard with a full runtime installation step (592-line component with inline Hermes config, OAuth device code flow, 2x2 grid of install cards)

After: 3-4 step wizard that auto-detects installed runtimes and shows status. Runtime management moves exclusively to Settings.

What changed

  • Welcome step: Now shows auto-detected runtime status list (name, version, auth status) instead of mode selection cards
  • Agent Runtimes step: Removed from wizard entirely (-592 lines)
  • Step count: 4→3 (local), 5→4 (gateway)
  • Step definitions: API route now imports from shared onboarding-flow.ts (was duplicated)
  • Empty state launchpad: Enhanced with version/auth details and "Install more runtimes" link
  • Runtime detection fixes: Searches ~/.local/bin, ~/Library/pnpm; hermes uses --help probe; codex checks OPENAI_API_KEY

Net diff: +304/-712 (408 lines removed)

No migration needed — parseCompletedSteps silently drops the removed step ID.

Test plan

  • pnpm typecheck — passes (pre-existing errors only)
  • pnpm test — 892/892 pass, 74/74 files
  • Manual: Fresh onboarding shows 3 steps, Welcome displays runtime status
  • Manual: Runtimes with auth show green, without show amber, uninstalled show dim
  • Manual: "Go to Settings" link works when no runtimes installed
  • Manual: Settings > Agent Runtimes still works unchanged
  • Manual: Empty dashboard launchpad shows enhanced runtime info

Replace the 4-card runtime installation step with auto-detection in
the Welcome screen. Runtimes are now detected and displayed as a
status list (installed/authenticated/not installed) without requiring
users to install anything during onboarding. Runtime management
moves exclusively to Settings > Agent Runtimes.

Changes:
- Remove agent-runtimes from onboarding wizard steps (4→3 local, 5→4 gateway)
- Redesign StepWelcome with runtime status list + live system status chips
- Delete step-agent-runtimes.tsx (592 lines) — Settings handles this now
- Consolidate step definitions: API route imports from onboarding-flow.ts
- Enhance empty-state-launchpad with version/auth details per runtime
- Add i18n keys for runtime status labels (10 locales)
- Fix runtime detection: search ~/.local/bin, ~/Library/pnpm, hermes --help
- Fix Codex auth detection via OPENAI_API_KEY env var
- Fix version string cleanup for LACP-wrapped binaries

No migration needed — existing completed_steps arrays silently drop
the removed step ID via parseCompletedSteps validation.
@github-actions github-actions bot added the screenshot-drift UI changed — README screenshots may need updating label Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

📸 Screenshot Drift Check

This PR modifies UI source files. Please verify whether the README screenshots need refreshing:

  • docs/mission-control-overview.png — main dashboard
  • docs/mission-control-agents.png — agents panel
  • docs/mission-control-memory-graph.png — memory graph
Changed UI files
src/app/api/onboarding/route.ts
src/components/dashboard/empty-state-launchpad.tsx
src/components/onboarding/onboarding-wizard.tsx
src/components/onboarding/step-agent-runtimes.tsx

See docs/SCREENSHOT-GUIDE.md for instructions on capturing and optimising screenshots.

This comment is posted automatically and can be dismissed if no visual changes occurred.

@0xNyk 0xNyk merged commit e8023d3 into main Apr 3, 2026
2 checks passed
@0xNyk 0xNyk deleted the feat/onboarding-redesign branch April 3, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

screenshot-drift UI changed — README screenshots may need updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant