@suifei/dsh-ai-team 0.3.66 → 0.3.67
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/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.67 — 2026-11-11
|
|
4
|
+
|
|
5
|
+
- review 整改:PMO tick 的 prune 数组补入 `pmoLastDispatch`——补派节流时钟的任务条目在离开 active 集后随其余四个时钟一并清理,消除慢性 Map 增长(与 0.3.57 同类问题的复发面闭合)。
|
|
6
|
+
|
|
3
7
|
## 0.3.66 — 2026-11-11
|
|
4
8
|
|
|
5
9
|
- **pending 快速补派(用户实证的开工等待问题)**:取证发现 task/created 的事件唤醒可能在责任位正忙时被投递语义吞掉,而账本没有「回合结束/空闲」事件(member.status 只有 running/failed 写点,idle 一直是 bootstrap 显示兜底)——pending 卡的第二次提示要等 10 分钟心跳、30 分钟停滞,这正是「待处理等很久不开工」的根源。现 PMO 60s tick 增加状态检查兜底:pending 且责任位**非 running** → 立即 `pmo/dispatch` 补派(每分钟最多一次,bucket 参与 dedupe key),开工等待从最长 10 分钟压到一个 tick;prompt 明确「认领推进,不再负责则 reassign 交还」。in_progress/done 不补派;retired/failed 不唤醒。waker 分支 3 项新测试(136 总)。
|
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.67';
|
|
45
45
|
const PROJECT_ID = 'prj_main';
|
|
46
46
|
const HUMAN_ID = 'mem_human';
|
|
47
47
|
|
|
@@ -599,7 +599,7 @@ export function apply(ctx, config = {}) {
|
|
|
599
599
|
// Prune per-task clock entries whose task left the active set, so
|
|
600
600
|
// the five Map keys track live work instead of growing forever.
|
|
601
601
|
const live = new Set(active.map((task) => task.id));
|
|
602
|
-
for (const map of [pmoLastReview, pmoLastHeartbeat, pmoLastEscalate, pmoLastStall]) {
|
|
602
|
+
for (const map of [pmoLastReview, pmoLastHeartbeat, pmoLastEscalate, pmoLastStall, pmoLastDispatch]) {
|
|
603
603
|
for (const taskId of map.keys()) {
|
|
604
604
|
if (!live.has(taskId)) map.delete(taskId);
|
|
605
605
|
}
|
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.67",
|
|
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",
|