Merge pull request #1382 from lucas-stellet/fix/pi-local-missing-from-isLocal

fix: add pi_local to remaining isLocal guards in UI
This commit is contained in:
Dotta
2026-03-23 15:06:20 -05:00
committed by GitHub
2 changed files with 5 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() ||
@@ -202,6 +203,8 @@ export function OnboardingWizard() {
? "codex"
: adapterType === "gemini_local"
? "gemini"
: adapterType === "pi_local"
? "pi"
: adapterType === "cursor"
? "agent"
: adapterType === "opencode_local"

View File

@@ -17,13 +17,14 @@ const adapterLabels: Record<string, string> = {
codex_local: "Codex (local)",
gemini_local: "Gemini CLI (local)",
opencode_local: "OpenCode (local)",
pi_local: "Pi (local)",
openclaw_gateway: "OpenClaw Gateway",
cursor: "Cursor (local)",
process: "Process",
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();