Skip to content

dsh-plugin-market v1.2.1 — 卸载彻底干净 + 启动安全

Choose a tag to compare

@nanshan1995 nanshan1995 released this 16 Aug 08:26
· 10 commits to main since this release
68de5e2

v1.2.1 · 修复发布(强烈建议所有用户更新)

修复实机报告的严重问题:通过市场卸载插件后,harness 可能启动失败(profile 里残留历史装配行,重启时加载已删除的包导致 boot 崩溃)。

本版内容

  • 装配引用精准清理:卸载前收集插件声明的装配 id/name,按此清掉 profile patch 里的历史 insert 行
  • 写盘守卫:cordis.patch.yml 含 !!js 等自定义表达式时跳过重写,防止写坏
  • 自动备份:改写 patch / profile package.json 前自动备份 .bak-时间戳 文件
  • node_modules 残留清扫:补删 dsh remove 遗留的 link/目录
  • 去除危险操作:不再强制 dispose 运行中的装配条目(避免写盘副作用)

验证

隔离环境端到端测试(装配 id ≠ 包名的刁钻插件):卸载后依赖/装配列表清空、历史行精准删除、无关配置保留、node_modules 无残留、装配启动无错误。

安装 / 更新

dsh plugin --profile web add github:nanshan1995/DSH-Plugin-Market

或下载附件 dsh-plugin-market-1.2.1.tgz

dsh plugin --profile web add file:./dsh-plugin-market-1.2.1.tgz

安装后重启 DeepSeek Harness。