[package]
name = "klieo-runlog"
version = "1.0.0"
edition = "2021"
rust-version = "1.89"
license = "MIT"
publish = true
description = "Tier 2 observability — RunLog aggregate + replay engine for klieo agents."
readme = "README.md"
repository.workspace    = true
homepage.workspace      = true
documentation.workspace = true

[features]
default = []
sqlite = ["dep:rusqlite"]
compaction-llm = []
schemars = ["dep:schemars"]
test-utils = ["klieo-core/test-utils"]

[dependencies]
klieo-core  = { path = "../klieo-core", version = "1" }
async-trait  = { workspace = true }
chrono       = { workspace = true }
serde        = { workspace = true }
serde_json   = { workspace = true }
tokio        = { workspace = true }
thiserror    = { workspace = true }
ulid         = { workspace = true }
rusqlite     = { workspace = true, optional = true }
schemars     = { workspace = true, optional = true, features = ["chrono"] }

[dev-dependencies]
klieo-core          = { path = "../klieo-core", features = ["test-utils"] }
klieo-memory-sqlite = { path = "../klieo-memory-sqlite" }
klieo-ops           = { path = "../klieo-ops" }
tempfile            = { workspace = true }
tokio               = { workspace = true, features = ["macros", "rt-multi-thread"] }
tokio-test          = { workspace = true }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
