DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
D

@zakza/dsh-dwf

Dwf

用于 DeepSeek Harness 的确定性动态工作流引擎:TS-facade 编译器、重放日志、确定性来宾沙箱、参与者子代理、dwf 工作流工具

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Achi-Migo/dsh-dwf#cf8efe46a143002de34c7e5d46837a30f39f7898
README兼容性版本

兼容性与来源证明

Dwf 以 @zakza/dsh-dwf 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/26

版本

0.1.1stable
2026/10/26
0.1.0stable
2026/10/26

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
SEE LICENSE IN LICENSE
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Liangshen@linxin666/dsh-liangshen适用于 dsh Web GUI 的 LiangShen (梁神) agent preset 及其 composer lever。主机部分在激活时将内置 preset 声明到 harness 的 agent-preset 注册表中(declare = enabled),因此无需写入任何内容,preset 即可供新会话选择Remote Bridge@linxin666/dsh-remote-bridgeDSH 远程桥接:主机端通过唯一且精确的 /ios/v1 WebSocket 路由提供协议 v1——会话列表、历史记录基线、提示、包含工具活动的实时回合增量、中断以及进程内代理审批——连接到通过一次性配对的设备Skills Manager@michengai/dsh-skills-managerDSH Skills Manager — 在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills · 在 DSH 中加载并安全管理本地 Agent Skills

README

dsh-dwf

Dynamic workflows for DeepSeek Harness — a workflow engine that replaces the official workflowEngine slot with a compiled, replayable, resumable one.

dsh-dwf brings the ZCode-style workflow contract to DSH: a TypeScript-checked script facade instead of plain JS, a replay journal in SQLite, a deterministic guest sandbox, persistent actor subagents, and a model pool that spreads load across providers and fails over on quota errors.

License: source-available, non-commercial, attribution required. See LICENSE and NOTICE. Commercial use needs written permission. This is not an OSI-approved open-source license.


What you get

CapabilityDetail
Typed workflow scriptsagent<T>() results are validated against a JSON Schema generated from a script-local TS interface — the facade is checked at compile time
Replay journalEvery run, event, node and actor is persisted in SQLite (dwf_run / dwf_event / dwf_node / dwf_actor); the model tool reads the same database the engine writes
Deterministic guestScripts run in a restricted realm: no Date.now(), no Math.random(), no filesystem, no network — a run can be replayed
Persistent actorsOne agent() handle keeps its conversation across asks (FIFO per actor)
Model poolUnbound actors spread across providers (spread or round-robin); deterministic provider failures cool down and fail over
Stall detectionA deadlocked or stalled script settles as a clean error instead of hanging the run
Background runsrun_in_background via the host job registry

Requirements

  • Node.js ≥ 22.6 (the package ships TypeScript sources and relies on native type stripping; developed and tested on Node 24)
  • DSH 0.2.1-rc.3 (pinned; the engine implements the workflowEngine seam of that release)

Install

dsh-dwf resolves its @deepseek-ai/* imports from the DSH host, so it must be installed into a DSH profile — not into a bare project (a plain npm i outside DSH leaves the peer packages unresolved, by design).

# from GitHub
dsh plugin --profile personal add github:Achi-Migo/dsh-dwf

# or from a packed tarball
npm pack && dsh plugin --profile personal add ./zakza-dsh-dwf-0.1.0.tgz

Then disable the official engine + tool so only one workflow surface is mounted (add to $DSH_HOME/profiles/personal/cordis.patch.yml):

- id: workflow-ptc
  disabled: true
- id: tool-workflow
  disabled: true

The bundle patch (cordis.patch.yml in this package) inserts two rows: dwf-engine (publishes the workflowEngine service) and dwf (registers the dwf model tool). Both must point at the same dbPath — that database is the single source of truth shared by engine and tool.

Set dbPath explicitly in your profile layer; an empty value means ./dwf.db relative to the host process cwd:

- id: dwf-engine
  config:
    toolName: dwf
    dbPath: /absolute/path/to/dwf.db
    modelPool: 'providerA/model-x,providerB/model-y'

Config fields: toolName, dbPath, maxConcurrency, maxTotalAgents, maxResultChars, enableRunInBackground, modelPool, poolPolicy (spread | round-robin), poolCooldownMs, failoverAttempts.

Writing a workflow

The model calls the dwf tool with a script. Scripts are TypeScript bodies with top-level await and a final return:

phase("Review the changed files");

const reviewer = agent("reviewer", {
  system: "You review code. Report only real defects.",
  model: "providerA/model-x",
});

interface Review {
  /** File the finding is in. */
  path: string;
  /** One sentence: what is wrong. */
  problem: string;
  /** low | medium | high */
  severity: string;
}

const review = await reviewer.ask<Review>("Review src/parser.ts");
log(`found ${review.severity} issue in ${review.path}`);
await report(review);

return { ok: true, path: review.path };

Facade: agent / ask<T> / model / phase / log / report / publishArtifact / channel / future / world (run, read) / files (glob, read, grep) / git (changedFiles, diff, status, log) / args / hole.

Verification status

Verified on Windows + Node 24.20.0 against DSH 0.2.1-rc.3 in a personal profile, with a real host boot and journal reconciliation:

  • typecheck, stall/unit/integration suites and the no-host smoke suite: green
  • real-machine smoke: report-then-return script completes (no false stall); an actor round-trip returns a real model reply
  • dsh-workflow-gate coexistence: the gate's verdict equals the command exit code, no model involved

Known boundaries (deliberate deferrals, not bugs):

  • workflow-script amend/resume caching and SaveWorkflow are placeholders
  • artifact presets (chart/table/metrics/board) are placeholders; report items and artifact rows are recorded in the journal instead
  • the host exposes no confirmation-surface, artifact-card or completion- notification API at this DSH version, so phase/command preview and artifact cards are not wired
  • hole() answers with a deterministic "unavailable" error rather than parking the run

Repository layout

src/compile/   TS → JS lowering, facade checking, JSON Schema, phase graph
src/engine/    engine, run lifecycle, scheduler, actor pool, effects, artifacts
src/journal/   SQLite schema, store, projection, caps
src/guest/     deterministic realm, prelude, channel primitives, protocol
src/tool/      model-facing tools (create/get/list, mirror, recorder)
assets/        facade declaration, guest templates, journal DDL
test/          smoke, stub-check, compile/engine/tool/pool/integration suites

Acknowledgements

Provenance, upstream projects and required attribution are in NOTICE. In short: dsh-dwf is an independent reimplementation of ZCode's dynamic-workflow runtime, built on the DeepSeek Harness plugin contract. It redistributes no ZCode code and no @deepseek-ai/* package.

Contributing

Issues and pull requests are welcome for non-commercial purposes. By contributing you agree your contribution is licensed under LICENSE. Keep the NOTICE intact.