DeepSeek Harness plugin

dsh-update-check-awa123cw

DSH 设置页「关于」栏位:展示本地版本与环境信息,一键检测 npm 最新版本并给出升级指引(DSH 无自动更新机制,检测到新版本后需手动升级)

Jump to install

Source facts

Repository
awa-123-cw/dsh-update-check
Latest update
Aug 15, 2026
Category
Tools & Capabilities
GitHub stars
1
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/awa-123-cw/dsh-update-check
Plugin: dsh-update-check-awa123cw
Author: awa-123-cw

Check the source files

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

File explorer2 files
README.mdSource · read only

dsh-update-check

DSH 设置页「关于」栏位 + 一键检测更新插件。

功能

  • 设置页新增「关于」导航栏位(additive,不替换任何官方 UI):

- 当前版本 / 安装目录 / DSH_HOME / Node 环境 / 进程 PID / 自动更新状态 - 检测更新按钮:经 host 同源端点代理查询 npm registry(@deepseek-ai/dsh dist-tags), 与本地版本做标准 semver 比较(含 rc/beta 预发布规则),给出结论: - ✅ 已是最新版本 - ⚠️ 发现新版本 → 显示升级命令 + 一键复制 + npm 页面直达 - ❌ 检查失败(含原因,可重试) - 上次检测结果持久化在 <DSH_HOME>/data/dsh-update-check.json,重开设置页仍可见

  • 只检测、不升级:DSH 本身没有自动更新机制,本插件也不做任何写盘/更新操作,

升级始终由用户在安装目录手动执行(命令一键复制)。

端点(host half 注册,同源)

端点说明
GET /dsh-update-check/info本地版本与环境信息 JSON(版本来源:进程启动入口 bin.js 上级包 package.json,多路径兜底)
GET /dsh-update-check/check代理 npm registry dist-tags,返回 latest / next(10s 超时,失败返回 { ok:false, error },HTTP 502)
GET/POST /dsh-update-check/last-check上次检测结果的读写(原子写 JSON 文件)
GET /dsh-update-check/debug诊断:settings 注册状态(仅排障用)

> 持久化为何不走 settings 服务:官方 dsh-host-apiproxy 的 > WEB_SETTINGS_NAMESPACES 白名单硬编码了可读写命名空间,插件命名空间不在 > 白名单会被 RPC 以 settings-not-exposed 拒绝(改官方包需重启 dsh 才生效), > 因此改用 host 独立 JSON 文件,热装配即可用,升级 DSH 也不受影响。

装配

# 运行时注入(免重启,立即生效)
# 或用 dev_install_package 热装配(同时写入 profile bundles,重启后自动装配)

依赖:host 侧仅 Node 内置模块 + webServer 服务;client 侧仅 react + slots/locale(client 运行时核心服务)。