dsh-mnemon 0.4.6 → 0.4.7

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/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
  <p align="center">
25
25
  <a href="./docs/en/capabilities.md"><strong>Explore the capability map</strong></a> ·
26
26
  <a href="./docs/en/getting-started.md">Start in five minutes</a> ·
27
- <a href="./docs/en/releases/v0.4.6.md">Read the v0.4.6 notes</a> ·
27
+ <a href="./docs/en/releases/v0.4.7.md">Read the v0.4.7 notes</a> ·
28
28
  <a href="https://github.com/omdsh-dev/dsh-mnemon/blob/e6ca446e45bdd17991f3c7c98560456de465282b/docs/assets/media/dsh-mnemon-memory-system-demo.mp4">Watch the widescreen demo</a>
29
29
  </p>
30
30
 
@@ -48,6 +48,8 @@ v0.4.5 registers Memory System with an installed Better Sidebar while keeping th
48
48
 
49
49
  v0.4.6 keeps DSH 0.1.1-rc.2 as the stable baseline while adding capability-detected support for the Session event snapshots used by DSH 0.1.2-alpha.4 and alpha.5. See the [patch release notes](./docs/en/releases/v0.4.6.md).
50
50
 
51
+ v0.4.7 promotes the published DSH 0.1.2-rc.1 release to the stable registry baseline, keeps source verification against its alpha.5 predecessor, and retains a real WebUI regression on the previous 0.1.1-rc.2 line. See the [patch release notes](./docs/en/releases/v0.4.7.md).
52
+
51
53
  ## Understand the scope in 30 seconds
52
54
 
53
55
  | Tier | Keep here | How it reaches the Agent | Managed by |
@@ -122,10 +124,10 @@ Windows users can install the official v0.2.3-or-newer release ZIP. The expected
122
124
 
123
125
  ### 2. Install DSH and the plugin
124
126
 
125
- The registry installation remains verified against stable DSH 0.1.1-rc.2, whose complete profiles require Node.js `^22.19.0 || >=24.0.0`; Node 20 lacks host primitives used by rc.2. Source compatibility is also verified against the latest DSH 0.1.2-alpha.5 preview while rc.2 remains the recommended registry target. The dsh-mnemon package itself retains Node.js 20 compatibility for older compatible DSH hosts. Use the exact published version below for a reproducible installation; plugin authors can follow the [alpha source workflow](./docs/en/development.md#dsh-012-alpha5-source-verification).
127
+ The registry installation is verified against stable DSH 0.1.2-rc.1, whose complete profiles require Node.js `^22.19.0 || >=24.0.0`. The immediately preceding DSH 0.1.2-alpha.5 remains covered from source, and the previous 0.1.1-rc.2 registry line remains a backward-regression target. The dsh-mnemon package itself retains Node.js 20 compatibility for older compatible DSH hosts. Use the exact published version below for a reproducible installation; plugin authors can follow the [alpha source workflow](./docs/en/development.md#dsh-012-alpha5-source-compatibility).
126
128
 
127
129
  ```sh
128
- npm install -g @deepseek-ai/dsh@0.1.1-rc.2
130
+ npm install -g @deepseek-ai/dsh@0.1.2-rc.1
129
131
  dsh --version
130
132
  ```
131
133
 
@@ -134,6 +136,8 @@ dsh plugin --profile web add dsh-mnemon
134
136
  dsh --profile web
135
137
  ```
136
138
 
139
+ When the Web profile is published under a cloud hostname, stable DSH 0.1.2-rc.1 needs an HTTPS reverse proxy or access gateway, an explicit trusted authority, and the one-time launch URL printed at Host startup. Follow the [cloud-hosted WebUI procedure](./docs/en/operations.md#cloud-hosted-webui); do not expose the loopback service directly.
140
+
137
141
  DSH profiles have independent plugin rosters. Install the same package separately for one-shot Headless tasks:
138
142
 
139
143
  ```sh
@@ -222,7 +226,7 @@ See [Operations, security, and troubleshooting](./docs/en/operations.md) for bac
222
226
  | Back up, update, or troubleshoot | [Operations](./docs/en/operations.md) |
223
227
  | Integrate tools, commands, or RPC | [Interface reference](./docs/en/interfaces.md) |
224
228
  | Build a Layer, Adapter, Strategy, Guard, or MemorySource extension | [Extension guide](./docs/en/extensions.md) |
225
- | Review the release | [v0.4.6 release notes](./docs/en/releases/v0.4.6.md) |
229
+ | Review the release | [v0.4.7 release notes](./docs/en/releases/v0.4.7.md) |
226
230
 
227
231
  See the [documentation hub](./docs/en/README.md) for the full map.
228
232
 
package/README.zh-CN.md CHANGED
@@ -24,7 +24,7 @@
24
24
  <p align="center">
25
25
  <a href="./docs/zh-CN/capabilities.md"><strong>先看能力地图</strong></a> ·
26
26
  <a href="./docs/zh-CN/getting-started.md">5 分钟开始</a> ·
27
- <a href="./docs/zh-CN/releases/v0.4.6.md">v0.4.6 升级说明</a> ·
27
+ <a href="./docs/zh-CN/releases/v0.4.7.md">v0.4.7 升级说明</a> ·
28
28
  <a href="https://github.com/omdsh-dev/dsh-mnemon/blob/e6ca446e45bdd17991f3c7c98560456de465282b/docs/assets/media/dsh-mnemon-memory-system-demo.mp4">观看宽屏实机演示</a>
29
29
  </p>
30
30
 
@@ -48,6 +48,8 @@ v0.4.5 在已安装 Better Sidebar 时向其注册记忆系统,同时保留 DS
48
48
 
49
49
  v0.4.6 继续以 DSH 0.1.1-rc.2 作为稳定基线,并通过能力检测兼容 DSH 0.1.2-alpha.4 与 alpha.5 的 Session 事件快照接口。详见[补丁发布说明](./docs/zh-CN/releases/v0.4.6.md)。
50
50
 
51
+ v0.4.7 将已发布的 DSH 0.1.2-rc.1 提升为稳定的 registry 基线,继续对其 alpha.5 前序版本执行源码验证,并保留上一条 0.1.1-rc.2 版本线的真实 WebUI 回归。详见[补丁发布说明](./docs/zh-CN/releases/v0.4.7.md)。
52
+
51
53
  ## 30 秒理解能力边界
52
54
 
53
55
  | 层级 | 适合保存 | 如何进入 Agent 上下文 | 由谁管理 |
@@ -122,10 +124,10 @@ Windows 推荐安装 v0.2.3 或更高版本的官方 ZIP;标准安装目录与
122
124
 
123
125
  ### 2. 安装 DSH 与插件
124
126
 
125
- Registry 安装仍以稳定的 DSH 0.1.1-rc.2 验证;其完整 profile 需要 Node.js `^22.19.0 || >=24.0.0`,Node 20 缺少 rc.2 使用的宿主原语。源码兼容性也已针对最新的 DSH 0.1.2-alpha.5 预览版验证,rc.2 仍是推荐的 registry 安装目标。dsh-mnemon 包本身仍为较旧且兼容的 DSH Host 保留 Node.js 20 支持。下面显式指定已发布版本以保证可复现安装;插件作者可参照 [alpha 源码验证流程](./docs/zh-CN/development.md#dsh-012-alpha5-源码验证)。
127
+ Registry 安装以稳定的 DSH 0.1.2-rc.1 验证;其完整 profile 需要 Node.js `^22.19.0 || >=24.0.0`。它的直接前序版本 DSH 0.1.2-alpha.5 继续通过源码覆盖,上一条 0.1.1-rc.2 registry 版本线则保留为向后回归目标。dsh-mnemon 包本身仍为较旧且兼容的 DSH Host 保留 Node.js 20 支持。下面显式指定已发布版本以保证可复现安装;插件作者可参照 [alpha 源码兼容流程](./docs/zh-CN/development.md#dsh-012-alpha5-源码兼容)。
126
128
 
127
129
  ```sh
128
- npm install -g @deepseek-ai/dsh@0.1.1-rc.2
130
+ npm install -g @deepseek-ai/dsh@0.1.2-rc.1
129
131
  dsh --version
130
132
  ```
131
133
 
@@ -134,6 +136,8 @@ dsh plugin --profile web add dsh-mnemon
134
136
  dsh --profile web
135
137
  ```
136
138
 
139
+ 将 Web profile 发布到云端域名时,稳定版 DSH 0.1.2-rc.1 需要 HTTPS 反向代理或访问网关、显式可信 authority,以及 Host 启动时输出的一次性启动 URL。请按[云端 WebUI 操作步骤](./docs/zh-CN/operations.md#cloud-hosted-webui)配置,不要把回环服务直接暴露到公网。
140
+
137
141
  DSH 各 profile 的插件清单彼此独立。一次性 Headless 任务需要单独安装:
138
142
 
139
143
  ```sh
@@ -222,7 +226,7 @@ dsh plugin --profile headless add "link:/absolute/path/to/dsh-mnemon"
222
226
  | 备份、更新或排障 | [运维指南](./docs/zh-CN/operations.md) |
223
227
  | 接入工具、命令或 RPC | [接口参考](./docs/zh-CN/interfaces.md) |
224
228
  | 开发 Layer、Adapter、Strategy、Guard 或 MemorySource 扩展 | [扩展开发指南](./docs/zh-CN/extensions.md) |
225
- | 查看本次升级 | [v0.4.6 发布说明](./docs/zh-CN/releases/v0.4.6.md) |
229
+ | 查看本次升级 | [v0.4.7 发布说明](./docs/zh-CN/releases/v0.4.7.md) |
226
230
 
227
231
  完整目录见[文档中心](./docs/zh-CN/README.md)。
228
232
 
@@ -1,4 +1,4 @@
1
- import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-ui-slots';
1
+ import type { SnapshotSelectorHook } from '@deepseek-ai/dsh-client-store';
2
2
  import type { MnemonClientContext, MnemonSessionListState } from './dsh-compat.ts';
3
3
  export declare const MNEMON_SUBAGENT_TOKEN_USAGE_KEY = "mnemonSubagentTokenUsage";
4
4
  export interface MnemonTokenUsageProjection {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mnemon",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Composable three-tier memory control plane for DeepSeek Harness: persistent runtime context, searchable project documents, pluggable long-term memory, guarded strategies, WebUI, and headless tools.",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -150,28 +150,30 @@
150
150
  },
151
151
  "devDependencies": {
152
152
  "@arethetypeswrong/cli": "^0.18.5",
153
- "@deepseek-ai/cordis": "^4.0.1",
154
- "@deepseek-ai/dsh": "0.1.1-rc.2",
155
- "@deepseek-ai/dsh-agent": "0.1.1-rc.2",
156
- "@deepseek-ai/dsh-agent-loop": "0.1.1-rc.2",
157
- "@deepseek-ai/dsh-client-connection": "0.1.1-rc.2",
158
- "@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
159
- "@deepseek-ai/dsh-client-ui-conversation": "0.1.1-rc.2",
160
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2",
161
- "@deepseek-ai/dsh-client-ui-renderer": "0.1.1-rc.2",
162
- "@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
163
- "@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
164
- "@deepseek-ai/dsh-client-ui-tool": "0.1.1-rc.2",
165
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
166
- "@deepseek-ai/dsh-session": "0.1.1-rc.2",
167
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.1-rc.2",
168
- "@deepseek-ai/dsh-session-projection": "0.1.1-rc.2",
153
+ "@deepseek-ai/cordis": "^4.0.2",
154
+ "@deepseek-ai/dsh": "0.1.2-rc.1",
155
+ "@deepseek-ai/dsh-agent": "0.1.2-rc.1",
156
+ "@deepseek-ai/dsh-agent-loop": "0.1.2-rc.1",
157
+ "@deepseek-ai/dsh-client-connection": "0.1.2-rc.1",
158
+ "@deepseek-ai/dsh-client-locale": "0.1.2-rc.1",
159
+ "@deepseek-ai/dsh-client-store": "0.1.2-rc.1",
160
+ "@deepseek-ai/dsh-client-ui-conversation": "0.1.2-rc.1",
161
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
162
+ "@deepseek-ai/dsh-client-ui-renderer": "0.1.2-rc.1",
163
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.2-rc.1",
164
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.2-rc.1",
165
+ "@deepseek-ai/dsh-client-ui-tool": "0.1.2-rc.1",
166
+ "@deepseek-ai/dsh-invariants": "0.1.2-rc.1",
167
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1",
168
+ "@deepseek-ai/dsh-session": "0.1.2-rc.1",
169
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.2-rc.1",
170
+ "@deepseek-ai/dsh-session-projection": "0.1.2-rc.1",
169
171
  "@deepseek-ai/dsh-session-projection-legacy": "npm:@deepseek-ai/dsh-session-projection@0.1.0-rc.8",
170
- "@deepseek-ai/dsh-session-query": "0.1.1-rc.2",
171
- "@deepseek-ai/dsh-subagent": "0.1.1-rc.2",
172
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.1-rc.2",
173
- "@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
174
- "@deepseek-ai/dsh-tools": "0.1.1-rc.2",
172
+ "@deepseek-ai/dsh-session-query": "0.1.2-rc.1",
173
+ "@deepseek-ai/dsh-subagent": "0.1.2-rc.1",
174
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.2-rc.1",
175
+ "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1",
176
+ "@deepseek-ai/dsh-tools": "0.1.2-rc.1",
175
177
  "@testing-library/react": "^16.3.0",
176
178
  "@types/node": "^22.0.0",
177
179
  "@types/react": "^18.3.0",