aegon_types/lib.rs
1//! Core domain types for Aegon — the single source of truth for all data shapes.
2//!
3//! Every other crate depends on this one. No logic, no I/O — pure data shapes
4//! and their `serde` impls.
5
6pub mod error;
7pub mod event;
8pub mod session;
9pub mod stream;
10pub mod token_usage;
11pub mod tool;
12
13pub use error::{Error, Result};
14pub use event::{EventKind, LogEvent};
15pub use session::Session;
16pub use stream::StreamId;
17pub use token_usage::TokenUsage;
18pub use tool::{ToolCall, ToolMetadata, ToolResult};