[package]
edition = "2024"
rust-version = "1.88"
name = "agent-sessions"
version = "0.2.0"
build = false
exclude = [
"PLAN.md",
"fuzz/**",
".github/**",
"docs/delivery/**",
"docs/research/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded, provenance-preserving Claude Code and Codex session readers"
readme = "README.md"
license = "MIT"
repository = "https://github.com/majiayu000/agent-sessions"
[lib]
name = "agent_sessions"
path = "src/lib.rs"
[[example]]
name = "compare_messages"
path = "examples/compare_messages.rs"
[[example]]
name = "scan"
path = "examples/scan.rs"
[[test]]
name = "accounting_policy"
path = "tests/accounting_policy.rs"
[[test]]
name = "discovery"
path = "tests/discovery.rs"
[[test]]
name = "format_contract"
path = "tests/format_contract.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "projections"
path = "tests/projections.rs"
[[test]]
name = "raw_history"
path = "tests/raw_history.rs"
[[test]]
name = "reader_chunks"
path = "tests/reader_chunks.rs"
[[test]]
name = "reader_contract"
path = "tests/reader_contract.rs"
[[test]]
name = "titles_preview"
path = "tests/titles_preview.rs"
[[test]]
name = "usage_contract"
path = "tests/usage_contract.rs"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"serde",
]
default-features = false
[dependencies.memchr]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dev-dependencies.tempfile]
version = "3"
[lints.rust]
unsafe_code = "forbid"