Expand description
ACP (Agent Communication Protocol) support for VT Code.
Canonical surface is the SACP stdio agent in [zed] (StandardAcpAdapter,
ZedAcpAdapter). The capabilities/client/client_v2/session/
messages/jsonrpc modules are a legacy crate-internal HTTP stack and
must not be extended for new protocol work.
Re-exports§
pub use error::AcpError;pub use error::AcpResult;pub use transport::StdioTransport;pub use transport::StdioTransportOptions;
Modules§
- capabilities
- Legacy crate-internal HTTP ACP stack (date versions,
/rpc+SSE). - discovery
- Agent discovery and registry functionality
- error
- Error types for ACP operations
- jsonrpc
- JSON-RPC 2.0 types for ACP protocol compliance
- messages
- ACP message types and serialization
- permissions
- reports
- session
- Legacy crate-internal HTTP session types (
message_delta,tool_call_start, …). - tooling
- transport
- Generic JSON-RPC-over-stdio transport for subprocess agents.
- workspace
Structs§
Functions§
- acp_
connection - Retrieve the registered ACP connection, if available.
- lifecycle_
schema_ document - JSON-Schema document describing the VT Code lifecycle extension methods —
the wire contract emitted by
vtcode schema acp.