Yara2090/dsh-update-center ↗★ 0

@local/dsh-update-center

提供版本检测、升级安装与一键修复 适合需要便捷管理DSH版本更新、监控下载进度的用户。

套件
@local/dsh-update-center
相容性
待驗證
版本
1.6.4
授權
MIT
最近更新
2026年10月2日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yara2090/dsh-update-center

配置

写在 profile 的 cordis.patch.yml 覆盖行里,字段全部可选:

- id: dsh-update-center
  name: "@local/dsh-update-center"
  config:
    channel: latest            # latest | next,默认 latest
    registry: "https://registry.npmjs.org/"   # 检测与安装都用的源,可换成内网镜像
    autoCheck: true            # 后台自动检测,默认 true
    autoInstall: false         # 检测到就自动安装,默认 false
    checkIntervalHours: 6      # 自动检测频率,默认 6

界面上能改的只有 channel / autoCheck / autoInstall / checkIntervalHours, 它们会落到偏好文件里并覆盖这里的默认值;registry 只能在配置里改,并且检测与安装 用的是同一个源(安装命令会带上 --registry=)。这样换成内网镜像后,检测到的 新版本也真的能从镜像装下来,不会出现「检测到有新版本、安装却从另一个源拉不到」。