dsh-team-router
Manifest validRoutes native DSH team delegations to authorized models using seven configurable task categories.
dsh-team-router
给 DSH 原生队友按任务类别选模型。v0.3.2 适配 DSH 0.2.2-rc.3,需要 Node.js 24+。当前仅支持原生队友,Codex、agy、Cursor 外部 Agent 执行尚未开放。
原生分工与分类路由
是否分工,由主助手(Lead)决定;插件只负责分类委派时的模型选择。 以「帮我写一份发布说明」为例:
Lead 判断是否分工
├─ 自己写 → 直接回复
├─ 原生委派 → 按 DSH 原生规则选模型 ┐
└─ 分类委派 → 选择 writing → 按配置和授权选模型 ┴→ 队友执行 → Lead 验收
日常直接说需求即可,不必手写工具参数。保存策略不会自动拆任务或接管普通委派;只有 Lead 使用 team_route_delegate 时才会套用类别配置。停用插件仍可使用原生团队;关闭主会话的团队协作开关,则该会话也不再提供分类委派。两者都不会取消已启动的任务。
快速开始
- 在当前 DSH Web 对应的 profile 中,通过插件管理器安装 npm 包
dsh-team-router并启用,刷新页面。 - 打开 插件 → 团队任务路由,在说明下方的表格中编辑:首行是默认目标,其余七行左侧是类别,右侧是路由配置。也可从 设置 → 团队任务路由 进入。两处共用已保存的策略,不共享未保存的草稿。七类默认继承会话模型;可单独指定模型和推理强度,或点 预览推荐配置 → 确认应用到草稿,最后点 保存策略。
- 在主会话的 模型与推理等级 菜单开启 启用智能体团队协作。想验证配置时,可以说:「请按
writing类别委派一份发布说明,再用team_route_status查看本次配置目标。」
保存只影响之后新建的分类委派。目录中可见的模型不一定获当前会话授权;未记录子代理模型白名单时,只能显式选择当前父模型。
七个内置类别
| 类别 | 适合的任务 |
|---|---|
visual-engineering | 前端界面、交互和布局 |
ultrabrain | 高难推理、算法和架构决策 |
deep | 需要持续探索、实现和验证的任务 |
artistry | 创意构思和发散设计 |
quick | 范围明确的小改动和查询 |
unspecified | 不适合其他类别的通用任务 |
writing | 文档、说明和报告 |
从旧版升级
如果已有旧路由,请在设置页确认迁移并保存后再委派。插件会先备份旧策略,只映射旧默认路由;关键词规则、角色映射和成员手动覆盖不再参与选模。
开发与参考
运行 npm ci --ignore-scripts 安装依赖,npm run check 执行类型检查、测试和构建,npm pack --ignore-scripts 生成安装包。
V2 配置示例 · 实施方案 · 验证记录与外部执行器限制 · MIT 许可证
维护者发布
GitHub Actions 在面向 main 的 PR 和 main 推送上检查并打包,不发布。只有推送 vX.Y.Z 稳定版标签,且提交已在 main、版本与包清单及锁文件一致时,才将该次检查生成的安装包发布到 npm 的 latest。
首次需由包维护者在 npm 包设置 添加 GitHub Actions Trusted Publisher:仓库 MorseWayne/dsh-team-router、工作流 publish.yml、Environment 留空,允许 Publish。不需要 NPM_TOKEN。之后在干净、已同步的 main 上运行 npm version patch(或 minor / major),再运行 git push --atomic origin main "$(git describe --tags --exact-match HEAD)",即可触发发布。
Comments
Loading…
From the same category
by Ebony-Vinyl
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 Muse Spark 1.3、MiMo V2.6 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, Mu
★ 85.2k
↓ 9k/wk
MIT
JavaScript
Nov 24, 2026
dsh plugin --profile web add dsh-our-free-modelby zouyuxuan122
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 Muse Spark 1.3、MiMo V2.6 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, Mu
★ 24.7k
↓ 9k/wk
MIT
JavaScript
Oct 5, 2026
dsh plugin --profile web add dsh-our-free-modelby HunYiSage
DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐ 如要二开,请查看署名要求部分
★ 17.1k
↓ 12.6k/wk
Apache-2.0
JavaScript
Nov 7, 2026
dsh plugin --profile web add dsh-purgeby helloHub1212
Windows desktop automation for DeepSeek Harness: the in-box MCP client bridge mounted against CursorTouch/Windows-MCP, with an off-by-default Computer Use switch and an in-app dependency installer.
★ 2.3k
↓ 120.3k/wk
MIT
JavaScript
Nov 23, 2026
dsh plugin --profile web add dsh-windows-mcpby dingminhua
Connect locally signed-in WorkBuddy models to DeepSeek Harness with a read-only credits overview and model management.
★ 2k
↓ 37.9k/wk
MIT
TypeScript
Nov 23, 2026
dsh plugin --profile web add dsh-connect-workbuddyby Alice-Marx
Model Router and GALGame plugin for DeepSeek Harness
★ 1k
↓ 2.7k/wk
MIT
JavaScript
Nov 23, 2026
dsh plugin --profile web add @ljwei-stak/dsh-model-router