dsh-subagent-hub
为官方子智能体工具提供具名预设与模型路由白名单:越界的子模型在派发前被拒绝,子会话标题栏显示最近一次请求实际使用的模型。
安装
dsh plugin --profile web add dsh-subagent-hub
沙箱测试结果
| 阶段 | 结果 |
|---|---|
| 1 安装 | ✓ |
| 2 列装 | ✓ |
| 3 挂载 | ✓ |
| 4 启动 | — |
四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。
README
<p align="center">
<img src="https://raw.githubusercontent.com/ccsert/dsh-subagent-hub/v0.11.4/docs/assets/hero.webp" alt="Subagent Hub — Named roles. Clear routes. Visible models." width="100%">
</p>
<p align="center">
<a href="https://github.com/ccsert/dsh-subagent-hub/releases/tag/v0.11.4"><img src="https://img.shields.io/badge/version-0.11.4-66c8ab" alt="Version 0.11.4"></a>
<a href="https://github.com/ccsert/dsh-subagent-hub/blob/v0.11.4/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT license"></a>
<a href="https://github.com/ccsert/dsh-subagent-hub/blob/v0.11.4/docs/install.md"><img src="https://img.shields.io/badge/DSH_Desktop-0.12.1-7087ad" alt="Tested with DSH Desktop 0.12.1"></a>
<a href="https://github.com/ccsert/dsh-subagent-hub/blob/v0.11.4/CONTRIBUTING.md"><img src="https://img.shields.io/badge/verified-204_unit_%2B_33_runtime-66c8ab" alt="204 unit tests and 33 runtime assertions verified"></a>
</p>
<p align="center"><a href="https://github.com/ccsert/dsh-subagent-hub/blob/v0.11.4/README.md">简体中文</a> · <b>English</b></p>
Subagent Hub
Roles, model selection context, and route boundaries for official DeepSeek Harness subagents. Give the main agent useful reviewer, tester, or research roles; manage allowed models in Settings; inspect the most recent model request from a child conversation.
Uses official subagent / subagent_fork dispatch, Agent Presets, and conversation UI. Keep your existing main-agent preset.
Install · Download a release · Configuration example · Changelog · Contribute
Features
Feature · Behavior
Named roles · Register official hub-agent-<id> presets and dispatch with agent_preset
Model selection catalog · Provide configured routes, capabilities, purposes, and role instructions to the main agent
Route guard · Check the global child routes before subagent, fork, and Team creation; named roles can narrow that range further
Per-session concurrency · Limit child agents in each parent session, alongside DSH's global capacity
Native settings form · Edit models, roles, tags, and management options in Settings → Subagent Hub
Request model visibility · Read the latest provider/model from the child header; expand for full IDs and recorded reasoning effort
Agent overview
Since 0.11.1, an optional Agent overview is available, off by default. Enable Show agent overview under Settings → Subagent Hub → General and save to show the header entry immediately. Turning it off leaves the official Agent Team UI available. It combines independent subagents and Team members with search, filters, sorting, native conversation navigation, shared tasks, dependencies, and write-scope warnings. Models, execution time, and token usage come from native projections. An inactive teammate is not a completed task; missing usage remains unknown.
Diagnostics replays committed tool results to show the latest 64 Hub guard rejections and the recorded total. Other tool failures are outside this history. Opening or refreshing the panel performs read-only projection refreshes with at most four concurrent reads; it starts no model requests.
Screenshots
Models and named agents
The latest child request
Agent overview
These are the actual plugin components rendered with demo data. They contain no user profile, private conversation, or credentials. See screenshot provenance for full-size and narrow views. The Hero was generated with dsh-image-gen.
Quick start
Tested with DSH Desktop 0.12.1 / @deepseek-ai/dsh 0.2.1-rc.2. Configure a working model provider in DSH first.
1. Download dsh-subagent-hub-0.11.4.tgz from Releases.
2. Install it from the target profile directory:
pnpm add /absolute/path/to/dsh-subagent-hub-0.11.4.tgz
3. Append "dsh-subagent-hub" to dsh.profile.bundles in that profile's package manifest. Preserve existing bundles and restart DSH to load the plugin code.
4. Open Settings → Subagent Hub, select models already available in your DSH, and add a role. Enable Manage the official delegation settings if you want Hub to synchronize the official allowlists. Save, then start a new conversation.
Git checkout installation, profile locations, upgrades, and removal are covered in the installation guide. The package is published as dsh-subagent-hub; fixed GitHub release archives are also available. The Team/inheritance guard requires 0.10.2 or newer.
Minimal configuration
The settings form and profile patch edit the same configuration. The provider/model below must already be available in your DSH:
- id: subagent-hub
config:
maxConcurrent: 4
manageOfficialSettings: true
rout
…(truncated)以上内容来自 npm 上的 README,我们只做格式化,不改内容。
版本
npm 上共发布:8,最后更新 2026-11-06