Expand description
The daemon’s stores: the core in-memory stores wrapped with per-thread JSON-file persistence and daemon-only bookkeeping.
All shared ConversationStore / StateStore semantics (spawn orders,
ancestor chains, compaction cutoffs, dedup sets, subscriptions, metadata)
live in infinity_agent_core::stores — the trait impls here are pure
delegation. This module layers on top:
- lazy per-thread loading from and saving to
{dir}/{thread_id}*.json, - daemon-only per-thread extras ([
ThreadExtras]: title, children, token totals, timestamps, the selected model), - transient and persisted views,
- session serialization for migration.