a1113622001/dsh-auto-update ↗★ 2

dsh-auto-update

自动检查、下载并在退出时应用DSH启动器的版本更新 适合希望保持DSH系统最新、免去手动命令行更新步骤的便捷维护任务。

套件
dsh-auto-update
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
0.1.1
授權
MIT
最近更新
2026年9月18日

同名套件的其他儲存庫

安裝

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

⚙️ 配置文件说明 (cordis.patch.yml)

插件安装后会自动注入配置。如需自定义参数,可在 %USERPROFILE%\.dsh\profiles\web\cordis.patch.yml 中调整:


# dsh-auto-update 配置项
- insert:
    - id: auto-update
      name: 'dsh-auto-update'
      config:
        distTag: latest              # 跟踪的 npm dist-tag (如 latest, next)
        checkOnStart: true           # 启动时立即执行一次版本检查
        checkIntervalMinutes: 240    # 定期检查间隔 (分钟)
        autoStage: true              # 发现新版本后自动下载暂存
        applyOnExit: true            # Harness 退出时自动应用更新
        relaunch: false              # 应用更新后是否自动重启 harness

📄 开源许可证

本项目采用 MIT License 授权开源。