Member Junction
    Preparing search index...

    Interface PersistedRealtimeMintSnapshot

    The mint snapshot as persisted under the server-protected realtimeMintSnapshot key in MJ: AI Agent Sessions.Config_ (written inside RunWithTrustedSessionConfigWrites), for a credential refresh that lands on another instance (RefreshRealtimeClientSessionToken). The session owner cannot write that key but can READ the row (UI and Widget Guest hold CanRead on their own sessions, Config included), and every save of the row is copied into Record Changes. So it holds only what such a refresh needs and the browser was already given (see toPersistedMintSnapshot), and never relayTicketId, a live credential in RealtimeProxyRegistry.

    interface PersistedRealtimeMintSnapshot {
        coAgentID?: string;
        connectionMaxSeconds?: number;
        credentialScope: AICredentialScope;
        driverClass: string;
        existingSessionConfig?: JSONObject;
        modelID: string;
        modelVendorID?: string;
        sessionParams?: RealtimeSessionParams;
        targetAgentID?: string;
        transport?: "relay";
        vendorID?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    coAgentID?: string
    connectionMaxSeconds?: number
    credentialScope: AICredentialScope
    driverClass: string
    existingSessionConfig?: JSONObject

    The minted provider config. Persisted only for a driver whose refresh reads it.

    modelID: string
    modelVendorID?: string
    sessionParams?: RealtimeSessionParams

    The params a re-mint needs. Absent from a relay session's persisted copy.

    targetAgentID?: string

    The agent the session was minted to voice. A refresh re-checks CanRun on it, never on the owner-editable targetAgentID.

    transport?: "relay"

    'relay' for a relay session: its session params stay on the instance that minted it.

    vendorID?: string