1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Shared protocol primitives for the Agent Runtime Control Protocol (ARCP).
//!
//! This crate ships the wire-format types and abstractions both client and
//! runtime sides depend on:
//!
//! - [`envelope`] — the canonical envelope (RFC §6.1).
//! - [`messages`] — payload structs and [`MessageType`] (RFC §6.2).
//! - [`error`] — canonical error taxonomy.
//! - [`ids`] — strongly-typed opaque identifiers (`JobId`, `SessionId`, …).
//! - [`extensions`] — extension namespace registry and classification.
//! - [`transport`] — [`Transport`][transport::Transport] trait + in-memory
//! transport. `WebSocket` and stdio transports gated behind features.
//! - [`auth`] — [`Authenticator`][auth::Authenticator] trait. Concrete
//! bearer / `signed_jwt` / none validators live in `arcp-runtime`.
//!
//! Most users should depend on the umbrella `arcp` crate instead of this
//! one directly. Pull in `arcp-core` only when building an alternative
//! client or runtime that needs the protocol primitives without the
//! reference implementations.
pub use ;
pub use ;
pub use ;
pub use ;
/// Protocol version implemented by this crate, as carried in the `arcp` field
/// of every envelope (RFC §6.1).
pub const PROTOCOL_VERSION: &str = "1.1";
/// Implementation version of this crate, derived from `Cargo.toml`. Sibling
/// crates in this workspace move in lockstep, so this constant also reflects
/// the runtime / client / umbrella version.
pub const IMPL_VERSION: &str = env!;
/// Implementation kind reported in `runtime.kind` / `client.kind` blocks
/// (RFC §8.2, §8.3).
pub const IMPL_KIND: &str = "arcp-rs";