Replace STRING widget with fresh COCO.PATH widget object to prevent
LiteGraph default "Value" prompt from appearing alongside custom file
browser. Bump version to 0.8.0. Simplify .gitignore and move dev
files to dev/. Add test images and example workflow for release.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Server-side /cocotools/browse API endpoint returns directory listings
with extension filtering. JS modal file browser injects browse buttons
on ImageLoader, LoadExr, LoadExrSequence, and SaverNode path widgets.
Zero changes to node INPUT_TYPES — fully backward compatible.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a clickable Canvas2D preview widget to CryptomatteLayer that displays
the connected beauty pass, maps mouse clicks to pixel coordinates for matte
generation, and overlays a diagonal zebra stripe pattern on selected pixels.
- Add preview_image optional IMAGE input and OUTPUT_NODE for UI data
- Create js/cryptomatte.js with click handler, crosshair, and hover coords
- Fix image output to always produce valid [1,H,W,3] IMAGE tensors
- Search all cryptomatte ranks and ID channels for hash matching
- Extract layer name resolution into _resolve_layer_name method
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add optional x_coord/y_coord inputs for pixel selection
- Sample cryptomatte float32 hash at clicked position
- Generate binary mask matching all pixels with same object ID
- Add JS click handler to map preview clicks to pixel coordinates
- Existing functionality preserved when coords are -1 (default)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add channels < 3 guard matching histogram pattern.
Replace all var declarations with const/let for consistency.
Add batch_size to image_info for parity with histogram node.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove non-existent load_exr.js import that broke all JS extensions.
Fix isCryptomatte scope bug in setup() causing ReferenceError.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>