aonyx_core/lib.rs
1//! # aonyx-core
2//!
3//! Shared domain types, traits, and the canonical error for every other crate
4//! in the Aonyx Agent workspace.
5//!
6//! This crate is **I/O-free**: it defines the vocabulary, not the behavior.
7
8#![forbid(unsafe_code)]
9#![warn(missing_docs, rust_2018_idioms)]
10
11pub mod error;
12pub mod traits;
13pub mod types;
14
15pub use error::{AonyxError, Result};
16pub use traits::{
17 ChatChunk, ChatRequest, ChatStream, LlmProvider, MemoryStore, SkillSource, ToolHandler,
18};
19pub use types::{Attachment, Message, Role, SafetyClass, Session, ToolCall, ToolResult};