gespenst API - v0.1.0
    Preparing search index...

    Interface ClipboardAddonOptions

    Security and resource policy for ClipboardAddon.

    interface ClipboardAddonOptions {
        confirmUnsafePaste?: (
            request: UnsafeClipboardPaste,
        ) => boolean | Promise<boolean>;
        location?: ClipboardLocation;
        maxBytes?: number;
        onError?: (error: ClipboardAddonError) => void;
        snapshotTtlMs?: number;
    }
    Index
    confirmUnsafePaste?: (
        request: UnsafeClipboardPaste,
    ) => boolean | Promise<boolean>

    Confirms text that could execute shell commands when bracketed paste is unavailable.

    Without this hook unsafe text is rejected. The callback should render a clear preview and require an explicit user decision.

    Clipboard location advertised to terminal applications.

    'standard'

    maxBytes?: number

    Maximum total clipboard bytes accepted per paste.

    33554432

    onError?: (error: ClipboardAddonError) => void

    Receives asynchronous failures from intercepted native paste events.

    snapshotTtlMs?: number

    Lifetime of a MIME snapshot awaiting a Kitty read request.

    30000