kernl API
    Preparing search index...

    Interface Kernl

    The composed shell. One per page.

    interface Kernl {
        accounts: AccountManager;
        bridge: ShellBridge;
        bridges: BridgeRegistry;
        catalog: AppletCatalog;
        directory: RelayDirectory;
        eventStore: EventStore;
        files: AccountFileServers;
        grants: Grants;
        guard: GuardFacade;
        intents: Intents;
        mailboxes: AccountMailboxes;
        messaging: MessagingRegistry;
        pool: RelayPool;
        profiles: Profiles;
        relays: RelayTiers;
        session: Session | null;
        session$: Observable<Session | null>;
        applets(): readonly AppletHandle[];
        decodePointer(input: string): AppletPointer;
        destroy(): void;
        handleWindowMessage(event: MessageEvent): void;
        install(summary: AppletSummary): InstalledApplet;
        login(account: IAccount): Promise<Session>;
        logout(): Promise<void>;
        mount(plan: MountPlan, frame: FrameLike): AppletHandle;
        plan(summary: AppletSummary): Promise<MountPlan>;
        resolve(pointer: AppletPointer): Promise<AppletSummary>;
    }
    Index
    accounts: AccountManager
    bridge: ShellBridge
    bridges: BridgeRegistry
    catalog: AppletCatalog
    directory: RelayDirectory

    Monitored servers (NIP-66) for completing and suggesting; idle until start().

    eventStore: EventStore

    Where the account's uploads go (BUD-03, kind 10063); the defaults while it has no list.

    grants: Grants
    intents: Intents
    mailboxes: AccountMailboxes

    The signed-in account's published inbox and outbox (NIP-65); the outbox tier follows its outboxes.

    messaging: MessagingRegistry
    pool: RelayPool
    profiles: Profiles

    People's names and pictures, loaded from their profiles on demand.

    relays: RelayTiers
    session: Session | null
    session$: Observable<Session | null>
    • Decode an address or event pointer. Throws invalid:pointer.

      Parameters

      • input: string

      Returns AppletPointer

    • Returns void

    • Forward a message event from the window. The host wires this once.

      Parameters

      • event: MessageEvent

      Returns void

    • Parameters

      • account: IAccount

      Returns Promise<Session>

    • Returns Promise<void>