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§
- Envelope
V3 - V3 request envelope. Every stateful call carries the generations and feature schema against which the caller made its decision.
- Identity
V3 - Client or runtime identity carried explicitly by V3.
- Runtime
Error V3 - V3 error object. Code semantics are versioned with V3 and do not alter the frozen v1/v2 error-code allowlist.
- Runtime
Response V3 - V3 response envelope.
Enums§
- Protocol
V3Error - Shape validation failures before runtime execution.
- Runtime
Error Code V3 - Exhaustive V3 error code set.
- Runtime
Request V3 - Independent V3 method set. Payloads remain business-neutral JSON.
- Runtime
Response Body V3 - 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.