Skip to main content

Module runtime

Module runtime 

Source
Expand description

ARCP runtime — the server side of the protocol.

Phase 2 ships:

Job state machines, streams, subscriptions, leases, and artifacts land in Phases 3–5.

Re-exports§

pub use artifact::ArtifactStore;
pub use context::ToolContext;
pub use credentials::CredentialJobContext;
pub use credentials::CredentialLedger;
pub use credentials::CredentialProvisioner;
pub use credentials::InMemoryCredentialProvisioner;
pub use job::JobEntry;
pub use job::JobRegistry;
pub use server::ARCPRuntime;
pub use server::RuntimeBuilder;
pub use session::SessionState;
pub use subscription::FilteredReceiver;
pub use subscription::SubscriptionManager;
pub use tools::ToolHandler;
pub use tools::ToolRegistry;
pub use tools::ToolRegistryBuilder;

Modules§

artifact
Artifact store (RFC §16).
context
Per-job context handed to crate::runtime::ToolHandler::invoke.
credentials
Provisioned credential support for lease-bound jobs (ARCP v1.1 §9.8).
job
Job state machine and dispatch (RFC §10).
server
ARCP runtime — the server side that drives the handshake (RFC §8.1) and dispatches subsequent envelopes.
session
Per-session bookkeeping owned by the runtime.
subscription
Subscription manager (RFC §13).
tools
Tool registry and handler trait.

Structs§

CredentialId
Stable id for a runtime-issued provisioned credential.
ProvisionedCredential
Wire shape for a provisioned credential (ARCP v1.1 §9.8.1).

Enums§

CredentialScheme
Provisioned credential authentication scheme.
JobState
Job state (RFC §10.2).