From 7df74b170d54a66b91eec2e5895d871d47cab777 Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 11 Mar 2026 13:58:52 -0500 Subject: [PATCH] Show Claude Code and Codex as recommended, collapse other adapter types In the onboarding wizard step 2 ("Create your first agent"), Claude Code and Codex are now shown prominently as recommended options. Other adapter types (OpenCode, Pi, Cursor, OpenClaw Gateway) are hidden behind a collapsible "More Agent Adapter Types" toggle to reduce visual noise for new users. Co-Authored-By: Paperclip --- ui/src/components/OnboardingWizard.tsx | 157 ++++++++++++++++--------- 1 file changed, 99 insertions(+), 58 deletions(-) diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index 49addd6c..a2bcb709 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -101,6 +101,7 @@ export function OnboardingWizard() { const [forceUnsetAnthropicApiKey, setForceUnsetAnthropicApiKey] = useState(false); const [unsetAnthropicLoading, setUnsetAnthropicLoading] = useState(false); + const [showMoreAdapters, setShowMoreAdapters] = useState(false); // Step 3 const [taskTitle, setTaskTitle] = useState("Create your CEO HEARTBEAT.md"); @@ -669,87 +670,127 @@ export function OnboardingWizard() { icon: Code, desc: "Local Codex agent", recommended: true - }, - { - value: "gemini_local" as const, - label: "Gemini CLI", - icon: Gem, - desc: "Local Gemini agent" - }, - { - value: "opencode_local" as const, - label: "OpenCode", - icon: OpenCodeLogoIcon, - desc: "Local multi-provider agent" - }, - { - value: "pi_local" as const, - label: "Pi", - icon: Terminal, - desc: "Local Pi agent" - }, - { - value: "openclaw_gateway" as const, - label: "OpenClaw Gateway", - icon: Bot, - desc: "Invoke OpenClaw via gateway protocol", - comingSoon: true, - disabledLabel: "Configure OpenClaw within the App" - }, - { - value: "cursor" as const, - label: "Cursor", - icon: MousePointer2, - desc: "Local Cursor agent" } ].map((opt) => ( ))} + + + + {showMoreAdapters && ( +
+ {[ + { + value: "gemini_local" as const, + label: "Gemini CLI", + icon: Gem, + desc: "Local Gemini agent" + }, + { + value: "opencode_local" as const, + label: "OpenCode", + icon: OpenCodeLogoIcon, + desc: "Local multi-provider agent" + }, + { + value: "pi_local" as const, + label: "Pi", + icon: Terminal, + desc: "Local Pi agent" + }, + { + value: "cursor" as const, + label: "Cursor", + icon: MousePointer2, + desc: "Local Cursor agent" + }, + { + value: "openclaw_gateway" as const, + label: "OpenClaw Gateway", + icon: Bot, + desc: "Invoke OpenClaw via gateway protocol", + comingSoon: true, + disabledLabel: "Configure OpenClaw within the App" + } + ].map((opt) => ( + + ))} +
+ )} {/* Conditional adapter fields */}