Expand description
ACP (Agent Client Protocol) v1 server support.
Wire types live in protocol (re-exported from
agent-client-protocol-schema). The server module runs the stdio
JSON-RPC transport loop. bridge translates agent events into ACP
session/update notifications. session tracks per-session
[AgentRuntime] state, cwd, turn counter, and transcript.
Re-exports§
pub use tool_kind::ToolKind;
Modules§
- bridge
- ACP EventSink bridge: translates
AgentEvents intosession/updatenotifications pushed through an mpsc channel. - permission
- ACP Sprint-1 permission bridge.
- protocol
- ACP v1 protocol types — pure data re-exports from
agent-client-protocol-schema. - server
- Collaborative Cancellation
- session
- Per-session state: holds the
AgentRuntime, working directory, turn counter, transcript, and a [CancellationToken] for cooperative abort for a single ACP session. - tool_
kind - Sprint-3: Custom
ToolKindenum for ACP tool_call notifications.