@kanadego/dsh-heartbeat 2.2.0 → 2.2.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/README.md +6 -1
- package/dist/{chunk-WF7ZBW5C.js → chunk-CJK6RTMH.js} +7 -1
- package/dist/chunk-CJK6RTMH.js.map +1 -0
- package/dist/cli/index.js +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{orchestrator-QE2XVVM6.js → orchestrator-5BHYQ77Y.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-WF7ZBW5C.js.map +0 -1
- /package/dist/{orchestrator-QE2XVVM6.js.map → orchestrator-5BHYQ77Y.js.map} +0 -0
package/README.md
CHANGED
|
@@ -294,7 +294,7 @@ node <插件目录>/dist/cli/index.js <命令>
|
|
|
294
294
|
|
|
295
295
|
| 插件版本 | 适配的 DSH |
|
|
296
296
|
| ------------------ | --------------------------- |
|
|
297
|
-
| **v2.2.0**(当前) | `0.2.0-rc.1` – `0.2.2-rc.1` |
|
|
297
|
+
| **v2.2.0 – v2.2.1**(当前) | `0.2.0-rc.1` – `0.2.2-rc.1` |
|
|
298
298
|
| v2.1.1 – v2.1.2 | `0.2.0-rc.1` – `0.2.1-rc.5` |
|
|
299
299
|
| v2.0.0 – v2.0.1 | `0.2.0-rc.1` – `0.2.1-rc.2` |
|
|
300
300
|
| v1.7.4 – v1.9.3 | `0.2.0-rc.1` – `0.2.0-rc.2` |
|
|
@@ -338,6 +338,11 @@ dsh plugin --profile web remove @kanadego/dsh-heartbeat
|
|
|
338
338
|
<details open>
|
|
339
339
|
<summary><b>v2.2.x</b></summary>
|
|
340
340
|
|
|
341
|
+
### v2.2.1 · 2026-11-10(引擎室归档自愈 · 类型声明修复)
|
|
342
|
+
|
|
343
|
+
- **房间被归档也能自己换回来**:DSH 0.2.2 会把长期不用的会话归档,引擎室如果正好在名单里,整跳都不出声、也不会自己恢复。现在发现房间被归档就自动换一个新会话,旧房间原样留着、不删任何内容。
|
|
344
|
+
- **类型声明恢复完整**:上一版发布包里 `index.d.ts` 因为构建期路径依赖没有完整生成,这版修好了——用 TypeScript 接这个包的项目不会再丢类型。
|
|
345
|
+
|
|
341
346
|
### v2.2.0 · 2026-11-09(B 站素材源 · 扫码登录 · 静默时段面板 · 兼容 DSH 0.2.2)
|
|
342
347
|
|
|
343
348
|
这版把「你在 B 站看什么」变成了心跳的素材来源,顺手把登录和静默时段都挪进了面板。
|
|
@@ -2998,6 +2998,12 @@ async function beat(deps, trigger = "interval") {
|
|
|
2998
2998
|
if (agent && homeRotatePending === null && shouldRotateHome({ eventCount: sessionEventCount(agent.session) })) {
|
|
2999
2999
|
homeRotatePending = `size threshold (${sessionEventCount(agent.session)} events \u2265 ${HOME_ROTATE_EVENT_COUNT})`;
|
|
3000
3000
|
}
|
|
3001
|
+
if (agent && homeRotatePending === null) {
|
|
3002
|
+
const homeId = agent.session?.id;
|
|
3003
|
+
if (homeId && isArchivedSession(loadArchivedSessionIds(), homeId)) {
|
|
3004
|
+
homeRotatePending = `home session archived (${homeId})`;
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3001
3007
|
if (agent && homeRotatePending !== null) {
|
|
3002
3008
|
try {
|
|
3003
3009
|
await rotateHome(deps, homeRotatePending);
|
|
@@ -3230,4 +3236,4 @@ export {
|
|
|
3230
3236
|
jitteredIntervalMs,
|
|
3231
3237
|
startOrchestrator
|
|
3232
3238
|
};
|
|
3233
|
-
//# sourceMappingURL=chunk-
|
|
3239
|
+
//# sourceMappingURL=chunk-CJK6RTMH.js.map
|