Expand description
domain::acp — the protocol-neutral ACP value objects.
The ACP v1.25.0 schema is the wire format this module
speaks, but the value objects here are protocol-neutral
IR — they are the consumer’s view of an ACP peer, not
the wire types the per-revision codec generates. The wire
types come from
crates/protocol-droid-schema (the vendored schema is
digested in
crates/protocol-droid-schema/spec/MANIFEST.toml).
This module currently ships:
version::AcpVersion— the pinned ACP release, ordered by(major, minor, patch). Unknown future releases areUnknown { major, minor, patch }.protocol_version::AcpProtocolVersion— the wire-levelu16initializeexchanges.implementation::Implementation— theclientInfo/agentInfoblock.initialize::InitializeRequestandinitialize::InitializeResponse— theinitializeround-trip, plus theClientCapabilities/AgentCapabilitiesshapes the request/response carry.method::AcpMethod— the 25 methods the v1.25.0meta.jsonlists (13 agent, 11 client, 1 protocol).feature::AcpFeatureandfeature::AcpFeatureProfile— the per-feature bitset the dispatcher gates against.
What is not yet here:
- The session lifecycle types (
session/new,session/load,session/prompt,session/cancel,session/list,session/delete,session/resume,session/close,logout). - The slash-separated method params and the streaming update model.
- The
SessionCapabilities,ClientSessionCapabilities,ElicitationCapabilities, and the rest of the capability sub-types the schema names. - The application-layer dispatch and the per-revision wire codec.
- The stdio transport adapter.
This module is feature-gated behind acp-experimental at
the crate level. The ACP module is post-MVP and
experimental; the gate keeps the protocol-neutral core
lean for consumers who never touch ACP.
Modules§
- content
ContentBlock— the typed content thesession/promptandsession/updatepaths carry.- feature
AcpFeatureProfile— the ACP capability bitset, derived from the negotiated version × agent capabilities × client capabilities × transport.- implementation
Implementation— theclientInfo/agentInfoblock the editor and the agent exchange ininitialize.- initialize
initialize— the editor’s first call, the agent’s first reply.- method
AcpMethod— every method the ACP v1.25.0 schema names.- notification
domain::acp::notification— thesession/updatenotification the agent streams to the client while processing asession/promptturn.- protocol_
version AcpProtocolVersion— the wire-level protocol version.- session
domain::acp::session— the session lifecycle request / response types.- tool_
call domain::acp::tool_call— the tool call shapes thesession/updatenotification’stool_callandtool_call_updatevariants carry.- version
AcpVersion— the pinned ACP release, as a value object.