dsh-mnemon 0.3.4 → 0.3.6
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 +3 -3
- package/README.zh-CN.md +3 -3
- package/lib/client.js +165 -62
- package/lib/index.js +387 -155
- package/lib/kernel.js +47 -0
- package/lib/types/packages/kernel/src/view.d.ts +11 -0
- package/lib/types/src/agent-memory-turn.d.ts +42 -0
- package/lib/types/src/client/MnemonTurnTail.d.ts +3 -2
- package/lib/types/src/client/MnemonView.d.ts +1 -1
- package/lib/types/src/client/dsh-compat.d.ts +34 -3
- package/lib/types/src/client/locales.d.ts +18 -0
- package/lib/types/src/client/subagent-token-usage.d.ts +3 -4
- package/lib/types/src/config-values.d.ts +1 -1
- package/lib/types/src/config.d.ts +1 -1
- package/lib/types/src/contracts.d.ts +28 -6
- package/lib/types/src/guidance.d.ts +1 -0
- package/lib/types/src/lifecycle.d.ts +4 -0
- package/lib/types/src/live-runtime.d.ts +1 -1
- package/lib/types/src/rpc.d.ts +7 -7
- package/lib/types/src/shared/contracts.d.ts +18 -1
- package/lib/types/src/subagent.d.ts +2 -2
- package/lib/types/src/tools.d.ts +1 -1
- package/package.json +16 -5
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.3.
|
|
27
|
+
<a href="./docs/en/releases/v0.3.6.md">Read the v0.3.6 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
|
|
|
@@ -108,7 +108,7 @@ Windows users can install the official v0.2.3-or-newer release ZIP. The expected
|
|
|
108
108
|
|
|
109
109
|
### 2. Install DSH and the plugin
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
The registry installation remains verified against 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 source-only DSH 0.1.2-alpha.1 preview; it is not an npm installation 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-alpha1-source-verification).
|
|
112
112
|
|
|
113
113
|
```sh
|
|
114
114
|
npm install -g @deepseek-ai/dsh@0.1.1-rc.2
|
|
@@ -208,7 +208,7 @@ See [Operations, security, and troubleshooting](./docs/en/operations.md) for bac
|
|
|
208
208
|
| Back up, update, or troubleshoot | [Operations](./docs/en/operations.md) |
|
|
209
209
|
| Integrate tools, commands, or RPC | [Interface reference](./docs/en/interfaces.md) |
|
|
210
210
|
| Build a Layer, Adapter, Strategy, Guard, or MemorySource extension | [Extension guide](./docs/en/extensions.md) |
|
|
211
|
-
| Review the release | [v0.3.
|
|
211
|
+
| Review the release | [v0.3.6 release notes](./docs/en/releases/v0.3.6.md) |
|
|
212
212
|
|
|
213
213
|
See the [documentation hub](./docs/en/README.md) for the full map.
|
|
214
214
|
|
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.3.
|
|
27
|
+
<a href="./docs/zh-CN/releases/v0.3.6.md">v0.3.6 升级说明</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
|
|
|
@@ -108,7 +108,7 @@ Windows 推荐安装 v0.2.3 或更高版本的官方 ZIP;标准安装目录与
|
|
|
108
108
|
|
|
109
109
|
### 2. 安装 DSH 与插件
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
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.1 预览版验证;它不是 npm 安装目标。dsh-mnemon 包本身仍为较旧且兼容的 DSH Host 保留 Node.js 20 支持。下面显式指定已发布版本以保证可复现安装;插件作者可参照 [alpha 源码验证流程](./docs/zh-CN/development.md#dsh-012-alpha1-源码验证)。
|
|
112
112
|
|
|
113
113
|
```sh
|
|
114
114
|
npm install -g @deepseek-ai/dsh@0.1.1-rc.2
|
|
@@ -208,7 +208,7 @@ dsh plugin --profile headless add "link:/absolute/path/to/dsh-mnemon"
|
|
|
208
208
|
| 备份、更新或排障 | [运维指南](./docs/zh-CN/operations.md) |
|
|
209
209
|
| 接入工具、命令或 RPC | [接口参考](./docs/zh-CN/interfaces.md) |
|
|
210
210
|
| 开发 Layer、Adapter、Strategy、Guard 或 MemorySource 扩展 | [扩展开发指南](./docs/zh-CN/extensions.md) |
|
|
211
|
-
| 查看本次升级 | [v0.3.
|
|
211
|
+
| 查看本次升级 | [v0.3.6 发布说明](./docs/zh-CN/releases/v0.3.6.md) |
|
|
212
212
|
|
|
213
213
|
完整目录见[文档中心](./docs/zh-CN/README.md)。
|
|
214
214
|
|