Expand description
§acdp-primitives — foundational types for the Agent Context Distribution Protocol
The bottom layer of the acdp crate family: the typed error
vocabulary (error::AcdpError), the opaque identifier/enum
primitives (primitives), the wire error envelope (WireError,
whose canonical public path is acdp::types::WireError), and small
shared utilities (limits, time, serde_helpers). It has no
cryptography and makes no network calls.
Most users should depend on the umbrella acdp
crate, which re-exports everything here.
Re-exports§
pub use error::AcdpError;pub use error::SupersessionReason;pub use primitives::AgentDid;pub use primitives::ContentHash;pub use primitives::ContextType;pub use primitives::CtxId;pub use primitives::LineageId;pub use primitives::Status;pub use primitives::Visibility;
Modules§
- error
- Error types for the ACDP library.
- keyless
- Keyless-signing reason tokens (RFC-ACDP-0021 §13.3, 0.5.0 Draft).
- limits
- Network-policy constants shared by client and server code.
- primitives
- revocation
- Attributable revocation verdict vocabulary (RFC-ACDP-0014 §7/§8, 0.5.0 “Attribution” and “Discovery outcome classes”).
- serde_
helpers - Shared serde helpers for the ACDP wire types.
- time
- Time helpers shared by the producer builder and search-params formatter.
Structs§
- Wire
Error - Wire error envelope returned by the registry on all error responses.
- Wire
Error Body
Constants§
- ACDP_
SCHEMA_ NAMESPACE - The JSON Schema namespace (
$idprefix) for this protocol version, e.g.<ACDP_SCHEMA_NAMESPACE>/acdp-error.schema.json. - ACDP_
VERSION - The ACDP protocol version this library implements by default.