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

32 lines
3.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.15 · USER Tool Writes, Runtime Metadata and Skin Hooks
- [#282](https://github.com/omdsh-dev/dsh-mnemon/pull/282) restores USER add, replace and remove calls when the model supplies `branches: []`. Non-empty USER branches remain rejected; MEMORY branch behavior is unchanged.
- [#283](https://github.com/omdsh-dev/dsh-mnemon/pull/283) includes recorded importance and creation/update ages in Runtime model projections. Default Strategy guidance acknowledges the context budget without changing stored content, exact matching or capacity accounting.
- [#284](https://github.com/omdsh-dev/dsh-mnemon/pull/284) provides stable skin selectors and supported background variables for Sidebar and Builtin, with a bilingual skin development guide. Default backgrounds and body-portaled dialogs retain their existing behavior.
### Packages and upgrade
**dsh-mnemon 0.5.15**, **dsh-mnemon-source-runtime 0.5.9**, and **dsh-mnemon-strategy-default-three-tier 0.5.6** form the updated composition. The other fourteen companion packages retain their versions. Mnemon CLI remains independently maintained; local checks use official CLI 0.2.9.
```sh
dsh plugin --profile web add dsh-mnemon@0.5.15
```
Back up the DSH profile and relevant Mnemon data, then restart DSH and reload the browser after upgrading. Use `headless` for that Profile. Client compatibility still starts at DSH 0.1.5-rc.1; complete profiles need Node `^22.19.0 || >=24.0.0`.
No storage migration is required. Scoped, Light Context and Auto Capture remain composable. Existing skins must explicitly adopt the Mnemon hooks to customize transparency; the official theme stays opaque.
### 中文说明
本版修复 USER 工具写入被空 `branches: []` 占位参数拒绝的问题,保留非空 USER 分支校验和 MEMORY 分支语义;让 Runtime 模型投影展示重要性与按天计算的创建、更新时间,并明确快照受上下文预算限制;提供稳定的皮肤选择器与背景变量,并补充中英文开发手册。
主包升级至 **0.5.15**,Runtime Source 升级至 **0.5.9**,默认三层 Strategy 升级至 **0.5.6**,其余十四个插件版本不变。升级前备份 Profile 与相关数据,升级后重启 DSH 并刷新浏览器。存储格式、精确匹配与容量计算不变,无需数据迁移。现有皮肤需显式接入背景覆盖接口,官方主题保持不透明,弹窗保持独立样式。
### Evidence
[USER tool writes](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.15/docs/pr-assets/issue-281-user-branches/README.md), [Runtime projections](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.15/docs/pr-assets/issue-280-runtime-metadata/README.md), and [skin integration](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.15/docs/pr-assets/issue-273-skin-hooks/README.md) retain regression results and real WebUI comparisons. Model decisions use loopback fixtures; DSH tools, storage, browser and CLI operations are real. These checks do not certify live-model quality or Windows WebUI acceptance. 证据包含回归结果和真实 WebUI 对比;模型决策使用回环夹具,不代表在线模型质量或 Windows WebUI 已验收。
The release workflow verifies the merged workspace, independent plugins, frozen artifacts, the complete Registry combination and an actual v0.4.7 upgrade before creating this Release. 发布工作流先验证合并后的工作区、独立插件、冻结制品、完整 Registry 组合和 v0.4.7 真实升级,再创建此 Release。
[English release notes](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.15/docs/en/releases/v0.5.15.md) · [中文发布说明](https://github.com/omdsh-dev/dsh-mnemon/blob/v0.5.15/docs/zh-CN/releases/v0.5.15.md)