Expand description
Re-exports from sqry_daemon_protocol::framing.
Phase 8c U1 extracted the framing codec into the
sqry-daemon-protocol leaf crate. Keeping this module as a thin
re-export shim lets every Phase 8a/8b call site inside sqry-daemon
(ipc::framing::X) continue to compile unchanged.
Enums§
- Frame
Error - Errors surfaced by the JSON-flavoured codec helpers in this module.
Constants§
- MAX_
FRAME_ BYTES - Per-frame ceiling. Values above this limit are rejected at
read_frame/write_frameboundaries. The bound is generous enough for Phase 8b’s largest expected MCP tool responses (subgraph exports on monorepo-scale graphs) without forcing the complexity of a chunked protocol.
Functions§
- read_
frame - Read a single framed blob.
- read_
frame_ json - Read a framed JSON blob and decode into
T. ReturnsOk(None)on a clean frame-boundary EOF. - write_
frame - Write a single framed blob. Returns
io::ErrorKind::InvalidInputifbody.len() > MAX_FRAME_BYTES. - write_
frame_ json - Write a typed value as a framed JSON blob.