Configuring dsh-comfyui
DeepSeek Harness reads the comfyui section from cordis.yml; most values can also be changed in the settings page.
| Key |
Default |
Purpose |
baseUrl |
http://127.0.0.1:8188 |
ComfyUI server address |
apiKeyEnv |
COMFYUI_API_KEY |
Environment variable or credential name for an optional API key |
dataDir |
DeepSeek Harness data directory |
Workflow library and asset index |
comfyuiDirs |
[] |
Local ComfyUI installation directories |
outputDir |
empty, auto-detected |
ComfyUI output location used when deleting assets |
mediaHost |
empty, auto-detected |
External base URL for generated media |
skillsDir |
dataDir/skills |
Root directory for workflow skill packages |
The local directory list helps the agent locate models, custom nodes and TTS voice libraries. A remote server requiring authentication can use apiKeyEnv; the key is not sent to the browser.
Commands provided by dsh-comfyui
DeepSeek Harness exposes comfyui_workflow as the main workflow interface. Its list action reports available workflows, server details, load-area contents and parameter descriptions; run accepts a workflow ID and parameter overrides; skill reads the selected workflow’s instructions; and refresh recalculates its parameter snapshot. sync waits for completion, while async submits a background task and is recommended for video or audio.
comfyui_object_info returns available ComfyUI nodes and models for manually written workflows. comfyui_run executes the resulting API JSON. comfyui_skill manages skill-package files through list, read, write, append, mkdir, rename, delete, enable and require.
How dsh-comfyui behaves
The panel contains workflow, asset and queue views. It can import .json workflows, extract saved ComfyUI graphs as a complete graph, main flow or separate components, and export selected workflows with their skill packages as a .zip preset. The load area accepts images, videos and audio, deduplicates uploads by content hash, and fills unassigned loader inputs in order. The same-origin /comfyui/media route serves generated files after ComfyUI restarts or history cleanup.
Requirements and compatibility
DeepSeek Harness must use the web or desktop profile, and a running ComfyUI server is required. The 0.5.x plugin line pairs with DeepSeek Harness >= 0.1.2 and < 0.3; the 0.3.x beta line pairs with DeepSeek Harness 0.1.1. The README documents no standalone operation without ComfyUI.
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub