Broadcasts kernel selection to all registered webviews. Used when a runtime is selected that should apply to multiple documents.
Selected runtime to broadcast
Broadcasts kernel termination to all registered webviews. Used when a runtime is terminated that affects multiple documents.
Connects a webview document (notebook or lexical) to a runtime. Sends runtime information to the webview for ServiceManager creation.
Document URI
Selected runtime
Connects a webview document to a local kernel (Python environment, Jupyter kernel, or Jupyter server). Starts the kernel and sends kernel information to the webview.
Document URI
Native kernel information
Connects a webview document (notebook or lexical) to Pyodide kernel. Sends Pyodide kernel type to the webview for in-browser execution.
Document URI
Detects the type of notebook (native vs webview).
Notebook URI
"webview" for Datalayer notebooks, "native" for others
Gets a local kernel client by ID. Used by network proxy to route messages to local ZMQ kernels.
Kernel identifier
Local kernel client or undefined
Registers a webview panel for kernel communication.
Notebook URI
Webview panel
Unregisters a webview panel.
Notebook URI
Kernel bridge interface for managing kernel connections. Implementations should route connections to appropriate handlers.