InariNGT-Ofiicial/dsh-plugin-updates ↗★ 0
dsh-plugin-updates
自动检查并更新已安装的插件 适合希望省去手动更新步骤、保持DSH插件处于最新版本的用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:InariNGT-Ofiicial/dsh-plugin-updates說明文件
閱讀完整 README ↗原生配置
在当前 profile 的 cordis.patch.yml 中设置已有条目:
- id: plugin-updates
config:
autoUpdate: true
intervalHours: 24
checkOnStart: true
startupDelaySeconds: 15
allProfiles: true
includePrereleases: false
timeoutMs: 12000
maxRequests: 40
githubTokenEnv: DSH_GITHUB_TOKEN
proxyUrl: ""
repositories: []
autoUpdate: false 只关闭安装,intervalHours: 0 暂停全部定时任务。checkOnStart: false 在启动时不立即进行到期检查。插件只在 DSH 运行且启用时执行,不创建操作系统计划任务。
缺少来源或子目录时,可以通过可信本地配置补充:
repositories:
- packageName: example-plugin
repository: https://github.com/example/plugin-repository
directory: packages/plugin
profile: desktop
ref: main
单包仓库省略 directory,跨 profile 适用时省略 profile。上例只是占位符。工具不接受模型临时传入任意 URL、命令或版本;可更新目标来自本地已安装条目和核对过的上游版本。