[package]
name = "kei-export-trajectories"
version = "0.1.0"
edition.workspace = true
description = "Export agent trajectories to ShareGPT JSONL format."
authors.workspace = true
license.workspace = true

# Constructor Pattern: a thin binary on top of a thin library so tests can
# drive the same code-paths the CLI does without re-implementing them.

[[bin]]
name = "kei-export-trajectories"
path = "src/main.rs"

[lib]
name = "kei_export_trajectories"
path = "src/lib.rs"

[dependencies]
# rusqlite "bundled" matches every other primitive in this workspace —
# no system-libsqlite3 surprise on macOS / Modal / Daytona.
rusqlite = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
clap = { workspace = true }
# chrono only used to parse the `--from-ts` ISO-8601 string into an epoch.
chrono = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
