dsh-taskbridge 1.4.0 → 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 CHANGED
@@ -1,5 +1,23 @@
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
+
10
+ ## 1.4.1 — 历史补审、可靠保存与长审查意见(2026-11-14)
11
+
12
+ - **重启后仍能完成审查。** 原指挥端可用原任务 ID 读取已结束的历史记录并补审,再次重启后仍保留结论。沿用原任务归属校验,不恢复旧执行对象或旧审批权限;历史缺少的执行证据明确标记。
13
+ - **保存状态与实际落盘一致。** 区分保存中、等待超时但尚未确认、已保存和确定失败;保存前不显示已通过,晚到结果同步更新。相同审查并发共享写入,冲突结论明确拒绝,失败可重试;修复任务收尾覆盖已保存结论的竞态。
14
+ - **审查备注统一为 8000 Unicode 码点。** MCP、HTTP、引擎与历史存储使用同一约定;合法正文完整保存,超限或容量不足明确拒绝。以前已经丢失的备注尾部无法凭升级恢复。
15
+ - **页面自动更新审查结论。** 待审和保存中的记录继续每 5 秒后台刷新;隐藏暂停、恢复立即读取、保存确认后停止。历史补审保存状态同步显示;刷新失败保留已显示内容。
16
+ - **长备注按需读取。** 列表预览最多 200 码点,详情展开/收起和复制全文;复制不可用或失败时准确提示。等待只返回状态和长度,结果过大时明确省略正文,使用 `delegate_result` 的可选备注分页取回。
17
+ - **更新托管 Codex 规则。** 明确集中审查、保存确认及按需读取;识别原版 1.4.0 模板的 LF/CRLF 字节并升级,保留用户自行修改的文件。技术 MCP 名称与既有配置目录保持兼容。
18
+ - 完整自动回归 1283 项通过,源码同步后针对性验证 48 项通过;隔离安装包的真实 stdio MCP/本机 HTTP 通道完成跨两次重启补审与 8000 码点备注分页验证。正式 Desktop 人工点击和真实提供方任务不在本轮验收范围内。
19
+ - API/模型选择与现有执行通道保持兼容。本版不包含后续规划的外层静默等待优化、审批后直接续等和减少不必要提权申请,也不宣称新的 token 节省比例。验证边界见 `docs/releases/1.4.1.zh.md`。
20
+
3
21
  ## 1.4.0 — 静默等待、重复失败提醒与宿主审查闭环
4
22
 
5
23
  - **长等待与集中审查。** Codex companion、MCP 说明和文档统一要求正常调用 `delegate_wait({ taskId })` 时省略短 `waitSeconds`。外层工具允许长 yield 时保持同一次等待;提前返回仍运行的单元则续接同一个单元,不重复派工、不反复读取中间代码。执行期间由程序观察,交付后由指挥端集中审查,需要修正时续接原任务。
@@ -17,8 +35,8 @@
17
35
  - Explicit Codex install/repair can migrate a marked legacy MCP entry after the old package was uninstalled, when its missing package path is a known sibling of the current `dsh-taskbridge` installation. Custom wrappers, unrelated paths and automatic startup path adoption remain excluded.
18
36
  - Update the settings page, companion dispatch rules and upgrade instructions. Model selection, delegation authorization, quiet waiting and host review retain their existing behavior.
19
37
 
20
- - Make loopback HTTP test fixtures avoid Fetch-blocked ports, which Windows can allocate from a customized low dynamic-port range. This only affects tests.
21
-
38
+ - Make loopback HTTP test fixtures avoid Fetch-blocked ports, which Windows can allocate from a customized low dynamic-port range. This only affects tests.
39
+
22
40
  ## 1.3.1 — DSH TaskBridge identity and npm distribution
23
41
 
24
42
  - Unify the project, GitHub repository, plugin title, package and bundle identity as **DSH TaskBridge** / `dsh-taskbridge`. The previous GitHub-only `dsh-taskdispatch` name was rejected by npm's similarity protection; it never became an npm package.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # DSH TaskBridge
2
2
 
3
+ **1.4.2** 默认通用,不再按 DSH 版本白名单拦截安装或加载;保留必要的运行时接口检查。详见 [1.4.2 更新说明](docs/releases/1.4.2.zh.md)。
4
+
3
5
  **让 Claude Code 或 Codex 指挥 DSH 完成任务,在 DSH 插件中配置 API、执行模型和思考强度。**
4
6
 
5
7
  你向指挥端提出目标;指挥端规划、拆分、派工和审查,DSH 根据插件设置执行。插件可选择 DSH 已接入的 API 提供方、执行模型及其支持的思考强度,并配置超时、并发与工作区隔离;额外模型审查可单独开关和配置。任务交付后集中审查,需要改进时续接同一任务对话。
@@ -16,7 +18,7 @@ DeepSeek Harness(DSH)的委托插件:让 MCP 宿主在你开启本机总
16
18
  新安装时本机调用总开关默认关闭。开关状态会保存在插件设置中,重启后恢复保存值;
17
19
  关闭时拒绝新的委派任务,并请求停止正在运行的任务。
18
20
 
19
- > **发布版本:`1.4.0`(静默等待、重复失败提醒与审查状态闭环)。** 源码仓库和可下载的 Release
21
+ > **当前版本:`1.4.2`(移除 DSH 版本白名单,默认通用加载)。** 源码仓库和可下载的 Release
20
22
  > 位于 [GitHub](https://github.com/ranranyya/dsh-taskbridge)。npm 安装标识为 **`dsh-taskbridge`**,
21
23
  > GitHub Release 同时提供 `.tgz`。`1.1.0` 的静默等待说明见
22
24
  > [`docs/silent-wait.md`](./docs/silent-wait.md);`1.2.0` 修正了其中三处真实问题(等待中断的
@@ -28,7 +30,7 @@ DeepSeek Harness(DSH)的委托插件:让 MCP 宿主在你开启本机总
28
30
 
29
31
  | 项 | 要求 | 说明 |
30
32
  | --- | --- | --- |
31
- | DSH | `0.2.0-rc.2` / `0.2.1-rc.2` / `0.2.1-rc.3` / `0.2.2-rc.1` | `peerDependencies` 精确声明这四个版本的范围(`0.2.0-rc.2 \|\| 0.2.1-rc.2 \|\| 0.2.1-rc.3 \|\| 0.2.2-rc.1`);DSH 启动时会用 `semver` 加 `includePrerelease` 校验 `@deepseek-ai/dsh-*` 的 peer 范围,不匹配的插件行会被拒绝加载(`skippedBundles` / denied row)。`0.2.0-rc.2` 是开发与自动测试所用版本;`0.2.1-rc.2` 在**隔离 profile** 中完成验收(未写入正式 profile);`0.2.1-rc.3` 为上一宿主版本(本次没有在它上面重新做原生全量验证);`0.2.2-rc.1` 是本次新增支持的 DSH Desktop 原生运行时(原生源码已审计;原生 base+web+delegate 全量 profile 加载、stdio MCP、runner 模型路由回读、沙箱策略回读均已在隔离夹具中通过;但**没有真实模型调用、没有实际沙箱命令、没有生产 Desktop 安装**)。之前声明过的版本一个都没有移除。其他 DSH 版本**未经验证**,请不要假定可用。逐版本状态见 [`docs/runtime-compatibility.md`](./docs/runtime-compatibility.md)。 |
33
+ | DSH | 默认通用,不按版本号筛选 | 不声明 `engines.dsh`;宿主提供的 DSH 依赖使用 `*`。所需模型路由、审批等接口仍按实际能力检查;说明见 [`docs/runtime-compatibility.md`](./docs/runtime-compatibility.md)。 |
32
34
  | Node.js | `>= 24` | 与 DSH `0.2.0-rc.2` / `0.2.1-rc.2` 运行时一致;使用了原生 ESM、`AbortSignal.timeout`、`node --test`。 |
33
35
  | 操作系统 | Windows / Linux / macOS | 自动测试在 Windows + Node 24 上运行;需要 git 的工作树隔离在缺少 git 时会被显式拒绝,而不是静默降级。 |
34
36
 
@@ -47,13 +49,13 @@ profile 是**应用保留的**:npm / `dsh plugin` CLI 对该 profile 的操作
47
49
  Desktop 侧的包操作只能交给应用完成——不要在 Desktop 的正式 profile 里执行 npm/pnpm
48
50
  命令,也不要直接编辑其中的文件。
49
51
 
50
- 1. 打开 Desktop 的 **Plugins manager → 添加插件**,输入 **`dsh-taskbridge@1.4.0`**。
52
+ 1. 打开 Desktop 的 **Plugins manager → 添加插件**,输入 **`dsh-taskbridge@1.4.2`**。
51
53
  若中国大陆镜像尚未同步,先选择 npm 官方源再重试。安装后的显示名为 **DSH TaskBridge**。
52
54
  也可以从本项目 Release 下载 `.tgz`,或在仓库根目录打包:
53
55
 
54
56
  ```bash
55
57
  npm pack
56
- # → dsh-taskbridge-1.4.0.tgz
58
+ # → dsh-taskbridge-1.4.2.tgz
57
59
  ```
58
60
 
59
61
  2. 使用本地包时,通过 **添加插件**入口选择下载或生成的 `.tgz`(或本仓库目录)完成安装。
@@ -67,7 +69,7 @@ Desktop 侧的包操作只能交给应用完成——不要在 Desktop 的正式
67
69
 
68
70
  ```bash
69
71
  # 装进一个 profile(例:web)
70
- dsh plugin --profile web add ./dsh-taskbridge-1.4.0.tgz && dsh plugin --profile web why dsh-taskbridge
72
+ dsh plugin --profile web add ./dsh-taskbridge-1.4.2.tgz && dsh plugin --profile web why dsh-taskbridge
71
73
 
72
74
  # 启动(首次启动会自动把插件 bundle 追加到 dsh.profile.bundles)
73
75
  dsh --profile web
@@ -80,7 +82,7 @@ dsh --profile web
80
82
  ### 说明与注意
81
83
 
82
84
  - **不要装进你正在用的正式 profile 做试验。** 建议先用一次性 profile:
83
- `dsh plugin --profile dsh-delegate-try add ./dsh-taskbridge-1.4.0.tgz`,再把
85
+ `dsh plugin --profile dsh-delegate-try add ./dsh-taskbridge-1.4.2.tgz`,再把
84
86
  `DSH_HOME` 指向临时目录做隔离验证。该命令同样只用于 CLI profile。
85
87
  - 该包声明了 `@deepseek-ai/dsh-*` 的 peer,若你的包管理器默认自动安装 peer,
86
88
  安装过程会尝试解析这些版本。可显式关闭:`npm_config_auto_install_peers=false`
@@ -515,7 +517,7 @@ Codex 子智能体现在按「提交 → `delegate_wait` 同一任务」运作
515
517
  # 不要在 Desktop 的正式 profile 下执行下面的 CLI 命令。
516
518
 
517
519
  # CLI web profile 的升级:换成本地新包或(将来)新版本
518
- dsh plugin --profile web add ./dsh-taskbridge-1.4.0.tgz
520
+ dsh plugin --profile web add ./dsh-taskbridge-1.4.2.tgz
519
521
 
520
522
  # 导出:界面里"导出非敏感配置"按钮,或用只读 API
521
523
  # GET /api/dsh-delegate/settings
@@ -540,17 +542,7 @@ dsh plugin --profile web remove dsh-taskbridge
540
542
 
541
543
  - **发布渠道**:1.3.1 已通过 npm、GitHub Release 和本项目自定义插件索引分发。索引不是官方默认
542
544
  市场收录;更新能力取决于 DSH 客户端,插件没有独立的自动更新程序,也未提供作者签名或构建来源证明。
543
- - **DSH 版本锁定**:`peerDependencies` 与 `engines.dsh` 精确声明四个版本(`0.2.0-rc.2`、
544
- `0.2.1-rc.2`、`0.2.1-rc.3`、`0.2.2-rc.1`),其余版本会被 peer 门禁拒绝。其中
545
- `0.2.0-rc.2` 是开发与自动测试版本,`0.2.1-rc.2` 的验收在**隔离 profile** 中完成,
546
- `0.2.1-rc.3` 为上一宿主版本(本次未在它上面重新做原生全量验证),`0.2.2-rc.1` 是本次新增支持的原生
547
- 运行时——原生源码已审计,原生 base+web+delegate 全量 profile 加载、stdio MCP、runner 模型路由
548
- 回读与沙箱策略回读均已在隔离夹具中通过,但**没有真实模型调用**、**没有实际沙箱命令**,
549
- 也**没有**在生产 Desktop profile 上做端到端安装运行。逐版本状态见
550
- [`docs/runtime-compatibility.md`](./docs/runtime-compatibility.md)。
551
- - **更早的插件版本会被新宿主的门禁跳过**:`0.2.2-rc.1` 宿主不会加载未声明该版本的旧插件
552
- (即上一版与更早的构建),而是报 `skippedBundles` / denied row。想在新宿主上使用本插件的
553
- 行为,需要升级插件,而不是放宽门禁。
545
+ - **按实际接口工作**:1.4.2 起不按 DSH 版本号筛选。若宿主缺少所需模型路由、审批等接口,相关操作仍会报告具体能力不足;默认通用不表示所有宿主版本都已做过端到端实测。旧插件包仍保留它们自己的声明,遇到旧版兼容性提示应先升级插件。
554
546
  - **本机开关不是进程身份认证**:开关开启时,能连接本机 DSH 端口的同机进程可以提交任务。
555
547
  不要在不可信的本机环境中开启;它不能防御同账号的恶意进程。
556
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.0"
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."
@@ -175,16 +175,29 @@ DISPATCH (only for an explicitly assigned implementation task)
175
175
  findings, changed files) and then do the review yourself, in Codex. If the diff
176
176
  is large, inspect only the files that matter for this change, once each. Do not
177
177
  re-read the same evidence repeatedly, and never reply "done" without reviewing.
178
+ The review note is up to 8000 Unicode code points; a longer answer states
179
+ `noteOmitted: true` and the note is read in pages with `reviewNoteOffset` and
180
+ `reviewNoteLimit` (2000 code points per page) until `complete` is true. Read the
181
+ full note before concluding when the page says it is longer.
178
182
  After the review, call `delegate_review` on THAT task with `decision: "accepted"`
179
- or `decision: "changes-requested"` and a short, factual `note` describing the
180
- checks or required corrections. Record accepted only when the delivered evidence
181
- supports it. This records your conclusion; it grants no tool permission and does
182
- not merge files. Wait for the write to succeed before reporting the decision as
183
- recorded. A failed write is a recording problem, not proof that execution failed.
183
+ or `decision: "changes-requested"`. A passing conclusion keeps a SHORT note (what
184
+ you checked and that it passed); a rework note is written ONCE as a single
185
+ consolidated correction list, not as a conversation.
186
+ Record accepted only when the delivered evidence supports it. This records your
187
+ conclusion; it grants no tool permission and does not merge files.
188
+ A review is only recorded once the answer says it is durable (`reviewPersistence`
189
+ `state: "saved"`, or a returned `hostAcceptance`). If the answer says `saving` or
190
+ `timed-out`, the write is still running: do NOT report it as recorded and do NOT
191
+ resubmit or re-dispatche the work — read the SAME task again with
192
+ `delegate_result`/`delegate_wait` until it is confirmed. A `failed` write is a
193
+ recording problem, not proof that execution failed; retry it on the same task.
184
194
  For changes-requested, consolidate corrections and submit a follow-up using
185
195
  `continueFromTaskId`; do not overwrite the old task's decision. Never mark old
186
196
  records accepted in bulk, and never claim a decision was saved when an older
187
197
  server lacks this tool.
198
+ Reviewing is done in ONE pass per delivery: do not call `delegate_review` to
199
+ "check in" while the run is still going, and do not review the same result more
200
+ than once.
188
201
  - `failed`, `cancelled`: the run ended without deliverables. Call
189
202
  `delegate_result` ONCE for the same task to read the recorded reason, then report
190
203
  it. Do not resubmit identical work hoping for a different result; if a correction
@@ -1,17 +1,19 @@
1
- # DSH TaskBridge
2
-
3
- Let Claude Code or Codex direct DSH tasks. Choose the execution API, model and supported reasoning effort in the DSH plugin settings.
4
-
5
- The host plans, dispatches and reviews; DSH executes using the effective configuration. Follow-up corrections explicitly continue the same task conversation and execution checkout. Providers come from DSH's existing API connections, without copying their credentials into the plugin.
6
-
7
- The settings include the local delegation switch, worker model/effort, task timeout, concurrency, workspace isolation, project overrides and optional additional read-only model review. A newly installed plugin starts with delegation disabled. Runtime/model capability checks remain authoritative.
8
-
9
- The quiet wait observes execution inside the program and returns at actionable boundaries. Pending wider-permission calls are presented to the commander for a single-call decision. Completion is evidence for host review, never automatic host acceptance.
10
-
11
- Version 1.4.0 clarifies long outer waits and continuation of the same running call, adds a configurable repeated-tool-failure reminder (3 by default; 0 disables it), and lets the host explicitly record an accepted or changes-requested decision with `delegate_review`. Task records display that decision instead of remaining indefinitely awaiting review.
12
-
13
- Codex has a managed agent/MCP installation button. Version 1.3.2 names the companion `dsh-taskbridge` and migrates unchanged published legacy companions. New DSH Workspaces use the task's work-content title; explicit follow-ups keep the original Workspace and conversation. Claude Code connects using standard stdio MCP; see [the manual guide](claude-code.md). A Claude one-click installer and native client mention selection are not promised.
14
-
15
- 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.
16
-
17
- In DSH's Add plugin dialog, use `dsh-taskbridge@1.4.0`; 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.
1
+ # DSH TaskBridge
2
+
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
+
5
+ Let Claude Code or Codex direct DSH tasks. Choose the execution API, model and supported reasoning effort in the DSH plugin settings.
6
+
7
+ The host plans, dispatches and reviews; DSH executes using the effective configuration. Follow-up corrections explicitly continue the same task conversation and execution checkout. Providers come from DSH's existing API connections, without copying their credentials into the plugin.
8
+
9
+ The settings include the local delegation switch, worker model/effort, task timeout, concurrency, workspace isolation, project overrides and optional additional read-only model review. A newly installed plugin starts with delegation disabled. Runtime/model capability checks remain authoritative.
10
+
11
+ The quiet wait observes execution inside the program and returns at actionable boundaries. Pending wider-permission calls are presented to the commander for a single-call decision. Completion is evidence for host review, never automatic host acceptance.
12
+
13
+ Version 1.4.0 clarifies long outer waits and continuation of the same running call, adds a configurable repeated-tool-failure reminder (3 by default; 0 disables it), and lets the host explicitly record an accepted or changes-requested decision with `delegate_review`. Task records display that decision instead of remaining indefinitely awaiting review.
14
+
15
+ Codex has a managed agent/MCP installation button. Version 1.3.2 names the companion `dsh-taskbridge` and migrates unchanged published legacy companions. New DSH Workspaces use the task's work-content title; explicit follow-ups keep the original Workspace and conversation. Claude Code connects using standard stdio MCP; see [the manual guide](claude-code.md). A Claude one-click installer and native client mention selection are not promised.
16
+
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
+
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.
@@ -1,36 +1,38 @@
1
- # DSH TaskBridge
2
-
3
- **让 Claude Code 或 Codex 指挥 DSH 完成任务,在 DSH 插件里配置执行所用的 API、模型和思考强度。**
4
-
5
- 你向指挥端说明目标,指挥端负责规划、拆分、派工和审查;DSH 根据插件设置调用执行模型。执行结束后交回结果,有需要修改的地方,指挥端可以续接同一任务对话继续处理。
6
-
7
- ## 在 DSH 中配置执行
8
-
9
- - 从 DSH 已接入的 API 提供方中选择,无需重复填写接口地址和密钥。
10
- - 选择执行模型及其支持的思考强度;也可设置任务超时、并发数量和工作区隔离方式。
11
- - 用一个本机调用总开关控制是否允许派工。新安装默认关闭;安装插件不会自动授权执行。
12
- - 可选开启额外模型审查,为审查单独选择 API、模型和思考强度;最终是否接收结果仍由指挥端决定。
13
- - 保存项目级覆盖和非敏感配置预设。具体选项以运行时及模型实际支持能力为准。
14
-
15
- ## 在执行期间减少重复干预
16
-
17
- `delegate_wait` 在程序内部观察任务。正常执行时保持等待,只在交付、失败、审批、停滞检查或等待上限等节点返回简短信息。连续 5 分钟无新活动时程序自查,10 分钟时请求指挥端判断;阈值可在高级设置中调整。
18
-
19
- 需要更大权限的工具调用会暂停,指挥端根据准确操作和指纹决定单次允许或拒绝,不是默认全部放行。交付后集中审查,修正通过 `continueFromTaskId` 续接原对话与执行工作区。
20
-
21
- 1.4.0 明确长等待及同一等待单元续接规则,新增默认 3 次的重复工具失败提醒(可调整,0 关闭)。指挥端审查交付后通过 `delegate_review` 写回结论,任务页区分“审查通过”“需要修正”和尚未审查,避免记录始终停在待审。
22
-
23
- 1.3.2 起,新建的 DSH 工作区按实际工作内容命名,例如“制作潘德 G 版装备表”,不再只显示工作树的任务编号。指挥端随派工提交标题,旧客户端则从任务目标提取;续接同一任务时保留原名称与对话。
24
-
25
- ## 连接 Claude Code 与 Codex
26
-
27
- - **Codex**:设置页提供智能体及 MCP 的安装/修复按钮。智能体名为 `dsh-taskbridge`,更新会迁移未修改的旧智能体,派工规则随安装写入。客户端是否提供输入框 `@` 选择由客户端版本决定。
28
- - **Claude Code**:通过标准 stdio MCP 连接,参见 [接入说明](claude-code.md)。目前没有一键安装 Claude Code 的按钮,也未进行真实 Claude Code 客户端验收。
29
-
30
- ## 安装、升级和边界
31
-
32
- 项目原名 DSH Delegate,1.3.0 曾使用 DSH TaskDispatch。1.3.1 起统一为 **DSH TaskBridge**,包名为 `dsh-taskbridge`。从旧包升级请先阅读 [更名升级说明](taskbridge-upgrade.md)。在 DSH“添加插件”中输入 `dsh-taskbridge@1.4.0`;中国大陆镜像若尚未同步,改选 npm 官方源。GitHub Release 同时提供安装包。
33
-
34
- [插件索引与更新说明](plugin-market.md)介绍如何添加索引,在 DSH 的“发现”中搜索本插件。发布自定义索引不代表已进入官方内置市场;DSH 当前需要用户自行添加可信索引。
35
-
36
- 同一 Codex 模型的约 45 秒等待对照样本中,长等待把模型响应从 3 次减少为 1 次,记录的等待阶段 token 总量减少 66.58%。这不是整个任务或账单的节省比例;方法与边界见[测量报告](releases/1.4.0-token-benchmark.zh.md)。插件不保证所有客户端完全零唤醒,Windows 与隔离迁移测试也不等同于所有平台和客户端均已验收。
1
+ # DSH TaskBridge
2
+
3
+ 1.4.2 默认通用,不再按 DSH 版本白名单拦截;保留 1.4.1 的历史补审、可靠保存和长审查意见。安装 `dsh-taskbridge@1.4.2` 或对应的 Release 安装包;详见 [1.4.2 更新说明](releases/1.4.2.zh.md)。
4
+
5
+ **让 Claude Code 或 Codex 指挥 DSH 完成任务,在 DSH 插件里配置执行所用的 API、模型和思考强度。**
6
+
7
+ 你向指挥端说明目标,指挥端负责规划、拆分、派工和审查;DSH 根据插件设置调用执行模型。执行结束后交回结果,有需要修改的地方,指挥端可以续接同一任务对话继续处理。
8
+
9
+ ## 在 DSH 中配置执行
10
+
11
+ - 从 DSH 已接入的 API 提供方中选择,无需重复填写接口地址和密钥。
12
+ - 选择执行模型及其支持的思考强度;也可设置任务超时、并发数量和工作区隔离方式。
13
+ - 用一个本机调用总开关控制是否允许派工。新安装默认关闭;安装插件不会自动授权执行。
14
+ - 可选开启额外模型审查,为审查单独选择 API、模型和思考强度;最终是否接收结果仍由指挥端决定。
15
+ - 保存项目级覆盖和非敏感配置预设。具体选项以运行时及模型实际支持能力为准。
16
+
17
+ ## 在执行期间减少重复干预
18
+
19
+ `delegate_wait` 在程序内部观察任务。正常执行时保持等待,只在交付、失败、审批、停滞检查或等待上限等节点返回简短信息。连续 5 分钟无新活动时程序自查,10 分钟时请求指挥端判断;阈值可在高级设置中调整。
20
+
21
+ 需要更大权限的工具调用会暂停,指挥端根据准确操作和指纹决定单次允许或拒绝,不是默认全部放行。交付后集中审查,修正通过 `continueFromTaskId` 续接原对话与执行工作区。
22
+
23
+ 1.4.0 明确长等待及同一等待单元续接规则,新增默认 3 次的重复工具失败提醒(可调整,0 关闭)。指挥端审查交付后通过 `delegate_review` 写回结论,任务页区分“审查通过”“需要修正”和尚未审查,避免记录始终停在待审。
24
+
25
+ 1.3.2 起,新建的 DSH 工作区按实际工作内容命名,例如“制作潘德 G 版装备表”,不再只显示工作树的任务编号。指挥端随派工提交标题,旧客户端则从任务目标提取;续接同一任务时保留原名称与对话。
26
+
27
+ ## 连接 Claude Code 与 Codex
28
+
29
+ - **Codex**:设置页提供智能体及 MCP 的安装/修复按钮。智能体名为 `dsh-taskbridge`,更新会迁移未修改的旧智能体,派工规则随安装写入。客户端是否提供输入框 `@` 选择由客户端版本决定。
30
+ - **Claude Code**:通过标准 stdio MCP 连接,参见 [接入说明](claude-code.md)。目前没有一键安装 Claude Code 的按钮,也未进行真实 Claude Code 客户端验收。
31
+
32
+ ## 安装、升级和边界
33
+
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
+
36
+ [插件索引与更新说明](plugin-market.md)介绍如何添加索引,在 DSH 的“发现”中搜索本插件。发布自定义索引不代表已进入官方内置市场;DSH 当前需要用户自行添加可信索引。
37
+
38
+ 同一 Codex 模型的约 45 秒等待对照样本中,长等待把模型响应从 3 次减少为 1 次,记录的等待阶段 token 总量减少 66.58%。这不是整个任务或账单的节省比例;方法与边界见[测量报告](releases/1.4.0-token-benchmark.zh.md)。插件不保证所有客户端完全零唤醒,Windows 与隔离迁移测试也不等同于所有平台和客户端均已验收。
@@ -1,6 +1,19 @@
1
1
  # Codex integration contract
2
2
 
3
- Status: implemented in 1.4.0 (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.
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
+
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
7
+ 1.4.0 companion in LF and CRLF forms, and updates the review contract: a completed
8
+ task may be read and reviewed by its original identity after a restart. History
9
+ does not restore execution or old permissions. Reviews are confirmed only when
10
+ `reviewPersistence.durable` is true (`state: "saved"`); `saving` or `timed-out`
11
+ means the write is still unconfirmed, and `failed` permits a retry. Ordinary waits
12
+ omit review prose. A result that reports `noteOmitted: true` can be read with
13
+ `delegate_result` plus `reviewNoteOffset` and optional `reviewNoteLimit` (1–2000
14
+ Unicode code points per page, default 2000); follow `nextOffset` until `complete`.
15
+ Review notes accept up to 8000 code points after trimming and are stored redacted.
16
+ See the [release notes](releases/1.4.1.zh.md) for validation boundaries.
4
17
 
5
18
  This document is the contract between the plugin's settings page (browser half),
6
19
  the host-side installer (`src/codex/installer.js`) and the two files it manages.
@@ -515,7 +528,7 @@ successful diagnosis.
515
528
  ```jsonc
516
529
  {
517
530
  "codexHome": "…",
518
- "packageVersion": "1.4.0",
531
+ "packageVersion": "1.4.2",
519
532
  "boundary": { "blocked": false, "link": null, "unknown": false, "home": "directory", "agents": "directory" },
520
533
  "agent": {
521
534
  "path": "…", "state": "installed", "installed": true, "managed": true,
@@ -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.0`,无需添加索引;若中国大陆镜像未同步,改选 npm 官方源。GitHub Release 同时提供 `.tgz` 和 SHA256 文件。
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 尚未部署成功时,不能声称已可搜索。发布报告记录实际公开地址、返回状态、格式校验与所指提交。索引中的 `engines.dsh` 与插件自身一致,不把未验证的宿主版本加进兼容范围。
24
+ 工作流或 Pages 尚未部署成功时,不能声称已可搜索。发布报告记录实际公开地址、返回状态、格式校验与所指提交。1.4.2 起索引与插件都不声明 DSH 版本白名单,索引省略 `engines` 字段;所需运行时接口仍按实际能力检查。
25
25
 
26
26
  ## 维护发布源
27
27
 
@@ -0,0 +1,59 @@
1
+ # DSH TaskBridge 1.4.1 更新说明
2
+
3
+ 发布日期:2026 年 11 月 14 日。安装标识:`dsh-taskbridge@1.4.1`。
4
+
5
+ 让 Claude Code 或 Codex 指挥 DSH 工作,在 DSH 插件中配置 API、执行模型和思考强度。1.4.1 针对 1.4.0 审查报告中的 R1—R5,补齐执行结束后的审查闭环。
6
+
7
+ ## 重启后继续读取和补审
8
+
9
+ 已结束任务保留原 ID。DSH/插件重启后,原指挥端仍可通过结果、等待与审查工具读取已保存记录;完成但尚未审查的任务可直接补审,再次重启仍保留结论。
10
+
11
+ 历史记录是可审查的证据,不会恢复成执行任务,也不会恢复旧权限申请。失败、取消或中断保持真实结局。其他身份与未知 ID 得到一致的拒绝;关闭派工开关后,已有结果读取和审查仍可进行。
12
+
13
+ 历史缺少的输出、差异或关联证据会明确标记。是否足以验收由指挥端判断;插件不会因为历史记录存在便自动通过。
14
+
15
+ ## 保存确认后才显示审查结论
16
+
17
+ 审查结论分为保存中、保存未确认、已保存及确定失败。请求等待超过默认 5 秒,仅表示底层写入尚未确认,不能当作确定失败,也不能提前说审查已记录。
18
+
19
+ 晚到的成功或失败会同步到后续读取和页面。相同审查并发提交共享一次写入,已有结论与冲突请求明确区分;确定失败可重试。任务收尾快照不能覆盖已经保存的审查结论,其他任务的历史写入也不应丢失。
20
+
21
+ ## 8000 字符审查意见完整保存
22
+
23
+ 统一按 **Unicode 码点** 统计,最多 8000,覆盖中文、英文、换行和 emoji。输入仍去除首尾空白并脱敏,合法正文不会再被通用短标签裁到 256 字符;超过限制在写入前拒绝。存储容量不足时明确报告,不能删掉审查正文来宣称保存成功。
24
+
25
+ 以前已被旧版截掉的部分,升级无法自动恢复;需要原对话或报告作为补证。
26
+
27
+ ## 页面和工具各按用途返回内容
28
+
29
+ - 可见页面在有运行中、待审或保存中记录时每 5 秒刷新;隐藏暂停、恢复立即读取,结论确认后停止。待审不被当作正在执行,也不增加取消入口。刷新失败保留原记录并提示异常。
30
+ - 列表只展示最多 200 码点预览,详情可展开和复制全文。剪贴板不可用、同步拒绝或异步失败时准确提示。
31
+ - `delegate_wait` 继续简短返回状态,不重复附带长审查正文。
32
+ - 旧 `delegate_result({ taskId })` 继续可用。返回大小受限时,备注明确带 `noteOmitted: true` 和 `noteChars`,不会把截短正文冒充全文。
33
+ - 需要全文时使用 `delegate_result({ taskId, reviewNoteOffset: 0 })`。默认每页 2000 码点,可用 `reviewNoteLimit` 调整到 1—2000;按 `nextOffset` 续读,到 `complete: true` 结束。分页只读取备注,不重复搬运执行输出和差异。
34
+
35
+ ## Codex 集成与升级
36
+
37
+ 受管理的原版 1.4.0 模板支持 LF/CRLF 精确识别和升级;用户改过的文件保留。新规则强调集中审查、写回确认、按需取全文以及通过 `continueFromTaskId` 续接原任务。
38
+
39
+ 首次安装仍使用插件设置页集成按钮。正式更新后,客户端可能需要重新加载规则和工具目录。历史数据目录、MCP 技术名称和 API/模型选择方式保持兼容。
40
+
41
+ ## 安装与升级
42
+
43
+ 在 DSH 插件管理中更新 `dsh-taskbridge`,或在添加插件时输入 `dsh-taskbridge@1.4.1`。区域镜像未同步时选择 npm 官方源;也可使用本 Release 的 `dsh-taskbridge-1.4.1.tgz` 和 SHA256 校验文件。订阅本项目自定义索引的用户,可在索引部署完成后刷新发现页面获取版本。
44
+
45
+ 升级后按需重新加载 Codex,使客户端重新读取受管理规则和 MCP 工具目录。不要同时启用旧名称的插件副本;既有数据目录和模型设置保持兼容。
46
+
47
+ ## 验证结果与边界
48
+
49
+ 完整自动回归 **1283 项通过**;同步开发仓库后,包内容、历史补审和页面刷新驱动的针对性验证 **48 项通过**。客户端构建及一致性检查、`git diff --check` 通过。
50
+
51
+ 隔离安装包使用实际 stdio MCP 子进程与本机 HTTP 接口,完成原任务 ID 读取、重启后补审、再次重启读回;8000 码点备注经 4 页完整重组。普通等待回复不带备注正文,该次通道验收为 1566 字节。
52
+
53
+ 自动回归覆盖真实历史写盘、超时后成功/失败、同任务并发、其他任务同时保存、收尾重叠、码点边界,以及刷新 hook 与实际 store、剪贴板和临时 Codex 配置迁移。
54
+
55
+ 自动测试使用包内真实模块和临时目录,模型/会话由夹具提供;发布不代替用户正式 Desktop 升级、页面点击验收、真实提供方任务验收或真实客户端长等待验收。
56
+
57
+ 本版没有重新测量账单或整任务 token,不给出新的节省百分比;仅验证长备注不会使普通等待回复按正文长度膨胀。1.4.0 的短样本测量保留其原有适用边界。
58
+
59
+ 本版不包含后续规划的外层静默等待优化、审批后直接恢复等待和减少不必要提权申请。这些问题另行实施与验收。
@@ -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,10 +1,14 @@
1
1
  # Runtime compatibility
2
2
 
3
- This document states which DSH runtimes this plugin build (`1.4.0`, package
4
- `dsh-taskbridge-1.4.0.tgz`) may be loaded into, what changed in the newest one, and what
5
- has and has not been verified on it. It is a compatibility note, not an acceptance
6
- report; the package is distributed through npm and the GitHub Release. See the
7
- [1.4.0 release notes](releases/1.4.0.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
8
12
  [1.3.1 release report](releases/1.3.1.zh.md) for historical distribution verification.
9
13
 
10
14
  `1.1.0` added silent waiting: the global `monitoring` thresholds (self-check and attention
@@ -36,39 +40,20 @@ upgrades the installed MCP entry) and Codex reloaded before the new wait rules a
36
40
  managed `tool_timeout_sec` take effect. No unit-test count and no mock constitutes an
37
41
  acceptance run.
38
42
 
39
- ## 1. Supported versions
40
-
41
- `engines.dsh` and every `@deepseek-ai/dsh-*` peer range are the **same exact union**,
42
- and nothing else is admitted:
43
-
44
- ```
45
- 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.2-rc.1
46
- ```
47
-
48
- | DSH runtime | Status in this build | Evidence |
49
- | --- | --- | --- |
50
- | `0.2.0-rc.2` | Supported; development and automated-test runtime | The repository's own test suite and native development cohort run on it. |
51
- | `0.2.1-rc.2` | Supported; accepted in an **isolated** profile | Prior acceptance run in a temporary `DSH_HOME`; not the operator's production profile. |
52
- | `0.2.1-rc.3` | Supported; previous host runtime | Declared by the previous host build. This build was **not** independently native-boot verified on `0.2.1-rc.3` during this task, so no full-profile check is claimed for it. |
53
- | `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-*`). |
54
-
55
- Additional rules:
56
-
57
- - **DSH checks these ranges with prereleases included.** `@deepseek-ai/dsh-*` peer
58
- ranges are matched with `semver` plus `includePrerelease`, so an exact prerelease
59
- string is required; a caret or tilde would admit builds that were never exercised.
60
- - **No version was dropped.** Every release admitted before this one is still admitted,
61
- and the automated tests assert that the manifest, both lockfiles and the table above
62
- agree with each other.
63
- - **Any other DSH version is unverified.** Do not assume it works; the loader will
64
- refuse a plugin whose peer range does not match.
65
- - **Older *plugin* builds are refused by the native gate.** The gate is checked against
66
- the plugin's declared ranges, so an older build (`0.1.11` and anything before it) that
67
- does not declare `0.2.2-rc.1` is *skipped* by a `0.2.2-rc.1` host
68
- (`skippedBundles` / a denied row) rather than loaded with unknown behaviour. Getting
69
- this build's behaviour on `0.2.2-rc.1` requires upgrading the plugin, not relaxing the
70
- gate.
71
- - **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.
72
57
 
73
58
  ## 2. What DSH 0.2.2 changes
74
59
 
@@ -199,27 +184,27 @@ What remains genuinely unverified:
199
184
 
200
185
  ## 5. Upgrading from an older plugin build
201
186
 
202
- 1. Download `dsh-taskbridge-1.4.0.tgz` from the GitHub Release, or build the package locally (`npm pack`).
187
+ 1. Download `dsh-taskbridge-1.4.2.tgz` from the GitHub Release, or build the package locally (`npm pack`).
203
188
  2. Install it the way your surface requires: the Desktop **Plugins manager** for a
204
189
  Desktop profile (npm/CLI operations on that profile are refused), or
205
- `dsh plugin --profile <name> add ./dsh-taskbridge-1.4.0.tgz` for a CLI profile you
190
+ `dsh plugin --profile <name> add ./dsh-taskbridge-1.4.2.tgz` for a CLI profile you
206
191
  start yourself.
207
192
  3. The settings, the switch value and the task history are preserved
208
193
  (`$DSH_HOME/data/dsh-delegate`); nothing is migrated destructively.
209
194
  4. If the Codex companion was installed, no action is needed: a `0.1.11` — or `0.1.10` —
210
195
  agent file whose bytes still match a published template is refreshed automatically on
211
196
  startup, or explicitly from the Codex panel. A file you edited is left untouched.
212
- 5. To roll back, re-install the older `.tgz`. The data directory is not deleted, but an
213
- older plugin build will be skipped by a `0.2.2-rc.1` host's native gate (section 1),
214
- so rolling back the plugin means staying on an older DSH as well.
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.
215
200
 
216
201
  ## 6. Where this is enforced
217
202
 
218
203
  | Claim | Enforced by |
219
204
  | --- | --- |
220
- | The exact runtime union in `engines.dsh` and every `@deepseek-ai/dsh-*` peer | `tests/package.test.js` ("the manifest keeps its identity…", "peer constraints declare exactly the verified DSH runtimes") |
205
+ | No DSH engine range and unrestricted native peers | `tests/package.test.js` (manifest and host-provided peer checks) |
221
206
  | Both lockfiles' root metadata match `package.json` | `tests/package.test.js` ("the lockfile pins the same dependency set…") |
222
- | This table matches the manifest, in both directions | `tests/package.test.js` ("the supported-version table is the one the manifest admits") |
207
+ | The published index does not restore a DSH version filter | `tests/taskdispatch-release.test.js` (real index generator output) |
223
208
  | A published `0.1.11` or `0.1.10` agent is refreshed, an edited one is not | `tests/codex-integration.test.js` |
224
209
 
225
210
 
@@ -204,6 +204,20 @@ node bin/dsh-delegate-control.js cancel <taskId> # 只停止这一个任务
204
204
 
205
205
  ## 7. 续接(跟进任务)
206
206
 
207
+ ### 1.4.1:审查保存与长备注
208
+
209
+ 原身份可读取和补审已结束的历史任务,重启不恢复执行或旧审批。审查备注统一最多
210
+ 8000 Unicode 码点(输入去除首尾空白并脱敏),合法正文完整保存,超限或容量不足明确拒绝。
211
+ `reviewPersistence` 区分 `saving`、`timed-out`、`saved`、`failed`;超过 5 秒只是尚未确认,
212
+ 不能宣称保存失败或提前通过。晚到结果通过状态读取确认;确定失败可重试。
213
+
214
+ 等待仅带结论状态和长度。结果中的 `noteOmitted: true` 表示正文被明确省略,使用
215
+ `delegate_result({ taskId, reviewNoteOffset: 0 })` 按 `nextOffset` 读取;默认每页 2000 码点,
216
+ 可选 `reviewNoteLimit` 范围 1—2000,直到 `complete: true`。列表 200 码点预览与详情展开
217
+ 不改变保存正文;可见页面的待审/保存中刷新由程序完成,不唤醒 GPT。
218
+
219
+ ### 同一任务继续修正
220
+
207
221
  同一个任务的修改、纠正或重试,用 `continueFromTaskId` 提交,并继续使用**同一个**
208
222
  已授权的源工作区路径。这样跟进任务会续接同一条 DSH 对话、落在同一棵工作树里。
209
223
  不相关的任务不要复用 id,也不要为了"保持上下文"而续接。
@@ -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.0`**。中国大陆镜像未同步时改选 npm 官方源。也可安装本项目 Release 的 `dsh-taskbridge-1.4.0.tgz`,或添加本项目固定 Git 提交的自定义索引。不要手动修改 Desktop 保留的 profile。
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`。