Repository navigation
v0.4.7: DSH 0.1.2-rc.1 compatibility
中文
v0.4.7 将已发布的 DSH 0.1.2-rc.1 提升为 dsh-mnemon 稳定的 registry 与开发基线,同时保留对其直接前序 DSH 0.1.2-alpha.5 tag 的完整源码验证,以及 DSH 0.1.1-rc.2 上的真实 WebUI 向后回归。PR #161、PR #162。
兼容性变更
- 直接使用的 22 个 DSH 开发依赖全部精确固定到
0.1.2-rc.1。显式加入 Store 与 Invariants,闭合已发布的类型和 peer 依赖图。 - 子 Agent token selector 改从公开 owner
@deepseek-ai/dsh-client-store导入SnapshotSelectorHook,UI Slots package 继续提供StoredEntry;这只是类型边界修正,不改变运行时 token 统计。 - Lockfile 只包含一套一致的 rc.1 预发布依赖群。pnpm 11 release-age 豁免只精确枚举 lockfile 中实际存在的 rc.1 package,后续发布的
@deepseek-aipackage 仍会继续隔离。 - DSH 0.1.2-alpha.5 继续由源码覆盖 job 验证,并包含 Store 与 Invariants。基于能力的 Session 读取继续支持 alpha.5/rc.1 snapshot 接口与 rc.2
events[]属性,不解析 package 版本。
云端 WebUI 认证
当前部署指南已切换到 DSH 0.1.2-rc.1 transport:页面、每个 RPC 与每条 stream 都使用 Host 启动 token URL 和签名、绑定 authority 的 Cookie 所建立的浏览器会话。--trusted-host 仍只是 Host/Origin 防线;公网入口仍需 HTTPS 与部署层访问控制。
上一条 DSH 0.1.1-rc.2 流程作为显式回滚路径保留。它的逐方法 authority 层仍要求启动时 Mnemon remoteAccess: trusted-host 覆盖,才能从远端使用管理通道;DSH 0.1.2-rc.1 与 alpha.5 会忽略这一保留的兼容设置。
升级与兼容性
npm install -g @deepseek-ai/dsh@0.1.2-rc.1
dsh plugin --profile web add dsh-mnemon@0.4.7
dsh plugin --profile headless add dsh-mnemon@0.4.7DSH 各 profile 的插件清单彼此独立,只需执行适用于当前安装的 profile 命令,然后重启对应 profile。记忆数据、存储路径、Pack 格式、Provider 凭据、运行时默认配置、生产依赖、公开 package exports 与 Session 投影状态均不变,无需迁移或删除缓存。
验证
- Node 24.18.0 / pnpm 10.13.1 完整
pnpm run verify通过:654 项测试通过,1 项 Windows 专用测试在 macOS 跳过;110 个确定性构建文件、隔离 Headless 激活、10 个 Node-compatible 公开入口、117 文件发布包内容、publint 与 attw 均通过。 - PR #162、发布 PR #163 与合并后主线 CI 的 Linux Node 22.19/24、Windows Node 24 与源码链接 DSH 0.1.2-alpha.5 任务全部通过。
- 隔离的 DSH 0.1.2-rc.1 WebUI profile 完成状态加载、记忆系统导航、合成对话、只读保存弹窗与刷新持久化;另一套 DSH 0.1.1-rc.2 profile 完成同一对话与刷新回归。浏览器 warning/error 日志与对应 Host 诊断均为空。详见环境记录与截图。
回滚
在相同 profile 中重新安装 dsh-mnemon@0.4.6 并重启,无需转换数据。v0.4.6 发布时尚未以 DSH 0.1.2-rc.1 为基线;需要完整经过验证的回滚时,也应把 DSH 恢复到 0.1.1-rc.2,并在远程部署中使用 rc.2 专用的云端步骤。
完整中文说明:v0.4.7 发布说明。
English
v0.4.7 promotes the published DSH 0.1.2-rc.1 release to dsh-mnemon's stable registry and development baseline. It retains complete source verification against the immediately preceding DSH 0.1.2-alpha.5 tag and a real WebUI backward regression on DSH 0.1.1-rc.2. PR #161, PR #162.
Compatibility changes
- All 22 directly consumed DSH development packages are pinned to exact
0.1.2-rc.1releases. Direct Store and Invariants dependencies close the published type and peer graph. - The child-token selector imports
SnapshotSelectorHookfrom its public owner,@deepseek-ai/dsh-client-store; UI Slots remains the owner ofStoredEntry. This corrects a type boundary without changing runtime token accounting. - The lockfile contains one coherent rc.1 prerelease cohort. pnpm 11 release-age exceptions enumerate only the exact rc.1 packages present in that lockfile, while later
@deepseek-aipublications remain quarantined. - DSH 0.1.2-alpha.5 stays covered by the source-overlay job, including Store and Invariants. Capability-based Session reads continue to support alpha.5/rc.1 snapshots and rc.2's
events[]property without parsing package versions.
Cloud WebUI authentication
The active deployment guide now follows the DSH 0.1.2-rc.1 transport: every page, RPC, and stream uses the browser session established from the Host's launch-token URL and signed, authority-bound cookie. --trusted-host remains a Host/Origin fence; HTTPS and deployment access controls remain required for a public entry.
The previous DSH 0.1.1-rc.2 procedure remains an explicit rollback path. Its method-specific authority tiers still require the startup-only Mnemon remoteAccess: trusted-host override for remote management channels; DSH 0.1.2-rc.1 and alpha.5 ignore that retained compatibility setting.
Upgrade and compatibility
npm install -g @deepseek-ai/dsh@0.1.2-rc.1
dsh plugin --profile web add dsh-mnemon@0.4.7
dsh plugin --profile headless add dsh-mnemon@0.4.7DSH profiles have independent plugin rosters, so run only the profile commands that apply, then restart those profiles. Memory data, storage paths, Pack formats, Provider credentials, runtime configuration defaults, production dependencies, public package exports, and Session projection state are unchanged. No migration or cache deletion is required.
Verification
- Complete
pnpm run verifypassed on Node 24.18.0 with pnpm 10.13.1: 654 tests passed and one Windows-only test was skipped on macOS. All 110 deterministic build files, isolated Headless activation, ten Node-compatible public entries, the 117-file package-content check, publint, and attw passed. - PR #162, release PR #163, and merged-main CI all passed Linux Node 22.19/24, Windows Node 24, and source-linked DSH 0.1.2-alpha.5 jobs.
- Isolated DSH 0.1.2-rc.1 WebUI profiles completed status loading, Memory System navigation, a synthetic conversation, the read-only save dialog, and reload persistence. A separate DSH 0.1.1-rc.2 profile completed the same conversation and reload regression. Browser warning/error logs and matching Host diagnostics were empty. See the environment record and screenshots.
Rollback
Reinstall dsh-mnemon@0.4.6 in the same profiles and restart them. No data conversion is needed. v0.4.6 was not released against DSH 0.1.2-rc.1, so return DSH to 0.1.1-rc.2 as well when a fully verified rollback is required, and use the rc.2-specific cloud procedure for remote deployments.
Complete English notes: v0.4.7 release notes.
Release PR #163 · Full changelog
发布后验证 / Post-publication verification
npm 发布流水线完成 tag 校验、rc.1 发布包全量验证与发布;合并后主线 CI另行通过 Linux、Windows 与 DSH alpha.5 源码兼容性矩阵。npm latest 已指向 0.4.7。重新下载正式 tarball 后,registry SHA-1 与 SHA-512 完整性校验均通过。
The npm publication workflow completed tag validation, full rc.1 package verification, and publication; merged-main CI separately passed the Linux, Windows, and DSH alpha.5 source-compatibility matrix. npm latest resolves to 0.4.7; the downloaded release tarball passed its registry SHA-1 and SHA-512 integrity checks.
正式包包含 117 个文件,其中 116 个与本地已验证候选逐字节一致。仅 lib/client.js 的 6 条 CSS 虚拟模块 region 注释使用了 GitHub Runner 构建根路径;归一化路径后整文件完全一致,全部执行代码、CSS、声明和元数据保持一致。
The published package contains 117 files, of which 116 match the locally verified candidate byte-for-byte. Only six CSS virtual-module region comments in lib/client.js use the GitHub Runner build-root path; the complete file matches after path normalization, with all executable code, CSS, declarations, and metadata unchanged.
通过 registry 名称在全新隔离目录安装 dsh-mnemon@0.4.7 后,版本正确,Node 24.18.0 成功导入全部 10 个 Node-compatible 公开入口。此前保留的 rc.1、alpha.5 与 rc.2 验证场景及截图对应的候选执行内容已由上述逐文件对照覆盖。
A fresh registry-name installation of dsh-mnemon@0.4.7 reported the correct version and imported all ten Node-compatible public entries on Node 24.18.0. The executable candidate covered by the preserved rc.1, alpha.5, and rc.2 validation scenarios and screenshots is accounted for by the file comparison above.
Registry tarball SHA-256: 991cef31d4e705d8f0211eae468aa5d344920f92a1fbec2cc2860c1d472d3ddd.