stratagate-dsh 0.3.33 → 0.3.35

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 (41) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/CONTRIBUTING.md +88 -88
  3. package/CONTRIBUTING.zh-CN.md +88 -88
  4. package/LICENSE +21 -21
  5. package/README.md +487 -487
  6. package/README.zh-CN.md +491 -491
  7. package/benchmarks/locomo-conv26-r8-final.json +146 -146
  8. package/cordis.patch.yml +16 -16
  9. package/dist/client.d.ts +1 -1
  10. package/dist/client.js +4 -4
  11. package/dist/index.d.ts +3 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/plugin.d.ts +3 -0
  14. package/dist/plugin.js +992 -157
  15. package/dist/plugin.js.map +1 -1
  16. package/dist/repair-profile.js.map +1 -1
  17. package/docs/ARCHITECTURE.md +282 -282
  18. package/docs/DSH.md +337 -331
  19. package/docs/DSH.zh-CN.md +315 -309
  20. package/docs/EVALUATION.md +189 -189
  21. package/docs/EXTERNAL_MEMORY_IMPORT.zh-CN.md +99 -99
  22. package/docs/MEMORY_TOPICS.zh-CN.md +51 -51
  23. package/docs/benchmarks/issue-128-windows-review.json +104 -104
  24. package/docs/benchmarks/issue-128-windows.json +103 -103
  25. package/docs/database-access.md +32 -0
  26. package/docs/dreaming-agent.md +69 -69
  27. package/docs/event-extractor.md +48 -48
  28. package/docs/feedback.md +50 -50
  29. package/docs/issue-128-lease-cache-review-followup.md +55 -55
  30. package/docs/issue-128-review-followup.md +58 -58
  31. package/docs/knowledge-graph.md +38 -38
  32. package/docs/npm-release.md +53 -53
  33. package/docs/surface-maintenance.md +36 -36
  34. package/docs/user-operation-priority.md +39 -39
  35. package/docs/validation/issue119.md +41 -41
  36. package/docs/validation/workspace-cleanup-20261020.md +36 -36
  37. package/package.json +255 -255
  38. package/packages/core/examples/basic.ts +87 -87
  39. package/packages/core/src/blocks.ts +442 -442
  40. package/packages/core/src/weights.ts +21 -21
  41. package/screenshots.json +8 -8
@@ -1,36 +1,36 @@
1
- # 2026-10-20 工作区整理
2
-
3
- ## 已保存的源码
4
-
5
- 将 `codex/review-dreaming-stop-20261019` 上此前未提交的工作作为一个完整快照提交,包含 Event 去重与维护、Dreaming 目录占用及原生上下文和概要重写修复、DSH 兼容性检查、WorkBuddy 适配,以及对应测试与文档。基线为 `3e03c685d308cb6eac5a57675bb94cce52c7b0aa`。此前多个任务修改了相同文件,本次保留最终工作树,不重新拆分或改写各任务历史。
6
-
7
- ## 本次验证
8
-
9
- 使用本机现有 Node v24.19.0,重新运行以下检查,验证期间源码 SHA-256 无变化。
10
-
11
- | 检查 | 结果 |
12
- | --- | --- |
13
- | Core 测试 | 414 通过 |
14
- | DSH 测试 | 866 通过、1 项既有跳过 |
15
- | WorkBuddy 测试 | 10 通过 |
16
- | Core、DSH、WorkBuddy TypeScript | 全部通过 |
17
- | Core、DSH 服务端与客户端、WorkBuddy 构建 | 全部通过 |
18
- | Git 差异空白检查 | 通过 |
19
-
20
- 原始日志、测试 JSON、源码哈希与整理前状态保存在本地 `.artifacts/workspace-cleanup-20261020/`;`verify.mjs` 记录实际执行参数。没有运行真实模型或操作生产数据库。本次没有打包、候选验收或发布。
21
-
22
- 默认 PATH 中 Node 为 v22.12.0,低于项目要求的 `^22.19.0 || >=24.0.0`;本次使用 Codex 自带的 `C:/Users/19007/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin/node.exe`。未改变其他应用的 Node 安装或系统 PATH;后续手动运行项目命令仍需选择受支持的 Node。
23
-
24
- ## 分支与证据保留
25
-
26
- - 本地历史中的 PR #116、#120、#122 合并提交与祖先检查共同确认 `codex/readme-community-layout`、`codex/topic-section-membership`、`codex/memory-directory-section-titles` 已纳入本地 `main`,已使用 `git branch -d` 删除。README 辅助 worktree 无修改、未跟踪文件或忽略文件,已移除。
27
- - 新提交完成后,本地 `main` 从原基线快进到新提交,再删除已收拢的 `codex/review-dreaming-stop-20261019`。
28
- - 其他旧分支存在未纳入本地主线的提交,或仍由 worktree 使用,予以保留。`codex/issue119-topic-reliability` 的辅助 worktree 留有 24 个未跟踪验证文件,保留该分支和工作目录。
29
- - 原地保留 400 份未跟踪验证文件(含历史快照、测试结果、截图及 SQLite 夹具),逐文件路径、大小和 SHA-256 记录在 `preserved-validation.json`;发布目录顶层文件清单记录在 `preserved-release-files.json`。候选 tgz、评审 ZIP、发布证据、已安装依赖及用户数据均保留。
30
- - 仅在本仓库 `.git/info/exclude` 添加 `/.worktrees/`、`/release-candidates/` 和现有未跟踪验证路径,未修改共享忽略规则。新增规则完整记录于 `local-excludes-added.txt`。这些文件仍在磁盘上,只是不再显示为待提交内容。
31
-
32
- ## 远端限制
33
-
34
- `git ls-remote --heads origin` 返回账号暂停的 HTTP 403,无法核实当前远端分支或执行远端清理。缓存的 `origin/main` 与本地 `main` 在整理前已有分叉(本地独有 3 个提交、缓存远端独有 4 个提交),因此未据此重写或合并主线。未执行 push 或删除远端分支。
35
-
36
- GitHub PR、CI、Tag、Release、trusted-publishing 和 Roadmap 同步按用户既有要求跳过;本地已有合并记录用于判断本地分支,不代表重新核验了 GitHub 状态。所有现有 tag 和发布产物均保留。
1
+ # 2026-10-20 工作区整理
2
+
3
+ ## 已保存的源码
4
+
5
+ 将 `codex/review-dreaming-stop-20261019` 上此前未提交的工作作为一个完整快照提交,包含 Event 去重与维护、Dreaming 目录占用及原生上下文和概要重写修复、DSH 兼容性检查、WorkBuddy 适配,以及对应测试与文档。基线为 `3e03c685d308cb6eac5a57675bb94cce52c7b0aa`。此前多个任务修改了相同文件,本次保留最终工作树,不重新拆分或改写各任务历史。
6
+
7
+ ## 本次验证
8
+
9
+ 使用本机现有 Node v24.19.0,重新运行以下检查,验证期间源码 SHA-256 无变化。
10
+
11
+ | 检查 | 结果 |
12
+ | --- | --- |
13
+ | Core 测试 | 414 通过 |
14
+ | DSH 测试 | 866 通过、1 项既有跳过 |
15
+ | WorkBuddy 测试 | 10 通过 |
16
+ | Core、DSH、WorkBuddy TypeScript | 全部通过 |
17
+ | Core、DSH 服务端与客户端、WorkBuddy 构建 | 全部通过 |
18
+ | Git 差异空白检查 | 通过 |
19
+
20
+ 原始日志、测试 JSON、源码哈希与整理前状态保存在本地 `.artifacts/workspace-cleanup-20261020/`;`verify.mjs` 记录实际执行参数。没有运行真实模型或操作生产数据库。本次没有打包、候选验收或发布。
21
+
22
+ 默认 PATH 中 Node 为 v22.12.0,低于项目要求的 `^22.19.0 || >=24.0.0`;本次使用 Codex 自带的 `C:/Users/19007/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin/node.exe`。未改变其他应用的 Node 安装或系统 PATH;后续手动运行项目命令仍需选择受支持的 Node。
23
+
24
+ ## 分支与证据保留
25
+
26
+ - 本地历史中的 PR #116、#120、#122 合并提交与祖先检查共同确认 `codex/readme-community-layout`、`codex/topic-section-membership`、`codex/memory-directory-section-titles` 已纳入本地 `main`,已使用 `git branch -d` 删除。README 辅助 worktree 无修改、未跟踪文件或忽略文件,已移除。
27
+ - 新提交完成后,本地 `main` 从原基线快进到新提交,再删除已收拢的 `codex/review-dreaming-stop-20261019`。
28
+ - 其他旧分支存在未纳入本地主线的提交,或仍由 worktree 使用,予以保留。`codex/issue119-topic-reliability` 的辅助 worktree 留有 24 个未跟踪验证文件,保留该分支和工作目录。
29
+ - 原地保留 400 份未跟踪验证文件(含历史快照、测试结果、截图及 SQLite 夹具),逐文件路径、大小和 SHA-256 记录在 `preserved-validation.json`;发布目录顶层文件清单记录在 `preserved-release-files.json`。候选 tgz、评审 ZIP、发布证据、已安装依赖及用户数据均保留。
30
+ - 仅在本仓库 `.git/info/exclude` 添加 `/.worktrees/`、`/release-candidates/` 和现有未跟踪验证路径,未修改共享忽略规则。新增规则完整记录于 `local-excludes-added.txt`。这些文件仍在磁盘上,只是不再显示为待提交内容。
31
+
32
+ ## 远端限制
33
+
34
+ `git ls-remote --heads origin` 返回账号暂停的 HTTP 403,无法核实当前远端分支或执行远端清理。缓存的 `origin/main` 与本地 `main` 在整理前已有分叉(本地独有 3 个提交、缓存远端独有 4 个提交),因此未据此重写或合并主线。未执行 push 或删除远端分支。
35
+
36
+ GitHub PR、CI、Tag、Release、trusted-publishing 和 Roadmap 同步按用户既有要求跳过;本地已有合并记录用于判断本地分支,不代表重新核验了 GitHub 状态。所有现有 tag 和发布产物均保留。
package/package.json CHANGED
@@ -1,255 +1,255 @@
1
- {
2
- "name": "stratagate-dsh",
3
- "version": "0.3.33",
4
- "description": "Recent conversations stay vivid. Older ones fade into summaries, not oblivion. StrataGate gives DeepSeek Harness six-layer, time-decaying memory, while lasting events and relationships settle into a knowledge graph. Bring your memories from other AIs with you—no need to start over.",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "bin": {
9
- "stratagate-dsh-repair": "dist/repair-profile.js"
10
- },
11
- "exports": {
12
- ".": {
13
- "types": "./dist/index.d.ts",
14
- "import": "./dist/index.js"
15
- },
16
- "./client": {
17
- "types": "./dist/client.d.ts",
18
- "default": "./dist/client.js"
19
- },
20
- "./cordis.patch.yml": "./cordis.patch.yml",
21
- "./package.json": "./package.json"
22
- },
23
- "files": [
24
- "dist",
25
- "cordis.patch.yml",
26
- "README.md",
27
- "README.zh-CN.md",
28
- "CONTRIBUTING.md",
29
- "CONTRIBUTING.zh-CN.md",
30
- "docs",
31
- "benchmarks/locomo-conv26-r8-final.json",
32
- "packages/core/examples/basic.ts",
33
- "packages/core/src/blocks.ts",
34
- "packages/core/src/weights.ts",
35
- "screenshots.json",
36
- "CHANGELOG.md",
37
- "LICENSE"
38
- ],
39
- "workspaces": [
40
- "packages/*",
41
- "integrations/workbuddy"
42
- ],
43
- "dsh": {
44
- "bundle": {
45
- "patch": "./cordis.patch.yml"
46
- },
47
- "client": {
48
- "inject": [
49
- "@deepseek-ai/dsh-client-ui-conversation"
50
- ],
51
- "platform": "web"
52
- }
53
- },
54
- "scripts": {
55
- "build": "npm run build:core && npm run build:dsh && npm run build:workbuddy",
56
- "build:dsh": "tsup && node scripts/build-client.mjs",
57
- "build:core": "npm run build --workspace @diqier/stratagate",
58
- "build:workbuddy": "npm run build --workspace stratagate-workbuddy",
59
- "check": "npm run check:core && npm run check:dsh && npm run check:workbuddy",
60
- "check:dsh": "tsc -p tsconfig.json --noEmit",
61
- "check:core": "npm run check --workspace @diqier/stratagate",
62
- "check:workbuddy": "npm run check --workspace stratagate-workbuddy",
63
- "test": "npm run test:core && npm run test:dsh && npm run test:workbuddy",
64
- "test:dsh": "vitest run --config vitest.config.ts",
65
- "test:profile-browser": "node scripts/test-profile-browser.mjs",
66
- "test:core": "npm run test --workspace @diqier/stratagate",
67
- "test:workbuddy": "npm run test --workspace stratagate-workbuddy",
68
- "verify:dsh": "npm run build:dsh && node scripts/verify-package.mjs && npm pack --ignore-scripts --pack-destination . && node scripts/verify-dsh-install.mjs",
69
- "verify:workbuddy": "npm run verify:package --workspace stratagate-workbuddy",
70
- "test:watch": "vitest --config vitest.config.ts",
71
- "prepare": "npm run build:dsh"
72
- },
73
- "keywords": [
74
- "memory",
75
- "dsh",
76
- "deepseek",
77
- "plugin",
78
- "agent",
79
- "cross-session",
80
- "evidence",
81
- "deepseek-harness",
82
- "dsh-plugin",
83
- "agent-memory",
84
- "cross-session-memory",
85
- "persistent-memory",
86
- "project-memory",
87
- "conversation-memory",
88
- "long-term-memory",
89
- "local-first",
90
- "time-decay",
91
- "usage-reinforcement",
92
- "source-traceability",
93
- "source-tracing",
94
- "evidence-gate"
95
- ],
96
- "repository": {
97
- "type": "git",
98
- "url": "git+https://github.com/diqierjia/StrataGate-AgentMemory.git"
99
- },
100
- "bugs": {
101
- "url": "https://github.com/diqierjia/StrataGate-AgentMemory/issues"
102
- },
103
- "homepage": "https://github.com/diqierjia/StrataGate-AgentMemory#readme",
104
- "license": "MIT",
105
- "dshWorkshop": {
106
- "schema": "omdsh-workshop-package/v1",
107
- "type": "plugin",
108
- "integration": {
109
- "protocol": "harness-profile",
110
- "artifact": "cordis.patch.yml"
111
- },
112
- "install": {
113
- "mode": "transactional",
114
- "adapter": "profile-bundle",
115
- "failurePolicy": "generation-rollback",
116
- "touchesCurrentBeforeActivation": false
117
- },
118
- "lifecycle": {
119
- "activation": "restart-profile",
120
- "dispose": "supported"
121
- },
122
- "compatibility": {
123
- "dshVersions": [
124
- "0.1.2-rc.1",
125
- "0.1.5-rc.1",
126
- "0.1.6-alpha.1",
127
- "0.1.7-rc.1",
128
- "0.1.7-rc.2",
129
- "0.2.0-rc.1",
130
- "0.2.0-rc.2"
131
- ]
132
- },
133
- "permissions": [
134
- "harness:tool",
135
- "filesystem:read",
136
- "filesystem:write",
137
- "network:none",
138
- "subprocess:none",
139
- "shell:none",
140
- "python:none",
141
- "credentials:none"
142
- ],
143
- "capability": {
144
- "id": "memory_search_events",
145
- "kind": "tool",
146
- "invocation": "Invoke memory_search_events with a project-memory query after profile activation.",
147
- "expected": "The DSH tool registry exposes memory_search_events and returns an evidence-gated retrieval batch."
148
- },
149
- "evidence": {
150
- "install": "tests/plugin.test.ts",
151
- "failureIsolation": null,
152
- "hotReload": null,
153
- "remove": null
154
- }
155
- },
156
- "publishConfig": {
157
- "access": "public"
158
- },
159
- "engines": {
160
- "dsh": "0.1.2-rc.1 || >=0.1.5-rc.1 <0.3.0-0",
161
- "node": "^22.19.0 || >=24.0.0"
162
- },
163
- "peerDependencies": {
164
- "@deepseek-ai/cordis": "4.0.2 || ~4.0.4",
165
- "@deepseek-ai/dsh-agent-default-model": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
166
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
167
- "@deepseek-ai/dsh-llm": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
168
- "@deepseek-ai/dsh-native-command": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
169
- "@deepseek-ai/dsh-session": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
170
- "@deepseek-ai/dsh-session-format": ">=0.1.5-rc.2 <0.3.0-0",
171
- "@deepseek-ai/dsh-session-format-catalog": ">=0.1.5-rc.2 <0.3.0-0",
172
- "@deepseek-ai/dsh-session-format-v0-to-v1": ">=0.1.5-rc.2 <0.3.0-0",
173
- "@deepseek-ai/dsh-settings": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
174
- "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
175
- "@deepseek-ai/dsh-tools": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
176
- "@deepseek-ai/schemastery": "3.18.2 || ~3.18.4"
177
- },
178
- "peerDependenciesMeta": {
179
- "@deepseek-ai/cordis": {
180
- "optional": true
181
- },
182
- "@deepseek-ai/dsh-agent-default-model": {
183
- "optional": true
184
- },
185
- "@deepseek-ai/dsh-client-ui-conversation": {
186
- "optional": true
187
- },
188
- "@deepseek-ai/dsh-llm": {
189
- "optional": true
190
- },
191
- "@deepseek-ai/dsh-native-command": {
192
- "optional": true
193
- },
194
- "@deepseek-ai/dsh-session": {
195
- "optional": true
196
- },
197
- "@deepseek-ai/dsh-session-format": {
198
- "optional": true
199
- },
200
- "@deepseek-ai/dsh-session-format-catalog": {
201
- "optional": true
202
- },
203
- "@deepseek-ai/dsh-session-format-v0-to-v1": {
204
- "optional": true
205
- },
206
- "@deepseek-ai/dsh-settings": {
207
- "optional": true
208
- },
209
- "@deepseek-ai/dsh-system-prompt": {
210
- "optional": true
211
- },
212
- "@deepseek-ai/dsh-tools": {
213
- "optional": true
214
- },
215
- "@deepseek-ai/schemastery": {
216
- "optional": true
217
- }
218
- },
219
- "devDependencies": {
220
- "@deepseek-ai/cordis": "4.0.4",
221
- "@deepseek-ai/dsh": "0.2.0-rc.2",
222
- "@deepseek-ai/dsh-agent-default-model": "0.2.0-rc.2",
223
- "@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
224
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
225
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
226
- "@deepseek-ai/dsh-native-command": "0.2.0-rc.2",
227
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
228
- "@deepseek-ai/dsh-session-format": "0.2.0-rc.2",
229
- "@deepseek-ai/dsh-session-format-catalog": "0.2.0-rc.2",
230
- "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.0-rc.2",
231
- "@deepseek-ai/dsh-settings": "0.2.0-rc.2",
232
- "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
233
- "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
234
- "@deepseek-ai/schemastery": "3.18.4",
235
- "@types/node": "^22.0.0",
236
- "@types/semver": "^7.8.0",
237
- "cytoscape": "^3.34.1",
238
- "cytoscape-fcose": "^2.2.0",
239
- "esbuild": "^0.28.2",
240
- "playwright-core": "^1.63.0",
241
- "tsup": "^8.5.0",
242
- "typescript": "^5.7.0",
243
- "vitest": "^3.0.0"
244
- },
245
- "dependencies": {
246
- "ngraph.graph": "^20.1.2",
247
- "ngraph.leiden": "^0.3.0",
248
- "semver": "^7.8.5"
249
- },
250
- "directories": {
251
- "doc": "docs",
252
- "test": "tests"
253
- },
254
- "author": ""
255
- }
1
+ {
2
+ "name": "stratagate-dsh",
3
+ "version": "0.3.35",
4
+ "description": "Recent conversations stay vivid. Older ones fade into summaries, not oblivion. StrataGate gives DeepSeek Harness six-layer, time-decaying memory, while lasting events and relationships settle into a knowledge graph. Bring your memories from other AIs with you—no need to start over.",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "bin": {
9
+ "stratagate-dsh-repair": "dist/repair-profile.js"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ },
16
+ "./client": {
17
+ "types": "./dist/client.d.ts",
18
+ "default": "./dist/client.js"
19
+ },
20
+ "./cordis.patch.yml": "./cordis.patch.yml",
21
+ "./package.json": "./package.json"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "cordis.patch.yml",
26
+ "README.md",
27
+ "README.zh-CN.md",
28
+ "CONTRIBUTING.md",
29
+ "CONTRIBUTING.zh-CN.md",
30
+ "docs",
31
+ "benchmarks/locomo-conv26-r8-final.json",
32
+ "packages/core/examples/basic.ts",
33
+ "packages/core/src/blocks.ts",
34
+ "packages/core/src/weights.ts",
35
+ "screenshots.json",
36
+ "CHANGELOG.md",
37
+ "LICENSE"
38
+ ],
39
+ "workspaces": [
40
+ "packages/*",
41
+ "integrations/workbuddy"
42
+ ],
43
+ "dsh": {
44
+ "bundle": {
45
+ "patch": "./cordis.patch.yml"
46
+ },
47
+ "client": {
48
+ "inject": [
49
+ "@deepseek-ai/dsh-client-ui-conversation"
50
+ ],
51
+ "platform": "web"
52
+ }
53
+ },
54
+ "scripts": {
55
+ "build": "npm run build:core && npm run build:dsh && npm run build:workbuddy",
56
+ "build:dsh": "tsup && node scripts/build-client.mjs",
57
+ "build:core": "npm run build --workspace @diqier/stratagate",
58
+ "build:workbuddy": "npm run build --workspace stratagate-workbuddy",
59
+ "check": "npm run check:core && npm run check:dsh && npm run check:workbuddy",
60
+ "check:dsh": "tsc -p tsconfig.json --noEmit",
61
+ "check:core": "npm run check --workspace @diqier/stratagate",
62
+ "check:workbuddy": "npm run check --workspace stratagate-workbuddy",
63
+ "test": "npm run test:core && npm run test:dsh && npm run test:workbuddy",
64
+ "test:dsh": "vitest run --config vitest.config.ts",
65
+ "test:profile-browser": "node scripts/test-profile-browser.mjs",
66
+ "test:core": "npm run test --workspace @diqier/stratagate",
67
+ "test:workbuddy": "npm run test --workspace stratagate-workbuddy",
68
+ "verify:dsh": "npm run build:dsh && node scripts/verify-package.mjs && npm pack --ignore-scripts --pack-destination . && node scripts/verify-dsh-install.mjs",
69
+ "verify:workbuddy": "npm run verify:package --workspace stratagate-workbuddy",
70
+ "test:watch": "vitest --config vitest.config.ts",
71
+ "prepare": "npm run build:dsh"
72
+ },
73
+ "keywords": [
74
+ "memory",
75
+ "dsh",
76
+ "deepseek",
77
+ "plugin",
78
+ "agent",
79
+ "cross-session",
80
+ "evidence",
81
+ "deepseek-harness",
82
+ "dsh-plugin",
83
+ "agent-memory",
84
+ "cross-session-memory",
85
+ "persistent-memory",
86
+ "project-memory",
87
+ "conversation-memory",
88
+ "long-term-memory",
89
+ "local-first",
90
+ "time-decay",
91
+ "usage-reinforcement",
92
+ "source-traceability",
93
+ "source-tracing",
94
+ "evidence-gate"
95
+ ],
96
+ "repository": {
97
+ "type": "git",
98
+ "url": "git+https://github.com/diqierjia/StrataGate-AgentMemory.git"
99
+ },
100
+ "bugs": {
101
+ "url": "https://github.com/diqierjia/StrataGate-AgentMemory/issues"
102
+ },
103
+ "homepage": "https://github.com/diqierjia/StrataGate-AgentMemory#readme",
104
+ "license": "MIT",
105
+ "dshWorkshop": {
106
+ "schema": "omdsh-workshop-package/v1",
107
+ "type": "plugin",
108
+ "integration": {
109
+ "protocol": "harness-profile",
110
+ "artifact": "cordis.patch.yml"
111
+ },
112
+ "install": {
113
+ "mode": "transactional",
114
+ "adapter": "profile-bundle",
115
+ "failurePolicy": "generation-rollback",
116
+ "touchesCurrentBeforeActivation": false
117
+ },
118
+ "lifecycle": {
119
+ "activation": "restart-profile",
120
+ "dispose": "supported"
121
+ },
122
+ "compatibility": {
123
+ "dshVersions": [
124
+ "0.1.2-rc.1",
125
+ "0.1.5-rc.1",
126
+ "0.1.6-alpha.1",
127
+ "0.1.7-rc.1",
128
+ "0.1.7-rc.2",
129
+ "0.2.0-rc.1",
130
+ "0.2.0-rc.2"
131
+ ]
132
+ },
133
+ "permissions": [
134
+ "harness:tool",
135
+ "filesystem:read",
136
+ "filesystem:write",
137
+ "network:none",
138
+ "subprocess:none",
139
+ "shell:none",
140
+ "python:none",
141
+ "credentials:none"
142
+ ],
143
+ "capability": {
144
+ "id": "memory_search_events",
145
+ "kind": "tool",
146
+ "invocation": "Invoke memory_search_events with a project-memory query after profile activation.",
147
+ "expected": "The DSH tool registry exposes memory_search_events and returns an evidence-gated retrieval batch."
148
+ },
149
+ "evidence": {
150
+ "install": "tests/plugin.test.ts",
151
+ "failureIsolation": null,
152
+ "hotReload": null,
153
+ "remove": null
154
+ }
155
+ },
156
+ "publishConfig": {
157
+ "access": "public"
158
+ },
159
+ "engines": {
160
+ "dsh": "0.1.2-rc.1 || >=0.1.5-rc.1 <0.3.0-0",
161
+ "node": "^22.19.0 || >=24.0.0"
162
+ },
163
+ "peerDependencies": {
164
+ "@deepseek-ai/cordis": "4.0.2 || ~4.0.4",
165
+ "@deepseek-ai/dsh-agent-default-model": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
166
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
167
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
168
+ "@deepseek-ai/dsh-native-command": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
169
+ "@deepseek-ai/dsh-session": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
170
+ "@deepseek-ai/dsh-session-format": ">=0.1.5-rc.2 <0.3.0-0",
171
+ "@deepseek-ai/dsh-session-format-catalog": ">=0.1.5-rc.2 <0.3.0-0",
172
+ "@deepseek-ai/dsh-session-format-v0-to-v1": ">=0.1.5-rc.2 <0.3.0-0",
173
+ "@deepseek-ai/dsh-settings": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
174
+ "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
175
+ "@deepseek-ai/dsh-tools": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
176
+ "@deepseek-ai/schemastery": "3.18.2 || ~3.18.4"
177
+ },
178
+ "peerDependenciesMeta": {
179
+ "@deepseek-ai/cordis": {
180
+ "optional": true
181
+ },
182
+ "@deepseek-ai/dsh-agent-default-model": {
183
+ "optional": true
184
+ },
185
+ "@deepseek-ai/dsh-client-ui-conversation": {
186
+ "optional": true
187
+ },
188
+ "@deepseek-ai/dsh-llm": {
189
+ "optional": true
190
+ },
191
+ "@deepseek-ai/dsh-native-command": {
192
+ "optional": true
193
+ },
194
+ "@deepseek-ai/dsh-session": {
195
+ "optional": true
196
+ },
197
+ "@deepseek-ai/dsh-session-format": {
198
+ "optional": true
199
+ },
200
+ "@deepseek-ai/dsh-session-format-catalog": {
201
+ "optional": true
202
+ },
203
+ "@deepseek-ai/dsh-session-format-v0-to-v1": {
204
+ "optional": true
205
+ },
206
+ "@deepseek-ai/dsh-settings": {
207
+ "optional": true
208
+ },
209
+ "@deepseek-ai/dsh-system-prompt": {
210
+ "optional": true
211
+ },
212
+ "@deepseek-ai/dsh-tools": {
213
+ "optional": true
214
+ },
215
+ "@deepseek-ai/schemastery": {
216
+ "optional": true
217
+ }
218
+ },
219
+ "devDependencies": {
220
+ "@deepseek-ai/cordis": "4.0.4",
221
+ "@deepseek-ai/dsh": "0.2.0-rc.2",
222
+ "@deepseek-ai/dsh-agent-default-model": "0.2.0-rc.2",
223
+ "@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
224
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
225
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
226
+ "@deepseek-ai/dsh-native-command": "0.2.0-rc.2",
227
+ "@deepseek-ai/dsh-session": "0.2.0-rc.2",
228
+ "@deepseek-ai/dsh-session-format": "0.2.0-rc.2",
229
+ "@deepseek-ai/dsh-session-format-catalog": "0.2.0-rc.2",
230
+ "@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.0-rc.2",
231
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.2",
232
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
233
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
234
+ "@deepseek-ai/schemastery": "3.18.4",
235
+ "@types/node": "^22.0.0",
236
+ "@types/semver": "^7.8.0",
237
+ "cytoscape": "^3.34.1",
238
+ "cytoscape-fcose": "^2.2.0",
239
+ "esbuild": "^0.28.2",
240
+ "playwright-core": "^1.63.0",
241
+ "tsup": "^8.5.0",
242
+ "typescript": "^5.7.0",
243
+ "vitest": "^3.0.0"
244
+ },
245
+ "dependencies": {
246
+ "ngraph.graph": "^20.1.2",
247
+ "ngraph.leiden": "^0.3.0",
248
+ "semver": "^7.8.5"
249
+ },
250
+ "directories": {
251
+ "doc": "docs",
252
+ "test": "tests"
253
+ },
254
+ "author": ""
255
+ }