CoAgent8
    Preparing search index...
    • Low-level history loader with automatic cache management and crash recovery.

      Parameters

      • handle: string

        Valid session handle.

      • forceLog: boolean = false

        If true, bypasses the JSON snapshot and replays the JSONL log directly.

      Returns Promise<History | null>

      History snapshot or null if no record exists.

      Preserves each event's stored sequence position while folding assistant_delta chunks and final assistant_message or turn_finished updates into their initial turn record. Resulting sequence values remain strictly increasing with gaps wherever intermediate delta records were combined.