mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-10-03 11:27:50 -05:00
Establishes the open-source 'key Python API' for secure custom nodes: - comfy_api/latest/_sdk.py: opaque typed refs (ImageRef/ModelRef/AssetRef...), a brokered ctx surface (assets/progress/scratch/events/storage + stubs), and a Providers registry (ExecutionBackend/CtxProvider/RefResolver) with in-process DEFAULTS so OSS behaves exactly as today (a ref wraps the real object; ctx is a passthrough; zero-copy, zero-overhead). - load_overlay(): env-var (COMFY_OVERLAY_MODULE) path loader that lets a separable, proprietary cloud overlay register isolated implementations at the seam. Unset => pure OSS. Wired guarded into main.startup. - comfy_api/v0_0_3: new API version exposing sdk; registered in version_list. Nothing isolation-specific lives in OSS: this is the seam, not the engine.