av_core/lib.rs
1//! AgentVisor AI core primitives shared by every crate in the workspace.
2//!
3//! Provides: identifiers (UUIDv7), wall/monotonic time helpers, the approximate
4//! tokenizer used for budgets and compression ratios, SHA-256 digest helpers,
5//! a dependency-free Prometheus-text metrics registry, and common error types.
6
7pub mod digest;
8pub mod error;
9pub mod fsutil;
10pub mod hash;
11pub mod ids;
12pub mod metrics;
13pub mod text;
14pub mod time;
15pub mod tokens;
16pub mod units;
17
18pub use error::CoreError;
19pub use ids::{new_event_uid, new_session_id, InstanceUid, SessionId};