DeepSeek Harness plugin

dsh-update-check

DeepSeek Harness 更新检查插件:DSH 本体与 profile 插件版本可见性(模型工具 + Settings 页面 + 周期复查),只报告不执行升级。

Jump to install

Source facts

Repository
knlght/DSH-update-check
Latest update
Aug 14, 2026
Category
Development & Runtime
GitHub stars
2
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/knlght/DSH-update-check
Plugin: dsh-update-check
Author: knlght

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-update-check

<!-- Hero --> <div align="center"> <b style="font-size: 1.15em;">让 DSH 拥有版本可见性</b><br /><br /> <code>dsh_check_updates</code> 模型工具 · Settings 更新检查页 · 周期自动复查<br /><br /> <b>只报告,不执行升级</b>——升级决策永远掌握在用户手里。 </div>

<div align="center"> 🌏 <a href="./README.md"><b>中文</b></a> · <a href="./README_EN.md">English</a> </div>

✨ 功能一览

  • 🔍 版本检查:对照 npm registry dist-tags,检查 DeepSeek Harness 本体(@deepseek-ai/dsh)与 profile 已装插件(如 @dsh-external/dsh-vision-toolkit)的当前版本与最新版本
  • 🤖 模型工具 dsh_check_updates:agent 可在任意会话主动查询版本状态(支持传入额外包名)
  • 🖥️ Settings 页面:侧栏新增「更新检查」页——版本表格(包名/当前/最新/状态)、上次检查时间、「立即检查」按钮
  • ⏰ 周期复查:间隔可调(30 秒 / 1 分钟 / 30 分钟 / 1 小时 / 12 小时 / 24 小时 / 关闭),默认 1 小时;启动 30 秒后自动首查
  • 🛡️ 失败保护:registry 不可达时保留上次成功快照并记录错误;单包失败隔离为 unknown 条目,不影响其余包
  • 🎨 原生风格:UI 全部引用 DSH 主题 token(--dsw-alias-*),明暗主题自适应

📦 安装

dsh plugin --profile web add <本仓库 / npm 包名>
# 重启 dsh web 生效

🧠 设计要点

  • 本机版本读取:profile node_modules → npm 全局根(npm prefix -g)逐级探测,无硬编码路径
  • registry 查询:Node 原生 fetch(15 秒超时)
  • 浏览器端点:/_dsh/update-check/snapshot(GET 快照)、/_dsh/update-check/refresh(GET 复查)、/_dsh/update-check/set-interval(POST 设间隔)
  • 检查范围默认仅 DSH 本体 + profile 内已装插件;工具参数可临时扩展

🧩 生态

打上 <a href="https://github.com/topics/dsh-update-check"><code>dsh-update-check</code></a> topic 的插件可接入同一生态。欢迎通过 PR 改进本插件。

📄 许可

[MIT](./LICENSE)