DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Subagent Concurrency Limit — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-subagent-concurrency-limit

Subagent Concurrency Limit

限制并发的 DeepSeek Harness 子代理轮次和委派运行

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

npx -y @deepseek-ai/dsh plugin --profile web add github:blauerberg/dsh-subagent-concurrency-limit#4e4a469dec98feaae05d914a84812e3dcd1c9281
README兼容性版本

兼容性与来源证明

Subagent Concurrency Limit 以 dsh-subagent-concurrency-limit 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.0stable
2026/9/9

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/9
查看源码 ↗
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 Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序Subagent Claude Code@deepseek-ai/dsh-subagent-claude-code基于官方 Agent SDK 的一次性 Claude Code 子代理提供方

README

dsh-subagent-concurrency-limit

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.

Why it is needed

In DeepSeek Harness dsh-v0.1.1-rc.2 (commit b150a551b8d465e31e418e1b2eaf5e79bbb7d28e), the workflow engine's maxConcurrentAgents and maxTotalAgents apply to agent() calls inside each workflow run. The standard subagent tool has no process-wide limit for root-level direct runs outside a workflow. maxParallelToolCalls limits the dispatch pool for parallel-safe tool calls in one Agent step, not the number of background or continuable runs.

This plugin fills that gap by limiting concurrent root delegation admissions and local descendant Agent turns in one process.

Scope

The plugin limits the delegation tools listed in subagentToolNames and local Agent turns in the same process where delegationDepthOf(agent) > 0. They share one process-local pool. The default limit is 2.

  • A root Agent's delegation call waits in FIFO order before creating a child.
  • Add nonstandard delegation tool names to subagentToolNames.
  • Nested children that call the same delegation tool also consume the pool. If a permit is available, they take it immediately; when the pool is full, they fail without waiting so a child cannot block the ancestor that is waiting for it.
  • Workflow agent() calls and resumed local child turns use the same pool when their Agent turn starts.
  • A permit is released when the child turn becomes idle, the run ends, or the Agent is disposed.
  • For remote-process providers such as Codex, Claude Code, and ACP, only the configured root delegation admission and the observable subagent/start and subagent/end boundaries are visible. Nested execution and restarts inside the remote process cannot be counted.
  • maxParallelToolCalls is independent because it limits tool calls, not live runs.

Install

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 \
  github:blauerberg/dsh-subagent-concurrency-limit#01182275695067510a187cb05b46df49e5fe812c

Git installs fetch the source and build lib/ with the package's prepare script. With pnpm 10 or later, the first command may stop because that build is not allowed. Add the revision-specific key to the profile's workspace file (keep any existing allowBuilds entries):

# $DSH_HOME/profiles/web/pnpm-workspace.yaml
allowBuilds:
  'dsh-subagent-concurrency-limit@https://codeload.github.com/blauerberg/dsh-subagent-concurrency-limit/tar.gz/01182275695067510a187cb05b46df49e5fe812c': true

Save the file, then rerun the install command above. The commit hash used in both places identifies v0.1.0. Installing another revision requires its commit hash in both places.

Add the plugin configuration to $DSH_HOME/profiles/web/cordis.patch.yml:

- id: subagent-concurrency-limit
  name: dsh-subagent-concurrency-limit
  config:
    maxConcurrentSubagents: 2
    subagentToolNames:
      - subagent

maxConcurrentSubagents must be a positive safe integer. subagentToolNames must contain at least one nonempty delegation tool name. The bundle patch applies the defaults above; edit the same keys to override them.

Start the profile:

dsh --profile web

Development

pnpm install
pnpm run check

License

The project is licensed under MIT.