unified-llm-client
    Preparing search index...

    Class PostgresSessionStore<TSnapshot>

    Postgres-backed durable session store with tenant scoping and indexed lookup.

    const store = PostgresSessionStore.fromEnv();
    await store.ensureSchema();

    Type Parameters

    • TSnapshot extends { messages: unknown[]; totalCostUSD: number }

    Implements

    Index

    Constructors

    Methods