- HashedEntry / EntryHash / compute_hash / build_chain 撤去、JSONL は 1 行 1 LogEntry - SessionOrigin.at_hash → at_turn_index (TurnEnd 由来) に置換 - Pod 側 SessionHead mutex を ArcSwap<SessionId> + AtomicUsize の SessionState に置換 - ensure_head_or_fork は store の entry count と writer の append tally で判定 - session-store から sha2 / hex 依存、pod から parking_lot 依存を削除
22 lines
635 B
TOML
22 lines
635 B
TOML
[package]
|
|
name = "session-store"
|
|
description = "Session persistence via append-only JSONL logs"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
llm-worker = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
uuid = { workspace = true, features = ["v7", "serde"] }
|
|
thiserror = { workspace = true }
|
|
protocol = { workspace = true }
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
async-trait = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
|
tempfile = { workspace = true }
|
|
futures = { workspace = true }
|