From e0947d15cfcdbda09921ad8f2097d04ba973ef73 Mon Sep 17 00:00:00 2001 From: Clay Delk Date: Tue, 1 Sep 2026 16:49:22 -0400 Subject: [PATCH] refactor(onboarding): clarify AI connection flow Signed-off-by: Clay Delk --- .../onboarding/ui/HarnessConnectionStep.tsx | 59 +++++++++++++------ 1 file changed, 41 insertions(+), 18 deletions(-) diff --git a/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx b/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx index 82fea829de..e3634ad5f5 100644 --- a/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx +++ b/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx @@ -161,7 +161,7 @@ export function HarnessConnectionList({ (previousOption === undefined || installedIds.has(previousOption.runtime.id)); const label = getRuntimeDisplayLabel(runtime); - const isEasiestApiOption = + const isRecommendedBuzzOption = method === "api" && runtime.id === "buzz-agent"; const rowClassName = "group flex min-h-14 w-full items-center gap-3 rounded-xl px-2 py-2 text-left text-sm font-medium text-foreground transition-colors duration-150 ease-out hover:bg-foreground/[0.04] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-foreground/20 motion-reduce:transition-none"; @@ -172,7 +172,7 @@ export function HarnessConnectionList({ {label} - {isEasiestApiOption ? ( + {isRecommendedBuzzOption ? ( <>