Scaffolds the toolkit with a scalable layout (src/deepsoch_toolkit package, per-category node subfolders, shared core helpers, shipped vs user-writable preset directories) and ships four nodes: * Prompt Preset (deepsoch/prompt) — checkbox-based multi-select over a preset library, with select_all toggle and optional custom prompt; outputs as a STRING list so downstream auto-runs once per prompt. * Load Images (deepsoch/image) — upload-multi widget with native-style multi-image preview (grid + click-to-fullscreen, X close, counter cycling) mirroring ComfyUI's SaveImage UX via onDrawBackground. * Set Node / Get Node (deepsoch/util) — wireless reroutes implemented as Python stubs enhanced by JS into virtual nodes; getInputLink / getInputNode redirect graph traversal through the matching Set. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
475 B
Python
13 lines
475 B
Python
"""ComfyUI-deepsoch-toolkit — root loader.
|
|
|
|
This file is what ComfyUI imports when it scans `custom_nodes/`. It is
|
|
intentionally thin: it re-exports the node mappings aggregated by the
|
|
internal package under `src/deepsoch_toolkit/`.
|
|
"""
|
|
|
|
from .src.deepsoch_toolkit import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
WEB_DIRECTORY = "./web" # reserved for future JS frontend extensions
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|