stratagate-dsh 0.2.57 → 0.2.60
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 +17 -0
- package/dist/client.js +2 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +178 -32
- package/dist/index.js.map +1 -1
- package/docs/DSH.md +7 -5
- package/docs/DSH.zh-CN.md +7 -5
- package/package.json +23 -20
package/docs/DSH.md
CHANGED
|
@@ -145,11 +145,13 @@ config:
|
|
|
145
145
|
globalNamespace: global
|
|
146
146
|
blockTurnSize: 6
|
|
147
147
|
blockDecayLambda: 0.3
|
|
148
|
-
ingestSubagents: false
|
|
149
|
-
maxOutputTokens: 10000
|
|
150
|
-
|
|
148
|
+
ingestSubagents: false
|
|
149
|
+
maxOutputTokens: 10000
|
|
150
|
+
structuredTaskTimeoutMs: 120000
|
|
151
|
+
structuredReasoningEffort: auto # auto | force-off
|
|
152
|
+
# Optional: use a dedicated model for memory processing.
|
|
151
153
|
# provider: deepseek
|
|
152
|
-
# model: deepseek-chat
|
|
154
|
+
# model: deepseek-chat
|
|
153
155
|
```
|
|
154
156
|
|
|
155
157
|
`blockTurnSize` and `blockDecayLambda` are initial fallbacks. Once changed in **Advanced Settings**, persisted UI values take precedence. λ defaults to `0.3`; smaller values forget more slowly and consume more tokens, and values above `0.4` are not recommended.
|
|
@@ -170,7 +172,7 @@ For diagnostics, the five most recent successful memory-model responses are reta
|
|
|
170
172
|
|
|
171
173
|
## Compatibility and permissions
|
|
172
174
|
|
|
173
|
-
Release gates exercise DSH `0.1.
|
|
175
|
+
Release gates exercise DSH `0.1.2-rc.1` on Node `24`, plus the core package on Node `22.19` and `24`. The published peer range accepts compatible DSH releases from `0.1.2-rc.1` up to, but not including, `0.2.0`.
|
|
174
176
|
|
|
175
177
|
The package declares local filesystem read/write and Harness tool registration. It does not request direct network, subprocess, shell, Python, or credential access. Model calls still flow through DSH's existing LLM service.
|
|
176
178
|
|
package/docs/DSH.zh-CN.md
CHANGED
|
@@ -142,11 +142,13 @@ config:
|
|
|
142
142
|
globalNamespace: global
|
|
143
143
|
blockTurnSize: 6
|
|
144
144
|
blockDecayLambda: 0.3
|
|
145
|
-
ingestSubagents: false
|
|
146
|
-
maxOutputTokens: 10000
|
|
147
|
-
|
|
145
|
+
ingestSubagents: false
|
|
146
|
+
maxOutputTokens: 10000
|
|
147
|
+
structuredTaskTimeoutMs: 120000
|
|
148
|
+
structuredReasoningEffort: auto # auto | force-off
|
|
149
|
+
# 可选:为记忆处理指定专用模型。
|
|
148
150
|
# provider: deepseek
|
|
149
|
-
# model: deepseek-chat
|
|
151
|
+
# model: deepseek-chat
|
|
150
152
|
```
|
|
151
153
|
|
|
152
154
|
配置文件中的 `blockTurnSize` 和 `blockDecayLambda` 是初始后备值;一旦在“高级设置”中修改,持久化的界面值优先生效。λ 默认值为 `0.3`;数字越小,记忆遗忘越慢、消耗 token 越多,不建议大于 `0.4`。
|
|
@@ -167,7 +169,7 @@ config:
|
|
|
167
169
|
|
|
168
170
|
## 兼容性与权限
|
|
169
171
|
|
|
170
|
-
发布门禁会在 Node `24` 上测试 DSH `0.1.
|
|
172
|
+
发布门禁会在 Node `24` 上测试 DSH `0.1.2-rc.1`,并在 Node `22.19` 和 `24` 上测试核心包。发布包声明的 peer 版本范围接受从 `0.1.2-rc.1` 开始、低于 `0.2.0` 的兼容 DSH 版本。
|
|
171
173
|
|
|
172
174
|
该包申请本地文件系统读写权限和 Harness 工具注册权限,不申请直接网络访问、子进程、Shell、Python 或凭证访问权限。模型调用仍通过 DSH 现有的 LLM 服务进行。
|
|
173
175
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stratagate-dsh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.60",
|
|
4
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
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"patch": "./cordis.patch.yml"
|
|
37
37
|
},
|
|
38
38
|
"client": {
|
|
39
|
-
"inject": [
|
|
40
|
-
"@deepseek-ai/dsh-client-
|
|
39
|
+
"inject": [
|
|
40
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
41
41
|
],
|
|
42
42
|
"platform": "web"
|
|
43
43
|
}
|
|
@@ -110,9 +110,8 @@
|
|
|
110
110
|
"dispose": "supported"
|
|
111
111
|
},
|
|
112
112
|
"compatibility": {
|
|
113
|
-
"dshVersions": [
|
|
114
|
-
"0.1.
|
|
115
|
-
"0.1.0-rc.7"
|
|
113
|
+
"dshVersions": [
|
|
114
|
+
"0.1.2-rc.1"
|
|
116
115
|
]
|
|
117
116
|
},
|
|
118
117
|
"permissions": [
|
|
@@ -144,22 +143,26 @@
|
|
|
144
143
|
"engines": {
|
|
145
144
|
"node": "^22.19.0 || >=24.0.0"
|
|
146
145
|
},
|
|
147
|
-
"peerDependencies": {
|
|
148
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
149
|
-
"@deepseek-ai/dsh-agent-default-model": ">=0.1.
|
|
150
|
-
"@deepseek-ai/dsh-
|
|
151
|
-
"@deepseek-ai/dsh-
|
|
152
|
-
"@deepseek-ai/dsh-
|
|
153
|
-
"@deepseek-ai/dsh-
|
|
146
|
+
"peerDependencies": {
|
|
147
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
148
|
+
"@deepseek-ai/dsh-agent-default-model": ">=0.1.2-rc.1 <0.2.0",
|
|
149
|
+
"@deepseek-ai/dsh-client-ui-conversation": ">=0.1.2-rc.1 <0.2.0",
|
|
150
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0",
|
|
151
|
+
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0",
|
|
152
|
+
"@deepseek-ai/dsh-settings": ">=0.1.2-rc.1 <0.2.0",
|
|
153
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.2-rc.1 <0.2.0",
|
|
154
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0",
|
|
154
155
|
"@deepseek-ai/schemastery": "^3.18.1"
|
|
155
156
|
},
|
|
156
|
-
"devDependencies": {
|
|
157
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
158
|
-
"@deepseek-ai/dsh-agent-default-model": "
|
|
159
|
-
"@deepseek-ai/dsh-
|
|
160
|
-
"@deepseek-ai/dsh-
|
|
161
|
-
"@deepseek-ai/dsh-
|
|
162
|
-
"@deepseek-ai/dsh-
|
|
157
|
+
"devDependencies": {
|
|
158
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
159
|
+
"@deepseek-ai/dsh-agent-default-model": "0.1.2-rc.1",
|
|
160
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1",
|
|
161
|
+
"@deepseek-ai/dsh-llm": "0.1.2-rc.1",
|
|
162
|
+
"@deepseek-ai/dsh-session": "0.1.2-rc.1",
|
|
163
|
+
"@deepseek-ai/dsh-settings": "0.1.2-rc.1",
|
|
164
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1",
|
|
165
|
+
"@deepseek-ai/dsh-tools": "0.1.2-rc.1",
|
|
163
166
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
164
167
|
"@types/node": "^22.0.0",
|
|
165
168
|
"cytoscape": "^3.34.1",
|