OptionalinitialServiceManager: IManagerPrivate_Private_Private_Get the current service manager. This proxies all calls to the underlying service manager.
Private_Dispose the current service manager (internal helper).
Private_Notify all listeners of service manager change (internal helper).
Create a proxy that forwards all property access to the current service manager. This allows the MutableServiceManager to be used as a drop-in replacement.
IMPORTANT: For properties that are objects (like kernels, sessions, etc.),
we need to return proxies as well, because SessionContext extracts these properties
and holds onto them. Without proxies, SessionContext would keep references to the
old mock service manager's kernels/sessions even after we swap to a real one.
Get the current service manager type.
Service manager type or 'unknown' if not created by factory
Add a listener for service manager changes.
Callback to invoke when service manager changes
Disposable to remove the listener
Update to a local kernel service manager. Connects directly to VS Code Python environments via ZMQ.
Unique kernel identifier
Kernel spec name (e.g., 'python3')
Base URL for kernel connection
Update to a mock service manager (no execution). Convenience method using ServiceManagerFactory.
Update to Pyodide service manager (browser-based Python).
OptionalpyodideUrl: stringOptional CDN URL for Pyodide
Update to a remote service manager. Connects to standard Jupyter server via HTTP/WebSocket.
Base URL for the Jupyter server
Authentication token
Mutable service manager wrapper that maintains a stable reference while allowing the underlying service manager to be swapped.