stratagate-dsh 0.3.21 → 0.3.22
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/CHANGELOG.md +719 -714
- package/dist/client.js +2 -2
- package/dist/plugin.js +50 -13
- package/dist/plugin.js.map +1 -1
- package/docs/DSH.md +31 -0
- package/docs/DSH.zh-CN.md +25 -0
- package/package.json +249 -249
package/docs/DSH.md
CHANGED
|
@@ -166,6 +166,37 @@ blocks, and `open_tail_pending` means matching turns exist but have not sealed y
|
|
|
166
166
|
so a raw hit's `blockId` can be followed by `memory_get_blocks(scope=namespace)`
|
|
167
167
|
or `memory_expand_block` without an unexplained visibility mismatch.
|
|
168
168
|
|
|
169
|
+
The three search tools (`memory_search_events`, `memory_search_graph`, `memory_search_raw`)
|
|
170
|
+
add `retrievalStatus` to the existing `batchId/evidenceRefs/results` response and
|
|
171
|
+
include `retrievalHint` for empty results:
|
|
172
|
+
|
|
173
|
+
| retrievalStatus | Meaning |
|
|
174
|
+
| --- | --- |
|
|
175
|
+
| `matched` | Matches returned; relevance and sufficiency still require assessment. |
|
|
176
|
+
| `scope_empty` | This tool has no searchable records in the selected scope. |
|
|
177
|
+
| `no_match` | Searchable records exist, but this query, filters, or page returned no matches. |
|
|
178
|
+
| `unknown` | Scope availability cannot be established reliably, such as with an older Core without a scope probe. |
|
|
179
|
+
|
|
180
|
+
The `no_match` hint is “本次检索未找到匹配,不能据此断言相关记忆不存在。”
|
|
181
|
+
(This search found no match; that does not establish that the memory does not exist.)
|
|
182
|
+
Agents must never infer “you never said that” or “there is no such memory” from empty results.
|
|
183
|
+
Event availability uses active/superseded Events in the current namespace, excluding
|
|
184
|
+
the agent pool when its retrieval weight is zero. Topic, type, participant, time and
|
|
185
|
+
pagination restrictions do not make that corpus empty. Graph availability uses the
|
|
186
|
+
same Event-authoritative visibility as search. Raw availability considers only sealed
|
|
187
|
+
messages with searchable text in the selected namespace/session, using strict message
|
|
188
|
+
threadId filtering; open tails are outside Raw search. No status discloses other scopes
|
|
189
|
+
or describes the corpus of another tool.
|
|
190
|
+
|
|
191
|
+
Search and scope-probe failures retain the existing tool error protocol; no synthetic
|
|
192
|
+
index-readiness state is reported. Raw's existing fallback scan can still complete a
|
|
193
|
+
search after an index-query failure; search failures remain errors. Automatic activation
|
|
194
|
+
keeps the short `(no memory selected for automatic context)` marker. No query, no match,
|
|
195
|
+
current-session exclusions and budget clipping can all produce an empty selection, so
|
|
196
|
+
no search status is inferred. The standing protocol explains this once, avoiding a long
|
|
197
|
+
repeated hint each turn. Status metadata creates no evidence refs and cannot be adopted
|
|
198
|
+
or reinforced; empty batches still close with `[]` under the existing rules.
|
|
199
|
+
|
|
169
200
|
The deprecated `memory_search_elements` tool is no longer registered; use
|
|
170
201
|
`memory_search_graph`. Legacy agent-memory provenance transcripts display `Recorded:`
|
|
171
202
|
while preserving the stored raw messages.
|
package/docs/DSH.zh-CN.md
CHANGED
|
@@ -142,6 +142,31 @@ memory_profile_update
|
|
|
142
142
|
`scope` 过滤,`scope=session` 同样严格按 threadId 匹配。因此可以用 `memory_get_blocks(scope=namespace)` 或 `memory_expand_block`
|
|
143
143
|
继续浏览 raw 命中的 `blockId`,不会再出现范围不明的空结果。
|
|
144
144
|
|
|
145
|
+
三个搜索工具 `memory_search_events`、`memory_search_graph`、`memory_search_raw` 在原有
|
|
146
|
+
`batchId/evidenceRefs/results` 之外增量返回 `retrievalStatus`,空结果附带 `retrievalHint`:
|
|
147
|
+
|
|
148
|
+
| retrievalStatus | 含义 |
|
|
149
|
+
| --- | --- |
|
|
150
|
+
| `matched` | 本次返回了匹配结果;仍需评估其相关性与充分性。 |
|
|
151
|
+
| `scope_empty` | 当前工具在所选范围内没有可搜索记录,不代表从未记录过。 |
|
|
152
|
+
| `no_match` | 范围内有可搜索记录,但本次查询、条件或分页没有返回匹配。 |
|
|
153
|
+
| `unknown` | 旧 Core 缺少范围探测能力等情况下无法可靠区分,不根据空结果猜测。 |
|
|
154
|
+
|
|
155
|
+
`no_match` 的提示固定为:“本次检索未找到匹配,不能据此断言相关记忆不存在。”
|
|
156
|
+
Agent 不得据空结果回答“没有这条记忆”或“你没说过”。Event 的范围以当前 namespace
|
|
157
|
+
内可见的 active/superseded 事件池为准,agent 池权重为 0 时不计入;topic、事件类型、参与者、
|
|
158
|
+
时间条件和 offset 不用于判定范围为空。Graph 使用与搜索一致的 Event 来源可见性,
|
|
159
|
+
没有可检索来源或已隐藏的节点不计入。Raw 只统计所选 namespace/session 中已封存、
|
|
160
|
+
含可搜索文本的消息,严格按消息 threadId 隔离;open tail 不属于 Raw 搜索范围。
|
|
161
|
+
这些状态不披露其他范围的数据,也不表示其他工具的数据范围为空。
|
|
162
|
+
|
|
163
|
+
检索及范围探测异常继续按原工具错误协议返回,不伪装成 `no_match` 或虚构索引状态。
|
|
164
|
+
Raw 现有索引查询失败后仍可使用原文扫描完成搜索;若搜索本身失败则报告错误。
|
|
165
|
+
自动激活沿用紧凑空标记 `(no memory selected for automatic context)`;无查询、未命中、
|
|
166
|
+
当前会话排除和预算裁剪都可能产生空选集,所以不为其猜测搜索状态。
|
|
167
|
+
常驻协议统一提醒空选集不证明记忆不存在,不每轮附加重复长提示。
|
|
168
|
+
状态与提示仅为检索元数据,不创建证据 ref,也不能被采用或强化;空批次仍按原规则以 `[]` 结算。
|
|
169
|
+
|
|
145
170
|
deprecated 的 `memory_search_elements` 已停止注册,请使用 `memory_search_graph`。
|
|
146
171
|
旧 agent-memory 来源块的转录展示改为 `Recorded:`,原始消息记录保持不变。
|
|
147
172
|
|
package/package.json
CHANGED
|
@@ -1,249 +1,249 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "stratagate-dsh",
|
|
3
|
-
"version": "0.3.
|
|
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
|
-
"docs",
|
|
29
|
-
"screenshots.json",
|
|
30
|
-
"CHANGELOG.md",
|
|
31
|
-
"LICENSE"
|
|
32
|
-
],
|
|
33
|
-
"workspaces": [
|
|
34
|
-
"packages/*",
|
|
35
|
-
"integrations/workbuddy"
|
|
36
|
-
],
|
|
37
|
-
"dsh": {
|
|
38
|
-
"bundle": {
|
|
39
|
-
"patch": "./cordis.patch.yml"
|
|
40
|
-
},
|
|
41
|
-
"client": {
|
|
42
|
-
"inject": [
|
|
43
|
-
"@deepseek-ai/dsh-client-ui-conversation"
|
|
44
|
-
],
|
|
45
|
-
"platform": "web"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"scripts": {
|
|
49
|
-
"build": "npm run build:core && npm run build:dsh && npm run build:workbuddy",
|
|
50
|
-
"build:dsh": "tsup && node scripts/build-client.mjs",
|
|
51
|
-
"build:core": "npm run build --workspace @diqier/stratagate",
|
|
52
|
-
"build:workbuddy": "npm run build --workspace stratagate-workbuddy",
|
|
53
|
-
"check": "npm run check:core && npm run check:dsh && npm run check:workbuddy",
|
|
54
|
-
"check:dsh": "tsc -p tsconfig.json --noEmit",
|
|
55
|
-
"check:core": "npm run check --workspace @diqier/stratagate",
|
|
56
|
-
"check:workbuddy": "npm run check --workspace stratagate-workbuddy",
|
|
57
|
-
"test": "npm run test:core && npm run test:dsh && npm run test:workbuddy",
|
|
58
|
-
"test:dsh": "vitest run --config vitest.config.ts",
|
|
59
|
-
"test:profile-browser": "node scripts/test-profile-browser.mjs",
|
|
60
|
-
"test:core": "npm run test --workspace @diqier/stratagate",
|
|
61
|
-
"test:workbuddy": "npm run test --workspace stratagate-workbuddy",
|
|
62
|
-
"verify:dsh": "npm run build:dsh && node scripts/verify-package.mjs && npm pack --ignore-scripts --pack-destination . && node scripts/verify-dsh-install.mjs",
|
|
63
|
-
"verify:workbuddy": "npm run verify:package --workspace stratagate-workbuddy",
|
|
64
|
-
"test:watch": "vitest --config vitest.config.ts",
|
|
65
|
-
"prepare": "npm run build:dsh"
|
|
66
|
-
},
|
|
67
|
-
"keywords": [
|
|
68
|
-
"memory",
|
|
69
|
-
"dsh",
|
|
70
|
-
"deepseek",
|
|
71
|
-
"plugin",
|
|
72
|
-
"agent",
|
|
73
|
-
"cross-session",
|
|
74
|
-
"evidence",
|
|
75
|
-
"deepseek-harness",
|
|
76
|
-
"dsh-plugin",
|
|
77
|
-
"agent-memory",
|
|
78
|
-
"cross-session-memory",
|
|
79
|
-
"persistent-memory",
|
|
80
|
-
"project-memory",
|
|
81
|
-
"conversation-memory",
|
|
82
|
-
"long-term-memory",
|
|
83
|
-
"local-first",
|
|
84
|
-
"time-decay",
|
|
85
|
-
"usage-reinforcement",
|
|
86
|
-
"source-traceability",
|
|
87
|
-
"source-tracing",
|
|
88
|
-
"evidence-gate"
|
|
89
|
-
],
|
|
90
|
-
"repository": {
|
|
91
|
-
"type": "git",
|
|
92
|
-
"url": "git+https://github.com/diqierjia/StrataGate-AgentMemory.git"
|
|
93
|
-
},
|
|
94
|
-
"bugs": {
|
|
95
|
-
"url": "https://github.com/diqierjia/StrataGate-AgentMemory/issues"
|
|
96
|
-
},
|
|
97
|
-
"homepage": "https://github.com/diqierjia/StrataGate-AgentMemory#readme",
|
|
98
|
-
"license": "MIT",
|
|
99
|
-
"dshWorkshop": {
|
|
100
|
-
"schema": "omdsh-workshop-package/v1",
|
|
101
|
-
"type": "plugin",
|
|
102
|
-
"integration": {
|
|
103
|
-
"protocol": "harness-profile",
|
|
104
|
-
"artifact": "cordis.patch.yml"
|
|
105
|
-
},
|
|
106
|
-
"install": {
|
|
107
|
-
"mode": "transactional",
|
|
108
|
-
"adapter": "profile-bundle",
|
|
109
|
-
"failurePolicy": "generation-rollback",
|
|
110
|
-
"touchesCurrentBeforeActivation": false
|
|
111
|
-
},
|
|
112
|
-
"lifecycle": {
|
|
113
|
-
"activation": "restart-profile",
|
|
114
|
-
"dispose": "supported"
|
|
115
|
-
},
|
|
116
|
-
"compatibility": {
|
|
117
|
-
"dshVersions": [
|
|
118
|
-
"0.1.2-rc.1",
|
|
119
|
-
"0.1.5-rc.1",
|
|
120
|
-
"0.1.6-alpha.1",
|
|
121
|
-
"0.1.7-rc.1",
|
|
122
|
-
"0.1.7-rc.2",
|
|
123
|
-
"0.2.0-rc.1",
|
|
124
|
-
"0.2.0-rc.2"
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
"permissions": [
|
|
128
|
-
"harness:tool",
|
|
129
|
-
"filesystem:read",
|
|
130
|
-
"filesystem:write",
|
|
131
|
-
"network:none",
|
|
132
|
-
"subprocess:none",
|
|
133
|
-
"shell:none",
|
|
134
|
-
"python:none",
|
|
135
|
-
"credentials:none"
|
|
136
|
-
],
|
|
137
|
-
"capability": {
|
|
138
|
-
"id": "memory_search_events",
|
|
139
|
-
"kind": "tool",
|
|
140
|
-
"invocation": "Invoke memory_search_events with a project-memory query after profile activation.",
|
|
141
|
-
"expected": "The DSH tool registry exposes memory_search_events and returns an evidence-gated retrieval batch."
|
|
142
|
-
},
|
|
143
|
-
"evidence": {
|
|
144
|
-
"install": "tests/plugin.test.ts",
|
|
145
|
-
"failureIsolation": null,
|
|
146
|
-
"hotReload": null,
|
|
147
|
-
"remove": null
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"publishConfig": {
|
|
151
|
-
"access": "public"
|
|
152
|
-
},
|
|
153
|
-
"engines": {
|
|
154
|
-
"dsh": "0.1.2-rc.1 || >=0.1.5-rc.1 <0.3.0-0",
|
|
155
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
156
|
-
},
|
|
157
|
-
"peerDependencies": {
|
|
158
|
-
"@deepseek-ai/cordis": "4.0.2 || ~4.0.4",
|
|
159
|
-
"@deepseek-ai/dsh-agent-default-model": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
160
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
161
|
-
"@deepseek-ai/dsh-llm": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
162
|
-
"@deepseek-ai/dsh-native-command": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
163
|
-
"@deepseek-ai/dsh-session": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
164
|
-
"@deepseek-ai/dsh-session-format": ">=0.1.5-rc.2 <0.3.0-0",
|
|
165
|
-
"@deepseek-ai/dsh-session-format-catalog": ">=0.1.5-rc.2 <0.3.0-0",
|
|
166
|
-
"@deepseek-ai/dsh-session-format-v0-to-v1": ">=0.1.5-rc.2 <0.3.0-0",
|
|
167
|
-
"@deepseek-ai/dsh-settings": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
168
|
-
"@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
169
|
-
"@deepseek-ai/dsh-tools": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
170
|
-
"@deepseek-ai/schemastery": "3.18.2 || ~3.18.4"
|
|
171
|
-
},
|
|
172
|
-
"peerDependenciesMeta": {
|
|
173
|
-
"@deepseek-ai/cordis": {
|
|
174
|
-
"optional": true
|
|
175
|
-
},
|
|
176
|
-
"@deepseek-ai/dsh-agent-default-model": {
|
|
177
|
-
"optional": true
|
|
178
|
-
},
|
|
179
|
-
"@deepseek-ai/dsh-client-ui-conversation": {
|
|
180
|
-
"optional": true
|
|
181
|
-
},
|
|
182
|
-
"@deepseek-ai/dsh-llm": {
|
|
183
|
-
"optional": true
|
|
184
|
-
},
|
|
185
|
-
"@deepseek-ai/dsh-native-command": {
|
|
186
|
-
"optional": true
|
|
187
|
-
},
|
|
188
|
-
"@deepseek-ai/dsh-session": {
|
|
189
|
-
"optional": true
|
|
190
|
-
},
|
|
191
|
-
"@deepseek-ai/dsh-session-format": {
|
|
192
|
-
"optional": true
|
|
193
|
-
},
|
|
194
|
-
"@deepseek-ai/dsh-session-format-catalog": {
|
|
195
|
-
"optional": true
|
|
196
|
-
},
|
|
197
|
-
"@deepseek-ai/dsh-session-format-v0-to-v1": {
|
|
198
|
-
"optional": true
|
|
199
|
-
},
|
|
200
|
-
"@deepseek-ai/dsh-settings": {
|
|
201
|
-
"optional": true
|
|
202
|
-
},
|
|
203
|
-
"@deepseek-ai/dsh-system-prompt": {
|
|
204
|
-
"optional": true
|
|
205
|
-
},
|
|
206
|
-
"@deepseek-ai/dsh-tools": {
|
|
207
|
-
"optional": true
|
|
208
|
-
},
|
|
209
|
-
"@deepseek-ai/schemastery": {
|
|
210
|
-
"optional": true
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"devDependencies": {
|
|
214
|
-
"@deepseek-ai/cordis": "4.0.4",
|
|
215
|
-
"@deepseek-ai/dsh": "0.2.0-rc.2",
|
|
216
|
-
"@deepseek-ai/dsh-agent-default-model": "0.2.0-rc.2",
|
|
217
|
-
"@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
|
|
218
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
|
|
219
|
-
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
220
|
-
"@deepseek-ai/dsh-native-command": "0.2.0-rc.2",
|
|
221
|
-
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
222
|
-
"@deepseek-ai/dsh-session-format": "0.2.0-rc.2",
|
|
223
|
-
"@deepseek-ai/dsh-session-format-catalog": "0.2.0-rc.2",
|
|
224
|
-
"@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.0-rc.2",
|
|
225
|
-
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
226
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
227
|
-
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
228
|
-
"@deepseek-ai/schemastery": "3.18.4",
|
|
229
|
-
"@types/node": "^22.0.0",
|
|
230
|
-
"@types/semver": "^7.8.0",
|
|
231
|
-
"cytoscape": "^3.34.1",
|
|
232
|
-
"cytoscape-fcose": "^2.2.0",
|
|
233
|
-
"esbuild": "^0.28.2",
|
|
234
|
-
"playwright-core": "^1.63.0",
|
|
235
|
-
"tsup": "^8.5.0",
|
|
236
|
-
"typescript": "^5.7.0",
|
|
237
|
-
"vitest": "^3.0.0"
|
|
238
|
-
},
|
|
239
|
-
"dependencies": {
|
|
240
|
-
"ngraph.graph": "^20.1.2",
|
|
241
|
-
"ngraph.leiden": "^0.3.0",
|
|
242
|
-
"semver": "^7.8.5"
|
|
243
|
-
},
|
|
244
|
-
"directories": {
|
|
245
|
-
"doc": "docs",
|
|
246
|
-
"test": "tests"
|
|
247
|
-
},
|
|
248
|
-
"author": ""
|
|
249
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "stratagate-dsh",
|
|
3
|
+
"version": "0.3.22",
|
|
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
|
+
"docs",
|
|
29
|
+
"screenshots.json",
|
|
30
|
+
"CHANGELOG.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"workspaces": [
|
|
34
|
+
"packages/*",
|
|
35
|
+
"integrations/workbuddy"
|
|
36
|
+
],
|
|
37
|
+
"dsh": {
|
|
38
|
+
"bundle": {
|
|
39
|
+
"patch": "./cordis.patch.yml"
|
|
40
|
+
},
|
|
41
|
+
"client": {
|
|
42
|
+
"inject": [
|
|
43
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
44
|
+
],
|
|
45
|
+
"platform": "web"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "npm run build:core && npm run build:dsh && npm run build:workbuddy",
|
|
50
|
+
"build:dsh": "tsup && node scripts/build-client.mjs",
|
|
51
|
+
"build:core": "npm run build --workspace @diqier/stratagate",
|
|
52
|
+
"build:workbuddy": "npm run build --workspace stratagate-workbuddy",
|
|
53
|
+
"check": "npm run check:core && npm run check:dsh && npm run check:workbuddy",
|
|
54
|
+
"check:dsh": "tsc -p tsconfig.json --noEmit",
|
|
55
|
+
"check:core": "npm run check --workspace @diqier/stratagate",
|
|
56
|
+
"check:workbuddy": "npm run check --workspace stratagate-workbuddy",
|
|
57
|
+
"test": "npm run test:core && npm run test:dsh && npm run test:workbuddy",
|
|
58
|
+
"test:dsh": "vitest run --config vitest.config.ts",
|
|
59
|
+
"test:profile-browser": "node scripts/test-profile-browser.mjs",
|
|
60
|
+
"test:core": "npm run test --workspace @diqier/stratagate",
|
|
61
|
+
"test:workbuddy": "npm run test --workspace stratagate-workbuddy",
|
|
62
|
+
"verify:dsh": "npm run build:dsh && node scripts/verify-package.mjs && npm pack --ignore-scripts --pack-destination . && node scripts/verify-dsh-install.mjs",
|
|
63
|
+
"verify:workbuddy": "npm run verify:package --workspace stratagate-workbuddy",
|
|
64
|
+
"test:watch": "vitest --config vitest.config.ts",
|
|
65
|
+
"prepare": "npm run build:dsh"
|
|
66
|
+
},
|
|
67
|
+
"keywords": [
|
|
68
|
+
"memory",
|
|
69
|
+
"dsh",
|
|
70
|
+
"deepseek",
|
|
71
|
+
"plugin",
|
|
72
|
+
"agent",
|
|
73
|
+
"cross-session",
|
|
74
|
+
"evidence",
|
|
75
|
+
"deepseek-harness",
|
|
76
|
+
"dsh-plugin",
|
|
77
|
+
"agent-memory",
|
|
78
|
+
"cross-session-memory",
|
|
79
|
+
"persistent-memory",
|
|
80
|
+
"project-memory",
|
|
81
|
+
"conversation-memory",
|
|
82
|
+
"long-term-memory",
|
|
83
|
+
"local-first",
|
|
84
|
+
"time-decay",
|
|
85
|
+
"usage-reinforcement",
|
|
86
|
+
"source-traceability",
|
|
87
|
+
"source-tracing",
|
|
88
|
+
"evidence-gate"
|
|
89
|
+
],
|
|
90
|
+
"repository": {
|
|
91
|
+
"type": "git",
|
|
92
|
+
"url": "git+https://github.com/diqierjia/StrataGate-AgentMemory.git"
|
|
93
|
+
},
|
|
94
|
+
"bugs": {
|
|
95
|
+
"url": "https://github.com/diqierjia/StrataGate-AgentMemory/issues"
|
|
96
|
+
},
|
|
97
|
+
"homepage": "https://github.com/diqierjia/StrataGate-AgentMemory#readme",
|
|
98
|
+
"license": "MIT",
|
|
99
|
+
"dshWorkshop": {
|
|
100
|
+
"schema": "omdsh-workshop-package/v1",
|
|
101
|
+
"type": "plugin",
|
|
102
|
+
"integration": {
|
|
103
|
+
"protocol": "harness-profile",
|
|
104
|
+
"artifact": "cordis.patch.yml"
|
|
105
|
+
},
|
|
106
|
+
"install": {
|
|
107
|
+
"mode": "transactional",
|
|
108
|
+
"adapter": "profile-bundle",
|
|
109
|
+
"failurePolicy": "generation-rollback",
|
|
110
|
+
"touchesCurrentBeforeActivation": false
|
|
111
|
+
},
|
|
112
|
+
"lifecycle": {
|
|
113
|
+
"activation": "restart-profile",
|
|
114
|
+
"dispose": "supported"
|
|
115
|
+
},
|
|
116
|
+
"compatibility": {
|
|
117
|
+
"dshVersions": [
|
|
118
|
+
"0.1.2-rc.1",
|
|
119
|
+
"0.1.5-rc.1",
|
|
120
|
+
"0.1.6-alpha.1",
|
|
121
|
+
"0.1.7-rc.1",
|
|
122
|
+
"0.1.7-rc.2",
|
|
123
|
+
"0.2.0-rc.1",
|
|
124
|
+
"0.2.0-rc.2"
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
"permissions": [
|
|
128
|
+
"harness:tool",
|
|
129
|
+
"filesystem:read",
|
|
130
|
+
"filesystem:write",
|
|
131
|
+
"network:none",
|
|
132
|
+
"subprocess:none",
|
|
133
|
+
"shell:none",
|
|
134
|
+
"python:none",
|
|
135
|
+
"credentials:none"
|
|
136
|
+
],
|
|
137
|
+
"capability": {
|
|
138
|
+
"id": "memory_search_events",
|
|
139
|
+
"kind": "tool",
|
|
140
|
+
"invocation": "Invoke memory_search_events with a project-memory query after profile activation.",
|
|
141
|
+
"expected": "The DSH tool registry exposes memory_search_events and returns an evidence-gated retrieval batch."
|
|
142
|
+
},
|
|
143
|
+
"evidence": {
|
|
144
|
+
"install": "tests/plugin.test.ts",
|
|
145
|
+
"failureIsolation": null,
|
|
146
|
+
"hotReload": null,
|
|
147
|
+
"remove": null
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"publishConfig": {
|
|
151
|
+
"access": "public"
|
|
152
|
+
},
|
|
153
|
+
"engines": {
|
|
154
|
+
"dsh": "0.1.2-rc.1 || >=0.1.5-rc.1 <0.3.0-0",
|
|
155
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
156
|
+
},
|
|
157
|
+
"peerDependencies": {
|
|
158
|
+
"@deepseek-ai/cordis": "4.0.2 || ~4.0.4",
|
|
159
|
+
"@deepseek-ai/dsh-agent-default-model": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
160
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
161
|
+
"@deepseek-ai/dsh-llm": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
162
|
+
"@deepseek-ai/dsh-native-command": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
163
|
+
"@deepseek-ai/dsh-session": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
164
|
+
"@deepseek-ai/dsh-session-format": ">=0.1.5-rc.2 <0.3.0-0",
|
|
165
|
+
"@deepseek-ai/dsh-session-format-catalog": ">=0.1.5-rc.2 <0.3.0-0",
|
|
166
|
+
"@deepseek-ai/dsh-session-format-v0-to-v1": ">=0.1.5-rc.2 <0.3.0-0",
|
|
167
|
+
"@deepseek-ai/dsh-settings": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
168
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
169
|
+
"@deepseek-ai/dsh-tools": "0.1.2-rc.1 || >=0.1.5-rc.2 <0.3.0-0",
|
|
170
|
+
"@deepseek-ai/schemastery": "3.18.2 || ~3.18.4"
|
|
171
|
+
},
|
|
172
|
+
"peerDependenciesMeta": {
|
|
173
|
+
"@deepseek-ai/cordis": {
|
|
174
|
+
"optional": true
|
|
175
|
+
},
|
|
176
|
+
"@deepseek-ai/dsh-agent-default-model": {
|
|
177
|
+
"optional": true
|
|
178
|
+
},
|
|
179
|
+
"@deepseek-ai/dsh-client-ui-conversation": {
|
|
180
|
+
"optional": true
|
|
181
|
+
},
|
|
182
|
+
"@deepseek-ai/dsh-llm": {
|
|
183
|
+
"optional": true
|
|
184
|
+
},
|
|
185
|
+
"@deepseek-ai/dsh-native-command": {
|
|
186
|
+
"optional": true
|
|
187
|
+
},
|
|
188
|
+
"@deepseek-ai/dsh-session": {
|
|
189
|
+
"optional": true
|
|
190
|
+
},
|
|
191
|
+
"@deepseek-ai/dsh-session-format": {
|
|
192
|
+
"optional": true
|
|
193
|
+
},
|
|
194
|
+
"@deepseek-ai/dsh-session-format-catalog": {
|
|
195
|
+
"optional": true
|
|
196
|
+
},
|
|
197
|
+
"@deepseek-ai/dsh-session-format-v0-to-v1": {
|
|
198
|
+
"optional": true
|
|
199
|
+
},
|
|
200
|
+
"@deepseek-ai/dsh-settings": {
|
|
201
|
+
"optional": true
|
|
202
|
+
},
|
|
203
|
+
"@deepseek-ai/dsh-system-prompt": {
|
|
204
|
+
"optional": true
|
|
205
|
+
},
|
|
206
|
+
"@deepseek-ai/dsh-tools": {
|
|
207
|
+
"optional": true
|
|
208
|
+
},
|
|
209
|
+
"@deepseek-ai/schemastery": {
|
|
210
|
+
"optional": true
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"devDependencies": {
|
|
214
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
215
|
+
"@deepseek-ai/dsh": "0.2.0-rc.2",
|
|
216
|
+
"@deepseek-ai/dsh-agent-default-model": "0.2.0-rc.2",
|
|
217
|
+
"@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
|
|
218
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
|
|
219
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
220
|
+
"@deepseek-ai/dsh-native-command": "0.2.0-rc.2",
|
|
221
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
222
|
+
"@deepseek-ai/dsh-session-format": "0.2.0-rc.2",
|
|
223
|
+
"@deepseek-ai/dsh-session-format-catalog": "0.2.0-rc.2",
|
|
224
|
+
"@deepseek-ai/dsh-session-format-v0-to-v1": "0.2.0-rc.2",
|
|
225
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.2",
|
|
226
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
227
|
+
"@deepseek-ai/dsh-tools": "0.2.0-rc.2",
|
|
228
|
+
"@deepseek-ai/schemastery": "3.18.4",
|
|
229
|
+
"@types/node": "^22.0.0",
|
|
230
|
+
"@types/semver": "^7.8.0",
|
|
231
|
+
"cytoscape": "^3.34.1",
|
|
232
|
+
"cytoscape-fcose": "^2.2.0",
|
|
233
|
+
"esbuild": "^0.28.2",
|
|
234
|
+
"playwright-core": "^1.63.0",
|
|
235
|
+
"tsup": "^8.5.0",
|
|
236
|
+
"typescript": "^5.7.0",
|
|
237
|
+
"vitest": "^3.0.0"
|
|
238
|
+
},
|
|
239
|
+
"dependencies": {
|
|
240
|
+
"ngraph.graph": "^20.1.2",
|
|
241
|
+
"ngraph.leiden": "^0.3.0",
|
|
242
|
+
"semver": "^7.8.5"
|
|
243
|
+
},
|
|
244
|
+
"directories": {
|
|
245
|
+
"doc": "docs",
|
|
246
|
+
"test": "tests"
|
|
247
|
+
},
|
|
248
|
+
"author": ""
|
|
249
|
+
}
|