Skip to main content

Crate rill_runtime_protocol

Crate rill_runtime_protocol 

Source
Expand description

Stable, versioned contracts shared by Rill Runtime and its hosts.

§IPC API versions

VersionIntroduced inChanges
10.5.0Original handshake, health, invoke
20.7.0Handshake response gains handler identity and effective capabilities

The runtime accepts both v1 and v2 requests. v1 clients receive RuntimeResponse (no handler fields). v2 clients receive RuntimeResponseV2 (with handler identity). The two wire schemas are independently frozen with fixture tests.

Modules§

error_code
Stable IPC error code constants.

Structs§

HandlerPackManifest
ModelPackManifest
ReleaseArtifact
ReleaseIndexPayload
SignedReleaseIndex

Enums§

ReleaseArtifactKind
RuntimeRequest
RuntimeResponse
RuntimeResponseV2

Constants§

HANDLER_API_VERSION
Handler ABI version (independent of IPC API version).
HANDLER_PACKAGE_FORMAT_VERSION
Signed handler-pack container version.
MAX_MESSAGE_BYTES
Hard upper bound for one newline-delimited IPC message.
MIN_RUNTIME_API_VERSION
Minimum IPC API version the runtime still accepts.
MODEL_PACK_FORMAT_VERSION
Signed model-pack container version.
RELEASE_INDEX_SCHEMA_VERSION
Signed release-index schema understood by independent updaters.
RUNTIME_API_VERSION
Latest IPC API version supported by this crate.
RUNTIME_ARTIFACT_ID
RUNTIME_STATE_FORMAT_VERSION
Persisted host/runtime state envelope version.