Skip to main content

Module v3

Module v3 

Source
Expand description

Preview IPC v3 types. This module is independent from the frozen v1/v2 request and response types below. Preview Runtime IPC v3.

V3 deliberately uses an envelope and payload types that are independent from the frozen v1/v2 wire schemas. Hosts must opt in by sending crate::v3::RUNTIME_API_VERSION_V3; the legacy crate::RUNTIME_API_VERSION remains 2 so existing model manifests and clients retain their exact meaning.

Structs§

EnvelopeV3
V3 request envelope. Every stateful call carries the generations and feature schema against which the caller made its decision.
IdentityV3
Client or runtime identity carried explicitly by V3.
RuntimeErrorV3
V3 error object. Code semantics are versioned with V3 and do not alter the frozen v1/v2 error-code allowlist.
RuntimeResponseV3
V3 response envelope.

Enums§

ProtocolV3Error
Shape validation failures before runtime execution.
RuntimeErrorCodeV3
Exhaustive V3 error code set.
RuntimeRequestV3
Independent V3 method set. Payloads remain business-neutral JSON.
RuntimeResponseBodyV3
V3 response payloads.

Constants§

FEATURE_SCHEMA_HASH_LEN_V3
Maximum feature-schema hash length (lower-case SHA-256 hex).
MAX_CAPABILITIES_V3
Maximum number of capabilities carried in a response.
MAX_CAPABILITY_LEN_V3
Maximum capability length.
MAX_DECISION_ID_LEN_V3
Maximum decision id length.
MAX_ERROR_MESSAGE_LEN_V3
Maximum error message length.
MAX_IDENTITY_NAME_LEN_V3
Maximum identity name length.
MAX_IDENTITY_VERSION_LEN_V3
Maximum identity version length.
MAX_REQUEST_ID_LEN_V3
Maximum request id length.
RUNTIME_API_VERSION_V3
Runtime IPC version used by this module.