fix: add pi_local to isLocalAdapter and ENABLED_INVITE_ADAPTERS guards

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lucas Stellet
2026-03-20 18:57:17 -03:00
parent a46dc4634b
commit 5e414ff4df
2 changed files with 2 additions and 1 deletions

View File

@@ -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() ||

View File

@@ -23,7 +23,7 @@ const adapterLabels: Record<string, string> = {
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();