DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Forge Dsh — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@agent_forge/forge-dsh

Forge Dsh

为 DeepSeek Harness (dsh) 构建质量门禁:任务门禁、编辑前读取、bash 危险操作拦截和质量评分,通过 DSH 的类型化拦截点由 forge CLI 驱动。

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

npx -y @deepseek-ai/dsh plugin --profile web add @agent_forge/forge-dsh@1.66.1
README兼容性版本

兼容性与来源证明

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

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

1.66.1stable
2026/9/18
1.66.0stable
2026/9/18
1.64.0stable
2026/9/18
查看其余 41 个版本收起版本
1.63.0stable
2026/9/18
1.62.0stable
2026/9/16
1.61.3stable
2026/9/16
1.61.2stable
2026/9/16
1.61.1stable
2026/9/15
1.61.0stable
2026/9/15
1.60.0stable
2026/9/15
1.59.1stable
2026/9/14
1.58.1stable
2026/9/14
1.58.0stable
2026/9/14
1.57.1stable
2026/9/13
1.56.7stable
2026/9/11
1.56.6stable
2026/9/11
1.56.5stable
2026/9/11
1.56.4stable
2026/9/11
1.55.1stable
2026/9/9
1.55.0stable
2026/9/9
1.54.0stable
2026/9/8

相关插件

正在加载相关插件…

最新版
1.66.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
51.4 kB
文件数
9
Surface
any
许可证
Apache-2.0
发布源
npm
GitHub
★ 2
周下载
1,982
安全扫描
✓ v1.66.1 扫描通过
最近提交
2026/9/9
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
1.53.0stable
2026/9/8
1.52.0stable
2026/9/7
1.51.0stable
2026/9/6
1.50.0stable
2026/9/4
1.49.0stable
2026/9/2
1.48.1stable
2026/9/1
1.48.0stable
2026/8/31
1.47.0stable
2026/8/30
1.46.0stable
2026/8/28
1.45.4stable
2026/8/28
1.45.3stable
2026/8/28
1.45.2stable
2026/8/27
1.45.1stable
2026/8/27
1.45.0stable
2026/8/27
1.44.0stable
2026/8/26
1.43.0stable
2026/8/25
1.42.2stable
2026/8/24
1.42.1stable
2026/8/23
1.42.0stable
2026/8/23
1.41.0stable
2026/8/22
1.40.1stable
2026/8/21
0.1.1stable
2026/8/20
0.1.0stable
2026/8/20

README

@agent_forge/forge-dsh

Forge quality gates for DeepSeek Harness (dsh) — task gates, read-before-edit, bash hazard interception, and quality scoring, enforced inside DSH sessions through the harness's typed interception points.

Forge is an AI-code quality gate engine. This plugin is a thin Cordis wrapper: it forwards DSH tool/session events to the forge CLI and translates forge's verdicts back into DSH decisions. All gate logic lives in the forge binary — the plugin itself has zero runtime dependencies.

How it works

The mapping table below and the fail-open contract at the end of this README are the two-sided bridge contract, mirrored machine-readably in contract.json and enforced by forge's compat snapshot (surface bridges). Change all three together: contract.json, this README, and the tests on both sides.

DSH interception pointforge hook eventA forge block becomes
tools/pre-executePreToolUse{kind:'deny', reason}
tools/post-executePostToolUse{kind:'block', feedback} (error result)
agent/pre-stepUserPromptSubmit{kind:'reject'}
agent/session-startSessionStart¹context via agent.inject()
agent/turn-stoppingStopagent.steer(reason) → another step

¹ source:'compact' additionally fires forge's PostCompact group — DSH rc.7 exposes no dedicated compaction point.

DSH tool names map onto the Claude Code names forge dispatches on (write/edit/str_replace_editor→Write/Edit, bash/pwsh→Bash, read→Read, skill→Skill); unmapped tools pass ungated. The wired hook roster mirrors forge's canonical spec (lib/spec.json, drift-guarded by a Go test in the Forge repo) — freeze-guard, task-guard, assertion-check, read-before-edit, bash-guard, hazard-guard, auto-compile, workflow-test-guard, file-sentinel, tool-track, test-nudge, failure-track (PostToolUseFailure), subagent-track (SubagentStop), task-verify, review-stop, skill-trigger, and the session-start group. failure-track/subagent-track are mirrored in the spec but inert until DSH exposes the corresponding event points (rc.7 has neither).

Requirements

  • The forge CLI on PATH (npm install -g @agent_forge/forge), with the project initialized (forge init) for task gates to have state to enforce.
  • DeepSeek Harness 0.1.0-rc.x (verified against 0.1.0-rc.7), Node.js ≥ 18.
  • Windows works out of the box: npm lays out forge as a forge.cmd shim, which the plugin spawns through cmd.exe (a bare spawn cannot execute it); timeout kills tear down the whole child tree via taskkill /T.

Install

# from npm
dsh plugin --profile web add @agent_forge/forge-dsh

# or straight from the Forge repo (subdirectory install)
dsh plugin --profile web add "github:MjxUpUp/Forge#main&path:/plugins/forge-dsh"

# local development
dsh plugin --profile web add "link:$(pwd)"

Restart dsh web after install. Check status inside a session with /forge-status.

Config

# profile patch
- insert:
    - id: forge-quality
      name: "@agent_forge/forge-dsh"
      config:
        forgeBin: forge      # binary name/path (env FORGE_BIN overrides the default)
        timeoutMs: 30000     # per-hook ceiling; timeout kills and FAILS OPEN
        enabled: true        # false unwires every listener
        debug: false         # log fail-open hook errors to console.error

Fail-open contract

Blocks are read from forge's stdout JSON (decision:"block"), never from exit codes — a forge internal error (exit 1) is indistinguishable from a deny otherwise. Every infrastructure failure (forge missing, spawn error, unparseable output, timeout) fails open: a forge outage never locks the agent out of its own tools. Such failures are silent by design; surface them with /forge-status or debug:true.

Two latency trade-offs to know: hooks run serially per event (up to five per group), so a slow hook chain delays the tool call — and a gate that legitimately exceeds timeoutMs (e.g. auto-compile cold-building a large project past 30s) silently loses that run's feedback to fail-open (visible in /forge-status). Raise timeoutMs on big projects.

Known watch items (dsh preview)

  • No stop-hook loop guard in rc.7 — a permanently-failing Stop gate steers at every stop boundary. forge's Stop gates are self-limiting once their gate passes, but a stuck gate loops the turn.
  • SessionStart context is best-effort (emit mode, detached): it may miss the first request of a very short-lived session — same limitation the official bridges document (TODO(session-start-gating)).
  • DSH is a developer preview; pin this plugin's version alongside your dsh version.

Development

npm install   # dev-only: @deepseek-ai/cordis for the wiring tests
npm test      # mapping, runner (incl. cross-OS planSpawn units), decision folding, real-cordis wiring

test/doubles/fake-forge.mjs stands in for the forge binary; the wiring suite boots a real cordis runtime and asserts dispatch order, short-circuit semantics, payload shape, and every decision mapping.

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序