CoAgent8 - Source API
    Preparing search index...

    Module sessions/history/reader

    Conversation history snapshot reading, LRU caching, and crash recovery.

    Reads consolidated .json snapshots or replays append-only .jsonl deltas. Recovers from ungraceful process crashes by ignoring torn trailing lines, and maintains an in-memory snapshot cache bounded to 64 entries.

    clearHistoryCache
    deleteHistory
    getHistory
    getTurnMapping
    invalidateHistoryCache
    load
    sessionHistory