kernl API
    Preparing search index...

    Interface AskKinds

    Every question the kernel puts to the person, by kind: the facts the host receives, kernl's own wording, and the answer it gives back (D-067). A host draws each kind it registers in KernlHost.asks; one it does not register is refused.

    interface AskKinds {
        "connection.direct": {
            answer: boolean;
            facts: { requirements: readonly PermissionRequirement[] };
            text: ConsentSummary;
        };
        "download.add": {
            answer: boolean;
            facts: { exposesAddress: boolean; question: DownloadQuestion };
            text: ConsentSummary;
        };
        "firewall.approve": {
            answer: FirewallChoice
            | undefined;
            facts: FirewallSummary;
            text: { title: string };
        };
        "intent.choose-handler": {
            answer: HandlerChoice
            | undefined;
            facts: HandlerPrompt;
            text: { title: string };
        };
        "messaging.choose-reply": {
            answer: ReplyAnswer
            | undefined;
            facts: ReplyPrompt;
            text: { title: string };
        };
        "settings.present": {
            answer: void;
            facts: SettingsPrompt;
            text: { title: string };
        };
        "sign.replace": {
            answer: boolean;
            facts: { before?: NostrEvent; draft: NostrEvent };
            text: ConsentSummary;
        };
        "upload.file": {
            answer: boolean;
            facts: UploadDetails;
            text: ConsentSummary;
        };
    }
    Index
    "connection.direct": {
        answer: boolean;
        facts: { requirements: readonly PermissionRequirement[] };
        text: ConsentSummary;
    }

    A direct session with other people, who learn the person's network address.

    "download.add": {
        answer: boolean;
        facts: { exposesAddress: boolean; question: DownloadQuestion };
        text: ConsentSummary;
    }

    A download program acting for an applet. The question is words only: no address, path or credential.

    "firewall.approve": {
        answer: FirewallChoice | undefined;
        facts: FirewallSummary;
        text: { title: string };
    }

    A request a firewall rule says to ask about, such as opening a link. undefined dismisses it, and with no renderer it is refused (D-056). Withdrawn after ten minutes.

    "intent.choose-handler": {
        answer: HandlerChoice | undefined;
        facts: HandlerPrompt;
        text: { title: string };
    }

    Which applet takes a request one applet made of another. undefined cancels it; with no renderer kehto refuses a request no default settles.

    "messaging.choose-reply": {
        answer: ReplyAnswer | undefined;
        facts: ReplyPrompt;
        text: { title: string };
    }

    Which provider carries a reply to someone who wrote through another. undefined dismisses it, which stops the send; with no renderer the order picks.

    "settings.present": {
        answer: void;
        facts: SettingsPrompt;
        text: { title: string };
    }

    An applet's settings form. It asks nothing back; without a renderer the config domain is not offered (D-036).

    "sign.replace": {
        answer: boolean;
        facts: { before?: NostrEvent; draft: NostrEvent };
        text: ConsentSummary;
    }

    Signing a write an applet asked for that replaces or erases part of the person's record.

    "upload.file": { answer: boolean; facts: UploadDetails; text: ConsentSummary }

    Putting a file an applet chose on the person's file servers.