Add length-prefixed frame codec to proto

Implemented-By: Laguna S 2.1 (OpenCode)
This commit is contained in:
2026-09-17 08:11:14 -07:00
parent 56e12f40a6
commit d6308c976b
5 changed files with 277 additions and 0 deletions
+2
View File
@@ -1,10 +1,12 @@
//! Shared data types and the frame codec for Boxmaker. No policy and no I/O beyond frames.
pub mod class;
pub mod frame;
pub mod ids;
pub mod wire;
pub use class::DataClass;
pub use frame::{FrameError, MAX_FRAME, read_frame, write_frame};
pub use ids::{CallId, Epoch, Hash32, SessionId, Timestamp, ValueError};
pub use wire::{
DenyReason, Envelope, ErrorCode, Message, PROTOCOL_VERSION, ToolRequest, ToolResponse,