Skip to main content

Module protocol

Module protocol 

Source
Expand description

Transport-neutral versioned request and response envelopes. Transport-neutral Glass request and response envelopes.

MCP keeps its JSON-RPC framing, but daemon clients and embedded callers use these envelopes for the operation payload. The envelope is intentionally small: transport-specific framing, streaming, and authentication remain outside this contract.

Structs§

GlassError
Structured failure that can be carried across transports without parsing text.
GlassRequest
Canonical operation request shared by supported transports.
GlassResponse
Canonical operation response shared by supported transports.
MutationLeaseRef
A request-independent mutation lease reference.

Enums§

ProtocolError
Validation failure for the canonical protocol envelope.

Constants§

GLASS_PROTOCOL_VERSION
Version of the canonical Glass operation envelope.