@mistriwork/acp
v1.4.2
Published
Agent Client Protocol (ACP) host runtime, stdio MCP client, and coding-agent presets (Claude Code, Codex, Gemini) for mistri Apps, wired to SandboxAdapter, PermissionBroker, and scoped MCP bridges with zero extra runtime dependencies.
Maintainers
Readme
@mistriwork/acp
Agent Client Protocol (ACP) host runtime, stdio MCP client, and coding-agent presets for mistri Apps — zero extra runtime dependencies.
What is in it
createAcpClient: Full ACP v1 JSON-RPC 2.0 client over stdio subprocesses (or custom streams), with strict allowlisted child environments, detached process-group teardown,SandboxAdapterdelegation forfs/*andterminal/*, andPermissionBrokerintegration forsession/request_permission.createAcpAgentRuntime: Implements@mistriwork/mistri/agents'sExternalAgentRuntime, folding ACPsession/updatenotifications into Mistri's normalizedAgentEventstream (text,reasoning,tool_call,tool_call_update,plan,diff,permission_request,permission_resolved,mode_changed,done).createStdioMcpClient/createStdioMcpTransport: Spawns workspace-local stdio MCP servers with allowlisted environments and wraps them in@mistriwork/mistri/mcp'screateMcpClient.- Presets:
claudeCodeAcp(),codexAcp(),geminiAcp(), andcustomAcp().
