Repository navigation
v0.4.2: Shared Builtin placement and canonical settings
中文
v0.4.2 恢复可选的 Builtin 会话入口,并统一配置拼写。Sidebar 仍为默认和主要迭代入口;两个位置复用同一套页面、弹窗与样式,不恢复独立旧版 UI。
- 在设置中选择 Builtin,即可将记忆系统放入当前会话标签页,保存后实时生效。
- Builtin 不显示顶部的全局/工作区/自定义选择控件,自动对应所属会话:全局共享,工作区跟随会话 cwd,自定义使用
dataDir。独立任务和全局 USER.md 的既有规则保持不变。 - 以后统一使用
builtin;历史buildin仍被识别,并通过带修订号保护的设置接口自动写回builtin,保留注释和无关字段。只读设置不绕过权限;仅有 profile 旧值时写入用户级规范覆盖。 tabEnabled控制所选入口。Sidebar 与 Builtin 不会重复挂载;切换会话清理旧页面数据与编辑器,快捷操作进入对应位置。
升级注意
升级所属 DSH profile 中的 dsh-mnemon 到 0.4.2 后重启。若旧配置保留了 buildin,升级后该偏好会重新生效;希望继续使用独立入口时请选择 Sidebar。没有配置展示位置时仍默认 Sidebar。
mnemon:
displayMode: builtin
storageScope: workspace没有记忆数据迁移,存储格式、路径、Provider 凭据和 RPC 权限不变。继续包含 v0.4.1 修复,不包含计划中的 v0.5 架构升级。回滚到 0.4.1 会忽略展示偏好并使用 Sidebar;回滚到 0.3.x 需先改用该版本接受的 buildin 或 sidebar。
验证
- 完整本地验证:630 项测试通过,1 项 Windows 专用测试在 macOS 跳过;108 个构建文件确定性检查、35 个 Headless 工具及 5 个代表调用、115 文件发布包、10 个公开 Node 兼容入口、publint 与 attw 均通过。
- 发布提交 CI 覆盖 Linux Node.js 22.19/24、Windows Node.js 24、DSH 0.1.2-alpha.1 源码兼容,通过后发布。
- 将真实 0.4.2 tarball 安装到隔离的 DSH 0.1.1-rc.2 / Web-all 0.3.6 环境,使用官方 Mnemon CLI 0.2.5;验证旧配置自动规范化、界面版本、会话范围、四个页面、三个创建弹窗的打开与取消、中英文切换,以及已安装包的全部 10 个入口导入。仅使用本地固定响应模型和合成数据,未调用付费模型或远程 Provider。
完整中文发布说明 · 功能 PR #142(含截图) · 版本 PR #143
发布后校验
npm 发布流水线 已成功,latest 指向 0.4.2。从 npm 重新下载的 115 文件包中,114 个文件与本地实测包逐字节一致;client.js 仅有 6 条 CSS 虚拟模块注释的构建目录不同,所有执行代码与 CSS 均相同。安装正式包后再次通过四个页面和全部 10 个公开入口检查。
npm 正式包实机截图 为未经修改的 1280×720 补充验证画面,不作为文档新版主视觉。
English
v0.4.2 restores optional Builtin conversation placement and canonicalizes its configuration spelling. Sidebar stays the default and primary development surface; both placements use the same pages, dialogs, and styles.
- Select Builtin in Settings to show Memory System in the current conversation; changes apply live.
- Builtin hides the top-level scope/workspace/alignment controls. Global storage stays shared, workspace storage follows the owning session's cwd, and custom storage uses
dataDir. Existing independent-task and global USER.md routing remain intact. builtinis now canonical. Legacybuildinis recognized and automatically persisted asbuiltinthrough revision-fenced settings writes, preserving comments and unrelated fields. Read-only settings are not bypassed; profile-only aliases receive a canonical user-setting override.tabEnabledcontrols the selected placement, the entries never mount together, and session changes clear stale data and editors. Conversation shortcuts open the matching entry.
Upgrade notes
Upgrade dsh-mnemon to 0.4.2 in the owning DSH profile and restart it. Retained buildin preferences become effective again; choose Sidebar if you want to keep the standalone entry. An omitted display preference still defaults to Sidebar. The YAML example above uses the canonical spelling.
There is no memory-data migration or change to storage formats, paths, Provider credentials, or RPC authority. v0.4.1 fixes remain included; the planned v0.5 architecture is not included. Rolling back to 0.4.1 ignores the placement setting and returns to Sidebar; v0.3.x needs its accepted buildin spelling or sidebar first.
Verification
Full local verification passed: 630 tests with one Windows-only skip on macOS, 108 deterministic build files, 35 Headless tools and five representative calls, a 115-file package, ten Node-compatible public entries, publint, and attw. Release-commit CI gates include Linux Node.js 22.19/24, Windows Node.js 24, and source-linked DSH 0.1.2-alpha.1.
The actual 0.4.2 tarball was installed into an isolated DSH 0.1.1-rc.2 / Web-all 0.3.6 profile with the official Mnemon 0.2.5 CLI. Legacy-setting normalization, UI version, session scope, all four pages, three create-dialog open/cancel paths, Chinese/English switching, and all ten imports from the installed artifact passed. Tests used synthetic data and a local fixed-response model, not paid models or remote Providers.
Full English release notes · Feature PR #142 with screenshots · Release PR #143
Post-publication verification
The npm publication workflow succeeded and latest is 0.4.2. Of the 115 files downloaded again from npm, 114 match the locally tested tarball byte-for-byte. The only differences in client.js are six CSS virtual-module comments containing different build checkout paths; all executable code and CSS are identical. The installed registry release passed another four-page Web check and all ten public imports.
The registry-release screenshot is an unmodified 1280×720 supplementary verification capture, not a replacement documentation hero asset.
Full changelog: v0.4.1...v0.4.2