Skip to main content

agent_sessions/
lib.rs

1//! Bounded Claude Code and Codex JSONL readers.
2//!
3//! Events preserve source semantics and provenance. Check [`ReadSummary`] before
4//! committing a snapshot; receiving events alone does not establish completeness.
5#![doc = include_str!("../README.md")]
6mod accounting;
7mod agent;
8mod claude;
9mod codex;
10mod discover;
11mod error;
12mod event;
13mod history;
14mod meta;
15mod parser;
16mod projection;
17mod raw;
18mod reader;
19mod roots;
20mod statistics;
21mod titles;
22mod tokens;
23mod usage_fields;
24
25pub use accounting::UsageAdjustment;
26pub use agent::*;
27pub use discover::*;
28pub use error::*;
29pub use event::*;
30pub use history::*;
31pub use meta::*;
32pub use projection::*;
33pub use raw::*;
34pub use reader::*;
35pub use roots::*;
36pub use titles::*;
37pub use tokens::*;
38
39/// Package version, available for consumer cache keys.
40pub const VERSION: &str = env!("CARGO_PKG_VERSION");