Seven production pipeline utility nodes for ComfyUI: - PD Project Context: top-level metadata/token source - PD Shot Token: lightweight template string resolver - PD Output Namer: structured output filename builder - PD Network Output: image writer with UNC path support - PD Switch: multi-channel wildcard input router (up to 8×8) - PD Wedge: iteration node with optional auto-queue injection - PD Rasterizer: dry-run wedge cartesian product previewer Core infrastructure: - core/compat.py: legacy + Nodes 2.0 (V3) API compatibility shim - core/tokens.py: standalone token resolution engine - core/utils.py: path normalization and directory helpers - web/pipedream_rasterizer.js: minimal JS for rasterizer preview https://claude.ai/code/session_015UV4rjSvFatMiNtKhd1sT3
26 lines
801 B
Python
26 lines
801 B
Python
"""
|
|
ComfyUI-Pipedream — Production pipeline utility nodes.
|
|
|
|
Provides structured output naming, network path writing, shot metadata,
|
|
wedge iteration, and multi-input switching for VFX/animation workflows.
|
|
"""
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
from .nodes import ALL_NODES
|
|
from .core.compat import get_node_class_mappings, get_display_name_mappings, V3_AVAILABLE
|
|
|
|
# Legacy API registration (always available)
|
|
NODE_CLASS_MAPPINGS = get_node_class_mappings(ALL_NODES)
|
|
NODE_DISPLAY_NAME_MAPPINGS = get_display_name_mappings(ALL_NODES)
|
|
|
|
# V3 API registration (when Nodes 2.0 is present)
|
|
if V3_AVAILABLE:
|
|
from .core.compat import get_v3_nodes
|
|
NODES = get_v3_nodes(ALL_NODES)
|
|
|
|
# JS extensions directory
|
|
WEB_DIRECTORY = "./web"
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|