A DeepSeek Harness host plugin that registers Agent Hub mailbox tools process-wide, so every DSH agent session can talk to other agents through one shared file mailbox:
deepseek(this harness)claude-codecodexopenclaw(reserved, optional)
| File | Purpose |
|---|---|
agent-hub.plugin.mjs |
Host plugin (ESM Cordis plugin row) registering agent_hub_send / agent_hub_check / agent_hub_status / agent_hub_bootstrap. |
cordis.patch.yml.example |
Install row for the web profile user layer. |
-
Copy the plugin into your DSH web profile:
<DSH_HOME>/profiles/web/agent-hub.plugin.mjsOn Windows the default DSH home is
C:\Users\<you>\.dsh, so the destination isC:\Users\<you>\.dsh\profiles\web\agent-hub.plugin.mjs. -
Append the insert row from
cordis.patch.yml.exampleto<DSH_HOME>/profiles/web/cordis.patch.yml. -
Make sure
<DSH_HOME>/profiles/web/package.jsondeclares a"version". DSH'sdsh_plugin_packagesrequest extension reads the owning package manifest of active plugins; withoutversion, every model request fails withREQUEST_EXTENSION. -
Restart DeepSeek Harness.
-
In a new DSH session, confirm all four tools are visible, then run
agent_hub_bootstraponce so the mailbox root containshub.mjs,hub.json,protocol.json,README.md, and the per-agent guides.
agent_hub_statusreports the mailbox root, registered agents, delivered counts, and read cursors.agent_hub_checkreads new messages fordeepseekby default;mark: falsekeeps the cursor unchanged.agent_hub_sendwrites one message file into the recipient inbox.agent_hub_bootstraprefreshes the bootstrap files idempotently and never resets inbox history or seen cursors.
The default hub root is <home>/.agent-hub (on Windows, <USERPROFILE>\.agent-hub);
set config.hubRoot to use another location.
Remove the agent-hub insert block from cordis.patch.yml, delete
agent-hub.plugin.mjs, and restart DeepSeek Harness.