dsh-taskbridge 1.4.1 → 1.4.2
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/CHANGELOG.md +7 -0
- package/README.md +9 -19
- package/codex/dsh-taskbridge.toml +1 -1
- package/docs/INTRODUCTION.md +2 -2
- package/docs/INTRODUCTION.zh.md +2 -2
- package/docs/codex-integration.md +4 -3
- package/docs/plugin-market.md +2 -2
- package/docs/releases/1.4.2.zh.md +23 -0
- package/docs/runtime-compatibility.md +30 -51
- package/docs/taskbridge-upgrade.md +1 -1
- package/package.json +9 -9
- package/src/codex/installer.js +3 -0
- package/src/index.js +1 -1
- package/src/mcp/server.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.4.2 — 移除 DSH 版本白名单,默认通用加载(2026-11-14)
|
|
4
|
+
|
|
5
|
+
- 删除 `engines.dsh`,将宿主提供的 `@deepseek-ai/dsh-*` peer 范围改为 `*`,不再因 DSH 版本号不在枚举列表中而拒绝安装或加载;包含截图所示的 `0.2.2-rc.3` 场景。
|
|
6
|
+
- 自定义插件索引不再生成 `engines` 字段,避免发现与安装通道继续使用旧白名单。Node 要求、开发依赖固定版本和现有运行时能力检查保持原有作用。
|
|
7
|
+
- 同步当前版本、安装说明和运行时说明,识别已发布 1.4.1 Codex 模板以支持升级,保留用户修改的规则。
|
|
8
|
+
- 本版仅调整版本准入与分发元数据,延续 1.4.1 的审查修复;不包含后续静默等待优化,也不声称所有宿主版本均已端到端实测。
|
|
9
|
+
|
|
3
10
|
## 1.4.1 — 历史补审、可靠保存与长审查意见(2026-11-14)
|
|
4
11
|
|
|
5
12
|
- **重启后仍能完成审查。** 原指挥端可用原任务 ID 读取已结束的历史记录并补审,再次重启后仍保留结论。沿用原任务归属校验,不恢复旧执行对象或旧审批权限;历史缺少的执行证据明确标记。
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH TaskBridge
|
|
2
2
|
|
|
3
|
-
**1.4.
|
|
3
|
+
**1.4.2** 默认通用,不再按 DSH 版本白名单拦截安装或加载;保留必要的运行时接口检查。详见 [1.4.2 更新说明](docs/releases/1.4.2.zh.md)。
|
|
4
4
|
|
|
5
5
|
**让 Claude Code 或 Codex 指挥 DSH 完成任务,在 DSH 插件中配置 API、执行模型和思考强度。**
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ DeepSeek Harness(DSH)的委托插件:让 MCP 宿主在你开启本机总
|
|
|
18
18
|
新安装时本机调用总开关默认关闭。开关状态会保存在插件设置中,重启后恢复保存值;
|
|
19
19
|
关闭时拒绝新的委派任务,并请求停止正在运行的任务。
|
|
20
20
|
|
|
21
|
-
> **当前版本:`1.4.
|
|
21
|
+
> **当前版本:`1.4.2`(移除 DSH 版本白名单,默认通用加载)。** 源码仓库和可下载的 Release
|
|
22
22
|
> 位于 [GitHub](https://github.com/ranranyya/dsh-taskbridge)。npm 安装标识为 **`dsh-taskbridge`**,
|
|
23
23
|
> GitHub Release 同时提供 `.tgz`。`1.1.0` 的静默等待说明见
|
|
24
24
|
> [`docs/silent-wait.md`](./docs/silent-wait.md);`1.2.0` 修正了其中三处真实问题(等待中断的
|
|
@@ -30,7 +30,7 @@ DeepSeek Harness(DSH)的委托插件:让 MCP 宿主在你开启本机总
|
|
|
30
30
|
|
|
31
31
|
| 项 | 要求 | 说明 |
|
|
32
32
|
| --- | --- | --- |
|
|
33
|
-
| DSH |
|
|
33
|
+
| DSH | 默认通用,不按版本号筛选 | 不声明 `engines.dsh`;宿主提供的 DSH 依赖使用 `*`。所需模型路由、审批等接口仍按实际能力检查;说明见 [`docs/runtime-compatibility.md`](./docs/runtime-compatibility.md)。 |
|
|
34
34
|
| Node.js | `>= 24` | 与 DSH `0.2.0-rc.2` / `0.2.1-rc.2` 运行时一致;使用了原生 ESM、`AbortSignal.timeout`、`node --test`。 |
|
|
35
35
|
| 操作系统 | Windows / Linux / macOS | 自动测试在 Windows + Node 24 上运行;需要 git 的工作树隔离在缺少 git 时会被显式拒绝,而不是静默降级。 |
|
|
36
36
|
|
|
@@ -49,13 +49,13 @@ profile 是**应用保留的**:npm / `dsh plugin` CLI 对该 profile 的操作
|
|
|
49
49
|
Desktop 侧的包操作只能交给应用完成——不要在 Desktop 的正式 profile 里执行 npm/pnpm
|
|
50
50
|
命令,也不要直接编辑其中的文件。
|
|
51
51
|
|
|
52
|
-
1. 打开 Desktop 的 **Plugins manager → 添加插件**,输入 **`dsh-taskbridge@1.4.
|
|
52
|
+
1. 打开 Desktop 的 **Plugins manager → 添加插件**,输入 **`dsh-taskbridge@1.4.2`**。
|
|
53
53
|
若中国大陆镜像尚未同步,先选择 npm 官方源再重试。安装后的显示名为 **DSH TaskBridge**。
|
|
54
54
|
也可以从本项目 Release 下载 `.tgz`,或在仓库根目录打包:
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
57
|
npm pack
|
|
58
|
-
# → dsh-taskbridge-1.4.
|
|
58
|
+
# → dsh-taskbridge-1.4.2.tgz
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
2. 使用本地包时,通过 **添加插件**入口选择下载或生成的 `.tgz`(或本仓库目录)完成安装。
|
|
@@ -69,7 +69,7 @@ Desktop 侧的包操作只能交给应用完成——不要在 Desktop 的正式
|
|
|
69
69
|
|
|
70
70
|
```bash
|
|
71
71
|
# 装进一个 profile(例:web)
|
|
72
|
-
dsh plugin --profile web add ./dsh-taskbridge-1.4.
|
|
72
|
+
dsh plugin --profile web add ./dsh-taskbridge-1.4.2.tgz && dsh plugin --profile web why dsh-taskbridge
|
|
73
73
|
|
|
74
74
|
# 启动(首次启动会自动把插件 bundle 追加到 dsh.profile.bundles)
|
|
75
75
|
dsh --profile web
|
|
@@ -82,7 +82,7 @@ dsh --profile web
|
|
|
82
82
|
### 说明与注意
|
|
83
83
|
|
|
84
84
|
- **不要装进你正在用的正式 profile 做试验。** 建议先用一次性 profile:
|
|
85
|
-
`dsh plugin --profile dsh-delegate-try add ./dsh-taskbridge-1.4.
|
|
85
|
+
`dsh plugin --profile dsh-delegate-try add ./dsh-taskbridge-1.4.2.tgz`,再把
|
|
86
86
|
`DSH_HOME` 指向临时目录做隔离验证。该命令同样只用于 CLI profile。
|
|
87
87
|
- 该包声明了 `@deepseek-ai/dsh-*` 的 peer,若你的包管理器默认自动安装 peer,
|
|
88
88
|
安装过程会尝试解析这些版本。可显式关闭:`npm_config_auto_install_peers=false`
|
|
@@ -517,7 +517,7 @@ Codex 子智能体现在按「提交 → `delegate_wait` 同一任务」运作
|
|
|
517
517
|
# 不要在 Desktop 的正式 profile 下执行下面的 CLI 命令。
|
|
518
518
|
|
|
519
519
|
# CLI web profile 的升级:换成本地新包或(将来)新版本
|
|
520
|
-
dsh plugin --profile web add ./dsh-taskbridge-1.4.
|
|
520
|
+
dsh plugin --profile web add ./dsh-taskbridge-1.4.2.tgz
|
|
521
521
|
|
|
522
522
|
# 导出:界面里"导出非敏感配置"按钮,或用只读 API
|
|
523
523
|
# GET /api/dsh-delegate/settings
|
|
@@ -542,17 +542,7 @@ dsh plugin --profile web remove dsh-taskbridge
|
|
|
542
542
|
|
|
543
543
|
- **发布渠道**:1.3.1 已通过 npm、GitHub Release 和本项目自定义插件索引分发。索引不是官方默认
|
|
544
544
|
市场收录;更新能力取决于 DSH 客户端,插件没有独立的自动更新程序,也未提供作者签名或构建来源证明。
|
|
545
|
-
-
|
|
546
|
-
`0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.2-rc.1`),其余版本会被 peer 门禁拒绝。其中
|
|
547
|
-
`0.2.0-rc.2` 是开发与自动测试版本,`0.2.1-rc.2` 的验收在**隔离 profile** 中完成,
|
|
548
|
-
`0.2.1-rc.3` 为上一宿主版本(本次未在它上面重新做原生全量验证),`0.2.2-rc.1` 是本次新增支持的原生
|
|
549
|
-
运行时——原生源码已审计,原生 base+web+delegate 全量 profile 加载、stdio MCP、runner 模型路由
|
|
550
|
-
回读与沙箱策略回读均已在隔离夹具中通过,但**没有真实模型调用**、**没有实际沙箱命令**,
|
|
551
|
-
也**没有**在生产 Desktop profile 上做端到端安装运行。逐版本状态见
|
|
552
|
-
[`docs/runtime-compatibility.md`](./docs/runtime-compatibility.md)。
|
|
553
|
-
- **更早的插件版本会被新宿主的门禁跳过**:`0.2.2-rc.1` 宿主不会加载未声明该版本的旧插件
|
|
554
|
-
(即上一版与更早的构建),而是报 `skippedBundles` / denied row。想在新宿主上使用本插件的
|
|
555
|
-
行为,需要升级插件,而不是放宽门禁。
|
|
545
|
+
- **按实际接口工作**:1.4.2 起不按 DSH 版本号筛选。若宿主缺少所需模型路由、审批等接口,相关操作仍会报告具体能力不足;默认通用不表示所有宿主版本都已做过端到端实测。旧插件包仍保留它们自己的声明,遇到旧版兼容性提示应先升级插件。
|
|
556
546
|
- **本机开关不是进程身份认证**:开关开启时,能连接本机 DSH 端口的同机进程可以提交任务。
|
|
557
547
|
不要在不可信的本机环境中开启;它不能防御同账号的恶意进程。
|
|
558
548
|
- **逐次授权桥同样不是进程级边界**:开关模式刻意只用一个 `local-mcp` 连接身份,所以
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# dsh-taskbridge Codex companion — managed by the DSH TaskBridge plugin settings page.
|
|
2
2
|
# Editing this file turns it into an operator-owned file: the plugin then never
|
|
3
3
|
# overwrites or removes it, and reports it as "modified" instead.
|
|
4
|
-
version = "1.4.
|
|
4
|
+
version = "1.4.2"
|
|
5
5
|
|
|
6
6
|
name = "dsh-taskbridge"
|
|
7
7
|
description = "Dispatch an explicitly assigned implementation task to DSH through the dsh-taskbridge MCP tools, then return evidence for Codex review."
|
package/docs/INTRODUCTION.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH TaskBridge
|
|
2
2
|
|
|
3
|
-
Version 1.4.
|
|
3
|
+
Version 1.4.2 removes the DSH version whitelist while retaining runtime capability checks and the 1.4.1 review fixes. Install `dsh-taskbridge@1.4.2` or use its release tarball. See the [release notes](releases/1.4.2.zh.md).
|
|
4
4
|
|
|
5
5
|
Let Claude Code or Codex direct DSH tasks. Choose the execution API, model and supported reasoning effort in the DSH plugin settings.
|
|
6
6
|
|
|
@@ -16,4 +16,4 @@ Codex has a managed agent/MCP installation button. Version 1.3.2 names the compa
|
|
|
16
16
|
|
|
17
17
|
Version 1.3.1 adopts DSH TaskBridge and the package identity `dsh-taskbridge`, replacing `dsh-delegate` and the GitHub-only `dsh-taskdispatch` 1.3.0. Read the [upgrade guide](taskbridge-upgrade.md) before replacing an old installation. Historical data, MCP tools, environment variables and the Codex `dsh-delegate` technical identifier remain compatible. Do not run old and new bundles together.
|
|
18
18
|
|
|
19
|
-
In DSH's Add plugin dialog, use `dsh-taskbridge@1.4.
|
|
19
|
+
In DSH's Add plugin dialog, use `dsh-taskbridge@1.4.2`; use the official npm registry if a regional mirror has not synchronized yet. Distribution also uses GitHub releases and a [DSH custom plugin index](plugin-market.md) pinned to exact Git commits. This is not universal official marketplace inclusion. A single same-model, approximately 45-second waiting comparison reduced recorded waiting-response tokens by 66.58% (3 model responses to 1); this is not a full-task or billing reduction. See the [measurement report](releases/1.4.0-token-benchmark.zh.md). Client time limits and full Desktop upgrade behavior require environment-specific verification.
|
package/docs/INTRODUCTION.zh.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH TaskBridge
|
|
2
2
|
|
|
3
|
-
1.4.
|
|
3
|
+
1.4.2 默认通用,不再按 DSH 版本白名单拦截;保留 1.4.1 的历史补审、可靠保存和长审查意见。安装 `dsh-taskbridge@1.4.2` 或对应的 Release 安装包;详见 [1.4.2 更新说明](releases/1.4.2.zh.md)。
|
|
4
4
|
|
|
5
5
|
**让 Claude Code 或 Codex 指挥 DSH 完成任务,在 DSH 插件里配置执行所用的 API、模型和思考强度。**
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
|
|
32
32
|
## 安装、升级和边界
|
|
33
33
|
|
|
34
|
-
项目原名 DSH Delegate,1.3.0 曾使用 DSH TaskDispatch。1.3.1 起统一为 **DSH TaskBridge**,包名为 `dsh-taskbridge`。从旧包升级请先阅读 [更名升级说明](taskbridge-upgrade.md)。在 DSH“添加插件”中输入 `dsh-taskbridge@1.4.
|
|
34
|
+
项目原名 DSH Delegate,1.3.0 曾使用 DSH TaskDispatch。1.3.1 起统一为 **DSH TaskBridge**,包名为 `dsh-taskbridge`。从旧包升级请先阅读 [更名升级说明](taskbridge-upgrade.md)。在 DSH“添加插件”中输入 `dsh-taskbridge@1.4.2`;中国大陆镜像若尚未同步,改选 npm 官方源。GitHub Release 同时提供安装包。
|
|
35
35
|
|
|
36
36
|
[插件索引与更新说明](plugin-market.md)介绍如何添加索引,在 DSH 的“发现”中搜索本插件。发布自定义索引不代表已进入官方内置市场;DSH 当前需要用户自行添加可信索引。
|
|
37
37
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Codex integration contract
|
|
2
2
|
|
|
3
|
-
Status: implemented in 1.4.
|
|
3
|
+
Status: implemented in 1.4.2 (1.1.0 introduced wait rules, 1.2.0 added installed-integration upgrades, 1.4.0 clarifies outer long waits and explicit host-review recording). This automatic installer covers Codex. Claude Code uses the separate manual MCP guide.
|
|
4
4
|
|
|
5
|
-
1.4.
|
|
5
|
+
1.4.2 also recognizes the exact published 1.4.1 companion for managed upgrades.
|
|
6
|
+
The review behavior introduced in 1.4.1 recognizes the exact unmodified
|
|
6
7
|
1.4.0 companion in LF and CRLF forms, and updates the review contract: a completed
|
|
7
8
|
task may be read and reviewed by its original identity after a restart. History
|
|
8
9
|
does not restore execution or old permissions. Reviews are confirmed only when
|
|
@@ -527,7 +528,7 @@ successful diagnosis.
|
|
|
527
528
|
```jsonc
|
|
528
529
|
{
|
|
529
530
|
"codexHome": "…",
|
|
530
|
-
"packageVersion": "1.4.
|
|
531
|
+
"packageVersion": "1.4.2",
|
|
531
532
|
"boundary": { "blocked": false, "link": null, "unknown": false, "home": "directory", "agents": "directory" },
|
|
532
533
|
"agent": {
|
|
533
534
|
"path": "…", "state": "installed", "installed": true, "managed": true,
|
package/docs/plugin-market.md
CHANGED
|
@@ -15,13 +15,13 @@ https://ranranyya.github.io/dsh-taskbridge/index.json
|
|
|
15
15
|
3. 搜索 **DSH TaskBridge** 或 **dsh-taskbridge**。
|
|
16
16
|
4. 安装确认框应显示本项目 GitHub 仓库和精确提交。核对后安装,不要改填别人的 `dsh-delegate` 或 `dsh-dispatch` npm 包。
|
|
17
17
|
|
|
18
|
-
当前索引采用固定 Git 提交作为安装来源,不依赖本机 npm 登录。另一种安装方式是直接在“添加插件”中输入 `dsh-taskbridge@1.4.
|
|
18
|
+
当前索引采用固定 Git 提交作为安装来源,不依赖本机 npm 登录。另一种安装方式是直接在“添加插件”中输入 `dsh-taskbridge@1.4.2`,无需添加索引;若中国大陆镜像未同步,改选 npm 官方源。GitHub Release 同时提供 `.tgz` 和 SHA256 文件。
|
|
19
19
|
|
|
20
20
|
## 新版本
|
|
21
21
|
|
|
22
22
|
正式 Release 发布后,GitHub Pages 工作流会重新生成索引。支持 Git 来源更新的 DSH 版本可在索引中选择同一仓库的新版本更新;旧 Desktop 若提示第三方插件需要卸载再安装,以客户端实际能力为准。此前从本地 `.tgz` 安装的副本不保证自动转为 Git 来源。1.2.0 或 1.3.0 到 1.3.1 还涉及包名变更,必须先按 [升级说明](taskbridge-upgrade.md)迁移。曾添加旧 TaskDispatch 索引的用户,应改用本页的新索引地址。
|
|
23
23
|
|
|
24
|
-
工作流或 Pages
|
|
24
|
+
工作流或 Pages 尚未部署成功时,不能声称已可搜索。发布报告记录实际公开地址、返回状态、格式校验与所指提交。1.4.2 起索引与插件都不声明 DSH 版本白名单,索引省略 `engines` 字段;所需运行时接口仍按实际能力检查。
|
|
25
25
|
|
|
26
26
|
## 维护发布源
|
|
27
27
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# DSH TaskBridge 1.4.2 更新说明
|
|
2
|
+
|
|
3
|
+
发布日期:2026 年 11 月 14 日。安装标识:`dsh-taskbridge@1.4.2`。
|
|
4
|
+
|
|
5
|
+
## 默认通用,不再列举 DSH 兼容版本
|
|
6
|
+
|
|
7
|
+
本版删除 `engines.dsh`,将宿主提供的 DSH peer 依赖范围改为 `*`。DSH 不再因当前版本号没有出现在插件白名单中,而显示“不兼容”并拒绝加载。截图中的 `DSH 0.2.2-rc.3` 因旧版本范围被拒绝的问题属于本次修复范围。
|
|
8
|
+
|
|
9
|
+
自定义插件索引同步移除可选的 `engines` 字段,使索引安装和 npm 安装使用一致的默认通用策略。
|
|
10
|
+
|
|
11
|
+
必要的模型路由、审批、会话等运行时接口检查继续保留;缺失接口时仍报告具体原因。Node.js `>=24` 要求及用于复现测试的固定开发依赖不变。默认通用不是“所有版本均已完成真实任务验收”的声明。
|
|
12
|
+
|
|
13
|
+
## 其他行为
|
|
14
|
+
|
|
15
|
+
- 保留 1.4.1 的历史补审、可靠保存、8000 码点审查意见和按需分页读取。
|
|
16
|
+
- Codex 集成版本同步更新,并识别已发布的原版 1.4.1 模板;用户自行改过的文件保持原样。
|
|
17
|
+
- API、执行模型、思考强度和任务数据使用原有设置。本次不调整权限策略或静默等待流程。
|
|
18
|
+
|
|
19
|
+
## 更新方式
|
|
20
|
+
|
|
21
|
+
在 DSH 插件管理中更新,或添加 `dsh-taskbridge@1.4.2`。区域镜像未同步时选择 npm 官方源,也可使用本 Release 的 `.tgz` 与 SHA256 校验文件。订阅自定义索引的用户可刷新发现页。
|
|
22
|
+
|
|
23
|
+
截图显示的仍是 `dsh-taskbridge@1.4.0`;发布新版本不会改写已安装的旧包,需要实际更新至 1.4.2。无需手动修改 DSH 的版本豁免、正式 profile 或安全设置。
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
# Runtime compatibility
|
|
2
2
|
|
|
3
|
-
Build 1.4.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
report; the package is distributed through npm and the GitHub Release. See the
|
|
13
|
-
[1.4.1 release notes](releases/1.4.1.zh.md) for upgrade details and the
|
|
3
|
+
Build 1.4.2 has **no DSH version whitelist**: it omits `engines.dsh`, declares
|
|
4
|
+
host-provided `@deepseek-ai/dsh-*` peers as `*`, and publishes no DSH engine range
|
|
5
|
+
in the custom plugin index. The plugin uses runtime capability checks rather than
|
|
6
|
+
rejecting a host solely by its version number. Node.js `>=24` is still required.
|
|
7
|
+
|
|
8
|
+
The historical runtime audits below describe the interfaces already implemented;
|
|
9
|
+
they are not an exclusive admission list or a claim of end-to-end testing on every
|
|
10
|
+
DSH build. See the [1.4.2 release notes](releases/1.4.2.zh.md) for this change,
|
|
11
|
+
the [1.4.1 release notes](releases/1.4.1.zh.md) for review fixes, and the
|
|
14
12
|
[1.3.1 release report](releases/1.3.1.zh.md) for historical distribution verification.
|
|
15
13
|
|
|
16
14
|
`1.1.0` added silent waiting: the global `monitoring` thresholds (self-check and attention
|
|
@@ -42,39 +40,20 @@ upgrades the installed MCP entry) and Codex reloaded before the new wait rules a
|
|
|
42
40
|
managed `tool_timeout_sec` take effect. No unit-test count and no mock constitutes an
|
|
43
41
|
acceptance run.
|
|
44
42
|
|
|
45
|
-
## 1.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
| `0.2.2-rc.1` | Supported; the newest runtime this build adds | Native sources audited (`.cache/compat-022-20261107/reference-022`); native base+web bootstrap verified in isolated fixtures (`.cache/native022-host-*`). |
|
|
60
|
-
|
|
61
|
-
Additional rules:
|
|
62
|
-
|
|
63
|
-
- **DSH checks these ranges with prereleases included.** `@deepseek-ai/dsh-*` peer
|
|
64
|
-
ranges are matched with `semver` plus `includePrerelease`, so an exact prerelease
|
|
65
|
-
string is required; a caret or tilde would admit builds that were never exercised.
|
|
66
|
-
- **No version was dropped.** Every release admitted before this one is still admitted,
|
|
67
|
-
and the automated tests assert that the manifest, both lockfiles and the table above
|
|
68
|
-
agree with each other.
|
|
69
|
-
- **Any other DSH version is unverified.** Do not assume it works; the loader will
|
|
70
|
-
refuse a plugin whose peer range does not match.
|
|
71
|
-
- **Older *plugin* builds are refused by the native gate.** The gate is checked against
|
|
72
|
-
the plugin's declared ranges, so an older build (`0.1.11` and anything before it) that
|
|
73
|
-
does not declare `0.2.2-rc.1` is *skipped* by a `0.2.2-rc.1` host
|
|
74
|
-
(`skippedBundles` / a denied row) rather than loaded with unknown behaviour. Getting
|
|
75
|
-
this build's behaviour on `0.2.2-rc.1` requires upgrading the plugin, not relaxing the
|
|
76
|
-
gate.
|
|
77
|
-
- **Node.js `>= 24`** is required (`engines.node`), matching the DSH runtimes above.
|
|
43
|
+
## 1. Default loading policy
|
|
44
|
+
|
|
45
|
+
- No DSH version whitelist is declared. Both stable and prerelease DSH builds may
|
|
46
|
+
pass the host's metadata check without updating an enumerated range.
|
|
47
|
+
- DSH falls back to its peer checks when `engines.dsh` is absent; the native peers
|
|
48
|
+
use `*` so that fallback does not restore the old restriction.
|
|
49
|
+
- The index omits the optional engine field rather than publishing an empty or
|
|
50
|
+
outdated DSH range. Package and discovery metadata therefore agree.
|
|
51
|
+
- Required runtime capabilities, model-selection readback and permission checks
|
|
52
|
+
remain in place. Removing a version filter does not disable those checks.
|
|
53
|
+
- Development dependencies remain pinned for reproducible tests; they do not
|
|
54
|
+
restrict the host-provided peer versions used by an installed plugin.
|
|
55
|
+
- Older plugin packages keep their own metadata and can still be refused by a
|
|
56
|
+
newer host. Upgrade to `dsh-taskbridge@1.4.2` to use this loading policy.
|
|
78
57
|
|
|
79
58
|
## 2. What DSH 0.2.2 changes
|
|
80
59
|
|
|
@@ -205,27 +184,27 @@ What remains genuinely unverified:
|
|
|
205
184
|
|
|
206
185
|
## 5. Upgrading from an older plugin build
|
|
207
186
|
|
|
208
|
-
1. Download `dsh-taskbridge-1.4.
|
|
187
|
+
1. Download `dsh-taskbridge-1.4.2.tgz` from the GitHub Release, or build the package locally (`npm pack`).
|
|
209
188
|
2. Install it the way your surface requires: the Desktop **Plugins manager** for a
|
|
210
189
|
Desktop profile (npm/CLI operations on that profile are refused), or
|
|
211
|
-
`dsh plugin --profile <name> add ./dsh-taskbridge-1.4.
|
|
190
|
+
`dsh plugin --profile <name> add ./dsh-taskbridge-1.4.2.tgz` for a CLI profile you
|
|
212
191
|
start yourself.
|
|
213
192
|
3. The settings, the switch value and the task history are preserved
|
|
214
193
|
(`$DSH_HOME/data/dsh-delegate`); nothing is migrated destructively.
|
|
215
194
|
4. If the Codex companion was installed, no action is needed: a `0.1.11` — or `0.1.10` —
|
|
216
195
|
agent file whose bytes still match a published template is refreshed automatically on
|
|
217
196
|
startup, or explicitly from the Codex panel. A file you edited is left untouched.
|
|
218
|
-
5. To roll back, re-install the older `.tgz`. The data directory is not deleted
|
|
219
|
-
|
|
220
|
-
|
|
197
|
+
5. To roll back, re-install the older `.tgz`. The data directory is not deleted.
|
|
198
|
+
Older packages retain their own version restrictions and may be refused by the
|
|
199
|
+
host; the unrestricted policy is specific to 1.4.2 and later builds that keep it.
|
|
221
200
|
|
|
222
201
|
## 6. Where this is enforced
|
|
223
202
|
|
|
224
203
|
| Claim | Enforced by |
|
|
225
204
|
| --- | --- |
|
|
226
|
-
|
|
|
205
|
+
| No DSH engine range and unrestricted native peers | `tests/package.test.js` (manifest and host-provided peer checks) |
|
|
227
206
|
| Both lockfiles' root metadata match `package.json` | `tests/package.test.js` ("the lockfile pins the same dependency set…") |
|
|
228
|
-
|
|
|
207
|
+
| The published index does not restore a DSH version filter | `tests/taskdispatch-release.test.js` (real index generator output) |
|
|
229
208
|
| A published `0.1.11` or `0.1.10` agent is refreshed, an edited one is not | `tests/codex-integration.test.js` |
|
|
230
209
|
|
|
231
210
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
1. 等待当前任务结束,关闭旧插件的本机调用开关。
|
|
8
8
|
2. 在 DSH 插件管理中停用并卸载本项目旧 `dsh-delegate` 或 `dsh-taskdispatch` 包。**保留 `<DSH_HOME>/data/dsh-delegate` 数据目录**;DSH 若提供删除数据选项,不要勾选。新旧包不能同时启用。
|
|
9
|
-
3. 在“添加插件”中输入 **`dsh-taskbridge@1.4.
|
|
9
|
+
3. 在“添加插件”中输入 **`dsh-taskbridge@1.4.2`**。中国大陆镜像未同步时改选 npm 官方源。也可安装本项目 Release 的 `dsh-taskbridge-1.4.2.tgz`,或添加本项目固定 Git 提交的自定义索引。不要手动修改 Desktop 保留的 profile。
|
|
10
10
|
4. 打开 **DSH TaskBridge** 配置页,核对 API、模型、思考强度和总开关。数据目录与旧版相同;安装前关闭旧开关,避免恢复之前保存的开启状态。
|
|
11
11
|
5. 在 Codex 集成中点击“安装 / 更新 TaskBridge 智能体”,更新智能体及 MCP,然后重新加载 Codex。未修改的旧 `dsh-delegate.toml` 会迁移为 `dsh-taskbridge.toml`;修改过的文件保留。只需修复 MCP 时可使用“仅修复 MCP 配置”。启动自检不会接管其他安装目录。
|
|
12
12
|
6. 若添加过旧索引,改用 `https://ranranyya.github.io/dsh-taskbridge/index.json`。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-taskbridge",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "让 Claude Code 或 Codex 指挥 DSH 完成任务;在 DSH 插件中配置 API、执行模型、思考强度、权限审批与集中审查。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": ">=24"
|
|
17
|
-
"dsh": "0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.2-rc.1"
|
|
16
|
+
"node": ">=24"
|
|
18
17
|
},
|
|
19
18
|
"main": "src/index.js",
|
|
20
19
|
"types": "src/index.d.ts",
|
|
@@ -76,7 +75,8 @@
|
|
|
76
75
|
"docs/taskbridge-upgrade.md",
|
|
77
76
|
"docs/releases/1.4.0.zh.md",
|
|
78
77
|
"docs/releases/1.4.0-token-benchmark.zh.md",
|
|
79
|
-
"docs/releases/1.4.1.zh.md"
|
|
78
|
+
"docs/releases/1.4.1.zh.md",
|
|
79
|
+
"docs/releases/1.4.2.zh.md"
|
|
80
80
|
],
|
|
81
81
|
"dsh": {
|
|
82
82
|
"manifestVersion": 1,
|
|
@@ -92,11 +92,11 @@
|
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@deepseek-ai/dsh-agent": "
|
|
96
|
-
"@deepseek-ai/dsh-llm": "
|
|
97
|
-
"@deepseek-ai/dsh-llm-pi-ai": "
|
|
98
|
-
"@deepseek-ai/dsh-tool-fs": "
|
|
99
|
-
"@deepseek-ai/dsh-tool-fs-search": "
|
|
95
|
+
"@deepseek-ai/dsh-agent": "*",
|
|
96
|
+
"@deepseek-ai/dsh-llm": "*",
|
|
97
|
+
"@deepseek-ai/dsh-llm-pi-ai": "*",
|
|
98
|
+
"@deepseek-ai/dsh-tool-fs": "*",
|
|
99
|
+
"@deepseek-ai/dsh-tool-fs-search": "*",
|
|
100
100
|
"@earendil-works/pi-ai": "^0.87.1 || ^1.1.0"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
package/src/codex/installer.js
CHANGED
|
@@ -347,6 +347,9 @@ export const KNOWN_AGENT_TEMPLATES = [
|
|
|
347
347
|
// still hashes to something unknown and is left alone.
|
|
348
348
|
{ version: '1.4.0', sha256: '2b2f6c35ffc9e99d98f38d00e07fef11de8bf96a9dd446e80889fcf92ba45cd8' },
|
|
349
349
|
{ version: '1.4.0', sha256: 'cfb21bc510b47be27c5e64bce86c48cbc9a49055777cd265e118ed942a94d9a5' },
|
|
350
|
+
// Exact published 1.4.1 companion, including its LF and CRLF forms.
|
|
351
|
+
{ version: '1.4.1', sha256: '8b6211918ce867ecfdac3495973813a70b7290bdd40221b439d98638f82ac3d4' },
|
|
352
|
+
{ version: '1.4.1', sha256: 'e2a8dc4cac897266e198b98be8fbf91d4159ab9a799704f200224457d292b5be' },
|
|
350
353
|
];
|
|
351
354
|
|
|
352
355
|
/** The `version = "…"` line of an agent file, at column 0. */
|
package/src/index.js
CHANGED
|
@@ -511,7 +511,7 @@ export async function apply(ctx, config = {}) {
|
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
/** Version reported by the runtime facts block. Mirrors `package.json`. */
|
|
514
|
-
const PLUGIN_VERSION = '1.4.
|
|
514
|
+
const PLUGIN_VERSION = '1.4.2';
|
|
515
515
|
|
|
516
516
|
/**
|
|
517
517
|
* Read the native approval service without turning absence into a throw.
|
package/src/mcp/server.js
CHANGED
|
@@ -92,7 +92,7 @@ export const SUPPORTED_PROTOCOL_VERSIONS = Object.freeze([
|
|
|
92
92
|
export const LATEST_PROTOCOL_VERSION = SUPPORTED_PROTOCOL_VERSIONS[0];
|
|
93
93
|
|
|
94
94
|
/** Identifies this server in the handshake. */
|
|
95
|
-
export const SERVER_INFO = Object.freeze({ name: 'dsh-delegate', version: '1.4.
|
|
95
|
+
export const SERVER_INFO = Object.freeze({ name: 'dsh-delegate', version: '1.4.2' });
|
|
96
96
|
|
|
97
97
|
/** Bound on a tool result's text. A task view can be large; a model's context cannot. */
|
|
98
98
|
export const MAX_TOOL_TEXT_CHARS = 20_000;
|