@ferricstore/ferricstore
    Preparing search index...

    Class FerricStoreSession

    Durable OpenAI Agents SDK conversation history backed by FerricStore.

    Renewable locks reduce contention, while compare-and-swap makes every state commit safe even if a writer's lease expires in flight. History transactions and their operation receipts are persisted in one atomic value, implementing the SDK's retry-safe transaction capability in addition to its base Session contract.

    Implements

    Index
    keyPrefix: string
    sessionId: string
    • Optionally replace the logical session history with a compaction marker and its retained suffix without resetting the session identity.

      Implementations may append the replacement when their backend treats the leading compaction item as the authoritative replay boundary. If this method is absent, the runner falls back to clearing and rebuilding the session with rollback protection.

      Parameters

      Returns Promise<void>