Major changes: - PD Project Context: accepts incoming context for override chaining, adds auto_increment_version (persistent via widget state, like seed) - New PD Custom Context: 5 user-defined key/value token pairs - Replace PD Output Namer + PD Network Output with: - PD Output Relative (saves to ComfyUI output dir) - PD Output Absolute (saves to absolute/UNC paths) Both show a token reference panel via JS after execution - PD Switch simplified to single-channel with auto-growing inputs (2-8) managed by JS extension (onConnectionsChange pattern) - 💭 emoji prefix on all node display names (with Windows fallback) - Consolidated all JS extensions into web/pipedream.js - Backward compat: PDOutputNamer/PDNetworkOutput aliases preserved https://claude.ai/code/session_015UV4rjSvFatMiNtKhd1sT3
30 lines
1016 B
Python
30 lines
1016 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.2.0"
|
|
|
|
from .nodes import ALL_NODES, PDOutputNamer, PDNetworkOutput
|
|
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)
|
|
|
|
# Backward compatibility for saved workflows referencing old node names
|
|
NODE_CLASS_MAPPINGS["PDOutputNamer"] = PDOutputNamer
|
|
NODE_CLASS_MAPPINGS["PDNetworkOutput"] = PDNetworkOutput
|
|
|
|
# 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"]
|