dsh-workflow-canvas ๐งญ
August 17, 2026 ยท View on GitHub
Visual workflow builder for DeepSeek Harness (DSH).
Drag and drop nodes to orchestrate tool calls, sub-agents, and conditional branches into a workflow that runs through DSH's ctx.workflows engine. Powered by React Flow (xyflow) and Zustand.
Install
dsh plugin add @piedpiper911/dsh-workflow-canvas
Node types
| Node | What it does |
|---|---|
| โถ Trigger | Workflow entry point (a prompt). |
| โ Tool | A single tool call (e.g. video_frames, bash). |
| ๐ค Agent | Delegate a step to a sub-agent with its own prompt. |
| โ Condition | Branch on an expression (then/else edges). |
| โ Output | Terminal result template. |
How it works
- Build a graph on the canvas: drag nodes from the toolbar, connect them with edges.
- The store compiles the graph into an ordered step list (breadth-first from triggers, conditions become branches) โ this is the exact shape DSH's workflow engine consumes.
Runhands the steps toctx.workflows;Exportsaves a.workflow.jsonyou can reload later.
The data model is deliberately transport-agnostic: the canvas is a view over a plain-JSON workflow spec, so it composes with any DSH workflow provider.
Development
npm ci
npm run dev # standalone demo at :5173
npm run build # tsc + vite build
License
MIT