dsh-mnemon 0.3.5 → 0.4.0
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 +4 -2
- package/README.zh-CN.md +4 -2
- package/cordis.patch.yml +0 -1
- package/lib/client.js +2706 -3344
- package/lib/index.js +380 -151
- 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/MnemonView.d.ts +0 -2
- package/lib/types/src/client/anchor.d.ts +2 -2
- package/lib/types/src/client/locales.d.ts +18 -84
- package/lib/types/src/client/view-styles.d.ts +2 -0
- 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 +18 -2
- 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/shared/contracts.d.ts +16 -2
- package/lib/types/src/subagent.d.ts +2 -2
- package/lib/types/src/tools.d.ts +1 -1
- package/package.json +10 -1
- package/lib/types/src/client/MnemonViewAppearance.d.ts +0 -20
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.
|
|
27
|
+
<a href="./docs/en/releases/v0.4.0.md">Read the v0.4.0 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
|
|
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
|
|
35
35
|
Since v0.3.0, the three tiers are the **default topology** of a composable kernel rather than the only shape hard-coded into every entry point. `MemoryBoot` wires trusted Layer, Adapter, Strategy, Guard, and `MemorySource` contributions into one runtime generation. Each user turn pins a lightweight `TurnView`: exact Runtime context enters Wake eagerly, while Documents and Memory Spaces contribute only bounded routing covers and keep complete recall authority Host-side. Users still install one `dsh-mnemon` package and keep the existing settings, tools, RPC, and UI workflow. See the [composable architecture](./docs/en/architecture.md#composable-memory-kernel) and [extension guide](./docs/en/extensions.md).
|
|
36
36
|
|
|
37
|
+
v0.4.0 makes Sidebar the only Memory System workspace and removes the builtin display mode and its setting. Legacy display preferences are ignored without changing memory data; the complete view-based upgrade is planned for v0.5, not this release. Read the [upgrade and compatibility notes](./docs/en/releases/v0.4.0.md#upgrade-and-compatibility) before updating.
|
|
38
|
+
|
|
37
39
|
## Understand the scope in 30 seconds
|
|
38
40
|
|
|
39
41
|
| Tier | Keep here | How it reaches the Agent | Managed by |
|
|
@@ -208,7 +210,7 @@ See [Operations, security, and troubleshooting](./docs/en/operations.md) for bac
|
|
|
208
210
|
| Back up, update, or troubleshoot | [Operations](./docs/en/operations.md) |
|
|
209
211
|
| Integrate tools, commands, or RPC | [Interface reference](./docs/en/interfaces.md) |
|
|
210
212
|
| Build a Layer, Adapter, Strategy, Guard, or MemorySource extension | [Extension guide](./docs/en/extensions.md) |
|
|
211
|
-
| Review the release | [v0.
|
|
213
|
+
| Review the release | [v0.4.0 release notes](./docs/en/releases/v0.4.0.md) |
|
|
212
214
|
|
|
213
215
|
See the [documentation hub](./docs/en/README.md) for the full map.
|
|
214
216
|
|
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.
|
|
27
|
+
<a href="./docs/zh-CN/releases/v0.4.0.md">v0.4.0 升级说明</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
|
|
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
|
|
35
35
|
从 v0.3.0 开始,三层是可组合内核中的**默认拓扑**,不再是各入口各自写死的唯一结构。`MemoryBoot` 把受信任的 Layer、Adapter、Strategy、Guard 与 `MemorySource` 装配为一代运行图;每个用户回合固定一份轻量 `TurnView`:Runtime 精确内容 eager 进入 Wake,Documents 与 Memory Spaces 只给出有界路由封面,完整召回权限保留在 Host。用户仍只安装一个 `dsh-mnemon`,设置、工具、RPC 与 UI 工作流不变。参见[可组合架构](./docs/zh-CN/architecture.md#可组合记忆内核)与[扩展开发指南](./docs/zh-CN/extensions.md)。
|
|
36
36
|
|
|
37
|
+
v0.4.0 将 Sidebar 设为记忆系统的唯一工作台入口,移除 builtin 展示模式及其设置。旧展示偏好会被忽略,不改变记忆数据;完整的 view-based 升级计划放在 v0.5,不包含在本版中。更新前请阅读[升级与兼容性说明](./docs/zh-CN/releases/v0.4.0.md#升级与兼容性)。
|
|
38
|
+
|
|
37
39
|
## 30 秒理解能力边界
|
|
38
40
|
|
|
39
41
|
| 层级 | 适合保存 | 如何进入 Agent 上下文 | 由谁管理 |
|
|
@@ -208,7 +210,7 @@ dsh plugin --profile headless add "link:/absolute/path/to/dsh-mnemon"
|
|
|
208
210
|
| 备份、更新或排障 | [运维指南](./docs/zh-CN/operations.md) |
|
|
209
211
|
| 接入工具、命令或 RPC | [接口参考](./docs/zh-CN/interfaces.md) |
|
|
210
212
|
| 开发 Layer、Adapter、Strategy、Guard 或 MemorySource 扩展 | [扩展开发指南](./docs/zh-CN/extensions.md) |
|
|
211
|
-
| 查看本次升级 | [v0.
|
|
213
|
+
| 查看本次升级 | [v0.4.0 发布说明](./docs/zh-CN/releases/v0.4.0.md) |
|
|
212
214
|
|
|
213
215
|
完整目录见[文档中心](./docs/zh-CN/README.md)。
|
|
214
216
|
|