TT10-24/dsh-plugin-updater ↗★ 1

dsh-plugin-updater

Startup update checks for installed DSH plugins, DSH Desktop and the core, with a draggable panel, live progress and one-click updates — no agent calls, no token spend.

パッケージ
dsh-plugin-updater
互換性
未検証
バージョン
0.3.3
ライセンス
MIT
最終更新
2026/10/27

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TT10-24/dsh-plugin-updater

ドキュメント

README 全文を読む ↗

使用

  1. DSH 启动后会静默检查;有更新时侧边栏出现数量徽标。
  2. 点「查看更新」打开面板。
  3. 单个插件点「更新」;多个插件点「全部更新 (N)」。
  4. 面板顶部会显示实时进度条和 pnpm 日志末行。
  5. 更新成功的插件立即消失;如果需要重启,点「立即重启 DSH」。
  6. 面板可以拖到任意位置,位置会被记住;双击标题栏复位。

更新已安装插件后,DSH Desktop 需要重启才能加载新的代码或新增组件行。这是 DSH 插件替换机制的限制,不是插件本身的问题。

配置

在你的 profile 的 cordis.patch.yml 里覆盖本插件的行配置:

- id: plugin-updater
  name: dsh-plugin-updater
  config:
    # 自定义 registry(默认 https://registry.npmjs.org)
    registry: https://registry.npmmirror.com
    # 桌面端版本服务(默认官方地址)
    desktopEndpoint: https://www.dshdesktop.cn/api/desktop/version
    autoCheck: true          # 是否自动检查
    checkOnBoot: true        # 启动后 1.5s 自动检查
    checkDesktop: true       # 是否检查桌面端
    checkEngine: true        # 是否检查内核
    verbose: false           # Host 日志

修改后重启 DSH Desktop 生效。