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

    Interface ConfirmActionResult

    confirmAction's response. outcome is prose for a person; outcomeClass is the field to switch on.

    interface ConfirmActionResult {
        mandate?: {
            credentialId: string;
            intentDigest: string;
            signedAt: number;
        };
        ok: boolean;
        outcome?: string;
        outcomeClass?: ConfirmOutcomeClass;
        retryable?: boolean;
        status: "exec_failed"
        | "denied"
        | "approved";
    }
    Index
    mandate?: { credentialId: string; intentDigest: string; signedAt: number }

    0.57.0 — the presentable half of the user-signed approval, present only when the approval passed a passkey step-up on the first-party surface: intentDigest is a sha256 of the confirm's canonical intent (tool, arguments, scope, id, time), credentialId the passkey that signed a challenge bound to it, signedAt when. The signature itself stays on the server; this is the receipt a host can show and log.

    ok: boolean
    outcome?: string
    outcomeClass?: ConfirmOutcomeClass

    Absent from older servers — read absent as unrecognized.

    retryable?: boolean
    status: "exec_failed" | "denied" | "approved"