JachinShen/dsh-subagent-response-promoter ↗★ 0
dsh-subagent-response-promoter
在 DeepSeek Harness 中将已完成的子代理响应提升至普通排队父上下文之前的插件
AI 分析
核心用途是优化多智能体协作中的消息响应顺序,使父代理优先处理子代理的回调。适合构建了复杂子代理嵌套调用、需要提高响应实时性的用户。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JachinShen/dsh-subagent-response-promoter说明文档
阅读完整 README ↗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.
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
The plugin does not alter the durable inbox, create another subagent protocol, or interrupt an active request. It only rewrites the message order through the existing agent/pre-step Waterfall extension point.
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.1.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