Skip to main content

Crate aegon_types

Crate aegon_types 

Source
Expand description

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.

Re-exports§

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

Modules§

error
Crate-wide error and result types.
event
The central event types that flow through the Aegon pipeline.
session
A single Claude Code session — the top-level container for a run’s events.
stream
Which event chain a crate::LogEvent belongs to.
token_usage
Token consumption figures for a single assistant turn.
tool
Tool invocation, result, and execution metadata types.