Skip to content

v1.1.8 — 修复 DSH 启动致命屏

Choose a tag to compare

@new-256 new-256 released this 10 Sep 13:52
· 8 commits to main since this release

v1.1.8 — 修复 DSH 启动致命屏(紧急热修)

根因

client-modules 的 graph row 以包名codebuddy-first-bridge)为 id,bundle 脚本执行后按 loaded without registering "<packageName>" 校验注册名。v1.1.7 的 home-plugin/codebuddy-indicator/lib/client.js 仍写旧独立包名 id: "codebuddy-indicator",包并入主包后两者不匹配 → 整个 client combo 加载失败 → Failed to load plugins,桌面壳被迫进入安全模式(2026-09-10 18:08 事故)。

修复

  • __ModuleLoader__.load({ id }) 改为 codebuddy-first-bridge,与包名严格一致。
  • 补齐热修漏掉的 test/mcp.test.mjs 1.1.8 版本断言;74/74 测试通过。
  • npm 1.1.8 已于事故后热发,本 release 补齐 git 欠账。

背景:错误来自后台两个官方包

  • failed to import loader entry —— @deepseek-ai/cordis-plugin-loader 的 updateError 包装器
  • bundle ... loaded without registering —— @deepseek-ai/dsh-client-modules 的注册名校验

相关上游改进已另行反馈。