Community plugin

gulagala001 / dsh-workflow-plus

JavaScript workflows for DeepSeek Harness with native subagents and jobs, resumable runs, token targets and worktree isolation.

  • JavaScript
  • MIT
  • 2 stars
  • Nov 18, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-workflow-plus is a DSH plugin published from the gulagala001/dsh-workflow repository.

  • Listing statusManifest verified
  • Manifest checkedNov 19, 2026
  • Packagedsh-workflow-plus
  • Package version0.1.14-dsh.0.2.2-rc.3
  • DSH engine0.2.2-rc.3
  • Source commit28b5c55
  • Repository createdOct 20, 2026

Capabilities and topics

dshdsh-plugindeepseek-harnessworkflow
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

快速开始

需要: DSH 0.2.2-rc.3,Node.js 24.9.0+。子代理用你在 DSH 里配好的模型和权限,按正常用量计费。

1. 安装

在 DSH 里打开 插件 → + 添加插件,粘贴:

https://github.com/gulagala001/dsh-workflow/releases/download/v0.1.14-dsh.0.2.2-rc.3/dsh-workflow-plus-0.1.14-dsh.0.2.2-rc.3.tgz

等手头的任务跑完,按提示启用或重启 DSH,原来的设置和会话都还在。命令行安装、升级和卸载见安装指南,校验文件:SHA256SUMS。

2. 先试一件事

在一个项目里输入:

使用 workflow 并行审查 auth 和 storage,汇总发现;不要修改文件。

会话标题旁会出现工作流面板,列出每个阶段和子代理的进度。每个子代理在自己的子会话里运行,可以点开查看。

能做什么

  • 组合步骤:parallel() 并行,pipeline() 让每一项依次经过后面的阶段,phase() 和 log() 报告进度。
  • 保存复用:直接传入脚本,或把脚本存进项目的 .omd/workflows/,以后按名字调用。
  • 中断续跑:传入上次的 resumeFromRunId,前面已经成功、脚本也没改过的调用直接用上次的结果,从第一处变化或失败的地方重新跑。
  • 隔离改动:子代理加上 isolation: 'worktree',就在独立的 Git worktree 里改代码,改完留给你检查和合并。
  • 输出预算:在消息末尾写 +500k 或 +1m,用量到了就不再派新任务。
  • 后台运行:run_in_background: true 放到后台,用 job_output 看结果,用 job_kill 停止。

最小工作流

export const meta = {
  name: 'review-modules',
  description: 'Review two modules',
  phases: [{ title: 'Review' }],
};
phase('Review');
return await parallel([
  () => agent('Review auth for correctness. Do not edit files.', { label: 'auth' }),
  () => agent('Review storage for correctness. Do not edit files.', { label: 'storage' }),
]);

使用范围

场景说明
嵌套工作流最多一层,和外层共用并发数、预算和取消
续跑只在同一个会话内有效;第一处变化之后的调用都会重新执行
worktree 隔离需要本地 Git 仓库;还没提交的改动不会带进 worktree
输出预算到达目标后停止派新任务,正在跑的会跑完,所以实际用量可能略超

常见问题

前面成功且没变的调用不会重跑,第一处变化之后的会。如果任务里有发消息、写数据库这类操作,续跑前先确认上次做到了哪一步。

不会。脚本在项目的 .omd/workflows/,worktree 在 .omd/worktrees/,运行记录和预算在 DSH_HOME/dsh-workflow/。

开发和许可

安装包名是 dsh-workflow-plus,只从本仓库的 Release 下载;npm 上名字相近的包不是本项目。

node scripts/prepare-host-sdk.mjs
pnpm install --frozen-lockfile --ignore-scripts --config.strict-dep-builds=false
pnpm build

架构说明。代码用 MIT 许可,第三方来源见 THIRD_PARTY_NOTICES.md。

反馈问题请写明 DSH 和插件版本、操作步骤、期望和实际结果,日志和截图先去掉个人信息:Issues。

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/gulagala001/dsh-workflow)