@pouchy_ai/companion-sdk - v0.1.0
    Preparing search index...

    Interface HelloAck

    interface HelloAck {
        grantedScopes: string[];
        modalities: string[];
        pendingToolCalls: PendingToolCall[];
        representative: boolean;
        resumeCursor: number;
        session: string;
        visitorPaired: boolean;
    }
    Index
    grantedScopes: string[]
    modalities: string[]
    pendingToolCalls: PendingToolCall[]

    Outstanding tool calls of a turn that paused before this handshake — non-empty only when resuming mid-pause (0.37.0). Unless replayPendingToolCalls: false, each is also re-emitted to onToolCall with replayed: true right after connect() resolves.

    representative: boolean

    True when this is a representative (visitor-facing) session — i.e. a visitor was supplied and the token holds represent.

    resumeCursor: number
    session: string
    visitorPaired: boolean

    Representative sessions only: whether this visitor is already paired with the owner (their two companions are friends). Lets you skip offering a "pair" affordance to an already-connected visitor.