kernl API
    Preparing search index...

    Interface KernelBaseOptions

    What the kernel takes: the host and the parts a host may supply.

    interface KernelBaseOptions {
        accounts?: AccountManager<any>;
        artifactCache?: () => Promise<NappletArtifactCache | undefined>;
        builtins?: readonly BuiltinApplet[];
        eventStore?: EventStore<NostrEvent>;
        guard?: { profile?: GuardProfile };
        host: KernlHost;
        pool?: RelayPool;
        relays?: Partial<Record<RelayTier, readonly string[]>>;
        secrets?: SecretsProvider;
    }
    Index
    accounts?: AccountManager<any>

    Supplied by the app so it can register its own account types first.

    artifactCache?: () => Promise<NappletArtifactCache | undefined>

    Opens the verified-artifact cache. Defaults to Cache Storage when the page has it, otherwise none.

    builtins?: readonly BuiltinApplet[]

    Applets that come with the host, opened by kernl:<id> without a lookup.

    eventStore?: EventStore<NostrEvent>
    guard?: { profile?: GuardProfile }
    host: KernlHost
    pool?: RelayPool
    relays?: Partial<Record<RelayTier, readonly string[]>>
    secrets?: SecretsProvider

    Where the shell keeps passwords and keys of services it signs in to; the host's storage, as typed, by default (D-052).