- bump project/runtime version markers to v2.3.0 (pyproject + TetriNode UI version) - complete behavior-preserving refactor from monoliths into modular Python and JS architecture (tetrinode/ + js/live/) - add parity + standard regression harnesses under qa/ - fix queue panel layout so Queue bottom stays aligned to matrix bottom regardless of Controls visibility - fix music playback fallback when selected track is none, including modal Play behavior and runtime playback path
19 lines
436 B
Python
19 lines
436 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
_THIS_DIR = Path(__file__).resolve().parent
|
|
if str(_THIS_DIR) not in sys.path:
|
|
# Keep local package imports working when ComfyUI loads this as a custom node.
|
|
sys.path.insert(0, str(_THIS_DIR))
|
|
|
|
from tetrinode import node_api as _node_api
|
|
|
|
for _name in dir(_node_api):
|
|
if _name.startswith("__"):
|
|
continue
|
|
globals()[_name] = getattr(_node_api, _name)
|
|
|
|
del _name
|
|
|
|
del _node_api
|