diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index a2bcb709..376f78ef 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -940,9 +940,14 @@ export function OnboardingWizard() { )} - {adapterEnvResult && ( + {adapterEnvResult && adapterEnvResult.status === "pass" ? ( +
Manual debug
-- {adapterType === "cursor" - ? `${effectiveAdapterCommand} -p --mode ask --output-format json \"Respond with hello.\"` - : adapterType === "codex_local" - ? `${effectiveAdapterCommand} exec --json -` - : adapterType === "gemini_local" - ? `${effectiveAdapterCommand} --output-format json \"Respond with hello.\"` - : adapterType === "opencode_local" - ? `${effectiveAdapterCommand} run --format json "Respond with hello."` - : `${effectiveAdapterCommand} --print - --output-format stream-json --verbose`} -
-- Prompt:{" "} - Respond with hello. -
- {adapterType === "cursor" || adapterType === "codex_local" || adapterType === "gemini_local" || adapterType === "opencode_local" ? ( + {adapterEnvResult && adapterEnvResult.status === "fail" && ( +Manual debug
++ {adapterType === "cursor" + ? `${effectiveAdapterCommand} -p --mode ask --output-format json \"Respond with hello.\"` + : adapterType === "codex_local" + ? `${effectiveAdapterCommand} exec --json -` + : adapterType === "gemini_local" + ? `${effectiveAdapterCommand} --output-format json "Respond with hello."` + : adapterType === "opencode_local" + ? `${effectiveAdapterCommand} run --format json "Respond with hello."` + : `${effectiveAdapterCommand} --print - --output-format stream-json --verbose`} +
- If auth fails, set{" "} - - {adapterType === "cursor" - ? "CURSOR_API_KEY" - : adapterType === "gemini_local" - ? "GEMINI_API_KEY" - : "OPENAI_API_KEY"} - {" "} - in - env or run{" "} - - {adapterType === "cursor" - ? "agent login" - : adapterType === "codex_local" - ? "codex login" + Prompt:{" "} + Respond with hello. +
+ {adapterType === "cursor" || + adapterType === "codex_local" || + adapterType === "gemini_local" || + adapterType === "opencode_local" ? ( ++ If auth fails, set{" "} + + {adapterType === "cursor" + ? "CURSOR_API_KEY" : adapterType === "gemini_local" - ? "gemini auth" - : "opencode auth login"} - . -
- ) : ( -- If login is required, run{" "} - claude login and - retry. -
- )} -+ If login is required, run{" "} + claude login and + retry. +
+ )} +