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

30 lines
3.8 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.20 · No Separate Starter Switch
- **The Starter's readiness is part of its component group.** 0.5.18 and 0.5.19 listed `dsh-mnemon/starter` on the Plugins page, and turning it off kept every component waiting for `mnemonStarterReady`: `dsh web` started without the Memory System and the desktop app failed its start. The group now prepares dependency resolution itself (`dsh-mnemon/bundle`), so the row is gone, **Enable now** still needs no restart, and a stuck profile recovers after the update and a restart. (#314)
- **Recovery after updates.** The installation guide covers errors after an update without a restart, the desktop app's recovery page, and pnpm's one-day window falling back more than one release. (#313, #315)
Changed package: **dsh-mnemon 0.5.20**. The 17 pinned component versions are unchanged.
### Upgrade
Supports **DSH 0.1.7-rc.2** (npm `latest`) and **DSH 0.2.0-rc.1** (npm `next`). Install `dsh-mnemon@0.5.20` through **Add plugin**, then **Enable now**, or run:
```sh
dsh plugin --profile web add dsh-mnemon@0.5.20
```
Include the version for the first 24 hours: pnpm 11 skips versions younger than a day, and until 17:31 UTC on 2026-09-29 it falls back to 0.5.17, which DSH 0.2 refuses. Existing installations run `dsh plugin --profile web add dsh-mnemon@0.5.20` for those 24 hours (pnpm keeps `update` and `update --latest` on the installed version until then), `dsh plugin --profile web update dsh-mnemon` afterwards, and restart DSH; until the restart, an update from 0.5.18 or 0.5.19 reports `mnemon-bundle (dsh-mnemon/bundle): pending (waiting for service: mnemonStarterReady)`. Desktop users update from the app's Plugins page, then quit and reopen it. No data migration. `dsh web --dump-config-schema` no longer lists Mnemon's component schemas.
### 中文说明
- **Starter 的就绪步骤并入组件组。** 0.5.18 与 0.5.19 在插件页列出 `dsh-mnemon/starter`,关闭它会让全部组件一直等待 `mnemonStarterReady`:`dsh web` 启动后没有记忆系统,桌面版则启动失败。组件组现在自己准备依赖解析(`dsh-mnemon/bundle`),因此那一行已经去掉,“立即启用”仍无需重启,卡住的 profile 更新并重启后即可恢复。(#314)
- **更新后的恢复说明。** 安装指南补充了更新后不重启出现的报错、桌面版的插件恢复页,以及 pnpm 一天期限可能退回不止一个版本的情况。(#313、#315)
发布后 24 小时内请安装 `dsh-mnemon@0.5.20`:pnpm 11 不会选用发布不足一天的版本,在北京时间 2026-09-30 01:31 之前会退回 0.5.17,DSH 0.2 会拒绝它。已有安装在这 24 小时内运行 `dsh plugin --profile web add dsh-mnemon@0.5.20`(在此之前 pnpm 的 `update` 与 `update --latest` 都会停留在已安装的版本),之后运行 `dsh plugin --profile web update dsh-mnemon`,然后重启 DSH;重启前,从 0.5.18 或 0.5.19 更新会提示 `mnemon-bundle (dsh-mnemon/bundle): pending (waiting for service: mnemonStarterReady)`。桌面版在插件页中更新后完全退出并重新打开。无需迁移数据。`dsh web --dump-config-schema` 不再列出 Mnemon 各组件的 schema。
### Details and evidence / 详情与证据
- [Release notes](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.20/docs/en/releases/v0.5.20.md) · [发布说明](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.20/docs/zh-CN/releases/v0.5.20.md)
- [Versioned acceptance](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.20/docs/pr-assets/release-v0.5.20/README.md) · [版本化验收](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.20/docs/pr-assets/release-v0.5.20/README.zh-CN.md)
- [Cold start and upgrades](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.20/docs/pr-assets/starter-group-upgrade/README.md) · [冷启动与升级](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.20/docs/pr-assets/starter-group-upgrade/README.zh-CN.md)