kernl API
    Preparing search index...

    Function createKernl

    • Compose the shell: one EventStore, one RelayPool, one AccountManager, the relay tiers, the guard pipeline, the grants layer, the messaging and bridge registries, kehto's services and createShellBridge, plus the applet lifecycle decodePointer → resolve → plan → mount.

      Anything the host passes in options is used as is; anything missing is created with kernl's defaults. The host wires handleWindowMessage to the window once and supplies the frames; everything else is reached through KernlHost.

      Parameters

      • options: KernlOptions

        Host hooks and optional pre-built parts.

      Returns Kernl

      The shell.

      const kernl = createKernl({ host });
      window.addEventListener('message', (event) => kernl.handleWindowMessage(event));
      const summary = await kernl.resolve(kernl.decodePointer(address));
      const handle = kernl.mount(await kernl.plan(summary), iframe);