Interface Types · version 8.0.1
yosh:acp
Agent Client Protocol (ACP) interface types for WebAssembly components
Install
Add these interface types to your project:
component install yosh:acp@8.0.1Learn more about the component CLI.
Interfaces
I
content
IDisplayable content blocks. Mirrors MCP's `ContentBlock` so that MCP tool
errors
IProtocol errors, modelled after JSON-RPC 2.0.
init
IConnection initialization: capabilities, identification, and authentication.
sessions
ISession lifecycle types: identifiers, MCP server configuration, modes, and
filesystem
IClient-side file system access (agent → client).
terminals
IClient-side terminal execution (agent → client).
tools
ITool calls, plans, and permission requests.
prompts
IPrompt turns, streaming session updates, and slash commands.
agent
IMethods exported by an agent. The client calls these.
client
Host-capability callbacks invoked by the agent on the client side:
Metadata
| Size | 77.9 KiB |