DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-subagent-parent-message

Subagent Parent Message

为委派的子代理提供双向工具:subagent_parent_message(子代理向父代理发送消息,适用于一次性子代理/工作流子代理)和 subagent_send_message(命名空间化的核心相邻代理消息传递,用于在 send_message 作用域为团队时由父代理向子代理发送消息)。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:zhyunran/dsh-subagent-parent-message#29e4025abf1cb5b1e4525dea3812b9d8a4ed9f8a
README兼容性版本

兼容性与来源证明

Subagent Parent Message 以 dsh-subagent-parent-message 发布,当前版本为 0.1.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/11/4

版本

0.1.2stable
2026/11/4
0.1.1stable
2026/11/4

相关插件

正在加载相关插件…

最新版
0.1.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/11/4
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Profile@deepseek-ai/dsh-experimental-agent-team-profile在一个实验性捆绑包中提供 Agent Teams 协作、工具和 Web UIExperimental Ralph Bundle@deepseek-ai/dsh-experimental-ralph-bundle使用全新代理执行明确请求的重复工作。Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序

README

dsh-subagent-parent-message

Bidirectional messaging tools for delegated DSH subagents.

  • subagent_parent_message — child → direct parent. It reads the parent from the child's own Session header and delivers a durable peer-session message, so one-shot/workflow children can report without writing a file first.
  • subagent_send_message — a namespaced alias for the core adjacent-agent channel (parent ↔ direct continuable child). Use it when the parent's send_message is shadowed by a team-scoped tool with a different schema.

中文说明

Why

DSH core send_message only authorizes a resident continuable child to message its direct parent, and the parent often sees a different send_message ({target, message} from the experimental team tool) instead of the core one ({agent_id, message}). In practice:

  • subagent / subagent_fork children can reach the parent, but the parent cannot reply when its send_message is team-scoped.
  • workflow agent() / pipeline() children are one-shot; they have no continuation activation, so core send_message fails.
  • Nested children often only know a root/grandparent id; core only accepts the direct parent/child (subagent "<id>" is unavailable).
  • The old workaround was "write everything to disk so the parent can read it". It still works, but it is not a message.

These two namespaced tools cover both directions without adding another send_message collision.

Tools

subagent_parent_message — child → parent

subagent_parent_message({ "message": "self-contained progress or result" })
subagent_parent_message({ "message": "...", "mode": "steer" })
  • followup (default): queue a new parent turn; wakes an idle parent.
  • steer: inject at the parent's next step while it is running.
  • Resolves the direct parent from session.header.parentSession; no parent id required.
  • Uses the live parent Agent or sessionController.resolveAgent cold resume, then agent.followup/steer + ctx.sessions.flush.
  • Works for one-shot/workflow children because it does not depend on a continuation activation.
  • Refuses self-delivery and never accepts an arbitrary target.

subagent_send_message — parent ↔ direct continuable child

subagent_send_message({ "agent_id": "session-…", "message": "keep going" })
  • Thin namespaced adapter over ctx.subagents.sendMessage().
  • The subagent service still enforces direct parent/child adjacency and continuation residency.
  • Useful when the parent's send_message is team-scoped (target schema), so the core channel is otherwise unreachable by name.
  • It cannot wake a one-shot child; for a one-shot child's report use subagent_parent_message in the child.

Delivery shape

[Subagent message from session-…]
This is a peer message from a delegated child, not the human user. Treat it as a task update.
---
<your message>

subagent_parent_message uses agent.followup(message) (or agent.steer) + ctx.sessions.flush(agent.session); subagent_send_message delegates to ctx.subagents.sendMessage().

Limits

  • subagent_parent_message: direct parent only, no attachments, no team mailbox; parent must be live or resumable.
  • subagent_send_message: only direct parent/child with a resident continuable activation; it does not replace team send_message for teammates.
  • Neither tool waits for the other side's answer; one call is one message.
  • For file attachments use dsh-cross-session; for teammates use agent_teams_send_message.

Install

Requires DSH 0.2.x.

dsh plugin --profile <profile> add C:\path\to\dsh-subagent-parent-message-0.1.2.tgz
# or
dsh plugin --profile <profile> add https://codeload.github.com/zhyunran/dsh-subagent-parent-message/tar.gz/<40-char-commit>

Restart DSH once after install; both tools are global and visible to subagents.

Status

  • 7 unit tests (node --test test/*.test.mjs): live parent, cold resume, steer, missing parent, empty message, subagent_send_message delegation, missing service.
  • Real dsh-tools schema compile for both tools.
  • Live verified: subagent child → parent via core send_message; workflow one-shot child → parent via subagent_parent_message (followup and steer).
  • No runtime dependencies; peer-depends only on @deepseek-ai/dsh-tools.

License

MIT. See LICENSE.


Built for DeepSeek Harness.