Expand description
Wire-agnostic protocol types shared across tools, LLM adapters, and hosts.
This crate sits above [machi_types] in the DAG and must not depend on
HTTP clients, provider SDKs, or runtime I/O.
Re-exports§
pub use content::ContentBlock;pub use content::ImageBlock;pub use observability::SPAN_COMPACT;pub use observability::SPAN_SAMPLE;pub use observability::SPAN_SESSION;pub use observability::SPAN_SPAWN;pub use observability::SPAN_TOOL;pub use observability::SPAN_TOOL_BATCH;pub use observability::SPAN_TURN;pub use observability::SPAN_WORKFLOW;pub use observability::SPAN_WORKFLOW_HOST;pub use observability::field;pub use observability::required_span_names;pub use observability::span_catalogue_snapshot;pub use tokens::IMAGE_TOKEN_COST;pub use tokens::MESSAGE_FRAME_TOKENS;pub use tokens::PreflightOverflow;pub use tokens::check_context_overflow;pub use tokens::estimate_image_tokens;pub use tokens::estimate_text_tokens;pub use tool_id::ToolId;
Modules§
- content
- Model- and host-facing content blocks (text / image).
- observability
- Stable tracing span names and field keys for OpenTelemetry-friendly hosts.
- tokens
- Rough token estimation for preflight overflow checks (W3.2).
- tool_id
- Stable tool identity used for routing and metrics.