Dazzle Command v0.2.7-alpha
Workflow orchestration node for ComfyUI — coordinate seed control and execution gates from a single play/pause toggle. Part of the DazzleNodes collection.
What's New in v0.2.7-alpha
Cross-Tab State Contamination Fix
Opening a second workflow tab (even the same file, even without running it) used to contaminate the first tab's play/pause state and invalidate its cache. Root cause: node IDs collide across tabs, so every store keyed by bare node ID was cross-tab shared.
The fix removes server-side state entirely:
- State lives on each node object plus
node.properties(persisted per workflow-tab draft — survives tab switches and page reloads) - At queue time, JS injects the live state into the node's prompt inputs as a hidden
dazzle_stateinput — per-queue and per-tab by construction, and part of ComfyUI's cache key (toggling play/pause is exactly the change that should re-execute) - The
nodeStatesmap, workflow-UUID guard,sys._dazzle_command_statesregistry, IS_CHANGED, and the/dazzle-command/set-stateAPI endpoint are all gone (net −79 lines)
Other Fixes
- Reconfigure protection: mid-session graph reconfigures replaying stale snapshots can no longer revert your Play/Pause clicks (per-node-object guard replacing the v0.2.5 workflow-UUID approach)
- Honest seed display: the seed bar no longer adopts seeds from SmartResCalc nodes that aren't noodle-connected to this DazzleCommand — an unconnected node now shows
--instead of masquerading as working orchestration - Seed bar values persist per tab via
node.properties - Headless/API prompts (no JS) default to paused, as before
Installation
Install via ComfyUI Manager or clone:
cd ComfyUI/custom_nodes
git clone https://github.com/DazzleNodes/ComfyUI-DazzleCommand.gitVersion History (0.2.x)
| Version | Key Change |
|---|---|
| v0.2.7-alpha | Current — cross-tab isolation, stateless Python, per-tab persistence |
| v0.2.6-alpha | Reset All button, OUTPUT_NODE restored |
| v0.2.5-alpha | Mid-execution reconfigure state guard (workflow UUID) |
| v0.2.4-alpha | Docs for per-node state architecture |
| v0.2.3-alpha | Per-node state registry (superseded by v0.2.7's per-tab design) |
Companion Versions
- SmartResCalc v0.12.2 — per-tab lastSeed persistence, seed intent override (pairs with this release)
- PBE v0.4.3-alpha — unchanged (noodle path was already per-graph correct)
Platform Support
| Platform | Status |
|---|---|
| Windows 11 + CUDA | Tested |
| Linux / macOS | Expected to work |
Requirements
- Python 3.10+, ComfyUI (latest recommended), no additional dependencies