这是 v0.16.0 的补丁发版,修两个会影响启动和更新体积的问题。
修复
- 独立入口在装有第三方 bundle 的 profile 上启动失败 — #1577 把后端装配放到了延迟根守卫之前。profile 的
dsh.profile.bundles里有@deepseek-ai/*和 dsh-tui 之外的包时,装配会提前解析组合根,根能力守卫立刻装上且撤不掉;DSH 0.2.0-rc.2 的基础行在ctx.root.accessor('invocation')处被拒,plugin-manager、llm、commands等 9 个必需插件无法激活,agent-loop等不到llm。现在延迟紧跟在入口绑定根之后,排在装配和内核选择之前,恢复 0.15.0 的守卫时序。(#1598 by @MomentDerek;维护者修复 by @ccch1mneyyy) - 更新时不再把其他平台的 Claude SDK 包拉进 profile — pnpm 更新会物化所有平台的 optional dependency;0.15 → 0.16 曾把七个
@anthropic-ai/claude-agent-sdk-*包(约 1.6GB)装进 profile store,而实际只会链接当前平台的那一个。现在更新和按需安装内核都会按本机 platform/arch/libc 过滤;Claude SDK 仍是按需安装的可选后端,普通更新不会自动加。(#1600 by @ccch1mneyyy)
兼容与升级
- 从 v0.16.0 升级:程序内
/update,或
npm install -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui@0.16.1。 - 已在 0.16.0 遇到启动失败:升级到 0.16.1 即可,不必再钉回 0.15.0、移除第三方 bundle 或先升 DSH。
- 一键安装包
dsh-tui-setup.zip、各平台dsh-tui-standalone-*便携包与SHA256SUMS仍在 Release 资产里。
安装
npm install -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui@0.16.1偏好一键安装的用户可下载 Release 中的 dsh-tui-setup.zip,解压后按平台运行 install.sh 或 install.ps1;便携包解压即用。
What's Changed
- fix(update): install only this platform's Claude SDK bundle by @ccch1mneyyy in #1600
- fix(host): defer the root guard before the entry's backend assembly by @MomentDerek in #1598
Full Changelog: v0.16.0...v0.16.1