//! Shared data types and the frame codec for Boxmaker. No policy and no I/O beyond frames, except //! the secret store (`secrets`), behind the feature of that name. pub mod audit; pub mod chain; pub mod class; pub mod escape; pub mod frame; pub mod gateway; pub mod grant; pub mod hash; pub mod hosts; pub mod ids; pub mod log; pub mod memory; pub mod sanitize; #[cfg(feature = "secrets")] pub mod secrets; pub mod sha1; pub mod tools; pub mod wire; pub use audit::{ ApprovalAnswer, AuditEvent, AuditRecord, DecisionRecord, ResultStatus, is_audit_log_name, }; pub use chain::{ChainFailure, ChainReport, ChainVerifier, Location, TornTail}; pub use class::DataClass; pub use frame::{FrameError, MAX_FRAME, read_frame, write_frame}; pub use gateway::{ ApprovalOutcome, ApprovalPosted, ApprovalReply, ApprovalRequest, GatewayOutcome, MAX_REASON, is_mattermost_id, }; pub use grant::{Constraints, Grant, Mode}; pub use hash::{HashError, Sha256, sha256}; pub use ids::{CallId, Epoch, Hash32, SessionId, Timestamp, ValueError}; pub use log::{LogRecord, ToolCall, Usage}; pub use memory::{ ConsolidateEntry, EntryAction, MemoryAdmin, MemoryAdminReply, MemoryArgs, MemoryBlockReply, MemoryCall, MemoryCommand, MemoryFile, RecallArgs, Reindexed, SessionUpdated, }; pub use wire::{ ApprovalList, Approve, ApproveResult, DenyReason, Empty, Envelope, ErrorCode, GrantProblem, GrantsReport, Message, PROTOCOL_VERSION, PendingApproval, Refuse, ToolRequest, ToolResponse, Turn, TurnDone, TurnEvent, WireError, };