Alyosha28/dsh-plugin-updater0

@dsh-external/dsh-plugin-updater

DSH 插件更新中心:自动追踪所有插件版本,比对 npm/GitHub 最新版,一键下载→完整性校验→替换→热重启,定期自动检查并站内通知(界面参考 CC Switch 版本更新组件样式)。

包名
@dsh-external/dsh-plugin-updater
版本
0.1.0
许可证
BSD-3-Clause
最近更新
2026年8月16日

安装

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

配置

字段默认说明
checkIntervalMs21600000(6h)自动检查间隔(≥60s)
notifyNewUpdatestrue发现新更新时写站内通知
allowCoreUpdatesfalse允许更新 DSH 托管核心包(危险)
profileDir自动探测可更新范围 = 该 profile 的 node_modules
githubTokenGitHub token(env GITHUB_TOKEN 亦可用,且不落盘)
fetchTimeoutMs30000单个请求超时

配置持久化于 /storages/dsh-plugin-updater/config.json;通知与 已通知版本记录同目录。