InariNGT-Ofiicial/dsh-plugin-updates ↗★ 0

dsh-plugin-updates

自动检查并更新已安装的插件 适合希望省去手动更新步骤、保持DSH插件处于最新版本的用户。

包名
dsh-plugin-updates
兼容性
待验证
Harness 依赖范围
0.2.1-rc.2
版本
0.2.1
许可证
MIT
最近更新
2026年10月22日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:InariNGT-Ofiicial/dsh-plugin-updates

原生配置

在当前 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、命令或版本;可更新目标来自本地已安装条目和核对过的上游版本。