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

    Interface CompanionViewOptions

    interface CompanionViewOptions {
        restore?: number;
        transcriptCap?: number;
    }
    Index
    restore?: number

    Restore up to this many recent turns from client.history() on creation, so a reloaded tab isn't blank (same semantic as @pouchy_ai/react's useMessages). Requires a connected client (a session must exist). Restored turns land ONLY while the live transcript is still empty — they never clobber messages that arrived first. Default 0 (off).

    transcriptCap?: number

    Max transcript entries kept (oldest dropped). Default 200.