DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Self Upgrade — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-self-upgrade

Self Upgrade

DeepSeek Harness agent 的原地自升级:检测官方 GitHub Releases 及更新说明,自动备份,通过 npm 升级或从源代码构建安装(仅支持升级,不支持回滚),感知空闲状态的自动重启,以及模型工具和设置面板。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:raomaiping-hash/dsh-self-upgrade#41ce2cc35397a557f12aefdfeb3ddf323df90af1
README兼容性版本

兼容性与来源证明

Self Upgrade 以 dsh-self-upgrade 发布,当前版本为 1.1.4。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

1.1.4stable
2026/9/10
1.1.3stable
2026/9/9
1.1.2stable
2026/9/7
查看其余 2 个版本收起版本
1.1.0stable
2026/9/4
1.0.0stable
2026/8/21

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Automation@michengai/dsh-automation在独立 DSH Session 中按计划执行编码任务,支持 Web 设置页与 Agent 双入口管理。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Market Plusdsh-market-plusDSH 插件市场增强版:dsh-market 基座 + dsh-store 的 npm 权威源/质量验证/GitHub 热度/代理注入/回退安装(MIT,融合 dsh-market 与 dsh-store)

README

dsh-self-upgrade

DeepSeek Harness 本体自升级插件:检测官方新版、自动备份、一键升级;自动更新等待系统空闲才重启,不打断进行中的会话。

Capabilities · Install · Auto-update · Security · 中文说明

An in-place self-upgrade plugin for the DeepSeek Harness agent. It detects new official versions from GitHub Releases, backs up your data, upgrades the globally installed @deepseek-ai/dsh package to a newer official version (npm install, or source build when npm lacks the tag), and restarts the service — with an idle-aware auto-update mode that never interrupts a running session. Downgrade/rollback is intentionally not supported.

Capabilities

ToolDescription
dsh_upgrade_statusInstalled vs latest official version, upgrade job progress, pending restart state, log tail
dsh_upgrade_runUpgrade / reinstall: backup → npm install (source build when npm lacks the tag) → verify → delayed restart
dsh_upgrade_cancel_restartCancel a pending scheduled restart or an idle-waiting auto restart
dsh_upgrade_versionsList official released versions with dates, current/newer markers and release notes
Panel(设置 → 插件 → DSH 本体升级)Description
Version headerInstalled → latest, status pill(已是最新 / 可升级 / 进行中 / 失败)
Actions检查更新 · 自动更新开关 · 一键升级 · 版本历史(浏览) · 立即重启 · 取消挂起重启
Progress升级任务实时阶段进度条

Install

Official bundle plugin — one line, no build step, no install scripts:

dsh plugin --profile web add github:raomaiping-hash/dsh-self-upgrade

Pin a version for reproducibility:

dsh plugin --profile web add github:raomaiping-hash/dsh-self-upgrade#v1.1.1

Then restart the web profile (sudo systemctl restart deepseek-harness or your equivalent). A new “DSH 本体升级” tab appears under Settings → Plugins, and four dsh_upgrade_* tools become available to the agent.

How auto-update works

When enabled (panel toggle), every 30 minutes the plugin:

  1. Fetches official GitHub Releases; if a newer version exists:
  2. Backs up $HOME/.dsh, then npm install -g @deepseek-ai/dsh@<version> (disk only — the running process is untouched);
  3. Starts an idle watcher (every 15 s): restart fires only when no background job is running and session logs have been quiet for 2 minutes;
  4. On idle it schedules the service restart immediately. Cancel anytime with dsh_upgrade_cancel_restart.

Manual upgrades keep explicit control: you choose the delay, default 5 seconds. Only versions newer than the installed one can be installed; rollback is not supported.

Security model

  • The settings panel API answers loopback Host only (127.0.0.1 / localhost / ::1) — it can trigger installs and service restarts, so it is never exposed through reverse proxies or tunnels. Remote management goes through the logged-in agent session (dsh_upgrade_* tools).
  • Privileged steps use passwordless sudo for exactly three commands: the backup script, npm install -g, and a transient systemd-run unit that restarts the service. Nothing else is elevated.
  • No telemetry; external calls are limited to GitHub Releases, the npm registry and the local systemd.

Requirements

  • DeepSeek Harness web profile
  • Linux with systemd, deployed as a service user whose sudo -n may run the three whitelisted commands above
  • git on PATH for version probes

Test

node tests/contract.mjs

Validates the npm/bundle contract (manifest fields, entry exports, client registration marker, patch row) and scans published files for embedded secrets.

插件管理

已装插件用 plugin-registry 的薄控制台管理(浏览器面板):管理 profile 插件安装态(bundle 层栈 + insert 行 + 启停),无需手改配置。

License

MIT