dsh-taskbridge 1.5.0 → 1.5.1
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 +18 -0
- package/README.md +9 -8
- package/codex/dsh-taskbridge.toml +107 -12
- package/docs/INTRODUCTION.md +2 -2
- package/docs/INTRODUCTION.zh.md +2 -2
- package/docs/codex-integration.md +9 -13
- package/docs/plugin-market.md +1 -1
- package/docs/releases/1.5.1.zh.md +70 -0
- package/docs/runtime-compatibility.md +4 -4
- package/docs/silent-wait.md +75 -5
- package/docs/taskbridge-upgrade.md +1 -1
- package/docs/worker-permissions.md +1 -1
- package/lib/client.js +295 -103
- package/package.json +7 -3
- package/src/client/api.js +289 -34
- package/src/client/index.jsx +151 -67
- package/src/codex/installer.js +236 -11
- package/src/http/execution-plane.js +48 -5
- package/src/index.d.ts +62 -0
- package/src/index.js +18 -5
- package/src/jobs/activity.js +92 -9
- package/src/jobs/continuation-identity.js +283 -278
- package/src/jobs/engine.js +165 -19
- package/src/jobs/history.js +43 -0
- package/src/mcp/metrics.js +366 -343
- package/src/mcp/server.js +127 -9
- package/src/mcp/wait.js +77 -4
- package/src/runtime/agent-runner.js +165 -0
- package/src/runtime/sandbox.js +363 -358
- package/src/runtime/session-placement.js +1207 -1194
- package/src/version.js +121 -99
- package/src/workspace/worktrees.js +70 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.1 — 自动保存、集成升级与可靠提醒(2026-11-15)
|
|
4
|
+
|
|
5
|
+
- 连续工具失败提醒增加稳定事件 ID;取出提醒不再提前消费,HTTP 或 MCP 回包丢失后可重新取得同一事件。
|
|
6
|
+
- `delegate_wait` 新增可选 `ackFailureEventId` 并返回 `failureAck`;确认幂等,错误 ID 不会清除待处理提醒。已收到的确认事实在后续网络错误、取消及审查落盘等待中保留,并发观察各自携带自己的回执。
|
|
7
|
+
- 更新托管 Codex 规则,按任务 ID 与事件 ID 去重、处理后确认;识别正式 1.5.0 的 LF/CRLF 原版模板以支持迁移,保留用户自定义规则。旧参数仍可调用;未确认事件会重放,旧宿主需同步更新处理规则。
|
|
8
|
+
- 修复长会话 `delegate_metrics` 因历史样本过多而整体报 `MCP_RESULT_OVER_BUDGET`:等待和决定样本各显示最近 8 条,累计数完整保留,明确列出全部未展示记录数,普通问答计入共享样本轴。
|
|
9
|
+
- 修复长审批与问答压缩时丢失 `failureAck` 的问题;问答救援路径补充生产桥接受的超大问题集回归。最终 `MCP_RESULT_OVER_BUDGET` 拒绝兜底尚未独立复现,不宣称覆盖。
|
|
10
|
+
- 设置页自动保存:文本输入防抖、离散选择及时保存、串行写入避免旧响应覆盖新输入;无效草稿可继续修正,移除底部两个保存按钮。
|
|
11
|
+
- 修复任务详情与完整审查意见展示,重复打开或切换任务时定位到详情;后台刷新不抢焦点,不用摘要替换已加载全文。
|
|
12
|
+
- 新增逐任务 `agentTeams` 选择,由指挥官按复杂度决定 DSH 团队模式;不改变用户选定的 API、模型和思考强度。续接继承原决定,显式值可覆盖,实际应用读回验证。原生子成员提权不由本插件桥接,需额外权限的操作仍由 root 执行并逐次审批。
|
|
13
|
+
- 修复 DSH 重启后隔离工作区无法续接:从已验证任务身份、真实目录和 Git 登记恢复原工作区,保留候选修改,不创建替代副本;缺失、身份不符、分支替换或已处置的目录继续拒绝。
|
|
14
|
+
- 统一托管规则:正常执行只静默等待;审批核验具体操作;交付后集中、有界读取与审查;同链身份无变化时复用预检事实,审查结果确认持久化。用真实 1.5.0 的 LF/CRLF 发布模板验证迁移、幂等和自定义规则保护。
|
|
15
|
+
- 修复迁移过 Codex 配置目录的机器每次更新都误报冲突:允许选定的 home 根目录为正常 symlink/Windows junction,将各安装、修复、移除和启动刷新操作固定到真实目录;保留根目录链接和用户自定义配置保护,不改变全局 CODEX_HOME。
|
|
16
|
+
- 登记已安装的 1.5.1-test.1 托管模板的准确 LF/CRLF 身份,支持后续候选升级;补充经真实 junction 升级原版模板、再次幂等及自定义文件保留的回归。
|
|
17
|
+
- 修复热更新时沿用旧清单缓存、将新规则误写成旧版本的问题:每次激活从当前包清单刷新版本;登记已观察到的本地测试版旧版本戳模板,支持准确迁移,继续保留自定义文件。真实热更新和重启结果见本轮验收报告。
|
|
18
|
+
- 本轮候选完整回归 1566 项通过;同步正式版本和补充 test.3 升级验证后,正式源码完整回归 1567 项通过,无失败、跳过或取消;前端构建产物检查通过。原生设置自动保存、任务详情与完整审查意见已实测;真实 DSH 任务确认团队关闭成功。夹具注入的事件测试不冒充全真模型验收。
|
|
19
|
+
- 真实模型验收通过失败提醒重放、错误确认保留、正确与重复确认、90 秒静默等待以及集中审查持久化;支持已安装 test.3 候选准确迁移到正式版。版本范围、升级方式和已知限制见 docs/releases/1.5.1.zh.md;未新增跨进程提醒持久化,不宣称新的 token 节省比例。
|
|
20
|
+
|
|
3
21
|
## 1.5.0 — 静默等待、提问与审批闭环(2026-11-15)
|
|
4
22
|
|
|
5
23
|
- 新增 `delegate_question_answer`,转交 DSH 原生普通问题;回答后可在同一次调用继续静默等待。问题有有效期,并绑定原 Agent、Session 和工具调用;回答不授予权限。
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH TaskBridge
|
|
2
2
|
|
|
3
|
-
**1.5.
|
|
3
|
+
**1.5.1** 修复更新后 Codex 集成误报冲突,加入设置自动保存,修复详情与完整审查意见,并完善失败提醒确认和重启续接。详见 [1.5.1 更新说明](docs/releases/1.5.1.zh.md)。
|
|
4
4
|
|
|
5
5
|
**让 Claude Code 或 Codex 指挥 DSH 完成任务,在 DSH 插件中配置 API、执行模型和思考强度。**
|
|
6
6
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
- [从 DSH Delegate/TaskDispatch 迁移到 TaskBridge](docs/taskbridge-upgrade.md):包名为 `dsh-taskbridge`,保留旧数据和 MCP 技术标识,不要同时启用新旧插件。
|
|
11
11
|
- [在 DSH“发现”中搜索和安装](docs/plugin-market.md):添加本项目的自定义索引,安装源固定到本项目的 Git 提交。
|
|
12
12
|
- [Claude Code 手动 MCP 接入](docs/claude-code.md);Codex 继续使用设置页的安装/修复按钮。Claude Code 的一键安装按钮和真实客户端验收尚未完成。
|
|
13
|
+
- [1.5.1 更新说明](docs/releases/1.5.1.zh.md):自动保存、更新冲突修复、完整审查意见与失败提醒确认;附真实验收范围和已知限制。
|
|
13
14
|
- [1.5.0 更新说明](docs/releases/1.5.0.zh.md):新增提问工具、审批/回答后同调用续等;Windows 实际重启续接与超过20分钟真实通道验收通过。[Codex token 对照](docs/releases/1.5.0-token-benchmark.zh.md)给出等待阶段样本的实测结果和适用边界。
|
|
14
15
|
- [1.4.0 更新说明](docs/releases/1.4.0.zh.md):长等待规则、重复失败提醒和宿主审查结果写回;[等待阶段 token 测量](docs/releases/1.4.0-token-benchmark.zh.md)说明短时样本的 66.58% 降幅及适用边界。历史 [1.3.2 更新说明](docs/releases/1.3.2.zh.md)保留。
|
|
15
16
|
|
|
@@ -19,7 +20,7 @@ DeepSeek Harness(DSH)的委托插件:让 MCP 宿主在你开启本机总
|
|
|
19
20
|
新安装时本机调用总开关默认关闭。开关状态会保存在插件设置中,重启后恢复保存值;
|
|
20
21
|
关闭时拒绝新的委派任务,并请求停止正在运行的任务。
|
|
21
22
|
|
|
22
|
-
> **当前源码版本:`1.5.
|
|
23
|
+
> **当前源码版本:`1.5.1`(自动保存、集成升级与可靠提醒;正式发布以 npm/GitHub 状态为准)。** 源码仓库和可下载的 Release
|
|
23
24
|
> 位于 [GitHub](https://github.com/ranranyya/dsh-taskbridge)。npm 安装标识为 **`dsh-taskbridge`**,
|
|
24
25
|
> GitHub Release 同时提供 `.tgz`。`1.1.0` 的静默等待说明见
|
|
25
26
|
> [`docs/silent-wait.md`](./docs/silent-wait.md);`1.2.0` 修正了其中三处真实问题(等待中断的
|
|
@@ -50,13 +51,13 @@ profile 是**应用保留的**:npm / `dsh plugin` CLI 对该 profile 的操作
|
|
|
50
51
|
Desktop 侧的包操作只能交给应用完成——不要在 Desktop 的正式 profile 里执行 npm/pnpm
|
|
51
52
|
命令,也不要直接编辑其中的文件。
|
|
52
53
|
|
|
53
|
-
1. 打开 Desktop 的 **Plugins manager → 添加插件**,输入 **`dsh-taskbridge@1.5.
|
|
54
|
+
1. 打开 Desktop 的 **Plugins manager → 添加插件**,输入 **`dsh-taskbridge@1.5.1`**。
|
|
54
55
|
若中国大陆镜像尚未同步,先选择 npm 官方源再重试。安装后的显示名为 **DSH TaskBridge**。
|
|
55
56
|
也可以从本项目 Release 下载 `.tgz`,或在仓库根目录打包:
|
|
56
57
|
|
|
57
58
|
```bash
|
|
58
59
|
npm pack
|
|
59
|
-
# → dsh-taskbridge-1.5.
|
|
60
|
+
# → dsh-taskbridge-1.5.1.tgz
|
|
60
61
|
```
|
|
61
62
|
|
|
62
63
|
2. 使用本地包时,通过 **添加插件**入口选择下载或生成的 `.tgz`(或本仓库目录)完成安装。
|
|
@@ -70,7 +71,7 @@ Desktop 侧的包操作只能交给应用完成——不要在 Desktop 的正式
|
|
|
70
71
|
|
|
71
72
|
```bash
|
|
72
73
|
# 装进一个 profile(例:web)
|
|
73
|
-
dsh plugin --profile web add ./dsh-taskbridge-1.5.
|
|
74
|
+
dsh plugin --profile web add ./dsh-taskbridge-1.5.1.tgz && dsh plugin --profile web why dsh-taskbridge
|
|
74
75
|
|
|
75
76
|
# 启动(首次启动会自动把插件 bundle 追加到 dsh.profile.bundles)
|
|
76
77
|
dsh --profile web
|
|
@@ -83,7 +84,7 @@ dsh --profile web
|
|
|
83
84
|
### 说明与注意
|
|
84
85
|
|
|
85
86
|
- **不要装进你正在用的正式 profile 做试验。** 建议先用一次性 profile:
|
|
86
|
-
`dsh plugin --profile dsh-delegate-try add ./dsh-taskbridge-1.5.
|
|
87
|
+
`dsh plugin --profile dsh-delegate-try add ./dsh-taskbridge-1.5.1.tgz`,再把
|
|
87
88
|
`DSH_HOME` 指向临时目录做隔离验证。该命令同样只用于 CLI profile。
|
|
88
89
|
- 该包声明了 `@deepseek-ai/dsh-*` 的 peer,若你的包管理器默认自动安装 peer,
|
|
89
90
|
安装过程会尝试解析这些版本。可显式关闭:`npm_config_auto_install_peers=false`
|
|
@@ -408,7 +409,7 @@ worker 请求把**某一次调用**的沙箱权限提升时,那次调用会暂
|
|
|
408
409
|
- 提醒有冷却:同一次静默里到点报一次,之后要再过同样的间隔才会再报。
|
|
409
410
|
- 间隔是全局设置(`monitoring.selfCheckSeconds` / `monitoring.attentionSeconds`,存成整秒),
|
|
410
411
|
项目覆盖和单任务覆盖都不能改它。设置页在「执行设置」里的**进阶:静默监控间隔**卡片,
|
|
411
|
-
|
|
412
|
+
以分钟呈现、按秒保存,修改后自动保存,无需再点击底部按钮。
|
|
412
413
|
- 修改只影响**之后新提交**的任务;运行中的任务保留它开始时冻结的那份间隔快照。
|
|
413
414
|
- 任务记录页在有进行中任务、且页面可见时每 5 秒只读刷新一次;终端状态的任务不会触发刷新。
|
|
414
415
|
详情里显示阶段、最近进展、当前工具与其耗时、无进展诊断;旧版本写的记录会如实显示
|
|
@@ -518,7 +519,7 @@ Codex 子智能体现在按「提交 → `delegate_wait` 同一任务」运作
|
|
|
518
519
|
# 不要在 Desktop 的正式 profile 下执行下面的 CLI 命令。
|
|
519
520
|
|
|
520
521
|
# CLI web profile 的升级:换成本地新包或(将来)新版本
|
|
521
|
-
dsh plugin --profile web add ./dsh-taskbridge-1.5.
|
|
522
|
+
dsh plugin --profile web add ./dsh-taskbridge-1.5.1.tgz
|
|
522
523
|
|
|
523
524
|
# 导出:界面里"导出非敏感配置"按钮,或用只读 API
|
|
524
525
|
# GET /api/dsh-delegate/settings
|
|
@@ -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.5.
|
|
4
|
+
version = "1.5.1"
|
|
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."
|
|
@@ -24,7 +24,7 @@ ACTIVATION (check this before anything else)
|
|
|
24
24
|
clarifying question instead of dispatching.
|
|
25
25
|
|
|
26
26
|
DISPATCH (only for an explicitly assigned implementation task)
|
|
27
|
-
1. PREFLIGHT FACTS FIRST. Call `delegate_status` first, then call
|
|
27
|
+
1. PREFLIGHT FACTS FIRST — FOR A NEW TASK. Call `delegate_status` first, then call
|
|
28
28
|
`delegate_preflight` with the exact authorized workspace path as
|
|
29
29
|
`workspacePath`. `delegate_status` reports whether delegation is enabled at all;
|
|
30
30
|
`delegate_preflight` reports what the workspace actually looks like and which
|
|
@@ -35,10 +35,26 @@ DISPATCH (only for an explicitly assigned implementation task)
|
|
|
35
35
|
A `delegate_status` answer that says the switch is off ends the dispatch here:
|
|
36
36
|
the preflight may still be read for reporting, but nothing may be submitted.
|
|
37
37
|
2. APPLY THE ISOLATION DECISION. `delegate_preflight` answers with an `isolation`
|
|
38
|
-
of `worktree`, `shared` or `block` and a stable `reason` code.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
of `worktree`, `shared` or `block` and a stable `reason` code.
|
|
39
|
+
2a. PREFLIGHT IS PER CHAIN, NOT PER DISPATCH. Preflight a NEW task: `delegate_status`,
|
|
40
|
+
then `delegate_preflight` on the original authorized source path, then the dirty-tree
|
|
41
|
+
decision below. For a CONTINUATION of a task chain you already verified, do NOT redo
|
|
42
|
+
the dirty-tree decision every round: when the source path is the same, the goal and
|
|
43
|
+
boundaries are unchanged, and there is no identity or isolation anomaly, reuse the
|
|
44
|
+
already-verified preflight facts and go straight to the submit in rule 4b. The
|
|
45
|
+
worker's own uncommitted candidate changes in that chain are the expected state of
|
|
46
|
+
the chain, not a fresh dirty-tree decision to re-litigate. Re-verify when the source
|
|
47
|
+
path changed, the work is unrelated, an identity/isolation refusal came back, or the
|
|
48
|
+
engine reports a mismatch — and then preflight afresh. This reuse changes NOTHING in
|
|
49
|
+
the engine: every submission still carries the ORIGINAL source `workspacePath` plus
|
|
50
|
+
the latest `continueFromTaskId`, and the engine still re-checks ownership, paths, the
|
|
51
|
+
original checkout and the Session on every submit. Never route a refused or blocked
|
|
52
|
+
chain through a new task to get past the refusal.
|
|
53
|
+
2b. For an explicit follow-up, submit with the parent's original source `workspacePath`
|
|
54
|
+
— and re-run `delegate_preflight` only when needed under 2a (source changed, work
|
|
55
|
+
unrelated, identity/isolation refusal, or an engine mismatch). A verified chain is NOT
|
|
56
|
+
preflighted mechanically every round. The engine pins the parent's isolation, so do
|
|
57
|
+
not choose a new mode from any fresh preflight result.
|
|
42
58
|
- `isolation: "worktree"` (reason `PREFLIGHT_CLEAN_REPOSITORY`) — the repository
|
|
43
59
|
is clean. Dispatch with the worktree isolation configured in the DSH TaskBridge
|
|
44
60
|
plugin settings; do not change it.
|
|
@@ -87,6 +103,35 @@ DISPATCH (only for an explicitly assigned implementation task)
|
|
|
87
103
|
override the configured provider, model, reasoning effort or timeout, and never
|
|
88
104
|
encode a route in the task prompt. `allowShared` on the preflight records the
|
|
89
105
|
decision but does not change the submitted job's isolation by itself.
|
|
106
|
+
4a. AGENT TEAMS IS YOUR DECISION, NOT THE OPERATOR'S. `delegate_submit` accepts an
|
|
107
|
+
optional boolean `agentTeams`: it selects DSH's Agent Teams mode
|
|
108
|
+
("启用智能体团队协作", the switch in the DSH model menu) for THIS task's own DSH
|
|
109
|
+
Session. It is NOT Codex's own multi-agent feature and NOT the additional review
|
|
110
|
+
model. The operator decides ONCE that you choose per task; do not ask them per
|
|
111
|
+
dispatch.
|
|
112
|
+
- Simple single-file or strongly sequential work: turn it OFF EXPLICITLY with
|
|
113
|
+
`agentTeams: false` whenever the loaded schema accepts the field. OMITTING the field
|
|
114
|
+
is NOT "off": an omitted value makes no new decision, so the run keeps (or, on a
|
|
115
|
+
continuation, inherits) whatever selection the Session already has. A repository
|
|
116
|
+
whose AGENTS.md forbids delegating again must send `false` and state which actions
|
|
117
|
+
the ROOT execution must perform instead (those still need normal approval).
|
|
118
|
+
- Turn it on only when the work genuinely splits into independent modules that can
|
|
119
|
+
proceed in parallel AND the gain clearly covers the coordination cost. Say the
|
|
120
|
+
reason in the dispatch text.
|
|
121
|
+
- A continuation does not re-decide it: the plugin inherits the chain's choice, so an
|
|
122
|
+
omitted value on a follow-up keeps the parent's mode. Pass `agentTeams: false`
|
|
123
|
+
explicitly when you want THIS follow-up off, and an explicit value when the scope
|
|
124
|
+
changed enough to justify flipping it.
|
|
125
|
+
- Execution provider/model/effort remain the operator's configuration. `agentTeams`
|
|
126
|
+
never overrides them, and you never encode a model in it.
|
|
127
|
+
- Express it ONLY through this schema field. If the loaded tool version does not
|
|
128
|
+
accept `agentTeams`, say so and ask for the newer integration — never fake success,
|
|
129
|
+
never route it through another field, the task prompt or a different channel.
|
|
130
|
+
- Team members run under DSH's native policy (their own approvals default to
|
|
131
|
+
`never`), so they only do what is already permitted. A concrete action that needs
|
|
132
|
+
more permission must be done by the ROOT execution and decided through this
|
|
133
|
+
channel's normal single-call approval. Never claim member approvals are bridged,
|
|
134
|
+
never widen `owns`, never change the host's policy.
|
|
90
135
|
4b. TASK THREADS. Every submission starts a NEW DSH task conversation by default,
|
|
91
136
|
even when the same workspace has been used for many earlier tasks; a
|
|
92
137
|
directory-level reuse setting no longer exists. Pass `continueFromTaskId` ONLY
|
|
@@ -134,6 +179,17 @@ DISPATCH (only for an explicitly assigned implementation task)
|
|
|
134
179
|
A real hard failure is worth ONE de-duplicated reminder to the host. An ordinary
|
|
135
180
|
single failing test inside the worker is the WORKER's job to diagnose and fix: it is
|
|
136
181
|
not a host event, and you must not resubmit, cancel or take over for it.
|
|
182
|
+
ORDER OF WORK: you plan, approve and review; the worker implements. In a normal run
|
|
183
|
+
your only operation is `delegate_wait` on the task you submitted. Do not read the
|
|
184
|
+
worker's in-progress code, do not run the tests yourself to "help", and do not use an
|
|
185
|
+
approval to take over the implementation.
|
|
186
|
+
ONE COMPLETE BRIEF: state the goal, the boundaries and the acceptance checks once, up
|
|
187
|
+
front. After an approval, continue observing with `waitAfterDecision: true` on the SAME
|
|
188
|
+
task (or `delegate_wait` on it) instead of submitting anything new.
|
|
189
|
+
BOUNDED DIAGNOSIS, NOT TAKEOVER: only when the task is a proven blocker, reports
|
|
190
|
+
`attention`, shows a genuinely abnormal signal, or the operator asks, you may run a
|
|
191
|
+
BOUNDED diagnosis — facts first, then a decision. Never start writing the implementation
|
|
192
|
+
during it.
|
|
137
193
|
5a. WHAT THE WAIT REASONS MEAN, and what you do next.
|
|
138
194
|
- `heartbeat`: nothing to report. The wait expired with no news. You will normally
|
|
139
195
|
never see this, because the tool re-issues internally. If you do see it, call
|
|
@@ -150,11 +206,22 @@ DISPATCH (only for an explicitly assigned implementation task)
|
|
|
150
206
|
stated error justifies anything else, and then you report it instead of silently
|
|
151
207
|
restarting work.
|
|
152
208
|
If the same answer instead carries a `failure` block (`kind:
|
|
153
|
-
"repeated-tool-failure"`, with `toolName`, `failureCode`, `consecutive`), the
|
|
154
|
-
NOT silent: the worker has repeated ONE operation and failed the same way
|
|
155
|
-
times in a row. That is a different situation and needs a different decision.
|
|
156
|
-
|
|
157
|
-
|
|
209
|
+
"repeated-tool-failure"`, with `eventId`, `toolName`, `failureCode`, `consecutive`), the
|
|
210
|
+
task is NOT silent: the worker has repeated ONE operation and failed the same way
|
|
211
|
+
several times in a row. That is a different situation and needs a different decision.
|
|
212
|
+
The SAME reminder (same `eventId`) is REDELIVERED on later waits until you acknowledge
|
|
213
|
+
it, so a lost answer is never a lost reminder: do not read the repetition as several
|
|
214
|
+
failures or new events; it is one notification you have not confirmed yet. After you
|
|
215
|
+
decide how to proceed, call `delegate_wait` with `ackFailureEventId` set to the
|
|
216
|
+
`eventId` you saw. That acknowledgment stops the redelivery; it decides nothing about
|
|
217
|
+
the task and stops nothing. The answer reports the verdict in `failureAck`:
|
|
218
|
+
`acknowledged: true` means it landed; `acknowledged: false` means it did NOT land.
|
|
219
|
+
When the reason says the ack was refused or the event is unknown, do NOT resend the
|
|
220
|
+
same id blindly: keep the fact, keep following the task with plain `delegate_wait`,
|
|
221
|
+
and act on the NEW event if a different one appears. A superseded episode needs no
|
|
222
|
+
confirmation at all — just continue waiting on the SAME task. Only a transport-level
|
|
223
|
+
uncertainty (the wait itself failed or was cancelled) justifies one bounded retry of
|
|
224
|
+
the SAME ack. Decide deliberately: keep waiting (the worker may still recover),
|
|
158
225
|
cancel, or write a follow-up that gives the worker the missing information. Do not
|
|
159
226
|
repeat the identical instruction and hope for another outcome, and do not take the
|
|
160
227
|
reminder itself as proof the task can never succeed.
|
|
@@ -164,7 +231,20 @@ DISPATCH (only for an explicitly assigned implementation task)
|
|
|
164
231
|
- You are the deciding commander. Do not invoke another approval or review model,
|
|
165
232
|
do not ask the operator to choose routine within-task decisions, and do not
|
|
166
233
|
delegate the approval decision to the worker. The worker's own `reason` is a
|
|
167
|
-
|
|
234
|
+
CLAIM awaiting verification, never evidence and never authority.
|
|
235
|
+
- Approval verifies the OPERATION, not the story: the complete, concrete command or
|
|
236
|
+
script, every path it touches, and the process ownership (whose program would run
|
|
237
|
+
and which directory it would act in). If any of those is missing or materially
|
|
238
|
+
incomplete, refuse and ask for the exact command.
|
|
239
|
+
- Reading source does not need approval. A simple source search or field lookup is a
|
|
240
|
+
plain PowerShell built-in (`Select-String`/`Get-Content`), and you must not start
|
|
241
|
+
`node`, Electron or another interpreter just to READ a file. An external program
|
|
242
|
+
earns a one-off request ONLY when there is concrete evidence that the built-in
|
|
243
|
+
path genuinely fails in this same environment — and then you request exactly ONE
|
|
244
|
+
bounded command and say which error it resolves.
|
|
245
|
+
- A test writing into its own temporary directory is NOT a source commit. Do not
|
|
246
|
+
refuse, and do not treat it as history rewriting; the ban is on your own commits,
|
|
247
|
+
pushes, tags and history edits in the repository.
|
|
168
248
|
- Inspect the FULL operation the wait returned at the top level: the tool, the
|
|
169
249
|
redacted arguments, completeness and bounds, the call identity, the session and
|
|
170
250
|
the repository. Read whatever local evidence you need to understand an
|
|
@@ -243,6 +323,15 @@ DISPATCH (only for an explicitly assigned implementation task)
|
|
|
243
323
|
findings, changed files) and then do the review yourself, in Codex. If the diff
|
|
244
324
|
is large, inspect only the files that matter for this change, once each. Do not
|
|
245
325
|
re-read the same evidence repeatedly, and never reply "done" without reviewing.
|
|
326
|
+
READ IN THIS ORDER, and keep the read small:
|
|
327
|
+
1. the short summary, the changed-file list, and the test results with their log
|
|
328
|
+
paths and stated limitations;
|
|
329
|
+
2. only then the specific files the review gap actually needs, one file or one
|
|
330
|
+
bounded range at a time. Do NOT dump whole large files or a whole-repository
|
|
331
|
+
diff: a truncated read forces a re-read and proves nothing.
|
|
332
|
+
Record every verified conclusion WITH its evidence path (file plus line, or log path)
|
|
333
|
+
as you go, so a later question is answered from that note instead of a second full
|
|
334
|
+
read.
|
|
246
335
|
The review note is up to 8000 Unicode code points; a longer answer states
|
|
247
336
|
`noteOmitted: true` and the note is read in pages with `reviewNoteOffset` and
|
|
248
337
|
`reviewNoteLimit` (2000 code points per page) until `complete` is true. Read the
|
|
@@ -263,6 +352,12 @@ DISPATCH (only for an explicitly assigned implementation task)
|
|
|
263
352
|
`continueFromTaskId`; do not overwrite the old task's decision. Never mark old
|
|
264
353
|
records accepted in bulk, and never claim a decision was saved when an older
|
|
265
354
|
server lacks this tool.
|
|
355
|
+
THE REVIEW WRITE IS THE RECORD. A report you paste into the conversation is NOT a
|
|
356
|
+
review: it is recorded only when `delegate_review` answers that the write is
|
|
357
|
+
durable. If nothing was written, nothing was reviewed.
|
|
358
|
+
ONE ROUND PER DELIVERY. Collect every defect you find into a single correction list
|
|
359
|
+
and send it as ONE follow-up on the same chain (`continueFromTaskId`); do not trickle
|
|
360
|
+
one correction per submission.
|
|
266
361
|
Reviewing is done in ONE pass per delivery: do not call `delegate_review` to
|
|
267
362
|
"check in" while the run is still going, and do not review the same result more
|
|
268
363
|
than once.
|
package/docs/INTRODUCTION.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSH TaskBridge
|
|
2
2
|
|
|
3
|
-
Version 1.5.
|
|
3
|
+
Version 1.5.1 fixes managed Codex integration upgrades and adds automatic settings saving, usable full task details, acknowledged failure reminders and original worktree recovery. Install `dsh-taskbridge@1.5.1`. See the [release notes and known limits](releases/1.5.1.zh.md). The [1.5.0 billing comparison](releases/1.5.0-token-benchmark.zh.md) is historical evidence; this release claims no new fixed token reduction.
|
|
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.5.
|
|
19
|
+
In DSH's Add plugin dialog, use `dsh-taskbridge@1.5.1`; 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.5.
|
|
3
|
+
1.5.1 修复 Codex 集成升级冲突,提供设置自动保存、完整任务详情、可靠的失败提醒确认与原工作区恢复。安装标识为 `dsh-taskbridge@1.5.1`;详见 [1.5.1 更新说明](releases/1.5.1.zh.md)。1.5.0 的 token 实测见[账单对照](releases/1.5.0-token-benchmark.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.5.
|
|
34
|
+
项目原名 DSH Delegate,1.3.0 曾使用 DSH TaskDispatch。1.3.1 起统一为 **DSH TaskBridge**,包名为 `dsh-taskbridge`。从旧包升级请先阅读 [更名升级说明](taskbridge-upgrade.md)。在 DSH“添加插件”中输入 `dsh-taskbridge@1.5.1`;中国大陆镜像若尚未同步,改选 npm 官方源。GitHub Release 同时提供安装包。
|
|
35
35
|
|
|
36
36
|
[插件索引与更新说明](plugin-market.md)介绍如何添加索引,在 DSH 的“发现”中搜索本插件。发布自定义索引不代表已进入官方内置市场;DSH 当前需要用户自行添加可信索引。
|
|
37
37
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Codex integration contract
|
|
2
2
|
|
|
3
|
-
Status: implemented in 1.5.
|
|
3
|
+
Status: implemented in 1.5.1 (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.5.1 refreshes the manifest on each activation, resolves a normal linked home root, and upgrades exact shipped/candidate templates while preserving custom content. See [1.5.1 notes](releases/1.5.1.zh.md).
|
|
6
|
+
|
|
5
7
|
1.5.0 adds `delegate_question_answer`, combined decision/answer-and-wait flows and program metrics. Managed upgrades recognize the exact published 1.4.2 and verified local test.1/test.2 companions; customized files remain operator-owned. See the [1.5.0 release notes](releases/1.5.0.zh.md).
|
|
6
8
|
|
|
7
9
|
1.4.2 also recognizes the exact published 1.4.1 companion for managed upgrades.
|
|
@@ -52,7 +54,7 @@ not apply to custom wrappers, other directories, or automatic startup refresh.
|
|
|
52
54
|
| --- | --- | --- | --- |
|
|
53
55
|
| `$CODEX_HOME/agents/dsh-taskbridge.toml` | managed copy of `codex/dsh-taskbridge.toml` | create it **exclusively** on explicit install when absent; refresh a byte-exact known build during plugin startup or explicit install; delete it on `remove` only after re-reading it and finding the same bytes it classified | overwrite or delete a file that is not that exact build — including a file with an old version line whose body was edited, and including a file that changed in the window between the status read and the write/removal |
|
|
54
56
|
| `$CODEX_HOME/config.toml`, table `mcp_servers.dsh-delegate` | operator, with one managed entry | add the entry when absent; update `command`/`args`/its own `env.DSH_DELEGATE_DISCOVERY_FILE` when the entry carries **the plugin marker** *and* is the exact shape this plugin writes; on an explicit `install`/`repair` only, adopt a recorded `args[0]` that is a PROVED real installation of this package (manifest `name` + `bin["dsh-delegate-mcp"]` mapping) | touch any other key, table, comment or ordering; adopt, update or delete an unmarked same-name entry, even one whose values coincide; adopt a differing script path from the automatic startup check |
|
|
55
|
-
| `$CODEX_HOME` and `$CODEX_HOME/agents` | Codex |
|
|
57
|
+
| `$CODEX_HOME` and `$CODEX_HOME/agents` | Codex | resolve and pin a normal root symlink/junction to its real directory; inspect the real root and agents directory; create missing agents (`0700`) | retarget or delete the root alias; follow a link in the agents subdirectory or final file; write through an unusable or unverified target |
|
|
56
58
|
| DSH local-call switch | operator | report it | change it |
|
|
57
59
|
|
|
58
60
|
`$CODEX_HOME` resolution: `CODEX_HOME` when set and absolute; otherwise
|
|
@@ -64,15 +66,14 @@ nobody named.
|
|
|
64
66
|
|
|
65
67
|
`lstat` on the final file is not enough: if `$CODEX_HOME/agents` is a junction,
|
|
66
68
|
`mkdir -p` and the file create walk *through* it and write
|
|
67
|
-
`agents/dsh-taskbridge.toml` outside the Codex home entirely.
|
|
68
|
-
therefore inspected as *boundaries*:
|
|
69
|
+
`agents/dsh-taskbridge.toml` outside the Codex home entirely. Since 1.5.1 the selected HOME root is first pinned to its real directory; that real root and the agents subdirectory are then inspected as boundaries:
|
|
69
70
|
|
|
70
71
|
| `$CODEX_HOME` | `$CODEX_HOME/agents` | result |
|
|
71
72
|
| --- | --- | --- |
|
|
72
73
|
| real directory | missing | normal: install creates `agents` (`0700`) |
|
|
73
74
|
| real directory | real directory | normal |
|
|
74
75
|
| real directory | link (symlink or junction) | `agent.state = conflict`, `reason = agents-dir-is-link`; install/repair/remove all refuse with `AGENT_PATH_CONFLICT` |
|
|
75
|
-
|
|
|
76
|
+
| root symlink/junction with a real directory target | checked under the pinned real target | normal root alias; alias preserved, agents/file links still refused |
|
|
76
77
|
| could not be verified | — | `agent.state = conflict`, `reason = boundary-unverified`; same refusal |
|
|
77
78
|
|
|
78
79
|
A **junction** is the case `lstat` cannot see: Windows reports it as an ordinary
|
|
@@ -441,12 +442,7 @@ A successful `install` records the directory even when it wrote nothing because
|
|
|
441
442
|
installation was already exactly right: `changed: []` is a success, not "nothing happened".
|
|
442
443
|
A REFUSED install records nothing, so a refusal cannot become the remembered target.
|
|
443
444
|
|
|
444
|
-
A
|
|
445
|
-
`default-unverified`; a home that does not exist is `no-codex-home`. When no supported
|
|
446
|
-
directory applies, `status()` and the actions REFUSE with `CODEX_HOME_INVALID` instead of
|
|
447
|
-
falling back, and so does `refreshManagedIntegration` when the caller passes a
|
|
448
|
-
`startupTarget` whose `home` is `null` — the plugin never walks a junction and never
|
|
449
|
-
substitutes a tree nobody named.
|
|
445
|
+
In 1.5.1 the selected home root is pinned by the installer to its real target after this precedence resolution. A normal root symlink/junction is supported; an unresolvable or unverifiable target is refused. A missing home remains `no-codex-home`; a null startup target does not silently fall back to another tree. The root alias is preserved, and links below it in agents or the final files remain forbidden.
|
|
450
446
|
|
|
451
447
|
The explicit 安装 / 更新 TaskBridge 智能体 button (action `install`) is unchanged and remains
|
|
452
448
|
the way to *create* the two managed targets. `status` reports the drift (`mcp.drift`)
|
|
@@ -530,7 +526,7 @@ successful diagnosis.
|
|
|
530
526
|
```jsonc
|
|
531
527
|
{
|
|
532
528
|
"codexHome": "…",
|
|
533
|
-
"packageVersion": "1.5.
|
|
529
|
+
"packageVersion": "1.5.1",
|
|
534
530
|
"boundary": { "blocked": false, "link": null, "unknown": false, "home": "directory", "agents": "directory" },
|
|
535
531
|
"agent": {
|
|
536
532
|
"path": "…", "state": "installed", "installed": true, "managed": true,
|
|
@@ -942,7 +938,7 @@ session (or a restart) is required to load the new file and the new MCP entry.
|
|
|
942
938
|
| --- | --- |
|
|
943
939
|
| `CODEX_HOME` relative | 400 `CODEX_HOME_INVALID`; nothing read or written |
|
|
944
940
|
| `CODEX_HOME` unset | diagnosed against `~/.codex` |
|
|
945
|
-
| `$CODEX_HOME` is a symlink or
|
|
941
|
+
| `$CODEX_HOME` is a normal symlink or Windows junction | pin and verify its real directory target, preserve the root alias, then apply the same managed-content checks; broken or unverifiable targets are refused |
|
|
946
942
|
| `$CODEX_HOME/agents` is a symlink or a Windows junction | `conflict` (`agents-dir-is-link`); install/repair/remove refuse with `AGENT_PATH_CONFLICT` and no file is created outside the home |
|
|
947
943
|
| an ordinary real Windows directory | `directory` in every spelling of the helper's boolean (`dir/False`, `dir/false`); never reported as a link |
|
|
948
944
|
| `repair` with the agent file missing or `outdated` | `changed: ["mcp"]` or `[]`; the agent file is not created and not refreshed, and `agents/` is not created |
|
package/docs/plugin-market.md
CHANGED
|
@@ -15,7 +15,7 @@ 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.5.
|
|
18
|
+
当前索引采用固定 Git 提交作为安装来源,不依赖本机 npm 登录。另一种安装方式是直接在“添加插件”中输入 `dsh-taskbridge@1.5.1`,无需添加索引;若中国大陆镜像未同步,改选 npm 官方源。GitHub Release 同时提供 `.tgz` 和 SHA256 文件。
|
|
19
19
|
|
|
20
20
|
## 新版本
|
|
21
21
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# DSH TaskBridge 1.5.1 更新说明
|
|
2
|
+
|
|
3
|
+
发布日期:2026 年 11 月 15 日。安装标识:`dsh-taskbridge@1.5.1`。
|
|
4
|
+
|
|
5
|
+
**让你的 Claude Code 或 Codex 指挥 DSH 工作,在 DSH 插件中选择已有 API、执行模型和思考强度。**
|
|
6
|
+
|
|
7
|
+
1.5.1 延续派工、静默等待、必要审批、集中审查和同任务续接流程,重点修复设置交互、更新误报冲突和重复失败提醒的确认可靠性。CLI 执行通道和 Claude Code 一键安装不在本次更新范围内。
|
|
8
|
+
|
|
9
|
+
## 主要变化
|
|
10
|
+
|
|
11
|
+
### 设置自动保存
|
|
12
|
+
|
|
13
|
+
- 移除页面底部额外的保存按钮。
|
|
14
|
+
- 文本输入停止约 700ms 后合并保存,主要开关和下拉选择及时保存。
|
|
15
|
+
- 写入串行处理,避免较早的响应覆盖较新的设置;无效草稿保留,方便继续修正。
|
|
16
|
+
- 正在执行的任务使用派工时的配置快照,不被中途设置改动偷偷切换 API 或模型。
|
|
17
|
+
|
|
18
|
+
### 更新后 Codex 集成不再反复误报冲突
|
|
19
|
+
|
|
20
|
+
- 支持 Codex 根配置目录为正常符号链接或 Windows Junction,解析并固定到真实目录后操作,保留原有根链接。
|
|
21
|
+
- 每次插件激活从当前安装包刷新版本信息,避免热更新缓存旧版本、给新规则写上旧版本号。
|
|
22
|
+
- 识别正式 1.5.0、已发出的本地候选以及已观察到的旧版本戳产物的精确原版文件,支持升级到 1.5.1。
|
|
23
|
+
- 用户真正修改过的 agent 或自定义 MCP 配置仍保留;异常的 agents 子目录和最终文件链接仍拒绝。
|
|
24
|
+
|
|
25
|
+
### 任务详情和审查意见可正常打开
|
|
26
|
+
|
|
27
|
+
- 打开、重复打开或切换任务时,详情展示在列表上方并定位到详情区域。
|
|
28
|
+
- 完整审查意见保留全文,后台列表刷新不再用摘要覆盖已经打开的内容。
|
|
29
|
+
- 长意见继续按现有边界和分页协议读取,不暗中截短。
|
|
30
|
+
|
|
31
|
+
### 失败提醒要收到确认才清除
|
|
32
|
+
|
|
33
|
+
- 连续相同工具失败的提醒具有稳定 eventId,回包丢失后仍可重取同一事件。
|
|
34
|
+
- `delegate_wait` 新增可选 `ackFailureEventId`,返回明确的 `failureAck`;正确确认幂等,错误 ID 不会清除提醒。
|
|
35
|
+
- 长审批、普通问答及网络错误等返回路径保留已经应用的确认事实,减少重复处理。
|
|
36
|
+
- 旧客户端仍可使用原参数,但未确认提醒可能重发;请同步加载新版托管规则。
|
|
37
|
+
|
|
38
|
+
### 指挥规则、恢复和团队选择
|
|
39
|
+
|
|
40
|
+
- 正常执行只静默等待,执行者处理普通单项失败;指挥端在审批、真实异常和交付时介入,交付后集中、有界审查。
|
|
41
|
+
- 同链身份无变化时复用已有预检事实;引擎仍逐次核验 checkout,审查结论必须确认保存。
|
|
42
|
+
- DSH 重启后可从已验证的任务身份、真实目录及 Git worktree 登记恢复原隔离工作区,不新建替代副本。
|
|
43
|
+
- 新增逐任务 `agentTeams` 决定,由指挥端按复杂度选择;不改变用户选定的提供方、执行模型或思考强度。省略表示不作新决定,续接可继承。
|
|
44
|
+
- 限制长会话 metrics 中展示的样本数量,保留累计统计和明确的省略数量,避免返回整体超过预算。
|
|
45
|
+
|
|
46
|
+
## 验证
|
|
47
|
+
|
|
48
|
+
- 正式源码完整回归:1567 项通过,无失败、跳过或取消;前端构建一致性检查通过。
|
|
49
|
+
- Windows DSH 原生页面实测自动保存并恢复原值、重复打开详情、任务切换及 435 字符完整审查意见。
|
|
50
|
+
- 候选通过原生插件管理覆盖安装;热更新、重复点击安装更新、DSH 重启均无 Codex 集成冲突。已安装 C 盘 Junction 实际定位到 E 盘,根链接和正确配置保持不变。
|
|
51
|
+
- 真实 `workbuddy / deepseek-v4.1-flash / max` 任务连续三次读取故意缺失文件,再执行普通权限 90 秒等待。新旧客户端取得相同提醒;错误确认保留、正确确认清除、重复确认幂等;随后默认长等待直到交付,集中审查结论 saved/durable。
|
|
52
|
+
- 正式包另做解包、版本与 MCP 握手、旧版/候选模板升级和自定义内容保留检查。
|
|
53
|
+
|
|
54
|
+
这是特定 Windows 环境与所述提供方的验收,不等同于所有平台、模型或故障组合已经实测。
|
|
55
|
+
|
|
56
|
+
## 已知限制
|
|
57
|
+
|
|
58
|
+
- 失败提醒没有新增跨进程持久化,重启前未确认的提醒不保证恢复。
|
|
59
|
+
- 既有历史预算若裁剪了可信审批证据,重启后可能拒绝该历史任务续接并返回 `JOB_TASK_NOT_FOUND`;本版不放宽完整证据要求。
|
|
60
|
+
- 团队成员提权桥接尚未实现;成员默认审批策略为 `never`,需要更大权限的具体操作应回到主执行者逐次申请。真实验收验证了团队关闭,未创建真实成员进行提权验收。
|
|
61
|
+
- 最终 `MCP_RESULT_OVER_BUDGET` 拒绝兜底没有独立反例覆盖;完整一小时客户端边界及全部提供方异常组合未覆盖。
|
|
62
|
+
- 本版没有新的同条件 token 账单对照,不宣称比 1.5.0 再节省固定比例。此前样本及适用边界见 [1.5.0 账单对照](1.5.0-token-benchmark.zh.md)。
|
|
63
|
+
|
|
64
|
+
## 更新
|
|
65
|
+
|
|
66
|
+
等待当前任务结束,在 DSH 插件管理中更新 `dsh-taskbridge`,或添加 `dsh-taskbridge@1.5.1`;也可安装本 Release 的 `dsh-taskbridge-1.5.1.tgz` 并核对 SHA256。区域镜像未同步时改选 npm 官方源。
|
|
67
|
+
|
|
68
|
+
已安装且未修改的 Codex 托管规则在插件启用时刷新;首次安装仍需点击 Codex 集成中的安装按钮。客户端若缓存旧 MCP 定义,请重新连接或新开会话。不要同时启用旧 Delegate/TaskDispatch 和 TaskBridge。
|
|
69
|
+
|
|
70
|
+
本项目自定义插件索引随 GitHub Release 更新,订阅该索引后可发现相应版本;这不是承诺被所有 DSH 内置市场自动收录。本地压缩包来源是否显示自动更新取决于客户端来源管理,必要时用上述包名安装。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Runtime compatibility
|
|
2
2
|
|
|
3
|
-
Build 1.5.
|
|
3
|
+
Build 1.5.1 retains the loading policy introduced in 1.4.2: **no DSH version whitelist**: it omits `engines.dsh`, declares
|
|
4
4
|
host-provided `@deepseek-ai/dsh-*` peers as `*`, and publishes no DSH engine range
|
|
5
5
|
in the custom plugin index. The plugin uses runtime capability checks rather than
|
|
6
6
|
rejecting a host solely by its version number. Node.js `>=24` is still required.
|
|
@@ -53,7 +53,7 @@ acceptance run.
|
|
|
53
53
|
- Development dependencies remain pinned for reproducible tests; they do not
|
|
54
54
|
restrict the host-provided peer versions used by an installed plugin.
|
|
55
55
|
- Older plugin packages keep their own metadata and can still be refused by a
|
|
56
|
-
newer host. Upgrade to `dsh-taskbridge@1.5.
|
|
56
|
+
newer host. Upgrade to `dsh-taskbridge@1.5.1` to use this loading policy.
|
|
57
57
|
|
|
58
58
|
## 2. What DSH 0.2.2 changes
|
|
59
59
|
|
|
@@ -184,10 +184,10 @@ What remains genuinely unverified:
|
|
|
184
184
|
|
|
185
185
|
## 5. Upgrading from an older plugin build
|
|
186
186
|
|
|
187
|
-
1. Download `dsh-taskbridge-1.5.
|
|
187
|
+
1. Download `dsh-taskbridge-1.5.1.tgz` from the GitHub Release, or build the package locally (`npm pack`).
|
|
188
188
|
2. Install it the way your surface requires: the Desktop **Plugins manager** for a
|
|
189
189
|
Desktop profile (npm/CLI operations on that profile are refused), or
|
|
190
|
-
`dsh plugin --profile <name> add ./dsh-taskbridge-1.5.
|
|
190
|
+
`dsh plugin --profile <name> add ./dsh-taskbridge-1.5.1.tgz` for a CLI profile you
|
|
191
191
|
start yourself.
|
|
192
192
|
3. The settings, the switch value and the task history are preserved
|
|
193
193
|
(`$DSH_HOME/data/dsh-delegate`); nothing is migrated destructively.
|