The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
Merge remote-tracking branch 'public-gh/master'
Dotta3b4db7a3bc18
diff --cc cli/package.jsonindex bd0ac340d9,84edcb5813..1bddae4248--- a/cli/package.json+++ b/cli/package.json@@@ -38,8 -38,8 +38,9 @@@"@paperclipai/adapter-codex-local": "workspace:*","@paperclipai/adapter-cursor-local": "workspace:*","@paperclipai/adapter-opencode-local": "workspace:*",+ "@paperclipai/adapter-pi-local": "workspace:*","@paperclipai/adapter-openclaw": "workspace:*",+ "@paperclipai/adapter-openclaw-gateway": "workspace:*","@paperclipai/adapter-utils": "workspace:*","@paperclipai/db": "workspace:*","@paperclipai/server": "workspace:*",diff --cc cli/src/adapters/registry.tsindex 82762ab361,66829b2cba..41d95f7774--- a/cli/src/adapters/registry.ts+++ b/cli/src/adapters/registry.ts@@@ -3,8 -3,8 +3,9 @@@ import { printClaudeStreamEvent } fromimport { printCodexStreamEvent } from "@paperclipai/adapter-codex-local/cli";import { printCursorStreamEvent } from "@paperclipai/adapter-cursor-local/cli";import { printOpenCodeStreamEvent } from "@paperclipai/adapter-opencode-local/cli";+ import { printPiStreamEvent } from "@paperclipai/adapter-pi-local/cli";import { printOpenClawStreamEvent } from "@paperclipai/adapter-openclaw/cli";+import { printOpenClawGatewayStreamEvent } from "@paperclipai/adapter-openclaw-gateway/cli";import { processCLIAdapter } from "./process/index.js";import { httpCLIAdapter } from "./http/index.js";@@@ -33,22 -38,8 +39,23 @@@ const openclawCLIAdapter: CLIAdapterModformatStdoutEvent: printOpenClawStreamEvent,};+const openclawGatewayCLIAdapter: CLIAdapterModule = {+ type: "openclaw_gateway",+ formatStdoutEvent: printOpenClawGatewayStreamEvent,+};+const adaptersByType = new Map<string, CLIAdapterModule>(- [claudeLocalCLIAdapter, codexLocalCLIAdapter, openCodeLocalCLIAdapter, piLocalCLIAdapter, cursorLocalCLIAdapter, openclawCLIAdapter, processCLIAdapter, httpCLIAdapter].map((a) => [a.type, a]),+ [+ claudeLocalCLIAdapter,+ codexLocalCLIAdapter,+ openCodeLocalCLIAdapter,++ piLocalCLIAdapter,+ cursorLocalCLIAdapter,+ openclawCLIAdapter,+ openclawGatewayCLIAdapter,+ processCLIAdapter,+ httpCLIAdapter,+ ].map((a) => [a.type, a]),);export function getCLIAdapter(type: string): CLIAdapterModule {diff --cc packages/shared/src/constants.tsindex 5a35a78a9c,53a6400b3c..c7f85b57ab--- a/packages/shared/src/constants.ts+++ b/packages/shared/src/constants.ts@@@ -27,9 -27,9 +27,10 @@@ export const AGENT_ADAPTER_TYPES ="claude_local","codex_local","opencode_local",+ "pi_local","cursor","openclaw",+ "openclaw_gateway",] as const;export type AgentAdapterType = (typeof AGENT_ADAPTER_TYPES)[number];diff --cc server/package.jsonindex 9ec0c494b0,ae5407894e..eaf735055e--- a/server/package.json+++ b/server/package.json@@@ -35,8 -35,8 +35,9 @@@"@paperclipai/adapter-codex-local": "workspace:*","@paperclipai/adapter-cursor-local": "workspace:*","@paperclipai/adapter-opencode-local": "workspace:*",+ "@paperclipai/adapter-pi-local": "workspace:*","@paperclipai/adapter-openclaw": "workspace:*",+ "@paperclipai/adapter-openclaw-gateway": "workspace:*","@paperclipai/adapter-utils": "workspace:*","@paperclipai/db": "workspace:*","@paperclipai/shared": "workspace:*",diff --cc server/src/adapters/registry.tsindex b58712dd4c,3d1b98d885..d9e153ed12--- a/server/src/adapters/registry.ts+++ b/server/src/adapters/registry.ts@@@ -35,16 -35,17 +35,25 @@@ importagentConfigurationDoc as openclawAgentConfigurationDoc,models as openclawModels,} from "@paperclipai/adapter-openclaw";+import {+ execute as openclawGatewayExecute,+ testEnvironment as openclawGatewayTestEnvironment,+} from "@paperclipai/adapter-openclaw-gateway/server";+import {+ agentConfigurationDoc as openclawGatewayAgentConfigurationDoc,+ models as openclawGatewayModels,+} from "@paperclipai/adapter-openclaw-gateway";import { listCodexModels } from "./codex-models.js";import { listCursorModels } from "./cursor-models.js";+ import {+ execute as piExecute,+ testEnvironment as piTestEnvironment,+ sessionCodec as piSessionCodec,+ listPiModels,+ } from "@paperclipai/adapter-pi-local/server";+ import {+ agentConfigurationDoc as piAgentConfigurationDoc,+ } from "@paperclipai/adapter-pi-local";import { processAdapter } from "./process/index.js";import { httpAdapter } from "./http/index.js";@@@ -110,17 -102,19 +119,29 @@@ const openCodeLocalAdapter: ServerAdaptagentConfigurationDoc: openCodeAgentConfigurationDoc,};+ const piLocalAdapter: ServerAdapterModule = {+ type: "pi_local",+ execute: piExecute,+ testEnvironment: piTestEnvironment,+ sessionCodec: piSessionCodec,+ models: [],+ listModels: listPiModels,+ supportsLocalAgentJwt: true,+ agentConfigurationDoc: piAgentConfigurationDoc,+ };+const adaptersByType = new Map<string, ServerAdapterModule>(- [claudeLocalAdapter, codexLocalAdapter, openCodeLocalAdapter, piLocalAdapter, cursorLocalAdapter, openclawAdapter, processAdapter, httpAdapter].map((a) => [a.type, a]),+ [+ claudeLocalAdapter,+ codexLocalAdapter,+ openCodeLocalAdapter,++ piLocalAdapter,+ cursorLocalAdapter,+ openclawAdapter,+ openclawGatewayAdapter,+ processAdapter,+ httpAdapter,+ ].map((a) => [a.type, a]),);export function getServerAdapter(type: string): ServerAdapterModule {diff --cc ui/package.jsonindex e265209fbe,d6cb11130b..eee73a402f--- a/ui/package.json+++ b/ui/package.json@@@ -17,9 -17,9 +17,10 @@@"@paperclipai/adapter-claude-local": "workspace:*","@paperclipai/adapter-codex-local": "workspace:*","@paperclipai/adapter-cursor-local": "workspace:*",+ "@paperclipai/adapter-opencode-local": "workspace:*",+ "@paperclipai/adapter-pi-local": "workspace:*","@paperclipai/adapter-openclaw": "workspace:*",+ "@paperclipai/adapter-openclaw-gateway": "workspace:*",- "@paperclipai/adapter-opencode-local": "workspace:*","@paperclipai/adapter-utils": "workspace:*","@paperclipai/shared": "workspace:*","@radix-ui/react-slot": "^1.2.4",diff --cc ui/src/adapters/registry.tsindex b2b69052f9,f9e0080c11..a641b26502--- a/ui/src/adapters/registry.ts+++ b/ui/src/adapters/registry.ts@@@ -3,22 -3,13 +3,24 @@@ import { claudeLocalUIAdapter } from ".import { codexLocalUIAdapter } from "./codex-local";import { cursorLocalUIAdapter } from "./cursor";import { openCodeLocalUIAdapter } from "./opencode-local";+ import { piLocalUIAdapter } from "./pi-local";import { openClawUIAdapter } from "./openclaw";+import { openClawGatewayUIAdapter } from "./openclaw-gateway";import { processUIAdapter } from "./process";import { httpUIAdapter } from "./http";const adaptersByType = new Map<string, UIAdapterModule>(- [claudeLocalUIAdapter, codexLocalUIAdapter, openCodeLocalUIAdapter, piLocalUIAdapter, cursorLocalUIAdapter, openClawUIAdapter, processUIAdapter, httpUIAdapter].map((a) => [a.type, a]),+ [+ claudeLocalUIAdapter,+ codexLocalUIAdapter,+ openCodeLocalUIAdapter,++ piLocalUIAdapter,+ cursorLocalUIAdapter,+ openClawUIAdapter,+ openClawGatewayUIAdapter,+ processUIAdapter,+ httpUIAdapter,+ ].map((a) => [a.type, a]),);export function getUIAdapter(type: string): UIAdapterModule {