liyi3068238601-oss/dsh-comfyui-ctl3

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 驾驶舱:队列控制、历史产出、模型系统盘点、上传生成。

包名
dsh-comfyui-ctl
版本
0.2.0
许可证
MIT
最近更新
2026年8月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liyi3068238601-oss/dsh-comfyui-ctl

配置

在 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)

默认值说明
baseUrlhttp://127.0.0.1:8188ComfyUI 服务地址
requestTimeoutMs30000单次 HTTP 请求超时
pollIntervalMs1500等待生成完成时的轮询间隔
generateTimeoutMs300000comfyui_generate 同步等待上限
maxInlineImages4生成结果最多内联返回多少张图
maxResponseBytes33554432单个 JSON/文本响应上限(32 MiB)
maxMediaBytes67108864单个下载媒体上限(64 MiB)
maxUploadBytes67108864单个本地上传文件上限(64 MiB)
allowedUploadRoots[]允许本地路径上传的绝对目录;空数组表示禁用路径上传
outputDir(空)ComfyUI 输出目录;设置后 comfyui_output_list 支持 directory/auto 模式