dsh-team-router 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/package.json +24 -24
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dsh-team-router
|
|
2
2
|
|
|
3
|
-
给 DSH
|
|
3
|
+
给 DSH 原生队友按任务类别选模型。`dsh-team-router@0.3.3` 的同一个安装包支持 DSH **`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`**,需要 Node.js 24+。更新的宿主版本通过兼容测试后再加入,不需要开启版本豁免。当前仅支持原生队友,Codex、agy、Cursor 外部 Agent 执行尚未开放。
|
|
4
4
|
|
|
5
5
|
## 原生分工与分类路由
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@ Lead 判断是否分工
|
|
|
17
17
|
|
|
18
18
|
## 快速开始
|
|
19
19
|
|
|
20
|
-
1. 在当前 DSH Web 对应的 profile
|
|
20
|
+
1. 在当前 DSH Web 对应的 profile 中,通过插件管理器安装 npm 包 `dsh-team-router` 并启用,刷新页面。
|
|
21
21
|
2. 打开 **插件 → 团队任务路由**,在说明下方的表格中编辑:首行是默认目标,其余七行左侧是类别,右侧是路由配置。也可从 **设置 → 团队任务路由** 进入。两处共用已保存的策略,不共享未保存的草稿。七类默认继承会话模型;可单独指定模型和推理强度,或点 **预览推荐配置 → 确认应用到草稿**,最后点 **保存策略**。
|
|
22
22
|
3. 在主会话的 **模型与推理等级** 菜单开启 **启用智能体团队协作**。想验证配置时,可以说:「请按 `writing` 类别委派一份发布说明,再用 `team_route_status` 查看本次配置目标。」
|
|
23
23
|
|
|
@@ -44,3 +44,9 @@ Lead 判断是否分工
|
|
|
44
44
|
运行 `npm ci --ignore-scripts` 安装依赖,`npm run check` 执行类型检查、测试和构建,`npm pack --ignore-scripts` 生成安装包。
|
|
45
45
|
|
|
46
46
|
[V2 配置示例](<examples/router.patch.yml>) · [实施方案](<docs/IMPLEMENTATION_PLAN.md>) · [验证记录与外部执行器限制](<docs/IMPLEMENTATION_STATUS.md>) · [MIT 许可证](<LICENSE>)
|
|
47
|
+
|
|
48
|
+
## 维护者发布
|
|
49
|
+
|
|
50
|
+
[GitHub Actions](<.github/workflows/publish.yml>) 在面向 `main` 的 PR 和 `main` 推送上检查,不发布。CI 只构建一次,在 `engines.dsh` 列出的每个宿主版本上独立安装并验证同一个包;任一项失败即不发布。推送与包清单、锁文件一致的 `vX.Y.Z` 稳定版标签,且提交已在 `main` 时,CI 才把验证过的安装包发布到 npm `latest`。
|
|
51
|
+
|
|
52
|
+
首次需由包维护者在 [npm 包设置](https://www.npmjs.com/package/dsh-team-router/access) 添加 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)"`,即可触发发布。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-team-router",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Seven task-category presets and authorized creation-time model routing for native DeepSeek Harness Agent Teams.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"files": ["lib", "cordis.patch.yml", "README.md", "docs", "examples", "locale/*.json", "icon.svg"],
|
|
27
27
|
"icon": "./icon.svg",
|
|
28
|
-
"engines": { "node": ">=24", "dsh": "0.2.2-rc.3" },
|
|
28
|
+
"engines": { "node": ">=24", "dsh": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5" },
|
|
29
29
|
"dsh": {
|
|
30
30
|
"bundle": { "patch": "./cordis.patch.yml" },
|
|
31
31
|
"client": {
|
|
@@ -44,38 +44,38 @@
|
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@deepseek-ai/cordis": "~4.1.0",
|
|
47
|
-
"@deepseek-ai/dsh-agent": "0.2.2-rc.3",
|
|
48
|
-
"@deepseek-ai/dsh-agent-team": "0.2.2-rc.3",
|
|
49
|
-
"@deepseek-ai/dsh-llm": "0.2.2-rc.3",
|
|
50
|
-
"@deepseek-ai/dsh-session": "0.2.2-rc.3",
|
|
51
|
-
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.3",
|
|
52
|
-
"@deepseek-ai/dsh-tools": "0.2.2-rc.3",
|
|
53
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-rc.3",
|
|
47
|
+
"@deepseek-ai/dsh-agent": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
|
|
48
|
+
"@deepseek-ai/dsh-agent-team": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
|
|
49
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
|
|
50
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
|
|
51
|
+
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
|
|
52
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
|
|
53
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5",
|
|
54
54
|
"@deepseek-ai/schemastery": "~3.19.0",
|
|
55
|
-
"@deepseek-ai/dsh-settings": "0.2.2-rc.3"
|
|
55
|
+
"@deepseek-ai/dsh-settings": "0.2.2-rc.3 || 0.2.2-rc.4 || 0.2.2-rc.5"
|
|
56
56
|
},
|
|
57
57
|
"peerDependenciesMeta": {
|
|
58
58
|
"@deepseek-ai/dsh-settings": { "optional": true }
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@deepseek-ai/cosmokit": "~1.9.0",
|
|
62
|
-
"@deepseek-ai/dsh-settings": "0.2.2-rc.
|
|
63
|
-
"@deepseek-ai/dsh-app-boot": "0.2.2-rc.
|
|
64
|
-
"@deepseek-ai/dsh-config-editor": "0.2.2-rc.
|
|
62
|
+
"@deepseek-ai/dsh-settings": "0.2.2-rc.5",
|
|
63
|
+
"@deepseek-ai/dsh-app-boot": "0.2.2-rc.5",
|
|
64
|
+
"@deepseek-ai/dsh-config-editor": "0.2.2-rc.5",
|
|
65
65
|
"react": "^18.3.1",
|
|
66
66
|
"@types/react": "^18.3.12",
|
|
67
67
|
"esbuild": "^0.25.12",
|
|
68
|
-
"@deepseek-ai/dsh-agent-loop": "0.2.2-rc.
|
|
69
|
-
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.
|
|
70
|
-
"@deepseek-ai/dsh-subagent": "0.2.2-rc.
|
|
71
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.
|
|
72
|
-
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.
|
|
73
|
-
"@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.
|
|
74
|
-
"@deepseek-ai/dsh-fs-local": "0.2.2-rc.
|
|
75
|
-
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.
|
|
76
|
-
"@deepseek-ai/dsh-session-query-sqlite": "0.2.2-rc.
|
|
77
|
-
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.
|
|
78
|
-
"@deepseek-ai/dsh-subagent-fork-in-process": "0.2.2-rc.
|
|
68
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.2-rc.5",
|
|
69
|
+
"@deepseek-ai/dsh-session-projection": "0.2.2-rc.5",
|
|
70
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.5",
|
|
71
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.5",
|
|
72
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.5",
|
|
73
|
+
"@deepseek-ai/dsh-tool-executor-native": "0.2.2-rc.5",
|
|
74
|
+
"@deepseek-ai/dsh-fs-local": "0.2.2-rc.5",
|
|
75
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-rc.5",
|
|
76
|
+
"@deepseek-ai/dsh-session-query-sqlite": "0.2.2-rc.5",
|
|
77
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.2-rc.5",
|
|
78
|
+
"@deepseek-ai/dsh-subagent-fork-in-process": "0.2.2-rc.5",
|
|
79
79
|
"@types/node": "^24.0.0",
|
|
80
80
|
"typescript": "~5.9.3"
|
|
81
81
|
},
|