dsh-brain/vendor/dsh-mnemon/.github/release-notes/v0.5.21.md

34 lines
4.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## v0.5.21 · Large Native Spaces and Leaner Hot Memory
- **Large Native spaces work again.** Mnemon Native reads a whole Memory Space for its contents list, its graph and the exact-content check that runs before runtime memory archives at capacity. Every Mnemon command stopped at 2 MiB of output, but a space of about 1,000 insights returns 3–9 MB. Those reads failed, working memory could no longer make room, and the error suggested installing Mnemon. Whole-space reads now accept up to 128 MiB, every other command keeps 2 MiB, and a failure names its cause. (#321)
- **Idle review writes one layer.** Idle review no longer copies project records into hot memory. It considers a Document first, and MEMORY.md takes only a compact rule the user stated that no Document or entry covers. One pass writes a Document or a working-memory change, never both. **Write runtime memory** under Idle review on the Layered strategy's page limits review to Documents. (#322)
- **The fallback sidebar entry matches DSH's rows.** In layouts without DSH's native panel seat, the Memory System entry now uses DSH's own panel-row style. (#323)
Changed packages: **dsh-mnemon 0.5.21**, **dsh-mnemon-source-memory-spaces 0.5.14** and **dsh-mnemon-provider-mnemon-native 0.5.8**. The other 15 pinned component versions are unchanged.
### Upgrade
Supports **DSH 0.2.0-rc.2** (npm `latest` and `next`) and **DSH 0.1.7-rc.2**. Install `dsh-mnemon@0.5.21` through **Add plugin**, then **Enable now**, or run:
```sh
dsh plugin --profile web add dsh-mnemon@0.5.21
```
Include the version for the first 24 hours: pnpm 11 skips versions younger than a day, so a plain install or update picks 0.5.20 until then. Existing installations run `dsh plugin --profile web add dsh-mnemon@0.5.21` for those 24 hours and `dsh plugin --profile web update dsh-mnemon` afterwards, then restart DSH. Desktop users update from the app's Plugins page, then quit and reopen it. No data migration: existing MEMORY.md entries stay, and `idleReview.runtimeMemory` defaults to on.
### 中文说明
- **大型 Native 空间恢复可用。**Mnemon Native 会在内容列表、图谱,以及运行时记忆满容量归档前的逐字比对中读取整个记忆空间。此前每条 Mnemon 命令的输出上限都是 2 MiB,而约 1,000 条记忆的空间会返回 3–9 MB。这些读取因此失败,工作记忆无法腾出空间,报错还提示去安装 Mnemon。现在整库读取的上限为 128 MiB,其余命令仍为 2 MiB,失败时会写明原因。(#321)
- **空闲审查每轮只写一层。**空闲审查不再把项目记录复制进热记忆。它先考虑项目档案;MEMORY.md 只收用户明确说过、且项目档案和已有条目都未涵盖的简短规则。每轮只写项目档案或工作记忆之一。分层策略页面的空闲审查中新增**写入运行时记忆**开关,关闭后审查只创建项目档案。(#322)
- **兜底侧栏入口与 DSH 原生行一致。**在没有 DSH 原生面板席位的布局中,“记忆系统”入口现在使用 DSH 自身面板行的样式。(#323)
变更的包:**dsh-mnemon 0.5.21**、**dsh-mnemon-source-memory-spaces 0.5.14** 与 **dsh-mnemon-provider-mnemon-native 0.5.8**;其余 15 个锁定的组件版本不变。支持 **DSH 0.2.0-rc.2**(npm `latest` 与 `next`)和 **DSH 0.1.7-rc.2**。
发布后 24 小时内请安装 `dsh-mnemon@0.5.21`:pnpm 11 不会选用发布不足一天的版本,在此之前普通安装或更新会得到 0.5.20。已有安装在这 24 小时内运行 `dsh plugin --profile web add dsh-mnemon@0.5.21`,之后运行 `dsh plugin --profile web update dsh-mnemon`,然后重启 DSH。桌面版在插件页中更新后完全退出并重新打开。无需迁移数据:已有的 MEMORY.md 条目保持不变,`idleReview.runtimeMemory` 默认开启。
### Details and evidence / 详情与证据
- [Release notes](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.21/docs/en/releases/v0.5.21.md) · [发布说明](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.21/docs/zh-CN/releases/v0.5.21.md)
- [Versioned acceptance](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.21/docs/pr-assets/release-v0.5.21/README.md) · [版本化验收](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.21/docs/pr-assets/release-v0.5.21/README.zh-CN.md)
- Fix records / 修复记录: [#320](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.21/docs/pr-assets/issue-320-native-store-dumps/README.md) · [#319](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.21/docs/pr-assets/issue-319-review-layers/README.md) · [#318](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.21/docs/pr-assets/issue-318-sidebar-entry/README.md)