Wonderow666/dsh-auto-update ↗★ 0

dsh-auto-update

Check, install and roll back DeepSeek Harness CLI updates from the Web settings page, with a health-checked restart and automatic rollback. 适合需要通过Web界面便捷管理DSH CLI版本升级与回滚的用户。

パッケージ
dsh-auto-update
互換性
未検証
バージョン
0.2.4
ライセンス
MIT
最終更新
2026/10/22

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

インストール

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

ドキュメント

README 全文を読む ↗

配置

环境变量(重启命令与指针目录)

插件不去猜你的目录结构,三件事全部可配置:

变量默认说明
DSH_AUTO_UPDATE_LAUNCH_CMD(空)切换版本后用来重启 web 宿主的脚本。没配置就不允许升级
DSH_AUTO_UPDATE_LAUNCHER_DIR%DSH_HOME%\auto-update\launcher启动指针 current-root.txt 所在目录
DSH_AUTO_UPDATE_BOOT_LOG(空)启动日志路径;配了才能把"起不来"的具体原因显示在卡片上
DSH_HOME~/.dshDSH 数据根;安装目录默认在它旁边
DSH_AUTO_UPDATE_INSTALL_BASE(空)安装目录的兜底默认值,会被 install-base.txt 覆盖(见「安装目录」)
setx DSH_AUTO_UPDATE_LAUNCH_CMD "C:\tools\start-dsh-web.cmd"
setx DSH_AUTO_UPDATE_LAUNCHER_DIR "C:\tools\dsh-launcher"
setx DSH_AUTO_UPDATE_BOOT_LOG "C:\tools\start-dsh-web.log"

profile 配置(cordis.patch.yml)

- id: dsh-auto-update
  name: dsh-auto-update
  config:
    enabled: true
    channel: latest      # latest | next | alpha
    intervalHours: 6
    autoApply: false     # true = 定时检查到新版本就自动装
    registry: ""         # 空 = npm 默认源;可填镜像,例如 https://registry.npmmirror.com

运行时修改(设置页开关、接口调用)落到 %DSH_HOME%\auto-update\config.json,优先级高于 patch 里的默认值。

profile 配置(cordis.patch.yml)

- id: dsh-auto-update
  name: dsh-auto-update
  config:
    enabled: true
    channel: latest      # latest | next | alpha
    intervalHours: 6
    autoApply: false     # true = 定时检查到新版本就自动装
    registry: ""         # 空 = npm 默认源;可填镜像,例如 https://registry.npmmirror.com

运行时修改(设置页开关、接口调用)落到 %DSH_HOME%\auto-update\config.json,优先级高于 patch 里的默认值。