Defer removal of the 32 default Python outputs from onNodeCreated using queueMicrotask so they remain available during graph loading. ComfyUI creates all nodes before configuring them, and nodes like Kijai's SetNode resolve links during their configure step — if outputs were already removed, the resolution failed with "node input undefined". The deferred cleanup only runs for new nodes; loaded workflows set _configured=true in onConfigure first. Also adds a fallback to sync widget values from serialized outputs when widget restoration fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7.3 KiB
7.3 KiB