- Migrate from deprecated imports (../../scripts/app.js) to window.comfyAPI
- Fix asset paths for /extensions/ directory structure
- Update Vite base path from /ComfyUI-ultimate-openpose-editor/ to /extensions/ComfyUI-ultimate-openpose-editor/ui/
- Resolves browser reload loop and 404 errors on newer ComfyUI versions
The "Open in MaskEditor" menu option only appears when
ComfyApp.clipspace_return_node is null.
This function call is used in MaskEditor of Comfy-Org/ComfyUI_frontend.
It is reasonable to assume this is the proper way to set that attribute
to null.