kernl API
    Preparing search index...

    Interface LifecycleContext

    What the applet lifecycle needs from the composed shell.

    interface LifecycleContext {
        adapter: ShellAdapter;
        admissions: AppletAdmissions;
        bridge: ShellBridge;
        builtins: readonly BuiltinApplet[];
        extensions?: PlannedExtensions;
        fetchBlob: (
            sha256: string,
            servers: readonly string[],
        ) => Promise<Uint8Array<ArrayBufferLike>>;
        grants: KernlGrants;
        handles: Map<string, MountedApplet>;
        host: Pick<KernlHost, "onRevoked">;
        intents: () => Intents | undefined;
        onVisibility: (windowId: string, visibility: WindowVisibility) => void;
        openCache: () => Promise<NappletArtifactCache | undefined>;
        pipeline: GuardPipeline;
        pool: ApplesaucePool;
        remember: (summary: AppletSummary) => void;
        subscriptions: Subscription;
        tiers: RelayTiers;
    }
    Index
    adapter: ShellAdapter
    admissions: AppletAdmissions

    The firewall's say over which applets start; planning asks it and mounting checks the answer still stands.

    bridge: ShellBridge
    builtins: readonly BuiltinApplet[]

    Applets the host ships with itself.

    extensions?: PlannedExtensions

    Domains kernl serves beyond kehto's list, and their bindings; domains here is everything offered, before grants.

    fetchBlob: (
        sha256: string,
        servers: readonly string[],
    ) => Promise<Uint8Array<ArrayBufferLike>>
    grants: KernlGrants
    handles: Map<string, MountedApplet>

    Live handles keyed by window id; shared with the bridge's revocation hook.

    host: Pick<KernlHost, "onRevoked">
    intents: () => Intents | undefined

    The intents module's api, when it is loaded: every planned applet is recorded there, so others can hand it work.

    onVisibility: (windowId: string, visibility: WindowVisibility) => void

    Told when a window is hidden or shown, after the guard.

    openCache: () => Promise<NappletArtifactCache | undefined>
    pipeline: GuardPipeline
    remember: (summary: AppletSummary) => void

    Tells the firewall which applet a window id's questions are about.

    subscriptions: Subscription
    tiers: RelayTiers