Callback to update the selected runtime in the component.
Callback to toggle the kernel initialization spinner.
OptionalupdateStore: RuntimeSelectCallbackOptional callback to update the Zustand store with runtime changes.
Handler methods for each runtime message type.
Creates a set of message handlers for runtime lifecycle events shared by notebook and lexical editors.