kernl API
    Preparing search index...

    Interface LifecycleContext

    What the applet lifecycle needs from the composed shell.

    interface LifecycleContext {
        adapter: ShellAdapter;
        bridge: ShellBridge;
        builtins: readonly BuiltinApplet[];
        fetchBlob: (
            sha256: string,
            servers: readonly string[],
        ) => Promise<Uint8Array<ArrayBufferLike>>;
        grants: KernlGrants;
        handles: Map<string, MountedApplet>;
        host: Pick<KernlHost, "onRevoked">;
        installed: InstalledApplets;
        openCache: () => Promise<NappletArtifactCache | undefined>;
        pipeline: GuardPipeline;
        pool: ApplesaucePool;
        subscriptions: Subscription;
        tiers: RelayTiers;
    }
    Index
    adapter: ShellAdapter
    bridge: ShellBridge
    builtins: readonly BuiltinApplet[]

    Applets the host ships with itself.

    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">
    installed: InstalledApplets

    Every planned applet is installed, so others can hand it work.

    openCache: () => Promise<NappletArtifactCache | undefined>
    pipeline: GuardPipeline
    subscriptions: Subscription
    tiers: RelayTiers