dsh-workplan 2.2.7 → 2.2.8
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 +4 -0
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/lib/host.js +1 -1
- package/lib/runtime.js +4 -1
- package/package.json +1 -1
- package/src/host.ts +1 -1
- package/src/runtime.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 2.2.8 — 2026-11-10
|
|
2
|
+
|
|
3
|
+
- 修复 CI 红叉根因(2.2.6/2.2.7 提交 cancelled→exit 1):attempt 上限计时器 unref 导致裸事件循环进程排空、兜底链无法收束;计时器改 ref,finally 收束照旧 clearTimeout。
|
|
4
|
+
|
|
1
5
|
## 2.2.7 — 2026-11-09
|
|
2
6
|
|
|
3
7
|
**本版修复:规划器/派发侧推理档位兼容性——qwen 类模型上自动分解开局即降级、部门专家派发期即中断的根因(用户 2026-11-09 报告);同时补齐执行中断的即时通知(用户 2026-11-09 报告的核心体验缺陷)。**
|
package/README.en.md
CHANGED
|
@@ -80,7 +80,7 @@ The full contract — roles, data shapes, state machine, recovery, and the three
|
|
|
80
80
|
## Install
|
|
81
81
|
|
|
82
82
|
```bash
|
|
83
|
-
dsh plugin --profile web add dsh-workplan@2.2.
|
|
83
|
+
dsh plugin --profile web add dsh-workplan@2.2.8
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
Restart the DSH Web process (or reload the page) so the bundle is picked up.
|
package/README.md
CHANGED
package/lib/host.js
CHANGED
|
@@ -1442,7 +1442,7 @@ export function apply(ctx, config = {}) {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
export const meta = {
|
|
1444
1444
|
name,
|
|
1445
|
-
version: '2.2.
|
|
1445
|
+
version: '2.2.8',
|
|
1446
1446
|
promptOrder: PROMPT_ORDER,
|
|
1447
1447
|
routes: ['/dsh-workplan/plans', '/dsh-workplan/vendor/chart.umd.js'],
|
|
1448
1448
|
};
|
package/lib/runtime.js
CHANGED
|
@@ -2639,7 +2639,10 @@ async function runSubtaskAttempt(ctx, record, stage, subtask, options, timeoutMs
|
|
|
2639
2639
|
if (timer)
|
|
2640
2640
|
clearTimeout(timer);
|
|
2641
2641
|
timer = setTimeout(fire, Math.max(1, ms));
|
|
2642
|
-
|
|
2642
|
+
// [2.2.8] 禁止 unref:上限计时器必须是 ref 句柄。unref 时裸事件循环进程
|
|
2643
|
+
// (node:test / CI node22)会在等待竞态期间排空退出,用例被 cancelledByParent
|
|
2644
|
+
// → node:test exit 1 → 2.2.6/2.2.7 提交 CI 红叉根因(本地 node26 因 runner
|
|
2645
|
+
// 自带句柄竞态获胜而假绿)。收束路径 finally 已 clearTimeout,不会悬挂进程。
|
|
2643
2646
|
};
|
|
2644
2647
|
attemptHandle.arm = arm;
|
|
2645
2648
|
arm(timeoutMs);
|
package/package.json
CHANGED
package/src/host.ts
CHANGED
|
@@ -1571,7 +1571,7 @@ export function apply(ctx: any, config: WorkplanConfig = {}) {
|
|
|
1571
1571
|
|
|
1572
1572
|
export const meta = {
|
|
1573
1573
|
name,
|
|
1574
|
-
version: '2.2.
|
|
1574
|
+
version: '2.2.8',
|
|
1575
1575
|
promptOrder: PROMPT_ORDER,
|
|
1576
1576
|
routes: ['/dsh-workplan/plans', '/dsh-workplan/vendor/chart.umd.js'],
|
|
1577
1577
|
}
|
package/src/runtime.ts
CHANGED
|
@@ -2724,7 +2724,10 @@ async function runSubtaskAttempt(
|
|
|
2724
2724
|
const arm = (ms: number) => {
|
|
2725
2725
|
if (timer) clearTimeout(timer)
|
|
2726
2726
|
timer = setTimeout(fire, Math.max(1, ms))
|
|
2727
|
-
|
|
2727
|
+
// [2.2.8] 禁止 unref:上限计时器必须是 ref 句柄。unref 时裸事件循环进程
|
|
2728
|
+
// (node:test / CI node22)会在等待竞态期间排空退出,用例被 cancelledByParent
|
|
2729
|
+
// → node:test exit 1 → 2.2.6/2.2.7 提交 CI 红叉根因(本地 node26 因 runner
|
|
2730
|
+
// 自带句柄竞态获胜而假绿)。收束路径 finally 已 clearTimeout,不会悬挂进程。
|
|
2728
2731
|
}
|
|
2729
2732
|
attemptHandle.arm = arm
|
|
2730
2733
|
arm(timeoutMs)
|