kernl API
    Preparing search index...

    Interface LifecycleContext

    What the applet lifecycle needs from the composed shell.

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