Skip to main content

Module protocol

Module protocol 

Source
Expand description

Versioned local JSON protocol shared by stdin/stdout and loopback HTTP transports.

Structs§

ProtocolArtifact
One written artifact and its integrity metadata.
ProtocolError
Machine-readable protocol failure.
ProtocolOutput
Output selection for a render operation.
ProtocolRequest
One request in the stable local protocol.
ProtocolResponse
One response emitted for every request, including malformed or rejected work.
ProtocolTimings
Per-stage timings in milliseconds.

Enums§

ProtocolOperation
Supported protocol operations.

Constants§

MAX_PROTOCOL_REQUEST_BYTES
Maximum UTF-8 JSON request size accepted by bundled transports.
PROTOCOL_VERSION
Stable protocol version accepted by local integrations.

Functions§

execute_protocol_request
Execute one validated request beneath a fixed local output root.
execute_protocol_request_with_limits
Executes one request with service-owner resource ceilings.
protocol_failure
Build a response for malformed transport input that could not be deserialized.