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:
commit
b5610f66a6
2 changed files with 5 additions and 1 deletions
|
|
@ -195,6 +195,7 @@ export function OnboardingWizard() {
|
||||||
adapterType === "codex_local" ||
|
adapterType === "codex_local" ||
|
||||||
adapterType === "gemini_local" ||
|
adapterType === "gemini_local" ||
|
||||||
adapterType === "opencode_local" ||
|
adapterType === "opencode_local" ||
|
||||||
|
adapterType === "pi_local" ||
|
||||||
adapterType === "cursor";
|
adapterType === "cursor";
|
||||||
const effectiveAdapterCommand =
|
const effectiveAdapterCommand =
|
||||||
command.trim() ||
|
command.trim() ||
|
||||||
|
|
@ -202,6 +203,8 @@ export function OnboardingWizard() {
|
||||||
? "codex"
|
? "codex"
|
||||||
: adapterType === "gemini_local"
|
: adapterType === "gemini_local"
|
||||||
? "gemini"
|
? "gemini"
|
||||||
|
: adapterType === "pi_local"
|
||||||
|
? "pi"
|
||||||
: adapterType === "cursor"
|
: adapterType === "cursor"
|
||||||
? "agent"
|
? "agent"
|
||||||
: adapterType === "opencode_local"
|
: adapterType === "opencode_local"
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,14 @@ const adapterLabels: Record<string, string> = {
|
||||||
codex_local: "Codex (local)",
|
codex_local: "Codex (local)",
|
||||||
gemini_local: "Gemini CLI (local)",
|
gemini_local: "Gemini CLI (local)",
|
||||||
opencode_local: "OpenCode (local)",
|
opencode_local: "OpenCode (local)",
|
||||||
|
pi_local: "Pi (local)",
|
||||||
openclaw_gateway: "OpenClaw Gateway",
|
openclaw_gateway: "OpenClaw Gateway",
|
||||||
cursor: "Cursor (local)",
|
cursor: "Cursor (local)",
|
||||||
process: "Process",
|
process: "Process",
|
||||||
http: "HTTP",
|
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) {
|
function dateTime(value: string) {
|
||||||
return new Date(value).toLocaleString();
|
return new Date(value).toLocaleString();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue