stratagate-dsh 0.2.26 → 0.2.27

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.
@@ -8,13 +8,13 @@
8
8
 
9
9
  ## 界面预览
10
10
 
11
- ### 分层短期记忆
11
+ ### 知识图谱与事件时间线
12
12
 
13
- ![StrataGate 分层短期记忆界面](assets/stratagate-short-term-memory.png)
13
+ ![StrataGate 知识图谱与事件时间线界面](assets/stratagate-knowledge-graph.png)
14
14
 
15
- ### 记忆结构与诊断
15
+ ### 分层短期记忆
16
16
 
17
- ![StrataGate 记忆结构与诊断界面](assets/stratagate-memory-structure.png)
17
+ ![StrataGate 分层短期记忆界面](assets/stratagate-short-term-memory.png)
18
18
 
19
19
  ## 它是怎么设计的
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagate-dsh",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "Automatic local-first cross-session memory for DeepSeek Harness with source-traceable recall",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,11 +17,22 @@
17
17
  "./cordis.patch.yml": "./cordis.patch.yml",
18
18
  "./package.json": "./package.json"
19
19
  },
20
- "files": ["dist", "cordis.patch.yml", "README.md", "docs/README.zh-CN.md", "CHANGELOG.md", "LICENSE"],
20
+ "files": [
21
+ "dist",
22
+ "cordis.patch.yml",
23
+ "README.md",
24
+ "docs/README.zh-CN.md",
25
+ "CHANGELOG.md",
26
+ "LICENSE"
27
+ ],
21
28
  "dsh": {
22
- "bundle": { "patch": "./cordis.patch.yml" },
29
+ "bundle": {
30
+ "patch": "./cordis.patch.yml"
31
+ },
23
32
  "client": {
24
- "inject": ["@deepseek-ai/dsh-client-runtime"],
33
+ "inject": [
34
+ "@deepseek-ai/dsh-client-runtime"
35
+ ],
25
36
  "platform": "web"
26
37
  }
27
38
  },
@@ -66,11 +77,23 @@
66
77
  "type": "plugin",
67
78
  "integration": {
68
79
  "protocol": "harness-profile",
69
- "artifact": "package.json"
80
+ "artifact": "cordis.patch.yml"
81
+ },
82
+ "install": {
83
+ "mode": "transactional",
84
+ "adapter": "profile-bundle",
85
+ "failurePolicy": "generation-rollback",
86
+ "touchesCurrentBeforeActivation": false
87
+ },
88
+ "lifecycle": {
89
+ "activation": "restart-profile",
90
+ "dispose": "supported"
70
91
  },
71
92
  "compatibility": {
72
- "dshVersions": ["0.1.0-rc.6", "0.1.0-rc.7"],
73
- "nodeVersions": ["22.19.x", "24.x"]
93
+ "dshVersions": [
94
+ "0.1.0-rc.6",
95
+ "0.1.0-rc.7"
96
+ ]
74
97
  },
75
98
  "permissions": [
76
99
  "harness:tool",
@@ -81,10 +104,26 @@
81
104
  "shell:none",
82
105
  "python:none",
83
106
  "credentials:none"
84
- ]
107
+ ],
108
+ "capability": {
109
+ "id": "memory_search_events",
110
+ "kind": "tool",
111
+ "invocation": "Invoke memory_search_events with a project-memory query after profile activation.",
112
+ "expected": "The DSH tool registry exposes memory_search_events and returns an evidence-gated retrieval batch."
113
+ },
114
+ "evidence": {
115
+ "install": "tests/plugin.test.ts",
116
+ "failureIsolation": null,
117
+ "hotReload": null,
118
+ "remove": null
119
+ }
120
+ },
121
+ "publishConfig": {
122
+ "access": "public"
123
+ },
124
+ "engines": {
125
+ "node": "^22.19.0 || >=24.0.0"
85
126
  },
86
- "publishConfig": { "access": "public" },
87
- "engines": { "node": "^22.19.0 || >=24.0.0" },
88
127
  "peerDependencies": {
89
128
  "@deepseek-ai/cordis": "^4.0.1",
90
129
  "@deepseek-ai/dsh-agent-default-model": ">=0.1.0-rc.6 <0.2.0",
@@ -102,6 +141,13 @@
102
141
  "@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.6 <0.2.0",
103
142
  "@deepseek-ai/dsh-tools": ">=0.1.0-rc.6 <0.2.0",
104
143
  "@deepseek-ai/schemastery": "^3.18.1",
144
+ "cytoscape": "^3.34.1",
145
+ "cytoscape-fcose": "^2.2.0",
146
+ "esbuild": "^0.28.2",
105
147
  "tsup": "^8.5.0"
148
+ },
149
+ "dependencies": {
150
+ "ngraph.graph": "^20.1.2",
151
+ "ngraph.leiden": "^0.3.0"
106
152
  }
107
153
  }