feat: add Pi adapter support to constants and onboarding UI

This commit is contained in:
Richard Anaya
2026-03-06 18:47:44 -08:00
parent eb7f690ceb
commit 6077ae6064
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@paperclipai/shared": minor
---
Add support for Pi local adapter in constants and onboarding UI.

View File

@@ -27,6 +27,7 @@ export const AGENT_ADAPTER_TYPES = [
"claude_local",
"codex_local",
"opencode_local",
"pi_local",
"cursor",
"openclaw",
] as const;

View File

@@ -53,6 +53,7 @@ type AdapterType =
| "claude_local"
| "codex_local"
| "opencode_local"
| "pi_local"
| "cursor"
| "process"
| "http"
@@ -665,6 +666,12 @@ export function OnboardingWizard() {
icon: OpenCodeLogoIcon,
desc: "Local multi-provider agent"
},
{
value: "pi_local" as const,
label: "Pi",
icon: Terminal,
desc: "Local Pi agent"
},
{
value: "openclaw" as const,
label: "OpenClaw",
@@ -741,6 +748,7 @@ export function OnboardingWizard() {
{(adapterType === "claude_local" ||
adapterType === "codex_local" ||
adapterType === "opencode_local" ||
adapterType === "pi_local" ||
adapterType === "cursor") && (
<div className="space-y-3">
<div>