PiedPiper911/dsh-workflow-canvas
PiedPiper911 的 DSH 插件 — dsh-workflow-canvas
项目介绍Project Overview
这是 DSH 的可视化工作流构建插件,基于 React Flow 与 Zustand。可拖拽编排触发器、工具调用、子代理、条件分支和输出节点,画布编译为有序步骤后交由 ctx.workflows 运行,并支持导出/重载 .workflow.json。适合需要图形化组装 DSH 工作流时使用;注意它只是普通 JSON 工作流规范的视图,运行仍依赖 DSH 工作流引擎。
A visual workflow builder plugin for DSH, built with React Flow and Zustand. Drag trigger, tool, sub-agent, condition, and output nodes onto a canvas; the graph compiles into an ordered step list for ctx.workflows, with .workflow.json export and reload. Use it when orchestrating DSH tool calls, agents, and branches graphically. The canvas is only a view over a plain-JSON workflow spec; execution still depends on DSH’s workflow engine.
请帮我了解并安装插件:【dsh-workflow-canvas】【https://github.com/PiedPiper911/dsh-workflow-canvas】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin add @piedpiper911/dsh-workflow-canvas
把 PiedPiper911/dsh-workflow-canvas 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-workflow-canvas 🧭
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
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS