DeepSeek Harness 插件

dsh-subagent-response-promoter

Promote completed subagent responses ahead of ordinary queued parent context in DeepSeek Harness.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
JachinShen/dsh-subagent-response-promoter
最近更新
2026年8月19日
分类
自动化与任务
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/JachinShen/dsh-subagent-response-promoter
插件名:dsh-subagent-response-promoter
作者:JachinShen

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-subagent-response-promoter

A small Host-side Cordis plugin for DeepSeek Harness.

Continuable background subagents already wake their parent when an activation settles. If a parent is busy, the runtime places the manager-authored subagent-settled response in the next safe Agent step. This plugin stably promotes those responses ahead of ordinary context in that step, so the parent handles child callbacks first without polling or interrupting an in-flight model/tool call.

The built-in send_message tool submits a coordinator relay as the child's next turn. This plugin moves that relay to the child's next-step inbox while preserving the original wake, so a running child receives it at its nearest later step boundary instead of waiting for its current turn to finish.

Behavior

Given one proposed Agent step:

ordinary A, child response A, ordinary B, child response B

The model receives:

child response A, child response B, ordinary A, ordinary B

A coordinator relay inserted into next-turn is durably removed and reinserted into next-step. The relocation does not cancel an active model request or tool call; it becomes visible only when the Agent reaches a safe step boundary. Other follow-up messages retain their ordinary next-turn behavior.

Install in a DSH profile

Add the repository as a profile dependency and bundle:

{
  "dependencies": {
    "dsh-subagent-response-promoter": "github:JachinShen/dsh-subagent-response-promoter#v0.2.0"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "dsh-subagent-response-promoter"
      ]
    }
  }
}

Then reinstall that profile and restart its DSH process. The package's cordis.patch.yml inserts the Host plugin automatically.

Development

npm test

License

MIT