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

    Interface SendTextReply

    What sendText(text, { awaitReply: true }) resolves with: the completed turn's reply. text is the authoritative final assistant text (same value onMessage receives); envelope is the full companion.message envelope for hosts that want the id/ts.

    interface SendTextReply {
        envelope: CompanionEnvelope;
        seq: number | null;
        text: string;
    }
    Index
    seq: number | null
    text: string