KanoNoUta/dsh-captain
DeepSeek Harness 的 Captain 插件:GPT 规划、DeepSeek 工作者、独立审查、自适应多代理编排
Project Overview项目介绍
dsh-captain is a native DeepSeek Harness plugin that exposes a synthetic captain model route for multi-agent code development tasks. It uses GPT models as planners and independent reviewers, while DeepSeek models act as workers that make incremental changes to user code repositories. To install the plugin directly to a DSH web profile, run the command dsh plugin --profile web add github:KanoNoUta/dsh-captain in your terminal. For source development inside a local DeepSeek Harness checkout, you need to add it as a git submodule, apply the integration patch, install dependencies, and build the plugin bundle.
After you select the captain model route, the plugin first calls the configured GPT planner to generate a JSON dependency DAG for the user’s requested task. Workers with disjoint file ownership run concurrently within your configured token budget and adaptive parallel limit. A worker that produces two consecutive invalid DSML tool call responses will fail the entire current task. A passing review by the independent GPT reviewer is required before advancing to the next task step. This plugin is designed for DSH users who want to leverage multi-model collaboration for complex code development tasks.
This plugin is released under the open-source MIT license, with no associated usage cost for personal or commercial use. It relies on users pre-configuring valid credentials for OpenAI-compatible GPT routes and DeepSeek routes in DSH, and does not implement its own OAuth or separate credential storage. Current known limitations include that checkpoints only store Git HEAD and diff metadata in process memory, so they are not persisted between DSH sessions. Untracked files are automatically shared with the reviewer, and workers without an attached parent agent cannot modify the workspace via tools.
这是一个专为DeepSeek Harness开发的原生插件,提供了一个合成的captain模型路由,采用GPT作为规划者和独立评审者,DeepSeek工作模型负责完成代码仓库的增量修改。它自带包清单和入口点,可以直接通过DSH的插件命令从GitHub安装到Web配置文件,安装命令为dsh plugin --profile web add github:KanoNoUta/dsh-captain。源码开发则需要添加子模块并应用集成补丁后构建。
典型工作流是用户选择captain路由后,插件先调用规划器生成JSON依赖有向无环图,文件不重叠的工作任务会在设定的令牌预算和自适应并发限制下并行执行。如果工作者两次输出都不符合DSML工具调用规范,任务会直接失败;评审环节会接收验收标准、工作结果和当前Git增量差异,通过评审后才会进入下一步。它适合需要多模型协作完成代码开发与修改任务的DeepSeek Harness用户使用。
本插件遵循MIT许可,无额外使用成本,依赖用户预先在DSH中配置好OpenAI兼容的GPT路由和DeepSeek路由的凭证,不需要额外实现OAuth或二次存储凭据。当前版本的检查点仅将Git HEAD和差异元数据保存在进程内存中,不支持持久化会话,未追踪的文件会提供给评审者,没有父代理的工作者无法通过工具修改工作区。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-captain(KanoNoUta/dsh-captain)
仓库:https://github.com/KanoNoUta/dsh-captain
本站详情页:https://www.yhbd.top/plugins/kanonouta-dsh-captain/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-15 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:KanoNoUta/dsh-captain
把 KanoNoUta/dsh-captain 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
@kanonouta/dsh-captain
English | 中文
Captain is a dual-face DeepSeek Harness plugin that exposes one synthetic captain model route. GPT is the planner and independent reviewer, while DeepSeek workers make the incremental repository changes.
Install into DeepSeek Harness
Captain ships its bundle manifest and built Host/Client entry points, so a Web profile can install it directly from GitHub:
dsh plugin --profile web add github:KanoNoUta/dsh-captain
For source development inside a DeepSeek Harness checkout:
cd F:\path\to\deepseek-harness
git submodule add https://github.com/KanoNoUta/dsh-captain.git packages/extensions/captain
git apply packages/extensions/captain/patches/deepseek-harness-integration.patch
pnpm install
pnpm exec tsc -b packages/extensions/captain/tsconfig.host.json --pretty false
pnpm --filter @kanonouta/dsh-captain run bundle
The optional source integration patch adds both TypeScript compiler faces and keeps official DeepSeek and OpenCode DeepSeek routes distinguishable in the native model selector. Normal dsh plugin add installation uses cordis.patch.yml and does not require that patch.
Composition
The Host registers captain through the normal LLM adapter directory, so the existing model selector renders a route such as GPT-5.6 Terra -> DeepSeek V4 Flash beside ordinary providers. The route id is captain:<planner-model>-><worker-model> and the model entry advertises text and image input plus Balanced, High Quality, and Ultra reasoning efforts.
Captain resolves each nested provider/model route before dispatch. A policy effort is downgraded to the strongest effort that route advertises, while routes with no selectable reasoning effort receive no effort field.
Captain calls the configured provider routes through the existing OpenAI-compatible LLM adapters. It does not implement OAuth or a second credential store; configure relay providers in the normal LLM settings and reference their provider and model ids from the Captain settings namespace.
The planner returns a JSON dependency DAG. Workers with disjoint file ownership run concurrently under the configured token budget and adaptive parallel limit. A worker response that contains only unexecuted DSML tool-call markup receives one correction attempt; a second such response fails the task. Worker execution failures stop before review and repair. A reviewer receives the acceptance criteria, worker reports, and the current incremental Git diff, and receives one strict JSON correction attempt after a malformed response. A failed code review selects only tasks named by findings for repair; an unscoped finding rechecks the full plan. A passing review advances the in-memory checkpoint used by the next run.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
tingly-dev/tingly-box
a1exsun/dsh-council
UNLINEARITY/dsh-code
ChongCyrus/Vibe-Mathematics
rootkiller6788/dsh-launcher
alib8b8/aflare