mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-23 17:46:56 +08:00
Add a registered, bool-typed supports_terminal flag so a terminal host (e.g. ComfyUI Desktop) can advertise interactive-terminal availability to the frontend via --feature-flag supports_terminal=true. Registration is required so the value coerces to a real boolean; the frontend gates the terminal UI on a strict === true check. Amp-Thread-ID: https://ampcode.com/threads/T-019e9464-f097-7430-a762-405ffb717dae Co-authored-by: Amp <amp@ampcode.com>
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/