DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
A

@sueleven/dsh-auto-update

Auto Update

DSH 插件:每次打开 DeepSeek Harness 时自动检查已下载并启用的插件有没有新版本,在界面上列出并询问是否更新,确认后更新到最新版。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:1708994293-hue/dsh-auto-update#338baaaac9ba1a117a0e78633f343df87a64b34e
README兼容性版本

兼容性与来源证明

Auto Update 以 @sueleven/dsh-auto-update 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/21

版本

1.0.0stable
2026/10/21
最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/21
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-auto-update

DeepSeek Harness(dsh)插件:每次打开 DSH 时自动检查你已经下载并启用的插件有没有新版本,发现后主动列出并询问是否更新——点确认才更新,更新走 DSH 官方通道,不会覆盖你的 profile 配置。

  • 启动约 8 秒后后台检查,不阻塞界面;
  • 有新版本时右下角出现提示卡,逐条列出 插件 当前版本 → 最新版本;
  • 按钮:全部更新 / 稍后提醒;无更新时完全静默;
  • 更新完成后提示「重启 DSH 后生效」,与插件市场的更新语义一致。

安装

要求:dsh 0.2.1 及以上(插件声明了 dsh.bundle manifest)。

从 npm 安装(推荐,任意平台)

dsh plugin --profile desktop add @sueleven/dsh-auto-update

npm 上无 scope 的名字 dsh-auto-update 被 registry 以「与已有包 dsh-autoupdate 名称过于相似」拒绝,因此发布名带 scope:@sueleven/dsh-auto-update。

从 GitHub 安装

dsh plugin --profile desktop add github:1708994293-hue/dsh-auto-update

从本地目录安装

# Windows:脚本会复制插件并调用官方 dsh plugin 通道安装
pwsh -NoProfile -File scripts/install.ps1

# 任意平台:
dsh plugin --profile desktop add link:<本仓库绝对路径>

装完完全退出并重启 DSH,侧边栏「插件」页里会出现 dsh-auto-update。

如何工作

部分文件作用
Host 半lib/index.js启动延时检查、状态机、同源 HTTP 路由 `/dsh-auto-update/status
Client 半lib/client.js注册 shell.overlay 提示卡,轮询状态、展示列表与按钮
检查/更新器lib/update.mjs读取 profile、查询 npm registry、按需调用官方 dsh plugin ... add

检查范围:profile package.json 的 dependencies ∩ dsh.profile.bundles(即「已下载且已启用」),并排除市场里被禁用的包、非 registry 依赖(file: / link: / git: 等)以及插件自身。版本比较使用 semver,只在前向升级时列出,不会把插件降级。

更新方式:<DSH exe> --expose-internals <app.asar>/dsh/node_modules/@deepseek-ai/dsh-desktop-host/lib/cli.js plugin --profile <name> add <pkg>@<ver> --config.minimum-release-age=0,即 DSH 插件市场使用的同一个官方通道。

环境变量

变量作用
DSH_AUTO_UPDATE_DELAY_MS启动后延时多久开始检查(默认 8000)
DSH_AUTO_UPDATE_DISABLE=1本次启动不检查、不显示提示
DSH_AUTO_UPDATE_PROFILE覆盖 profile 名(默认读 DSH_PROFILE,否则 desktop)
DSH_AUTO_UPDATE_DATA_DIR覆盖日志/状态目录(默认插件包目录)

日志

  • <插件目录>/logs/auto-update.log:每次检查与更新的完整记录
  • <插件目录>/logs/plugin.log:插件生命周期(启动、检查结果、用户确认、错误)
  • <插件目录>/state/last-run.json:最近一次检查的结构化结果

插件目录:本地 link: 安装是 ~/.dsh/plugins/dsh-auto-update;npm 安装是 profile 的 node_modules/@sueleven/dsh-auto-update。

手动使用

# 只检查,不做任何修改
node <插件目录>/lib/update.mjs --check

# 列出可更新项(JSON)
node <插件目录>/lib/update.mjs --check --json

update.mjs 支持 --profile、--check、--json、--dry-run、--help。

卸载

dsh plugin --profile desktop remove @sueleven/dsh-auto-update

Windows 本地安装可再用 pwsh -NoProfile -File scripts/uninstall.ps1 删除插件目录。

开发

node --check lib/index.js   # package.json 里 type=module
node lib/update.mjs --check --dry-run

本地联调可把 profile 依赖换成 link:<仓库路径>,改完代码重启 DSH 即可生效。

发布到插件市场

awesome-dsh-plugin 是 DSH 插件目录(dsh-market 与「插件 → 发现」的索引都来自它)。上架步骤:仓库公开、带 dsh-plugin topic、仓库创建满 1 天,然后向该仓库提 PR,新增单文件 data/plugins/<owner>__dsh-auto-update.yml:

url: https://github.com/<owner>/dsh-auto-update
name: <owner>/dsh-auto-update
category: workflow
description:
  en: Checks enabled DSH plugins for new versions at startup and asks before updating them.
  zh: 每次打开 DSH 自动检查已启用插件的新版本,列出并询问是否更新。

English

A DeepSeek Harness plugin that checks your installed-and-enabled plugins for newer versions on every DSH launch, lists what it finds, and updates only after you confirm. Updates go through the official dsh plugin add channel and take effect after a restart.

dsh plugin --profile desktop add @sueleven/dsh-auto-update
# or: dsh plugin --profile desktop add github:1708994293-hue/dsh-auto-update

License

MIT