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§
- Glass
Error - Structured failure that can be carried across transports without parsing text.
- Glass
Request - Canonical operation request shared by supported transports.
- Glass
Response - Canonical operation response shared by supported transports.
- Mutation
Lease Ref - A request-independent mutation lease reference.
- Retry
Guidance - Bounded recovery guidance attached to every canonical failure.
- Task
Compile Payload - Typed payload carried by a
task.compilerequest. - Task
Compile Result - Typed successful result for a
task.compileoperation. - Task
Validation Payload - Typed payload carried by a
task.validaterequest. - Task
Validation Result - Typed successful result for browser-free Task Protocol validation.
- WebIr
Continuity Payload - Typed payload carried by a
webIr.continuityrequest. - WebIr
Continuity Result - Browser-free Web IR continuity classification for one entity.
- WebIr
Diff Payload - Typed payload carried by a
webIr.diffrequest. - WebIr
Diff Result - Bounded summary result for a browser-free Web IR revision diff.
- WebIr
Draft Payload - Typed payload carried by a
webIr.validateorwebIr.inspectrequest. - WebIr
Inspection Result - Bounded summary result for browser-free Web IR inspection.
- WebIr
Validation Result - Bounded successful result for browser-free Web IR validation.
Enums§
- Error
Phase - Phase in which a public operation stopped.
- Protocol
Error - Validation failure for the canonical protocol envelope.
- Retry
Classification - Stable retry classification for agent recovery.
Constants§
- GLASS_
PROTOCOL_ VERSION - Version of the canonical Glass operation envelope.
- TASK_
COMPILE_ OPERATION - Canonical transport operation for browser-free Task Protocol compilation.
- TASK_
VALIDATE_ OPERATION - Canonical transport operation for browser-free Task Protocol validation.
- WEB_
IR_ CONTINUITY_ OPERATION - Canonical transport operation for browser-free Web IR continuity checks.
- WEB_
IR_ DIFF_ OPERATION - Canonical transport operation for browser-free Web IR revision diffs.
- WEB_
IR_ INSPECT_ OPERATION - Canonical transport operation for browser-free Web IR inspection.
- WEB_
IR_ VALIDATE_ OPERATION - Canonical transport operation for browser-free Web IR validation.
Functions§
- compile_
task_ request - Decode and compile a
task.compilerequest without browser access. - compile_
task_ result - Decode and compile a
task.compilerequest into a typed response payload. - validate_
task_ result - Validate a
task.validaterequest into a typed response payload. - web_
ir_ continuity_ result - Classify one Web IR entity from a canonical request.
- web_
ir_ diff_ result - Compute a bounded Web IR diff from a canonical request.
- web_
ir_ inspect_ result - Inspect a Web IR draft from a canonical request.
- web_
ir_ validate_ result - Validate a Web IR draft from a canonical request.