@kanadego/dsh-heartbeat 1.9.0 → 1.9.2
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 +58 -71
- package/assets/frontwin.ps1 +1 -0
- package/assets/idle.ps1 +1 -0
- package/assets/screenpulse.ps1 +4 -2
- package/config/profile-schema.json +306 -306
- package/cordis.patch.yml +18 -39
- package/dist/{bindings-XPPSKILN.js → bindings-225SI7KC.js} +3 -2
- package/dist/{chunk-63FUJLIF.js → chunk-3MDBU6WY.js} +17 -2
- package/dist/chunk-3MDBU6WY.js.map +1 -0
- package/dist/chunk-AJ5HLAL7.js +2477 -0
- package/dist/chunk-AJ5HLAL7.js.map +1 -0
- package/dist/{chunk-VIZNIQLK.js → chunk-CUOSICYJ.js} +82 -74
- package/dist/chunk-CUOSICYJ.js.map +1 -0
- package/dist/chunk-IG6YMUHW.js +569 -0
- package/dist/chunk-IG6YMUHW.js.map +1 -0
- package/dist/chunk-IV2ZWQA3.js +56 -0
- package/dist/chunk-IV2ZWQA3.js.map +1 -0
- package/dist/{chunk-PQTSXW4F.js → chunk-JDH2LDFS.js} +97 -71
- package/dist/chunk-JDH2LDFS.js.map +1 -0
- package/dist/chunk-K5Y6JP2B.js +399 -0
- package/dist/chunk-K5Y6JP2B.js.map +1 -0
- package/dist/{chunk-RB3NLLGF.js → chunk-KB5SMG3F.js} +3 -3
- package/dist/{chunk-J6ZTRFFW.js → chunk-TY6UP74X.js} +6 -2
- package/dist/chunk-TY6UP74X.js.map +1 -0
- package/dist/chunk-WRUTATW4.js +47 -0
- package/dist/chunk-WRUTATW4.js.map +1 -0
- package/dist/{chunk-IPOZFZPY.js → chunk-XFNCTOW7.js} +48 -10
- package/dist/chunk-XFNCTOW7.js.map +1 -0
- package/dist/chunk-ZLV4NMFX.js +333 -0
- package/dist/chunk-ZLV4NMFX.js.map +1 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.js +565 -497
- package/dist/cli/index.js.map +1 -1
- package/dist/{inbox-57NHQHY3.js → inbox-P26DDMWC.js} +5 -3
- package/dist/index.d.ts +550 -0
- package/dist/index.js +665 -2730
- package/dist/index.js.map +1 -1
- package/dist/{migrate-N6NXMZ3G.js → migrate-D4VKAKYT.js} +4 -3
- package/dist/orchestrator-EUTZ3KG6.js +62 -0
- package/dist/{pool-7I4VACG2.js → pool-UTXQJJ5C.js} +5 -3
- package/dist/{snapshot-ZBCSX67Y.js → snapshot-K5VHETTK.js} +5 -4
- package/dist/snapshot-K5VHETTK.js.map +1 -0
- package/package.json +83 -76
- package/config/watchlist.json +0 -9
- package/dist/chunk-2SYXKKZF.js +0 -837
- package/dist/chunk-2SYXKKZF.js.map +0 -1
- package/dist/chunk-63FUJLIF.js.map +0 -1
- package/dist/chunk-IFTFDHZX.js +0 -203
- package/dist/chunk-IFTFDHZX.js.map +0 -1
- package/dist/chunk-IPOZFZPY.js.map +0 -1
- package/dist/chunk-J6ZTRFFW.js.map +0 -1
- package/dist/chunk-PQTSXW4F.js.map +0 -1
- package/dist/chunk-VIZNIQLK.js.map +0 -1
- /package/dist/{bindings-XPPSKILN.js.map → bindings-225SI7KC.js.map} +0 -0
- /package/dist/{chunk-RB3NLLGF.js.map → chunk-KB5SMG3F.js.map} +0 -0
- /package/dist/{inbox-57NHQHY3.js.map → inbox-P26DDMWC.js.map} +0 -0
- /package/dist/{migrate-N6NXMZ3G.js.map → migrate-D4VKAKYT.js.map} +0 -0
- /package/dist/{pool-7I4VACG2.js.map → orchestrator-EUTZ3KG6.js.map} +0 -0
- /package/dist/{snapshot-ZBCSX67Y.js.map → pool-UTXQJJ5C.js.map} +0 -0
|
@@ -6,8 +6,9 @@ import {
|
|
|
6
6
|
collectMigrationEntries,
|
|
7
7
|
decryptContainer,
|
|
8
8
|
encryptContainer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XFNCTOW7.js";
|
|
10
|
+
import "./chunk-K5Y6JP2B.js";
|
|
11
|
+
import "./chunk-WRUTATW4.js";
|
|
11
12
|
export {
|
|
12
13
|
MIGRATE_FILES,
|
|
13
14
|
MIGRATE_MAGIC,
|
|
@@ -17,4 +18,4 @@ export {
|
|
|
17
18
|
decryptContainer,
|
|
18
19
|
encryptContainer
|
|
19
20
|
};
|
|
20
|
-
//# sourceMappingURL=migrate-
|
|
21
|
+
//# sourceMappingURL=migrate-D4VKAKYT.js.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ENGINE_ROOM_EXTRA_TOOLS,
|
|
3
|
+
HOME_ROTATE_EVENT_COUNT,
|
|
4
|
+
TOKEN_SAVER_IDLE_SECONDS,
|
|
5
|
+
agentLooksAlive,
|
|
6
|
+
applyHeartbeatInterval,
|
|
7
|
+
beat,
|
|
8
|
+
buildEngineRoomAllowList,
|
|
9
|
+
gateFilePath,
|
|
10
|
+
getLastBeat,
|
|
11
|
+
homeSessionId,
|
|
12
|
+
isContextOverflowError,
|
|
13
|
+
loadCursors,
|
|
14
|
+
looksPermanentResumeFailure,
|
|
15
|
+
markHomeRotateIfOverflow,
|
|
16
|
+
parseJsonBlock,
|
|
17
|
+
pickSpokenLine,
|
|
18
|
+
resetHomeAgent,
|
|
19
|
+
resetHomeSession,
|
|
20
|
+
sessionEventCount,
|
|
21
|
+
sessionEvents,
|
|
22
|
+
shouldArchiveRotatedHome,
|
|
23
|
+
shouldRotateHome,
|
|
24
|
+
spokeTextSince,
|
|
25
|
+
startOrchestrator
|
|
26
|
+
} from "./chunk-AJ5HLAL7.js";
|
|
27
|
+
import "./chunk-IG6YMUHW.js";
|
|
28
|
+
import "./chunk-3QJJRXIR.js";
|
|
29
|
+
import "./chunk-JDH2LDFS.js";
|
|
30
|
+
import "./chunk-3MDBU6WY.js";
|
|
31
|
+
import "./chunk-IV2ZWQA3.js";
|
|
32
|
+
import "./chunk-KB5SMG3F.js";
|
|
33
|
+
import "./chunk-CUOSICYJ.js";
|
|
34
|
+
import "./chunk-K5Y6JP2B.js";
|
|
35
|
+
import "./chunk-WRUTATW4.js";
|
|
36
|
+
export {
|
|
37
|
+
ENGINE_ROOM_EXTRA_TOOLS,
|
|
38
|
+
HOME_ROTATE_EVENT_COUNT,
|
|
39
|
+
TOKEN_SAVER_IDLE_SECONDS,
|
|
40
|
+
agentLooksAlive,
|
|
41
|
+
applyHeartbeatInterval,
|
|
42
|
+
beat,
|
|
43
|
+
buildEngineRoomAllowList,
|
|
44
|
+
gateFilePath,
|
|
45
|
+
getLastBeat,
|
|
46
|
+
homeSessionId,
|
|
47
|
+
isContextOverflowError,
|
|
48
|
+
loadCursors,
|
|
49
|
+
looksPermanentResumeFailure,
|
|
50
|
+
markHomeRotateIfOverflow,
|
|
51
|
+
parseJsonBlock,
|
|
52
|
+
pickSpokenLine,
|
|
53
|
+
resetHomeAgent,
|
|
54
|
+
resetHomeSession,
|
|
55
|
+
sessionEventCount,
|
|
56
|
+
sessionEvents,
|
|
57
|
+
shouldArchiveRotatedHome,
|
|
58
|
+
shouldRotateHome,
|
|
59
|
+
spokeTextSince,
|
|
60
|
+
startOrchestrator
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=orchestrator-EUTZ3KG6.js.map
|
|
@@ -16,8 +16,10 @@ import {
|
|
|
16
16
|
savePool,
|
|
17
17
|
seedsFilePath,
|
|
18
18
|
surfaceSeed
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-JDH2LDFS.js";
|
|
20
|
+
import "./chunk-IV2ZWQA3.js";
|
|
21
|
+
import "./chunk-K5Y6JP2B.js";
|
|
22
|
+
import "./chunk-WRUTATW4.js";
|
|
21
23
|
export {
|
|
22
24
|
SEED_CATEGORY_CAPS,
|
|
23
25
|
TTL_KEYS,
|
|
@@ -37,4 +39,4 @@ export {
|
|
|
37
39
|
seedsFilePath,
|
|
38
40
|
surfaceSeed
|
|
39
41
|
};
|
|
40
|
-
//# sourceMappingURL=pool-
|
|
42
|
+
//# sourceMappingURL=pool-UTXQJJ5C.js.map
|
|
@@ -3,13 +3,14 @@ import {
|
|
|
3
3
|
snapshotDue,
|
|
4
4
|
snapshotIfDue,
|
|
5
5
|
snapshotProfile
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KB5SMG3F.js";
|
|
7
|
+
import "./chunk-CUOSICYJ.js";
|
|
8
|
+
import "./chunk-K5Y6JP2B.js";
|
|
9
|
+
import "./chunk-WRUTATW4.js";
|
|
9
10
|
export {
|
|
10
11
|
SNAPSHOT_THRESHOLD,
|
|
11
12
|
snapshotDue,
|
|
12
13
|
snapshotIfDue,
|
|
13
14
|
snapshotProfile
|
|
14
15
|
};
|
|
15
|
-
//# sourceMappingURL=snapshot-
|
|
16
|
+
//# sourceMappingURL=snapshot-K5VHETTK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,76 +1,83 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@kanadego/dsh-heartbeat",
|
|
3
|
-
"version": "1.9.
|
|
4
|
-
"description": "Heartbeat plugin for DeepSeek Harness: scheduled autonomous reflection loop with user profile, material pool, pace gate, and gated proactive expression.",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/Kanadego/dsh-heartbeat.git"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://github.com/Kanadego/dsh-heartbeat",
|
|
10
|
-
"bugs": {
|
|
11
|
-
"url": "https://github.com/Kanadego/dsh-heartbeat/issues"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"dsh",
|
|
15
|
-
"dsh-plugin",
|
|
16
|
-
"deepseek-harness",
|
|
17
|
-
"heartbeat",
|
|
18
|
-
"proactive",
|
|
19
|
-
"agent"
|
|
20
|
-
],
|
|
21
|
-
"publishConfig": {
|
|
22
|
-
"registry": "https://registry.npmjs.org"
|
|
23
|
-
},
|
|
24
|
-
"type": "module",
|
|
25
|
-
"main": "dist/index.js",
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"cordis.patch.yml"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@kanadego/dsh-heartbeat",
|
|
3
|
+
"version": "1.9.2",
|
|
4
|
+
"description": "Heartbeat plugin for DeepSeek Harness: scheduled autonomous reflection loop with user profile, material pool, pace gate, and gated proactive expression.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/Kanadego/dsh-heartbeat.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/Kanadego/dsh-heartbeat",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/Kanadego/dsh-heartbeat/issues"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"dsh",
|
|
15
|
+
"dsh-plugin",
|
|
16
|
+
"deepseek-harness",
|
|
17
|
+
"heartbeat",
|
|
18
|
+
"proactive",
|
|
19
|
+
"agent"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"registry": "https://registry.npmjs.org"
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"main": "dist/index.js",
|
|
26
|
+
"types": "dist/index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"default": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./cli": {
|
|
33
|
+
"types": "./dist/cli/index.d.ts",
|
|
34
|
+
"default": "./dist/cli/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./client": "./client.js",
|
|
37
|
+
"./package.json": "./package.json",
|
|
38
|
+
"./cordis.patch.yml": "./cordis.patch.yml"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"config",
|
|
43
|
+
"assets",
|
|
44
|
+
"client.js",
|
|
45
|
+
"cordis.patch.yml",
|
|
46
|
+
"README.md",
|
|
47
|
+
"LICENSE"
|
|
48
|
+
],
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=22.19.0"
|
|
51
|
+
},
|
|
52
|
+
"os": [
|
|
53
|
+
"win32"
|
|
54
|
+
],
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2 || ^0.1.5-rc.2 || ^0.1.7-rc.1 || ^0.2.0-rc.1"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"@deepseek-ai/dsh-llm": "^0.1.1-rc.2 || ^0.1.5-rc.2 || ^0.1.7-rc.1 || ^0.2.0-rc.1"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@deepseek-ai/dsh-llm": "^0.1.7-rc.1",
|
|
63
|
+
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
|
|
64
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
65
|
+
"@types/node": "^24.0.0",
|
|
66
|
+
"tsup": "^8.3.0",
|
|
67
|
+
"tsx": "^4.19.0",
|
|
68
|
+
"typescript": "^5.7.0"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "tsup",
|
|
72
|
+
"typecheck": "tsc --noEmit",
|
|
73
|
+
"test": "node --import tsx --test \"tests/*.test.ts\""
|
|
74
|
+
},
|
|
75
|
+
"dsh": {
|
|
76
|
+
"bundle": {
|
|
77
|
+
"patch": "./cordis.patch.yml"
|
|
78
|
+
},
|
|
79
|
+
"client": {
|
|
80
|
+
"platform": "web"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
package/config/watchlist.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_comment": "心跳的兴趣追踪清单 v1。type=npm|github。新增一行=多一个好奇方向。查询频率由浏览相内置节流(默认 6h/轮),此处无需配置。",
|
|
3
|
-
"targets": [
|
|
4
|
-
{ "id": "dsh-core", "type": "npm", "name": "@deepseek-ai/dsh", "note": "DeepSeek Harness 本体——我的家,升级前必知" },
|
|
5
|
-
{ "id": "presence-watch", "type": "github", "repo": "tomsteve1102/presence-watch", "note": "presence-watch——本项目的讨论起点(在场感知模块),值得长期围观" },
|
|
6
|
-
{ "id": "eco-spec", "type": "github", "repo": "T-Auto/dsh-ecosystem-spec", "note": "dsh 生态适配器规范——关系到我们的多版本适配路线" },
|
|
7
|
-
{ "id": "dsh-std", "type": "github", "repo": "Yan-Zero/dsh-std", "note": "dsh-std 元协议——同上,未来可能的迁移目标" }
|
|
8
|
-
]
|
|
9
|
-
}
|