dsh-plugin-subagent-manager
DiscoveredModel-first subagent management for the DeepSeek Harness: list the model catalog, spawn subagents with a pinned provider/model, and enumerate session subagents.
dsh-plugin-subagent-manager
English · 中文
Subagent routing convention for the DeepSeek Harness, as a profile-mounted static plugin. Two focused contributions:
- Routing prompt — a
systemPrompt.contextsection telling every session: analysis and implementation are delegated to subagents on the cheap/fast worker model; design decisions and final acceptance stay with the main model. Without it, the native tools' generic descriptions leave this discipline to chance. subagent_run— the only delegation tool that can pin a provider/model per call (the nativesubagent/subagent_forkexpose no model parameters). Defaults to the worker route; explicitprovider/modeloverrides it per task (e.g. send one job toglm-5.3ordeepseek-v4-pro).
Deliberately NOT included (covered elsewhere): the default model routes for the native tools live in the profile's cordis.patch.yml (tool-subagent / tool-subagent-fork rows); listing children is covered by the native list_agents.
⚙️ Configuration
Edit CONFIG at the top of src/index.js and restart dsh web:
const CONFIG = {
workerProvider: 'deepseek-official', // cheap/fast route for analysis + implementation
workerModel: 'deepseek-v4-flash',
mainProvider: 'deepseek-official', // fallback label; live value follows agentDefaultModel
mainModel: 'deepseek-v4-pro',
}
🚀 Install (profile-mounted, loads on every boot)
link:dependency in~/.dsh/profiles/web/package.json, thenpnpm installthere.- Loader row in the profile's
cordis.patch.yml:- insert: - id: subagent-manager name: dsh-plugin-subagent-manager - Restart
dsh web. Verify withdsh web --dump-config.
🔒 Notes
- Optional services (
subagents,agentDefaultModel,systemPrompt) are read lazily at use time — boot ordering can never strand them asundefined. - UI strings are in Simplified Chinese; the logic is locale-agnostic.
📦 Files
src/index.js Static host plugin — routing prompt + subagent_run (per-call model override)
License
Comments
Loading…
Similar plugins
by SeverusZh
Subagent Director: per-subagent LLM provider/model selection with role templates for DeepSeek Harness (dsh plugin)
★ 17
↓ 353/wk
MIT
TypeScript
Sep 27, 2026
dsh plugin --profile web add dsh-plugin-subagent-directorby ringoage
The visual, manual subagent-model picker for DeepSeek Harness — predictable per-session routing with global coverage of every in-process subagent path, complementary to auto-routing plugins.
★ 0
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-subagent-model-pickerby AGSQ11
A small DeepSeek Harness plugin that shows the actual provider/model used by a subagent directly inside the existing native subagent tool-call row.
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-subagent-model-visibilityFile-defined subagent roles for DeepSeek Harness: roles live in project and global .dsh/roles files, a delegating agent sees one catalog line per role, and each role's tool policy decides which tools
★ 1
MIT
JavaScript
dsh plugin --profile web add dsh-plugin-subagent-rolesby bpc-oss
DeepSeek Harness plugin: subagent_routed — run a one-shot subagent fully mounted on ANY agent preset from ANY session, with per-call model/provider override and a model-availability pre-check.
★ 3
MIT
JavaScript
Sep 12, 2026
dsh plugin --profile web add dsh-routed-subagentby CypherNaught-0x
Deepseek Harness plugin that allows automatic delegation of subtasks to different models based on user preferences
★ 8
MIT
JavaScript
Sep 17, 2026
dsh plugin --profile web add dsh-subagent-model-router