Private_Private Readonly_Private_Private Readonly_Private_Preload packages for NATIVE notebooks (Node.js filesystem cache). NOTE: Native notebooks use the npm Pyodide package (0.29.0), so we ONLY download packages, NOT core files. Core files come from npm package, not CDN!
Private_Preload packages for WEBVIEW notebooks (browser IndexedDB cache). Creates a hidden webview panel that downloads packages via micropip. NOTE: Currently disabled due to poor UX (see line 262).
Private_Generate a stable key from package list AND version for caching
Private_Generate minimal HTML for preloading Pyodide
Private_Handle configuration changes
Private_Prompt user on first startup if they want to preload packages
Private_Start preloading packages in background
Private_Watch for configuration changes and trigger preload if packages or version changed
Dispose the preloader service
Initialize the preloader service.
Service to handle Pyodide package preloading. Manages package downloads and caching for offline Python execution.