@suifei/dsh-ai-team 0.4.61 → 0.4.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 +11 -0
- package/lib/diaglog.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.62 - 2026-11-12
|
|
4
|
+
|
|
5
|
+
**成员会话自愈(`member.autoreseat`)进 errors 白名单**
|
|
6
|
+
|
|
7
|
+
0.4.61 真机启动后日志里有 2 条 `wake.fail`(`NOT_RESUMABLE`,`mem_lead` 的 `pmo_escalate` 与 `mem_coder` 的 `pmo_stall`)和对应探针,但**自愈有没有成功**看不到——`member.autoreseat` 只在 `full` 级别落盘。
|
|
8
|
+
|
|
9
|
+
查证:`mem_lead` 的会话已从失败时的 `0089e9dd…` 换成 `ba86c955…`,说明自愈确实重建了会话;但这个「救回来了」的证据在发布默认级别不可见,只能靠比对 id 反推。
|
|
10
|
+
|
|
11
|
+
- `isErrorEvent` 白名单加入 `member.autoreseat`。
|
|
12
|
+
- 测试:`node --test` **262 通过 / 1 跳过**(`diaglog` 3 例,新增断言:自愈行保留、普通进度行仍被过滤,防止 `errors` 级别退化成 `full`)。
|
|
13
|
+
|
|
3
14
|
## 0.4.61 - 2026-11-12
|
|
4
15
|
|
|
5
16
|
**诊断目录跟随 `DSH_HOME` + 关闭句柄的 flush 不再报错**
|
package/lib/diaglog.js
CHANGED
|
@@ -31,7 +31,10 @@ export function isErrorEvent(ev) {
|
|
|
31
31
|
&& (ev.endsWith('.fail') || ev === 'boot.refused' || ev === 'route.reject' || ev === 'ledger.repair'
|
|
32
32
|
// 归档修复的**成功**行必须留在 `errors` 级别:否则「修没修」永远无法
|
|
33
33
|
// 判定(只有 boot 瞬间那一行 deferred.fail 可见)。
|
|
34
|
-
|| ev === 'host.repair.ok'
|
|
34
|
+
|| ev === 'host.repair.ok'
|
|
35
|
+
// 成员会话自愈(NOT_RESUMABLE → 重建)同理:它决定「成员还会不会被唤醒」,
|
|
36
|
+
// 必须在发布默认级别可见,否则只能看到一连串 wake.fail 而不知道有没有救回来。
|
|
37
|
+
|| ev === 'member.autoreseat');
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suifei/dsh-ai-team",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.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",
|