v8.0.1 · World
provider
An ACP agent component: exports [`agent`] (driven by the host) and imports [`client`] (for fs, terminal, and permission callbacks). A terminal endpoint in an ACP topology. The host needs no separate world — it provides the `client` import and calls the `agent` export.
Imports
I
errors
IProtocol errors, modelled after JSON-RPC 2.0.
sessions
ISession lifecycle types: identifiers, MCP server configuration, modes, and
new/load/list/resume payloads.
content
IDisplayable content blocks. Mirrors MCP's `ContentBlock` so that MCP tool
output can be forwarded without transformation.
terminals
IClient-side terminal execution (agent → client).
tools
ITool calls, plans, and permission requests.
prompts
IPrompt turns, streaming session updates, and slash commands.
filesystem
IClient-side file system access (agent → client).
client
IHost-capability callbacks invoked by the agent on the client side:
permission prompts, file system access, and terminal control.
init
Connection initialization: capabilities, identification, and authentication.