27430f1768
- Added timestamp and model fields to message and tool-call structs with serde defaults. - Added timestamp parsing and bucket-format helpers, including clamped percentile calculation. - Added rolling-window call grouping and CSV export via new `--by`, `--top`, `--tool`, and `--calls-csv` options. - Added `TOOL_CALLS_CSV` env fallback and help text updates describing new bucketed percentile output.
33 lines
643 B
TOML
33 lines
643 B
TOML
[package]
|
|
name = "session-stats"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
# Standalone crate: do not inherit from the parent workspace.
|
|
[workspace]
|
|
|
|
[[bin]]
|
|
name = "session-stats"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
|
|
anyhow = "1"
|
|
csv = "1"
|
|
dirs = "5"
|
|
rayon = "1.10"
|
|
regex = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1", features = ["raw_value"] }
|
|
tiktoken-rs = "0.7"
|
|
walkdir = "2"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
debug = "line-tables-only"
|
|
split-debuginfo = "off"
|
|
strip = "none"
|