Commit Graph

14 Commits

Author SHA1 Message Date
Ethanfel ea57b28812 Fix dynamic outputs breaking Kijai Set/Get nodes on workflow load
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>
2026-02-28 00:22:53 +01:00
Ethanfel aa8e3417d2 Move FastAbsoluteSaver from Sharp-Selector, add metadata PNG sidecar option and optimize
- Move FastAbsoluteSaver node from ComfyUI-Sharp-Selector into this pack
- Add save_metadata_png toggle: embeds workflow in a sidecar PNG for webp/video exports,
  or in the first file for PNG sequences
- Batch GPU->CPU tensor transfer (single sync instead of per-image)
- Remove dead webp exif code and unused variables/imports

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 16:11:26 +01:00
Ethanfel f05735dcc0 Fix refresh wiping all links when JSON file is missing
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
When the file at json_path didn't exist, clicking Refresh Outputs
returned empty keys causing all outputs and links to be removed.
Now the API returns an error flag and the frontend bails out early,
preserving existing outputs.

Bump version to 1.2.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 14:19:05 +01:00
Ethanfel 58c53e6229 Document Preview to Load Image node in README
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:29:09 +01:00
Ethanfel e9ee4db32b Bump version to 1.2.0
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:28:30 +01:00
Ethanfel a385616fa2 Add optional mask input to PreviewToLoad node
When a MASK is connected, it gets embedded as the alpha channel of the
saved PNG.  LoadImage then automatically extracts it as its mask output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 12:27:00 +01:00
Ethanfel 14f84b879b Bump version to 1.1.0 for registry update
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 11:55:44 +01:00
Ethanfel b5b4a26f6d Add PreviewToLoad node for bridging preview images to LoadImage nodes
Previews an image (like PreviewImage) and saves a copy to input/ so a
LoadImage node can reference it.  JS extension adds a target-node-ID
widget and "Send to Load Image" button that updates the target's combo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 11:49:13 +01:00
Ethanfel 1e3e30d8f1 Add string/path utility nodes (PathJoin, StringFormat, StringExtract, StringSwitch)
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
Four new nodes that collapse common multi-node chains for path construction,
string templating, substring extraction, and boolean selection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 11:06:32 +01:00
Ethanfel 3319c78de0 Extract inline SVGs to asset files for GitHub rendering
GitHub strips inline SVGs from Markdown for security. Moved the 3
diagrams (banner, node diagram, segment lookup) to assets/ and
reference them with <img> tags instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 20:06:07 +01:00
Ethanfel 35d73176d8 Document segment/batch_data lookup with SVG diagram
Explains flat vs batch JSON, segment lookup logic (match by
sequence_number field, fallback to index, clamping), and per-segment
key differences.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 20:01:41 +01:00
Ethanfel f66cdfd160 Add ComfyUI registry publishing and GitHub install URL
Publish to Comfy registry / Publish Custom Node to registry (push) Has been cancelled
- Add pyproject.toml with registry metadata (publisher: ethanfel)
- Add .github/workflows/publish.yml for auto-publish on version bump
- Update README with GitHub clone URL and ComfyUI Manager install

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:41:03 +01:00
Ethanfel c909f854f4 Rename node to JSONDynamicLoader to avoid collision with JSON Manager
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:36:28 +01:00
Ethanfel 79157f4289 Initial commit: JSON Loader (Dynamic) ComfyUI node
Auto-discovers JSON keys and exposes them as typed output slots.
Includes JS frontend for refresh, connection-safe updates, and
workflow persistence of keys and types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 19:32:57 +01:00