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§
- Checkpoint
Purge Request - Lion-owned archive GC request for all Runtime checkpoints under one private thread.
- Checkpoint
Reference - Immutable object-store reference to one Runtime checkpoint generation.
- Command
Request - Transport admission request. Environment bindings are consumed by the composition root and do not enter the provider-neutral Runtime command.
- Dispatch
Binding - Ephemeral cloud execution identity assigned by Lion.
- Envelope
- Complete transport message.
- Event
Ack - Acknowledges one durable event after the receiver has applied or deduplicated it.
- Event
Message - Checkpoint-coupled Runtime event. Lion commits the generation before projecting the event.
- Execution
Failure - Terminal transport failure for an admitted execution that could not produce a checkpoint event.
- LlmExecution
Plan - 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.
- LlmRoute
Binding - One logical selector and its concrete deployment route.
- Metadata
- Metadata shared by every wire message.
- Observation
Message - Routed best-effort observation sent outside the durable event outbox.
Enums§
- Admission
Disposition - Stable wire representation of command admission.
- AppFacade
Request - Request to execute an App Facade call over a transport.
- AppFacade
Response - Result of an App Facade request transported back to Runtime.
- Checkpoint
Purge Ack - Result of one idempotent checkpoint-prefix purge.
- Command
Response - Immediate response to command admission for the selected execution attempt.
- Payload
- Payload families carried by the versioned envelope.
- Protocol
Error - Invalid wire envelope.
Constants§
- CURRENT_
VERSION - Current protocol major version.
- ENQUEUE_
FIXTURE - Golden enqueue envelope used by deployment and Runtime conformance tests.