Repository navigation
v0.4.3: Aligned collapsed sidebar icon
中文
v0.4.3 修复记忆系统折叠后的侧栏图标,并保持原有展开样式。Issue #141、PR #144。
修复
- 原生 DSH 正确应用折叠入口的居中与隐藏文字规则,不再依赖第三方 Web UI 的 frame 属性。
- 折叠图标使用与相邻控件一致的 primary label 颜色;SVG 画布调整为 20px,补偿图案内部留白,使可见尺寸协调。
- 展开时保留原有 18px SVG、间距、文字和 secondary 颜色,兼容 Web UI 0.3.9。修复只修改一个 CSS 文件,没有新增 JavaScript 或状态。
升级与兼容性
在所属 DSH profile 中安装 dsh-mnemon@0.4.3,然后重启。Sidebar 与可选 Builtin 入口保持 v0.4.2 的行为与兼容规则。
没有新增配置或迁移。记忆数据、存储路径、Pack 格式、Provider 凭据、RPC 权限和依赖均不变。DSH 0.1.1-rc.2 仍为 registry 基线;DSH 0.1.2-alpha.1 继续作为源码兼容性目标。
验证
- 发布候选通过完整
pnpm run verify:630 项测试通过,1 项 Windows 专用测试在 macOS 跳过;108 个构建文件确定性检查、35 个 Headless 工具及 5 个代表调用、全部 10 个 Node 兼容入口、publint 与 attw 均通过。 - 将实际 115 文件 tarball 安装到隔离的 DSH 0.1.1-rc.2 原生与 Web UI 0.3.9 profile,使用官方 Mnemon 0.2.6 CLI。版本 0.4.3、中英文四个主页面、原生浅色与深色图标、折叠居中及 20px SVG、展开时保留 18px SVG,以及从两个安装包导入全部 10 个入口均通过。未观察到浏览器控制台错误;既有依赖 source-map 和 Web UI
session/list警告仍存在。验证使用合成数据与本地模型桩,没有访问个人记忆或调用付费模型。
实现验证记录覆盖原生浅色与深色主题、Web UI 0.3.9、折叠与展开、页面导航及图标几何测量。截图和原始测量数据不进入 npm 包,既有包内容校验会检查发布文件白名单。
回滚
在同一 profile 中重新安装 dsh-mnemon@0.4.2 并重启,无需转换数据;折叠图标会恢复此前的外观。
上一版:v0.4.2。
English
v0.4.3 fixes Memory System's collapsed sidebar icon without changing its expanded appearance. Issue #141, PR #144.
Fixes
- Native DSH now applies the collapsed entry's centering and hidden-label rules without requiring a third-party Web UI frame attribute.
- The collapsed icon uses the same primary label color as neighboring controls. Its SVG viewport is 20px to compensate for internal artwork padding and align the visible icon size.
- Expanded styling keeps the original 18px SVG, spacing, label, and secondary color, including with Web UI 0.3.9. The fix changes one CSS file and adds no JavaScript or state.
Upgrade and compatibility
Install dsh-mnemon@0.4.3 in the owning DSH profile and restart it. Sidebar and optional Builtin placement retain the v0.4.2 behavior and compatibility rules.
No new configuration or migration is introduced. Memory data, storage paths, Pack formats, Provider credentials, RPC authority, and dependencies are unchanged. DSH 0.1.1-rc.2 remains the registry baseline; DSH 0.1.2-alpha.1 remains a source compatibility target.
Verification
- The release candidate passed
pnpm run verify: 630 tests passed and one Windows-only test was skipped on macOS; 108 deterministic build files, 35 Headless tools with five representative calls, all ten Node-compatible public entries, publint, and attw passed. - The actual 115-file tarball was installed in isolated DSH 0.1.1-rc.2 profiles, both native and with Web UI 0.3.9, using the official Mnemon 0.2.6 CLI. Version 0.4.3, all four pages in Chinese/English, native light/dark icons, collapsed centering and 20px SVGs, unchanged expanded 18px SVGs, and ten imports from each installed package passed. No browser console errors were observed; existing dependency source-map and Web UI
session/listwarnings remain. Tests used synthetic data and a local model stub, without personal memory or paid model calls.
The implementation evidence covers native light/dark themes, Web UI 0.3.9, collapse/expand, navigation, and measured icon geometry. Screenshots and raw measurements stay outside the npm package; the existing package-content check enforces its file whitelist.
Rollback
Reinstall dsh-mnemon@0.4.2 in the same profile and restart it. No data conversion is needed; the previous collapsed-icon appearance returns.
Previous release: v0.4.2.
Full changelog: v0.4.2...v0.4.3
发布后验证 / Post-publication verification
npm 发布流水线与合并后主线 CI均已成功;npm latest 指向 0.4.3,下载包的 SHA-512 完整性校验通过。
The npm publication workflow and merged-main CI succeeded. npm latest resolves to 0.4.3, and the downloaded package passed its SHA-512 integrity check.
正式包共 115 个文件,114 个与本地实测包逐字节一致;client.js 仅有 6 条 CSS 虚拟模块注释的构建路径不同,执行代码和 CSS 完全一致。docs/、截图和原始测量数据均未打包。
The registry tarball contains 115 files: 114 match the tested candidate byte-for-byte. Only six CSS virtual-module comments in client.js contain different build checkout paths; all executable code and CSS match. The docs directory, screenshots, and raw measurements are excluded.
通过 registry 名称 dsh-mnemon@0.4.3 在两个全新隔离 profile 中重新安装后,原生与 Web UI 0.3.9 的版本、四个主页面、折叠居中与颜色、20px/18px 图标尺寸,以及全部 10 个公开 Node 入口均再次通过;任务看板往返保留所选记忆页面,浏览器控制台没有错误。
Fresh registry-name installations of dsh-mnemon@0.4.3 passed another native/Web UI 0.3.9 check of the displayed version, four pages, collapsed alignment and color, 20px/18px SVG sizes, and all ten public Node imports. Task Board round trips retained the selected memory page, with no browser console errors.
正式 npm 包实机截图 / Registry-release screenshot 是未经修改的 1280×720 补充验证画面,不替换文档主视觉。 / This unmodified 1280×720 supplementary verification capture does not replace documentation hero assets.