DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@kasenri/dsh-cx

Cx

社区 DeepSeek Harness 插件:通过 Commander、Executor 和 Smart Watchdog(CxService + cx_controller 工具)实现确定性的工程编排。

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

npx -y @deepseek-ai/dsh plugin --profile web add @kasenri/dsh-cx@0.1.0
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.0stable
2026/9/12

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
100.7 kB
文件数
17
Surface
any
许可证
MIT
发布源
npm
周下载
47
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

继续浏览 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 子代理提供程序

README

@kasenri/dsh-cx

Community plugin for DeepSeek Harness (DSH). Not affiliated with or endorsed by DeepSeek.

Deterministic engineering orchestration for DSH, implemented as a Cordis plugin:

  • a CxService on ctx.cx
  • a model-facing cx_controller tool
  • recoverable tool guards
Goal
 │
 ▼
CxService
 └─ Deterministic Supervisor
     ├─ Commander   (plan / step & final evaluation / strategy reconsider)
     ├─ Executor    (one engineering step at a time)
     └─ Smart Watchdog (runtime diagnosis and recovery)

Every child role runs on DSH's native ctx.subagents service; durable state lives in <project>/.cx/state.json.

Requirements

ComponentTested with
@deepseek-ai/dsh0.1.5-rc.2
@deepseek-ai/cordis4.0.2
Node.js>= 22.19.0

Requires the DSH base services: agents, subagents, tools, sessions (the standard/web profile provides them).

Install

dsh plugin --profile web add @kasenri/dsh-cx@0.1.0

The package declares a dsh.bundle patch, so dsh plugin add registers it as a profile layer automatically.

Usage

The cx_controller tool drives the run:

ActionMeaning
run / startStart a run for a goal (or continue the current one).
resumeContinue the persisted run after an interruption.
statusInspect phase, plan, loop budget and last error.
stopClose the run.
doctorRead-only environment and configuration checks.
// cx_controller
{
  "action": "run",
  "goal": "…",
  "approved_loop_count": 4,
  "user_hard_constraints": ["only touch src/"]
}

State machine

PLAN → EXECUTE → EVALUATE → SUCCESS
                     │
                     ├─ correction (bounded per step)
                     ├─ append (bounded by remaining loop budget)
                     ├─ NEEDS_USER
                     └─ BUDGET_EXHAUSTED
  • Only a normally completed Executor step consumes one loop from the budget.
  • Corrections are limited per base step and reserve budget for the remaining planned steps.
  • Commander decisions are validated in code (PASS_CURRENT_STEP / CORRECT_CURRENT_STEP / NEEDS_USER for step evaluation, SUCCESS / APPEND / NEEDS_USER for final evaluation, KEEP_APPROACH / REPLACE_CURRENT_STEP / NEEDS_USER for strategy reconsider).
  • Commander runs under an adaptive timeout: a soft review at 360s, a second review at 600s and a deterministic hard ceiling at 840s; an extension always keeps the same child.
  • The Smart Watchdog is only invoked on runtime anomalies, performs at most two diagnoses per step, and can resume the same child or restart the step with a fresh one after interrupting the old child.
  • Blocked tools are recoverable: a guard denial stops that single call, not the turn or the run.

Safety boundaries

  • Commander and Watchdog receive read-only tool allowlists.
  • Executors receive the configured writer allowlist; browser tools are added only for steps that declare the browser capability.
  • While CX owns a workspace, other top-level autonomous drivers (create_goal, ralph, workflow) are refused, and CX refuses to start while an active goal driver owns the same workspace.
  • .cx durable state is written only by the CX service (atomic write, short lock transaction, monotonic revision).

Configuration

KeyDefaultMeaning
projectDirsession cwdProject the run operates on.
routes.commanderdeepseek-official / deepseek-v4-pro / highCommander model route.
routes.executordeepseek-official / deepseek-v4-flash / highExecutor model route.
routes.watchdogdeepseek-official / deepseek-v4-flash / lowWatchdog model route.
executorToolsread/glob/grep/bash/edit/write/…Executor allowlist.
browserTools["agent_browser"]Browser capability tool names.
commanderReadOnlyToolsread/glob/grep/web…Commander allowlist.
watchdogToolsread/glob/grepWatchdog allowlist.
executorTimeoutMs480000Deterministic executor runtime timeout.
registerTooltrueRegister the cx_controller tool.
registerGuardstrueRegister recoverable tool guards.

Routes are normal DSH model routes; configure them for your own provider and model identifiers. No credentials are included in this package.

Optional browser capability

CX does not depend on @kasenri/dsh-browser. A plan step that declares capabilities: ["browser"] needs the agent_browser tool to be registered by the browser plugin; otherwise CX reports BROWSER_CAPABILITY_UNAVAILABLE and lets the Commander decide what to do. Install both packages to use that path:

dsh plugin --profile web add @kasenri/dsh-browser@0.1.0
dsh plugin --profile web add @kasenri/dsh-cx@0.1.0

License

MIT