rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:blauerberg/dsh-subagent-concurrency-limit
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Limit how many DeepSeek Harness subagent runs and local child-agent turns run at the same time in one process. The root Agent is not counted.
Configured delegation tools and local Agent turns where
delegationDepthOf(agent) > 0 share one process-local pool.
jobs service is available, its registration and
settlement events release reservations for jobs that end before publication.subagent/end event. Execution inside a remote process is
outside this pool's scope.Custom delegation tools must publish subagent/start in the delegating call's
async context and pair it with subagent/end. A deferred tool that succeeds
without publishing a child or registering a Harness subagent job keeps its
reservation until the delegating Agent is disposed.
Pool waits time out after queueTimeoutMs. Harness maxParallelToolCalls
controls tool dispatch separately from this pool.
These examples use the web profile. Replace web with your profile name in
each command and path.
Install the plugin:
dsh plugin --profile web add dsh-subagent-concurrency-limit
Add the plugin configuration to
$DSH_HOME/profiles/web/cordis.patch.yml:
- id: subagent-concurrency-limit
name: dsh-subagent-concurrency-limit
config:
maxConcurrentSubagents: 2
queueTimeoutMs: 300000
subagentToolNames:
- subagent
| Setting | Default | Accepted values |
|---|---|---|
maxConcurrentSubagents |
2 |
Positive safe integer |
queueTimeoutMs |
300000 |
Integer from 1 to 2147483647 milliseconds |
subagentToolNames |
['subagent'] |
Nonempty array of nonempty tool names |
The bundle patch applies these defaults. Edit the same keys to override them. The timeout maximum is the Node.js timer limit.
Start the profile:
dsh --profile web
To update the installed plugin to the latest npm release, run:
dsh plugin --profile web add dsh-subagent-concurrency-limit@latest
Restart the profile after updating.
pnpm install
pnpm run check
check runs lint, typechecks both source and tests, runs the tests, and builds
lib/. CI checks the locked dependencies and the latest Harness release in
separate jobs.
To inspect the package before publishing:
npm pack --dry-run
prepare builds lib/ when packing or publishing. npm publish runs the
checks through prepublishOnly before publishing to npm.
The project is licensed under MIT.
The declared compatibility range is DeepSeek Harness >=0.2.0-rc.2 with Cordis
^4.0.4. The @deepseek-ai/dsh-jobs peer is optional; local turns and direct
runs also work without a jobs service.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。