kernl API
    Preparing search index...

    Interface KernlOptions

    interface KernlOptions {
        accounts?: AccountManager<any>;
        artifactCache?: () => Promise<NappletArtifactCache | undefined>;
        bridges?: BridgeRegistry;
        eventStore?: EventStore<NostrEvent>;
        guard?: { profile?: GuardProfile };
        host: KernlHost;
        messaging?: MessagingRegistry;
        messagingBackends?: MessagingBackendFactories;
        pool?: RelayPool;
        relays?: Partial<Record<RelayTier, readonly string[]>>;
        theme?: Record<string, unknown>;
        torrent?: TorrentBackend;
    }
    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.

    bridges?: BridgeRegistry
    eventStore?: EventStore<NostrEvent>
    guard?: { profile?: GuardProfile }
    host: KernlHost
    messaging?: MessagingRegistry
    messagingBackends?: MessagingBackendFactories

    Backends for the messaging providers; absent ones stay unavailable.

    pool?: RelayPool
    relays?: Partial<Record<RelayTier, readonly string[]>>
    theme?: Record<string, unknown>

    Theme pushed to applets that hold theme:read.

    torrent?: TorrentBackend

    The engine for magnet links when bridges is not given. With one, magnet links download inside kernl instead of handing off to an app on the device (D-017).