diff --git a/apps/desktop/app/onboarding/page.tsx b/apps/desktop/app/onboarding/page.tsx index 5a168dc6..12657c34 100644 --- a/apps/desktop/app/onboarding/page.tsx +++ b/apps/desktop/app/onboarding/page.tsx @@ -10,7 +10,7 @@ import { ChevronLeft, FolderOpen, Loader2, - RefreshCcw, + Plus, X, } from "lucide-react" import { useRouter } from "next/navigation" @@ -292,20 +292,11 @@ function ToolsStep({ return (
- - Rescan - + meta={ + loading + ? "Scanning tools..." + : `${detectedCount} detected · ${connectedCount} connected` } /> @@ -504,98 +495,75 @@ function ToolCard({ return (
-
-
-
- -
+
+
+
-
-

- {tool.name} -

-

- {tool.description} -

-
- {tool.connected ? ( - - - Connected + {tool.id !== "codex" ? ( + + Pro - ) : ( - - )} + ) : null}
-
    - {tool.perks.map((perk) => ( -
  • - - {perk} -
  • - ))} -
+
+

+ {tool.name} +

+

+ {tool.tagline} +

+
-
-
-

- {tool.configPath} -

-

- {tool.detected - ? tool.version - ? `Detected ${tool.version}` - : "Detected on this Mac" - : "Not detected yet"} -

-
- +
+ +
) } -function SaveTargetChip({ label }: { label: string }) { +function ToolCardStatus({ tool }: { tool: DesktopToolCard }) { + if (tool.connected) { + return ( +
+ + Active +
+ ) + } + return ( -
- - Uses - - - {label} +
+ + {tool.detected ? "Detected" : "Not detected"}
) } @@ -661,24 +629,33 @@ function StepHeader({ meta, action, }: { - eyebrow: string + eyebrow?: string title: string - description: string + description?: string meta?: string action?: ReactNode }) { return (
-

- {eyebrow} -

-

+ {eyebrow ? ( +

+ {eyebrow} +

+ ) : null} +

{title}

-

- {description} -

+ {description ? ( +

+ {description} +

+ ) : null} {meta ?

{meta}

: null}
{action}