a1113622001/dsh-auto-update ↗★ 2
dsh-auto-update
自动检查、下载并在退出时应用DSH启动器的版本更新 适合希望保持DSH系统最新、免去手动命令行更新步骤的便捷维护任务。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:a1113622001/dsh-auto-update说明文档
阅读完整 README ↗⚙️ 配置文件说明 (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 授权开源。