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.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Moyumole/dsh-plugin-updatesREADME
Read the full README ↗使用
- 打开任意会话 → 右侧栏 →「开始」→「插件更新」;或
- 「设置 → 插件」→ 顶部「插件更新」;或
- 点击左侧栏「插件」图标(有更新时带红点)→ 顶部「插件更新」。
| 状态 | 展示 |
|---|---|
| 有更新 | 当前版本 → 最新版本,「更新」按钮可用 |
| 已最新 | 状态「已最新」,无按钮 |
| 不兼容 | 最新版 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 供应链操作)。