kernl API
    Preparing search index...

    Interface ShellAdapterDeps

    What the adapter needs from the rest of the shell.

    interface ShellAdapterDeps {
        accounts: AccountManager;
        consent: SigningConsent;
        disabledDomains?: readonly string[];
        filterNappletMessage: (
            windowId: string,
            message: NappletMessage,
        ) => NappletMessageDecision;
        getFocusContext: (windowId: string) => { focused: boolean };
        onNappletMessage?: (windowId: string, message: NappletMessage) => void;
        onNappletRevoked: (revocation: NappletRevocation) => void;
        onShortcut?: (key: ShortcutKey) => void;
        onUnroutedMessage?: (info: UnroutedMessageInfo) => void;
        permissions: PermissionAdapter;
        pool: ApplesaucePool;
        resolveEnvironment: (
            identity: OriginIdentity,
            available: Readonly<
                { domains: readonly string[]; services: readonly string[] },
            >,
        ) => Readonly<{ domains: readonly string[]; services: readonly string[] }>;
        services: ServiceRegistry;
        tiers: RelayTiers;
    }
    Index
    accounts: AccountManager

    Gates every signature made for an applet window; see createSigningConsent.

    disabledDomains?: readonly string[]

    Domains kehto offers natively that no loaded module answers, withheld from every applet (D-061).

    filterNappletMessage: (
        windowId: string,
        message: NappletMessage,
    ) => NappletMessageDecision

    Decides every port envelope before kehto's runtime sees it; see GuardPipeline.observe.

    getFocusContext: (windowId: string) => { focused: boolean }

    Whether a window has focus, as the shell's window manager reports it.

    onNappletMessage?: (windowId: string, message: NappletMessage) => void

    Hears every envelope on a bound port before the guard decides it; observe-only.

    onNappletRevoked: (revocation: NappletRevocation) => void
    onShortcut?: (key: ShortcutKey) => void

    Takes a key an applet had no shortcut for, so the shell's own shortcuts work while an applet has focus (D-054).

    onUnroutedMessage?: (info: UnroutedMessageInfo) => void
    permissions: PermissionAdapter

    The firewall's host side: rules, questions, stored answers and the runtime's rate limiter; see createFirewallPermissions.

    resolveEnvironment: (
        identity: OriginIdentity,
        available: Readonly<
            { domains: readonly string[]; services: readonly string[] },
        >,
    ) => Readonly<{ domains: readonly string[]; services: readonly string[] }>
    services: ServiceRegistry
    tiers: RelayTiers