Creates a new RuntimeBridgeService instance.
Protected ReadonlyloggerLogger instance for this service.
Protected ReadonlynameService name for logging.
Gets the current service state.
ProtectedassertDisposes the service and cleans up resources. Ensures disposal only happens once.
Initializes the service. Ensures initialization only happens once and tracks state.
ProtectedonCleans up runtime bridge resources.
ProtectedonInitializes the runtime bridge service. No-op for now as the service is stateless.
Registers runtime-related message handlers with the DocumentMessageRouter.
The message router to register handlers with.
Method to register a message type handler.
Sets the fallback handler for kernel selection failures. Only used by notebookProvider for Datalayer runtime selector.
Callback to invoke when kernel selector fails.
Bridges runtime lifecycle operations between webviews and the extension. Encapsulates runtime selection, termination, and expiration logic shared by providers.