Natsubrei/dsh-comfyui-panel ↗★ 0
dsh-comfyui-panel
The real ComfyUI editor inside the DeepSeek Harness Web UI, with per-session workflow tools and panel-managed ComfyUI. / 在 DeepSeek Harness Web UI 里嵌入真正的 ComfyUI 编辑器,按会话向模型暴露工作流工具,并可在面板中管理 ComfyUI 进程。 适合需要在DSH内部直接编辑工作流、管理ComfyUI进程的AI生图用户。
Other repositories with this package name
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Natsubrei/dsh-comfyui-panelREADME
Read the full README ↗Configuration
The bundle's own patch, cordis.patch.yml:
- insert:
- id: dsh-comfyui-panel
name: dsh-comfyui-panel
config:
upstream: http://127.0.0.1:8188
prefix: /comfyui
Override the row in your profile's cordis.patch.yml by the same id to change
upstream or prefix; a patch replaces the row's whole config, so repeat
every key you keep.
prefix is the same-origin path the panel is served from; upstream is the
ComfyUI server. Both must agree with the panel's hard-coded /comfyui/.
Process management needs no configuration: open the panel's Server section,
point it at the ComfyUI directory (the folder with main.py; a common location
is detected automatically), and press Start. The command is derived from
that directory (/.venv/bin/python, else python3) and the arguments from
the configured upstream port, so the panel cannot run arbitrary commands. The
directory and the Start with DSH flag are stored in the plugin's own
dsh_comfyui domain, not in the DSH profile.
For advanced setups, the plugin row still accepts a supervise block that
takes precedence at start-up:
supervise:
enabled: true
command: /opt/ComfyUI/.venv/bin/python
args: [main.py, --listen, 127.0.0.1, --port, '8188']
cwd: /opt/ComfyUI
restartDelayMs: 5000
maxRestarts: 5
probeIntervalMs: 20000
startTimeoutMs: 120000
logPath: /var/log/comfyui/comfyui.log
cwd is required when that block is enabled; a missing value fails the plugin
load instead of silently never starting ComfyUI. command defaults to
python3, args to main.py --listen 127.0.0.1. An upstream that already
answers /system_stats is adopted (state: external) rather than duplicated.
Stopping the plugin stops only a process it started.