arcp-core 2.0.0

Shared protocol primitives for the Agent Runtime Control Protocol (ARCP) — envelopes, messages, errors, IDs, transports, and the authenticator trait.
Documentation

arcp-core

crates.io docs.rs

Shared protocol primitives for the Agent Runtime Control Protocol (ARCP) v1.1.

This crate ships the parts of ARCP both sides of the wire depend on:

  • envelope — canonical envelope (RFC §6.1).
  • messages — payload structs and MessageType enum (RFC §6.2).
  • error — canonical error taxonomy.
  • ids — strongly-typed opaque IDs (JobId, SessionId, …).
  • extensions — extension namespace registry.
  • transportTransport trait + in-memory transport. WebSocket and stdio transports gated behind features.
  • authAuthenticator trait. Concrete validators live in arcp-runtime.
[dependencies]
arcp-core = "2"

Most users should depend on the umbrella arcp crate instead. Pull arcp-core in directly only when building an alternative client or runtime that needs the protocol primitives without the reference implementations.

License

Licensed under either of Apache-2.0 or MIT at your option.