@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.
Files changed (59) hide show
  1. package/README.md +58 -71
  2. package/assets/frontwin.ps1 +1 -0
  3. package/assets/idle.ps1 +1 -0
  4. package/assets/screenpulse.ps1 +4 -2
  5. package/config/profile-schema.json +306 -306
  6. package/cordis.patch.yml +18 -39
  7. package/dist/{bindings-XPPSKILN.js → bindings-225SI7KC.js} +3 -2
  8. package/dist/{chunk-63FUJLIF.js → chunk-3MDBU6WY.js} +17 -2
  9. package/dist/chunk-3MDBU6WY.js.map +1 -0
  10. package/dist/chunk-AJ5HLAL7.js +2477 -0
  11. package/dist/chunk-AJ5HLAL7.js.map +1 -0
  12. package/dist/{chunk-VIZNIQLK.js → chunk-CUOSICYJ.js} +82 -74
  13. package/dist/chunk-CUOSICYJ.js.map +1 -0
  14. package/dist/chunk-IG6YMUHW.js +569 -0
  15. package/dist/chunk-IG6YMUHW.js.map +1 -0
  16. package/dist/chunk-IV2ZWQA3.js +56 -0
  17. package/dist/chunk-IV2ZWQA3.js.map +1 -0
  18. package/dist/{chunk-PQTSXW4F.js → chunk-JDH2LDFS.js} +97 -71
  19. package/dist/chunk-JDH2LDFS.js.map +1 -0
  20. package/dist/chunk-K5Y6JP2B.js +399 -0
  21. package/dist/chunk-K5Y6JP2B.js.map +1 -0
  22. package/dist/{chunk-RB3NLLGF.js → chunk-KB5SMG3F.js} +3 -3
  23. package/dist/{chunk-J6ZTRFFW.js → chunk-TY6UP74X.js} +6 -2
  24. package/dist/chunk-TY6UP74X.js.map +1 -0
  25. package/dist/chunk-WRUTATW4.js +47 -0
  26. package/dist/chunk-WRUTATW4.js.map +1 -0
  27. package/dist/{chunk-IPOZFZPY.js → chunk-XFNCTOW7.js} +48 -10
  28. package/dist/chunk-XFNCTOW7.js.map +1 -0
  29. package/dist/chunk-ZLV4NMFX.js +333 -0
  30. package/dist/chunk-ZLV4NMFX.js.map +1 -0
  31. package/dist/cli/index.d.ts +3 -0
  32. package/dist/cli/index.js +565 -497
  33. package/dist/cli/index.js.map +1 -1
  34. package/dist/{inbox-57NHQHY3.js → inbox-P26DDMWC.js} +5 -3
  35. package/dist/index.d.ts +550 -0
  36. package/dist/index.js +665 -2730
  37. package/dist/index.js.map +1 -1
  38. package/dist/{migrate-N6NXMZ3G.js → migrate-D4VKAKYT.js} +4 -3
  39. package/dist/orchestrator-EUTZ3KG6.js +62 -0
  40. package/dist/{pool-7I4VACG2.js → pool-UTXQJJ5C.js} +5 -3
  41. package/dist/{snapshot-ZBCSX67Y.js → snapshot-K5VHETTK.js} +5 -4
  42. package/dist/snapshot-K5VHETTK.js.map +1 -0
  43. package/package.json +83 -76
  44. package/config/watchlist.json +0 -9
  45. package/dist/chunk-2SYXKKZF.js +0 -837
  46. package/dist/chunk-2SYXKKZF.js.map +0 -1
  47. package/dist/chunk-63FUJLIF.js.map +0 -1
  48. package/dist/chunk-IFTFDHZX.js +0 -203
  49. package/dist/chunk-IFTFDHZX.js.map +0 -1
  50. package/dist/chunk-IPOZFZPY.js.map +0 -1
  51. package/dist/chunk-J6ZTRFFW.js.map +0 -1
  52. package/dist/chunk-PQTSXW4F.js.map +0 -1
  53. package/dist/chunk-VIZNIQLK.js.map +0 -1
  54. /package/dist/{bindings-XPPSKILN.js.map → bindings-225SI7KC.js.map} +0 -0
  55. /package/dist/{chunk-RB3NLLGF.js.map → chunk-KB5SMG3F.js.map} +0 -0
  56. /package/dist/{inbox-57NHQHY3.js.map → inbox-P26DDMWC.js.map} +0 -0
  57. /package/dist/{migrate-N6NXMZ3G.js.map → migrate-D4VKAKYT.js.map} +0 -0
  58. /package/dist/{pool-7I4VACG2.js.map → orchestrator-EUTZ3KG6.js.map} +0 -0
  59. /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-IPOZFZPY.js";
10
- import "./chunk-IFTFDHZX.js";
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-N6NXMZ3G.js.map
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-PQTSXW4F.js";
20
- import "./chunk-IFTFDHZX.js";
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-7I4VACG2.js.map
42
+ //# sourceMappingURL=pool-UTXQJJ5C.js.map
@@ -3,13 +3,14 @@ import {
3
3
  snapshotDue,
4
4
  snapshotIfDue,
5
5
  snapshotProfile
6
- } from "./chunk-RB3NLLGF.js";
7
- import "./chunk-VIZNIQLK.js";
8
- import "./chunk-IFTFDHZX.js";
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-ZBCSX67Y.js.map
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.0",
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
- "exports": {
27
- ".": "./dist/index.js",
28
- "./cli": "./dist/cli/index.js",
29
- "./client": "./client.js",
30
- "./package.json": "./package.json",
31
- "./cordis.patch.yml": "./cordis.patch.yml"
32
- },
33
- "files": [
34
- "dist",
35
- "config",
36
- "assets",
37
- "client.js",
38
- "cordis.patch.yml",
39
- "README.md",
40
- "LICENSE"
41
- ],
42
- "engines": {
43
- "node": ">=22.19.0"
44
- },
45
- "os": [
46
- "win32"
47
- ],
48
- "dependencies": {
49
- "@deepseek-ai/dsh-settings": "^0.1.1-rc.2 || ^0.1.5-rc.2 || ^0.1.7-rc.1 || ^0.2.0-rc.1"
50
- },
51
- "peerDependencies": {
52
- "@deepseek-ai/dsh-llm": "^0.1.1-rc.2 || ^0.1.5-rc.2 || ^0.1.7-rc.1 || ^0.2.0-rc.1"
53
- },
54
- "devDependencies": {
55
- "@deepseek-ai/dsh-llm": "^0.1.7-rc.1",
56
- "@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
57
- "@deepseek-ai/schemastery": "^3.18.2",
58
- "@types/node": "^24.0.0",
59
- "tsup": "^8.3.0",
60
- "tsx": "^4.19.0",
61
- "typescript": "^5.7.0"
62
- },
63
- "scripts": {
64
- "build": "tsup",
65
- "typecheck": "tsc --noEmit",
66
- "test": "node --import tsx --test \"tests/*.test.ts\""
67
- },
68
- "dsh": {
69
- "bundle": {
70
- "patch": "./cordis.patch.yml"
71
- },
72
- "client": {
73
- "platform": "web"
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
+ }
@@ -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
- }