aegon-types 0.1.0

Core domain types for Aegon. Not intended for direct use outside the workspace.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Core domain types for Aegon — the single source of truth for all data shapes.
//!
//! Every other crate depends on this one. No logic, no I/O — pure data shapes
//! and their `serde` impls.

pub mod error;
pub mod event;
pub mod session;
pub mod stream;
pub mod token_usage;
pub mod tool;

pub use error::{Error, Result};
pub use event::{EventKind, LogEvent};
pub use session::Session;
pub use stream::StreamId;
pub use token_usage::TokenUsage;
pub use tool::{ToolCall, ToolMetadata, ToolResult};