DeepSeek Harness Plugin

jyz48prsbr-netizen/dsh-plugin-autoupdate

Stars ★ 0 Category Development & Runtime Added 2026-11-20

Scheduled in-place updates for installed profile plugins through the official pluginManager service, with a configurable interval and exclusion list; restart DSH to load new code.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:jyz48prsbr-netizen/dsh-plugin-autoupdate

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

定时检查已安装的 profile 插件,并通过官方 pluginManager 服务把兼容的新版本原地装上;更新自动保存到磁盘,重启 DSH 后加载新代码。

功能

  • 启动后 60 秒首次检查,之后每 12 小时一次(可配置)。
  • 仅更新已启用、从注册表安装、可加载的插件包;绝不更新自身(避免运行中把自己卸载)。
  • 默认选择最新的兼容非预发布版本,除非设置 allowPrerelease。
  • 记录日志到 <profile>/.plugin-autoupdate/log.ndjson,并在 macOS 上发出通知。
  • 可配置排除列表(默认已排除 dshmarket,避免与市场的自更新冲突)。

配置

配置项全部写在插件行的 config 中,常用项:

项 默认 说明
intervalHours 12 检查间隔(小时)
autoInstall true 是否自动安装兼容更新
allowPrerelease false 是否允许预发布版本
exclude ['dshmarket'] 额外排除的包名
notify true 更新后发 macOS 通知

安装

在 DSH 插件页通过本地目录安装,或通过插件市场索引安装本包。

详细配置与已知限制见 docs/DETAIL.md。

许可

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.