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.
ResourceProfileV1
Bounded runtime policy shared by preview and stable v3 consumers.
RuntimeErrorV3
V3 error object. Code semantics are versioned with V3 and do not alter the frozen v1/v2 error-code allowlist.
RuntimeErrorV3Preview
RuntimeResponseV3
V3 response envelope.
RuntimeResponseV3Preview
Additive response surface for the opt-in Preview subprocess. The original RuntimeResponseV3 remains frozen; this type carries channel, health and decision metadata without changing its public enum variants.

Enums§

PreviewErrorCodeV3
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.
RuntimeResponseBodyV3Preview

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.
PREVIEW_CHANNEL_V3
Stable machine-readable marker for the opt-in v3 executable channel.
RUNTIME_API_VERSION_V3
Runtime IPC version used by this module.