stratagate-dsh 0.2.71 → 0.2.73
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 +11 -0
- package/README.md +324 -213
- package/README.zh-CN.md +326 -213
- package/dist/client.js +3 -3
- package/dist/plugin.js +267 -31
- package/dist/plugin.js.map +1 -1
- package/docs/DSH.md +4 -2
- package/docs/DSH.zh-CN.md +4 -2
- package/docs/assets/41fc676096d0a13337a1c03aaf8f499b.png +0 -0
- package/docs/assets/aaed14b0b43a76334008117f6ca104af.png +0 -0
- package/docs/assets/cecc9d191a4b9bf22a479623e2ebdc1d.png +0 -0
- package/docs/assets/fc07e5b6e1cc07c115faa773a2718aa9.png +0 -0
- package/package.json +25 -24
package/docs/DSH.md
CHANGED
|
@@ -172,9 +172,11 @@ For diagnostics, the five most recent successful memory-model responses are reta
|
|
|
172
172
|
|
|
173
173
|
## Compatibility and permissions
|
|
174
174
|
|
|
175
|
-
Release gates exercise the complete DSH `0.1.2-rc.1` family
|
|
175
|
+
Release gates exercise the complete DSH `0.1.2-rc.1` family, `@deepseek-ai/dsh@0.1.5-rc.1`, and `@deepseek-ai/dsh@0.1.6-alpha.1` on Node `24`, on both Linux and Windows. The 0.1.5 CLI's real dependency tree resolves its internal DSH packages to `0.1.5-rc.2`; the 0.1.6 CLI resolves the tested internal DSH and Session Format packages to `0.1.6-alpha.1`. The plugin declares these packages as optional, exact-version peers so the host supplies one coherent runtime instead of npm installing a second copy. Other `0.1.x` versions are not implicitly supported.
|
|
176
176
|
|
|
177
|
-
DSH core packages are host-provided optional peers. After upgrading a profile that once installed those peers locally, run `dsh plugin --profile <name> exec stratagate-dsh-repair` before starting it. The command moves only the known DSH runtime packages into `.stratagate-runtime-backups` inside that profile and writes a recovery receipt; it does not delete them or touch session data. At startup, a bootstrap resolver also forces StrataGate's own imports through the installation-owned module fallback, then verifies the resolved DSH core family and stops with an actionable error for an unknown host family. On DSH `0.1.5`, v0 sessions containing the retired `stratagate/memory-citations` event are copied to a validated v1 generation before the host
|
|
177
|
+
DSH core packages are host-provided optional peers. After upgrading a profile that once installed those peers locally, run `dsh plugin --profile <name> exec stratagate-dsh-repair` before starting it. The command moves only the known DSH runtime packages into `.stratagate-runtime-backups` inside that profile and writes a recovery receipt; it does not delete them or touch session data. At startup, a bootstrap resolver also forces StrataGate's own imports through the installation-owned module fallback, then verifies the resolved DSH core family and stops with an actionable error for an unknown host family. On DSH `0.1.5` and `0.1.6`, v0 sessions containing the retired `stratagate/memory-citations` event are copied to a validated v1 generation before the host continues its migration chain. The original v0 log is never modified; a `stratagate-legacy-citations-v1.json` receipt records source/target hashes and recovery instructions.
|
|
178
|
+
|
|
179
|
+
DSH 0.1.6's official DeepSeek profile may enable Session Log request metadata by default, so the Host can include original Session Events in the `dsh_session_log` request field. This metadata is outside the model messages, system prompt, and tool schema and does not indicate that StrataGate compression was bypassed. StrataGate does not alter this DSH-wide setting; users who want it disabled should set `session-log-deepseek.enabled=false` through DSH configuration.
|
|
178
180
|
|
|
179
181
|
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.
|
|
180
182
|
|
package/docs/DSH.zh-CN.md
CHANGED
|
@@ -169,9 +169,11 @@ config:
|
|
|
169
169
|
|
|
170
170
|
## 兼容性与权限
|
|
171
171
|
|
|
172
|
-
发布门禁会在 Node `24`、Linux 和 Windows 上测试完整的 DSH `0.1.2-rc.1`
|
|
172
|
+
发布门禁会在 Node `24`、Linux 和 Windows 上测试完整的 DSH `0.1.2-rc.1` 依赖族、`@deepseek-ai/dsh@0.1.5-rc.1` 和 `@deepseek-ai/dsh@0.1.6-alpha.1`。0.1.5 CLI 的真实依赖树会把内部 DSH 包解析为 `0.1.5-rc.2`;0.1.6 CLI 的受测内部 DSH 与 Session Format 包均解析为 `0.1.6-alpha.1`。插件将这些包声明为可选且精确版本的 peer,由宿主提供一套一致的运行时,避免 npm 在插件目录再安装第二套核心包;不会笼统承诺其他 `0.1.x` 版本。
|
|
173
173
|
|
|
174
|
-
DSH 核心包现在都是由宿主提供的可选 peer。若某个 profile 曾在本地安装这些 peer,升级后、启动前运行 `dsh plugin --profile <名称> exec stratagate-dsh-repair`。该命令只会把已知 DSH 运行时包移动到 profile 内的 `.stratagate-runtime-backups` 并写入恢复收据,不会删除包或触碰会话数据。启动时 bootstrap 还会把 StrataGate 自身的 DSH 导入定向到宿主维护的共享模块回退目录,再检查实际解析出的 DSH 核心族;未知宿主会立即给出明确错误并停止,而不是让正文区域空白。对于 DSH `0.1.5`,含已废弃 `stratagate/memory-citations` 事件的 v0 会话会先复制成经过校验的 v1
|
|
174
|
+
DSH 核心包现在都是由宿主提供的可选 peer。若某个 profile 曾在本地安装这些 peer,升级后、启动前运行 `dsh plugin --profile <名称> exec stratagate-dsh-repair`。该命令只会把已知 DSH 运行时包移动到 profile 内的 `.stratagate-runtime-backups` 并写入恢复收据,不会删除包或触碰会话数据。启动时 bootstrap 还会把 StrataGate 自身的 DSH 导入定向到宿主维护的共享模块回退目录,再检查实际解析出的 DSH 核心族;未知宿主会立即给出明确错误并停止,而不是让正文区域空白。对于 DSH `0.1.5` 和 `0.1.6`,含已废弃 `stratagate/memory-citations` 事件的 v0 会话会先复制成经过校验的 v1 代际,再由宿主继续其迁移链;原始 v0 日志不会被修改,并写入 `stratagate-legacy-citations-v1.json` 记录源/目标哈希和恢复说明。
|
|
175
|
+
|
|
176
|
+
DSH 0.1.6 的官方 DeepSeek profile 默认可能启用 Session Log 请求元数据,因此宿主可能把原始 Session Event 放入 `dsh_session_log` 请求字段。该元数据不属于模型 messages、system prompt 或 tool schema,不能据此判断 StrataGate 压缩失效。StrataGate 不会修改这一 DSH 全局设置;需要关闭的用户应通过 DSH 配置设置 `session-log-deepseek.enabled=false`。
|
|
175
177
|
|
|
176
178
|
该包申请本地文件系统读写权限和 Harness 工具注册权限,不申请直接网络访问、子进程、Shell、Python 或凭证访问权限。模型调用仍通过 DSH 现有的 LLM 服务进行。
|
|
177
179
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stratagate-dsh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.73",
|
|
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",
|
|
@@ -149,17 +149,17 @@
|
|
|
149
149
|
},
|
|
150
150
|
"peerDependencies": {
|
|
151
151
|
"@deepseek-ai/cordis": "4.0.2",
|
|
152
|
-
"@deepseek-ai/dsh-agent-default-model": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
153
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
154
|
-
"@deepseek-ai/dsh-llm": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
155
|
-
"@deepseek-ai/dsh-native-command": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
156
|
-
"@deepseek-ai/dsh-session": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
157
|
-
"@deepseek-ai/dsh-session-format": "0.1.5-rc.2",
|
|
158
|
-
"@deepseek-ai/dsh-session-format-catalog": "0.1.5-rc.2",
|
|
159
|
-
"@deepseek-ai/dsh-session-format-v0-to-v1": "0.1.5-rc.2",
|
|
160
|
-
"@deepseek-ai/dsh-settings": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
161
|
-
"@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
162
|
-
"@deepseek-ai/dsh-tools": "0.1.2-rc.1 || 0.1.5-rc.2",
|
|
152
|
+
"@deepseek-ai/dsh-agent-default-model": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
153
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
154
|
+
"@deepseek-ai/dsh-llm": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
155
|
+
"@deepseek-ai/dsh-native-command": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
156
|
+
"@deepseek-ai/dsh-session": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
157
|
+
"@deepseek-ai/dsh-session-format": "0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
158
|
+
"@deepseek-ai/dsh-session-format-catalog": "0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
159
|
+
"@deepseek-ai/dsh-session-format-v0-to-v1": "0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
160
|
+
"@deepseek-ai/dsh-settings": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
161
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
162
|
+
"@deepseek-ai/dsh-tools": "0.1.2-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1",
|
|
163
163
|
"@deepseek-ai/schemastery": "3.18.2"
|
|
164
164
|
},
|
|
165
165
|
"peerDependenciesMeta": {
|
|
@@ -205,18 +205,19 @@
|
|
|
205
205
|
},
|
|
206
206
|
"devDependencies": {
|
|
207
207
|
"@deepseek-ai/cordis": "4.0.2",
|
|
208
|
-
"@deepseek-ai/dsh": "0.1.
|
|
209
|
-
"@deepseek-ai/dsh-agent-default-model": "0.1.
|
|
210
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.1.
|
|
211
|
-
"@deepseek-ai/dsh-llm": "0.1.
|
|
212
|
-
"@deepseek-ai/dsh-
|
|
213
|
-
"@deepseek-ai/dsh-session
|
|
214
|
-
"@deepseek-ai/dsh-session-format
|
|
215
|
-
"@deepseek-ai/dsh-session-format-
|
|
216
|
-
"@deepseek-ai/dsh-
|
|
217
|
-
"@deepseek-ai/dsh-settings
|
|
218
|
-
"@deepseek-ai/dsh-
|
|
219
|
-
"@deepseek-ai/dsh-
|
|
208
|
+
"@deepseek-ai/dsh": "0.1.6-alpha.1",
|
|
209
|
+
"@deepseek-ai/dsh-agent-default-model": "0.1.6-alpha.1",
|
|
210
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.6-alpha.1",
|
|
211
|
+
"@deepseek-ai/dsh-llm": "0.1.6-alpha.1",
|
|
212
|
+
"@deepseek-ai/dsh-native-command": "0.1.6-alpha.1",
|
|
213
|
+
"@deepseek-ai/dsh-session": "0.1.6-alpha.1",
|
|
214
|
+
"@deepseek-ai/dsh-session-format": "0.1.6-alpha.1",
|
|
215
|
+
"@deepseek-ai/dsh-session-format-catalog": "0.1.6-alpha.1",
|
|
216
|
+
"@deepseek-ai/dsh-session-format-v0-to-v1": "0.1.6-alpha.1",
|
|
217
|
+
"@deepseek-ai/dsh-settings": "0.1.6-alpha.1",
|
|
218
|
+
"@deepseek-ai/dsh-settings-file": "0.1.6-alpha.1",
|
|
219
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.6-alpha.1",
|
|
220
|
+
"@deepseek-ai/dsh-tools": "0.1.6-alpha.1",
|
|
220
221
|
"@deepseek-ai/schemastery": "3.18.2",
|
|
221
222
|
"@types/node": "^22.0.0",
|
|
222
223
|
"cytoscape": "^3.34.1",
|