From 5e414ff4dfc4dcac8eb16f9ac5e9bfd8b2fda053 Mon Sep 17 00:00:00 2001 From: Lucas Stellet Date: Fri, 20 Mar 2026 18:57:17 -0300 Subject: [PATCH] fix: add pi_local to isLocalAdapter and ENABLED_INVITE_ADAPTERS guards Co-Authored-By: Claude Opus 4.6 (1M context) --- ui/src/components/OnboardingWizard.tsx | 1 + ui/src/pages/InviteLanding.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index 6d094971..2ecfd3cf 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -195,6 +195,7 @@ export function OnboardingWizard() { adapterType === "codex_local" || adapterType === "gemini_local" || adapterType === "opencode_local" || + adapterType === "pi_local" || adapterType === "cursor"; const effectiveAdapterCommand = command.trim() || diff --git a/ui/src/pages/InviteLanding.tsx b/ui/src/pages/InviteLanding.tsx index 571cf739..41b339c9 100644 --- a/ui/src/pages/InviteLanding.tsx +++ b/ui/src/pages/InviteLanding.tsx @@ -23,7 +23,7 @@ const adapterLabels: Record = { http: "HTTP", }; -const ENABLED_INVITE_ADAPTERS = new Set(["claude_local", "codex_local", "gemini_local", "opencode_local", "cursor"]); +const ENABLED_INVITE_ADAPTERS = new Set(["claude_local", "codex_local", "gemini_local", "opencode_local", "pi_local", "cursor"]); function dateTime(value: string) { return new Date(value).toLocaleString();