Moyumole/dsh-plugin-updates ↗★ 0

@moyumole/dsh-plugin-updates

Check installed third-party DSH plugin bundles against npm and update them in place, with a right-sidebar page, a Plugins-page tab and a left-sidebar badge.

套件
@moyumole/dsh-plugin-updates
相容性
待驗證
Harness 依賴範圍
^0.2.1-rc.1
Cordis 依賴範圍
^4.0.5
版本
0.2.1
授權
MIT
最近更新
2026年10月29日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Moyumole/dsh-plugin-updates

使用

  1. 打开任意会话 → 右侧栏 →「开始」→「插件更新」;或
  2. 「设置 → 插件」→ 顶部「插件更新」;或
  3. 点击左侧栏「插件」图标(有更新时带红点)→ 顶部「插件更新」。
状态展示
有更新当前版本 → 最新版本,「更新」按钮可用
已最新状态「已最新」,无按钮
不兼容最新版 engines.dsh / @deepseek-ai/dsh-* peer 范围不接受当前 DSH 版本;默认禁用更新按钮
检查失败只把该行标为失败,其他行不受影响;顶部网络失败可重试并保留上次结果
非 npm 来源source 不是 npm 依赖(git / 本地路径等)时标为「不支持一键更新」

更新流程:removeBundle(name) → installBundle(name@latest, { enabled })。 更新会真实改动 profile 的 package.json / pnpm-lock.yaml 与 node_modules,且移除再安装期间该插件短暂不可用;被更新插件的浏览器端代码通常在刷新或重启 DSH 后生效。更新前请确认目标版本(更新本质上是 npm 供应链操作)。