Back to home

JachinShen

dsh-subagent-response-promoter

No description

Stars
0
Language
JavaScript
Created
Aug 17, 2026
Updated
Aug 17, 2026

Introduction

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