@suifei/dsh-ai-team 0.3.60 → 0.3.62
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 +9 -0
- package/client.js +1 -1
- package/index.js +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.62 — 2026-11-11
|
|
4
|
+
|
|
5
|
+
- **【致命】工作台渲染崩溃修复**:主对话流 `StreamMessage` 调用处的 `onOpenProfile` 简写属性引用了 Workbench 作用域中不存在的标识符(正确目标是 `openProfile` 函数),首次渲染即抛 `ReferenceError: onOpenProfile is not defined` 使整个工作台白屏。改为显式 `onOpenProfile: openProfile`(与 MemberView 调用点一致)。`node --check` 对简写属性语法不报错,静态检查存在盲区;
|
|
6
|
+
- **新增无头渲染 E2E**([test/client.render.test.js](test/client.render.test.js)):行为级 React mock(hooks 游标模拟调用顺序、createElement 即时求值函数组件、class 组件走 render()、mount-effect 去重)驱动完整工作台树求值(loading → bootstrap 数据 → 消息流/任务卡/团队脉搏),断言全程无引用错误;红绿闭环验证:重新引入本 bug 时测试精确复现 `ReferenceError: onOpenProfile is not defined`。此类渲染期裸引用错误今后在提交前即被拦截。
|
|
7
|
+
|
|
8
|
+
## 0.3.61 — 2026-11-11
|
|
9
|
+
|
|
10
|
+
- 修复验收死锁放大器:`pending_acceptance` 的 review 催办分支 `continue` 会跳过 60 分钟升级,QA 每 10 分钟被叫、Thread 裁定的执行手永不唤醒;现在验收滞留 ≥60 分钟同样触发 escalate(配合 085085d 同时唤醒 Project owner)。
|
|
11
|
+
|
|
3
12
|
## 0.3.60 — 2026-11-11
|
|
4
13
|
|
|
5
14
|
执行计划第二批(管理视角算法与账本工具面,docs/phase1-2026-11-10/12-详细执行计划 T-201~T-210 部分):
|
package/client.js
CHANGED
package/index.js
CHANGED
|
@@ -41,7 +41,7 @@ export const name = 'ai-team';
|
|
|
41
41
|
/** The workbench only makes sense where the Web carrier exists. */
|
|
42
42
|
export const inject = ['webServer', 'permissionPresets', 'sandboxPolicy'];
|
|
43
43
|
|
|
44
|
-
const VERSION = '0.3.
|
|
44
|
+
const VERSION = '0.3.62';
|
|
45
45
|
const PROJECT_ID = 'prj_main';
|
|
46
46
|
const HUMAN_ID = 'mem_human';
|
|
47
47
|
|
|
@@ -532,6 +532,18 @@ export function apply(ctx, config = {}) {
|
|
|
532
532
|
event: { type: 'pmo/review', payload: { taskId: task.id, bucket: Math.floor(now / 600_000) } },
|
|
533
533
|
}, {});
|
|
534
534
|
}
|
|
535
|
+
// Acceptance waiting on a Thread-only handoff needs the same
|
|
536
|
+
// hourly escalation as in-progress work, or the review loop
|
|
537
|
+
// nudges QA forever while the decided executor never wakes.
|
|
538
|
+
if (idleFor >= 60 * 60_000) {
|
|
539
|
+
const lastEscalate = pmoLastEscalate.get(task.id) ?? 0;
|
|
540
|
+
if (now - lastEscalate >= 60 * 60_000) {
|
|
541
|
+
pmoLastEscalate.set(task.id, now);
|
|
542
|
+
await wakeFromResult(projectRuntime, {
|
|
543
|
+
event: { type: 'pmo/escalate', payload: { taskId: task.id, bucket: Math.floor(now / 3_600_000) } },
|
|
544
|
+
}, {});
|
|
545
|
+
}
|
|
546
|
+
}
|
|
535
547
|
continue;
|
|
536
548
|
}
|
|
537
549
|
if (idleFor >= 10 * 60_000 && idleFor < 30 * 60_000) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suifei/dsh-ai-team",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.62",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "文渊阁 (Wenyuan Pavilion) — AI Team mode for DeepSeek Harness: concurrent projects, owned tasks, threads, inbox and an append-only team ledger",
|
|
6
6
|
"license": "MIT",
|