Files
t3code/apps/server
Theo BrowneandClaude Fable 5 f68dc6c161 feat(web): first-run welcome wizard with agent setup and project import
New onboarding flow for fresh installs: choose how to connect (Local Only /
T3 Connect / Direct), verify Claude Code and Codex with live probe status and
an inline install terminal, then import existing projects discovered from
Claude/Codex home directories.

- FirstRunGate at the root holds back the entire authenticated tree until the
  first-run decision is known, so fresh installs see nothing before /welcome
  (no shell flash, no EventRouter thread navigation)
- New read-only agentSessions.scan RPC discovers project candidates from
  ~/.claude/projects and Codex session rollouts (cwd read from transcript
  first lines, never the lossy dir slug; T3-managed worktrees excluded;
  stat and read work both bounded)
- Import creates projects via existing project.create dispatch; default
  window is last 30 days, full checklist behind Choose
- onboardingCompletedAt client setting gates the wizard; installs that
  predate the field only qualify when the workspace is fresh

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 17:15:52 -07:00
..