stratagate-dsh 0.2.32 → 0.2.34
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 +201 -190
- package/LICENSE +21 -21
- package/README.md +177 -166
- package/cordis.patch.yml +13 -13
- package/dist/client.d.ts +1 -1
- package/dist/index.js +239 -85
- package/dist/index.js.map +1 -1
- package/docs/README.zh-CN.md +175 -166
- package/package.json +153 -153
package/package.json
CHANGED
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "stratagate-dsh",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Automatic local-first cross-session memory for DeepSeek Harness with source-traceable recall",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./client": {
|
|
14
|
-
"types": "./dist/client.d.ts",
|
|
15
|
-
"default": "./dist/client.js"
|
|
16
|
-
},
|
|
17
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
18
|
-
"./package.json": "./package.json"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"dist",
|
|
22
|
-
"cordis.patch.yml",
|
|
23
|
-
"README.md",
|
|
24
|
-
"docs/README.zh-CN.md",
|
|
25
|
-
"CHANGELOG.md",
|
|
26
|
-
"LICENSE"
|
|
27
|
-
],
|
|
28
|
-
"dsh": {
|
|
29
|
-
"bundle": {
|
|
30
|
-
"patch": "./cordis.patch.yml"
|
|
31
|
-
},
|
|
32
|
-
"client": {
|
|
33
|
-
"inject": [
|
|
34
|
-
"@deepseek-ai/dsh-client-runtime"
|
|
35
|
-
],
|
|
36
|
-
"platform": "web"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"scripts": {
|
|
40
|
-
"build": "tsup && node scripts/build-client.mjs",
|
|
41
|
-
"check": "tsc -p tsconfig.json --noEmit",
|
|
42
|
-
"test": "vitest run --config vitest.config.ts",
|
|
43
|
-
"verify:package": "node scripts/verify-package.mjs",
|
|
44
|
-
"prepare": "npm run build"
|
|
45
|
-
},
|
|
46
|
-
"keywords": [
|
|
47
|
-
"memory",
|
|
48
|
-
"dsh",
|
|
49
|
-
"deepseek",
|
|
50
|
-
"plugin",
|
|
51
|
-
"agent",
|
|
52
|
-
"cross-session",
|
|
53
|
-
"evidence",
|
|
54
|
-
"deepseek-harness",
|
|
55
|
-
"dsh-plugin",
|
|
56
|
-
"agent-memory",
|
|
57
|
-
"cross-session-memory",
|
|
58
|
-
"persistent-memory",
|
|
59
|
-
"project-memory",
|
|
60
|
-
"conversation-memory",
|
|
61
|
-
"long-term-memory",
|
|
62
|
-
"local-first",
|
|
63
|
-
"time-decay",
|
|
64
|
-
"usage-reinforcement",
|
|
65
|
-
"source-traceability",
|
|
66
|
-
"source-tracing",
|
|
67
|
-
"evidence-gate"
|
|
68
|
-
],
|
|
69
|
-
"repository": {
|
|
70
|
-
"type": "git",
|
|
71
|
-
"url": "git+https://github.com/diqierjia/StrataGate-AgentMemory.git",
|
|
72
|
-
"directory": "integrations/deepseek-harness"
|
|
73
|
-
},
|
|
74
|
-
"license": "MIT",
|
|
75
|
-
"dshWorkshop": {
|
|
76
|
-
"schema": "omdsh-workshop-package/v1",
|
|
77
|
-
"type": "plugin",
|
|
78
|
-
"integration": {
|
|
79
|
-
"protocol": "harness-profile",
|
|
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"
|
|
91
|
-
},
|
|
92
|
-
"compatibility": {
|
|
93
|
-
"dshVersions": [
|
|
94
|
-
"0.1.0-rc.6",
|
|
95
|
-
"0.1.0-rc.7"
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
"permissions": [
|
|
99
|
-
"harness:tool",
|
|
100
|
-
"filesystem:read",
|
|
101
|
-
"filesystem:write",
|
|
102
|
-
"network:none",
|
|
103
|
-
"subprocess:none",
|
|
104
|
-
"shell:none",
|
|
105
|
-
"python:none",
|
|
106
|
-
"credentials:none"
|
|
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"
|
|
126
|
-
},
|
|
127
|
-
"peerDependencies": {
|
|
128
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
129
|
-
"@deepseek-ai/dsh-agent-default-model": ">=0.1.0-rc.6 <0.2.0",
|
|
130
|
-
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6 <0.2.0",
|
|
131
|
-
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6 <0.2.0",
|
|
132
|
-
"@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.6 <0.2.0",
|
|
133
|
-
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.6 <0.2.0",
|
|
134
|
-
"@deepseek-ai/schemastery": "^3.18.1"
|
|
135
|
-
},
|
|
136
|
-
"devDependencies": {
|
|
137
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
138
|
-
"@deepseek-ai/dsh-agent-default-model": ">=0.1.0-rc.6 <0.2.0",
|
|
139
|
-
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6 <0.2.0",
|
|
140
|
-
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6 <0.2.0",
|
|
141
|
-
"@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.6 <0.2.0",
|
|
142
|
-
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.6 <0.2.0",
|
|
143
|
-
"@deepseek-ai/schemastery": "^3.18.1",
|
|
144
|
-
"cytoscape": "^3.34.1",
|
|
145
|
-
"cytoscape-fcose": "^2.2.0",
|
|
146
|
-
"esbuild": "^0.28.2",
|
|
147
|
-
"tsup": "^8.5.0"
|
|
148
|
-
},
|
|
149
|
-
"dependencies": {
|
|
150
|
-
"ngraph.graph": "^20.1.2",
|
|
151
|
-
"ngraph.leiden": "^0.3.0"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "stratagate-dsh",
|
|
3
|
+
"version": "0.2.34",
|
|
4
|
+
"description": "Automatic local-first cross-session memory for DeepSeek Harness with source-traceable recall",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./client": {
|
|
14
|
+
"types": "./dist/client.d.ts",
|
|
15
|
+
"default": "./dist/client.js"
|
|
16
|
+
},
|
|
17
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
18
|
+
"./package.json": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"cordis.patch.yml",
|
|
23
|
+
"README.md",
|
|
24
|
+
"docs/README.zh-CN.md",
|
|
25
|
+
"CHANGELOG.md",
|
|
26
|
+
"LICENSE"
|
|
27
|
+
],
|
|
28
|
+
"dsh": {
|
|
29
|
+
"bundle": {
|
|
30
|
+
"patch": "./cordis.patch.yml"
|
|
31
|
+
},
|
|
32
|
+
"client": {
|
|
33
|
+
"inject": [
|
|
34
|
+
"@deepseek-ai/dsh-client-runtime"
|
|
35
|
+
],
|
|
36
|
+
"platform": "web"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsup && node scripts/build-client.mjs",
|
|
41
|
+
"check": "tsc -p tsconfig.json --noEmit",
|
|
42
|
+
"test": "vitest run --config vitest.config.ts",
|
|
43
|
+
"verify:package": "node scripts/verify-package.mjs",
|
|
44
|
+
"prepare": "npm run build"
|
|
45
|
+
},
|
|
46
|
+
"keywords": [
|
|
47
|
+
"memory",
|
|
48
|
+
"dsh",
|
|
49
|
+
"deepseek",
|
|
50
|
+
"plugin",
|
|
51
|
+
"agent",
|
|
52
|
+
"cross-session",
|
|
53
|
+
"evidence",
|
|
54
|
+
"deepseek-harness",
|
|
55
|
+
"dsh-plugin",
|
|
56
|
+
"agent-memory",
|
|
57
|
+
"cross-session-memory",
|
|
58
|
+
"persistent-memory",
|
|
59
|
+
"project-memory",
|
|
60
|
+
"conversation-memory",
|
|
61
|
+
"long-term-memory",
|
|
62
|
+
"local-first",
|
|
63
|
+
"time-decay",
|
|
64
|
+
"usage-reinforcement",
|
|
65
|
+
"source-traceability",
|
|
66
|
+
"source-tracing",
|
|
67
|
+
"evidence-gate"
|
|
68
|
+
],
|
|
69
|
+
"repository": {
|
|
70
|
+
"type": "git",
|
|
71
|
+
"url": "git+https://github.com/diqierjia/StrataGate-AgentMemory.git",
|
|
72
|
+
"directory": "integrations/deepseek-harness"
|
|
73
|
+
},
|
|
74
|
+
"license": "MIT",
|
|
75
|
+
"dshWorkshop": {
|
|
76
|
+
"schema": "omdsh-workshop-package/v1",
|
|
77
|
+
"type": "plugin",
|
|
78
|
+
"integration": {
|
|
79
|
+
"protocol": "harness-profile",
|
|
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"
|
|
91
|
+
},
|
|
92
|
+
"compatibility": {
|
|
93
|
+
"dshVersions": [
|
|
94
|
+
"0.1.0-rc.6",
|
|
95
|
+
"0.1.0-rc.7"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"permissions": [
|
|
99
|
+
"harness:tool",
|
|
100
|
+
"filesystem:read",
|
|
101
|
+
"filesystem:write",
|
|
102
|
+
"network:none",
|
|
103
|
+
"subprocess:none",
|
|
104
|
+
"shell:none",
|
|
105
|
+
"python:none",
|
|
106
|
+
"credentials:none"
|
|
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"
|
|
126
|
+
},
|
|
127
|
+
"peerDependencies": {
|
|
128
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
129
|
+
"@deepseek-ai/dsh-agent-default-model": ">=0.1.0-rc.6 <0.2.0",
|
|
130
|
+
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6 <0.2.0",
|
|
131
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6 <0.2.0",
|
|
132
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.6 <0.2.0",
|
|
133
|
+
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.6 <0.2.0",
|
|
134
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
135
|
+
},
|
|
136
|
+
"devDependencies": {
|
|
137
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
138
|
+
"@deepseek-ai/dsh-agent-default-model": ">=0.1.0-rc.6 <0.2.0",
|
|
139
|
+
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6 <0.2.0",
|
|
140
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.6 <0.2.0",
|
|
141
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.6 <0.2.0",
|
|
142
|
+
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.6 <0.2.0",
|
|
143
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
144
|
+
"cytoscape": "^3.34.1",
|
|
145
|
+
"cytoscape-fcose": "^2.2.0",
|
|
146
|
+
"esbuild": "^0.28.2",
|
|
147
|
+
"tsup": "^8.5.0"
|
|
148
|
+
},
|
|
149
|
+
"dependencies": {
|
|
150
|
+
"ngraph.graph": "^20.1.2",
|
|
151
|
+
"ngraph.leiden": "^0.3.0"
|
|
152
|
+
}
|
|
153
|
+
}
|