Skip to main content

Module wire

Module wire 

Source
Expand description

Versioned transport contract for Agent commands, events, and App Facade calls.

This crate defines envelopes but no WebSocket client, authentication, reconnect policy, or server. Transport implementations belong to their deployment repository.

Structs§

CheckpointPurgeRequest
Lion-owned archive GC request for all Runtime checkpoints under one private thread.
CheckpointReference
Immutable object-store reference to one Runtime checkpoint generation.
CommandRequest
Transport admission request. Environment bindings are consumed by the composition root and do not enter the provider-neutral Runtime command.
DispatchBinding
Ephemeral cloud execution identity assigned by Lion.
Envelope
Complete transport message.
EventAck
Acknowledges one durable event after the receiver has applied or deduplicated it.
EventMessage
Checkpoint-coupled Runtime event. Lion commits the generation before projecting the event.
ExecutionFailure
Terminal transport failure for an admitted execution that could not produce a checkpoint event.
LlmExecutionPlan
Complete deployment-resolved LLM route set bound immutably to one admitted run.
LlmRoute
One concrete cloud model route frozen by the deployment before command admission.
LlmRouteBinding
One logical selector and its concrete deployment route.
Metadata
Metadata shared by every wire message.
ObservationMessage
Routed best-effort observation sent outside the durable event outbox.

Enums§

AdmissionDisposition
Stable wire representation of command admission.
AppFacadeRequest
Request to execute an App Facade call over a transport.
AppFacadeResponse
Result of an App Facade request transported back to Runtime.
CheckpointPurgeAck
Result of one idempotent checkpoint-prefix purge.
CommandResponse
Immediate response to command admission for the selected execution attempt.
Payload
Payload families carried by the versioned envelope.
ProtocolError
Invalid wire envelope.

Constants§

CURRENT_VERSION
Current protocol major version.
ENQUEUE_FIXTURE
Golden enqueue envelope used by deployment and Runtime conformance tests.