liyi3068238601-oss/dsh-comfyui-ctl ↗★ 3
dsh-comfyui-ctl
ComfyUI cockpit for DeepSeek Harness: queue control, history & outputs, model/system inventory, upload & generation as native agent tools. Core is a standalone ComfyClient (MCP-wrappable). / ComfyUI 驾驶舱:队列控制、历史产出、模型系统盘点、上传生成。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liyi3068238601-oss/dsh-comfyui-ctl说明文档
阅读完整 README ↗配置
在 Web profile 的 cordis.patch.yml 中按 ID 覆盖配置:
- id: comfyui-ctl
config:
baseUrl: 'http://127.0.0.1:8188'
outputDir: 'C:\path\to\ComfyUI\output'
allowedUploadRoots:
- 'C:\Users\your-name\Pictures'
仅在源码开发时才需要 file:///C:/path/to/dsh-comfyui-ctl/src/index.js。Windows 源码绝对路径必须转换成 file:/// URL,不能直接写 C:\...。
配置项(Config)
| 键 | 默认值 | 说明 |
|---|---|---|
baseUrl | http://127.0.0.1:8188 | ComfyUI 服务地址 |
requestTimeoutMs | 30000 | 单次 HTTP 请求超时 |
pollIntervalMs | 1500 | 等待生成完成时的轮询间隔 |
generateTimeoutMs | 300000 | comfyui_generate 同步等待上限 |
maxInlineImages | 4 | 生成结果最多内联返回多少张图 |
maxResponseBytes | 33554432 | 单个 JSON/文本响应上限(32 MiB) |
maxMediaBytes | 67108864 | 单个下载媒体上限(64 MiB) |
maxUploadBytes | 67108864 | 单个本地上传文件上限(64 MiB) |
allowedUploadRoots | [] | 允许本地路径上传的绝对目录;空数组表示禁用路径上传 |
outputDir | (空) | ComfyUI 输出目录;设置后 comfyui_output_list 支持 directory/auto 模式 |