DeepSeek Harness Plugin

HuiHuitie-zhu/dsh-check-update

Stars ★ 0 Category Development & Runtime Added 2026-08-15 npm dsh-check-update

Update checker (npm edition): a settings page comparing local and latest versions of @deepseek-ai/dsh and every installed plugin, with a red-dot nav reminder and ready-made update commands.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-check-update

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

dsh plugin --profile web add github:HuiHuitie-zhu/dsh-check-update

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. Only install sources you trust, and pin a commit (github:owner/repo#sha).

README

DSH 更新检查器(npm 版)——设置页检查 @deepseek-ai/dsh 和已装插件是否有新版,有更新时导航标签显示红点提醒。

适配 npm 全局安装npm install -g @deepseek-ai/dsh):只做版本检查 + 更新指引,不做 git pull。

DSH 更新设置页

功能

  • 设置页「DSH 更新」:显示 DSH 本体与各插件本地/最新版本对比
  • 导航红点:任一组件有新版时,设置导航标签带 ● 红点
  • 自动检查:每 6 小时后台检查一次(结果 10 分钟缓存)
  • 更新指引:直接给出更新命令(DSH 本体 npm install -g @deepseek-ai/dsh@latest;插件 dsh plugin --profile web update <name>
  • CSRF 防护:检查接口仅接受 POST,防止任意网页跨站触发

安装

dsh plugin --profile web add dsh-check-update

本地开发(file: 依赖):

git clone https://github.com/HuiHuitie-zhu/dsh-check-update.git
# 在 ~/.dsh/profiles/web/package.json 的 dependencies 中加入:
#   "dsh-check-update": "file:/path/to/dsh-check-update"
cd ~/.dsh/profiles/web && npm install

目录结构

host.js           # Host 面:POST /dsh-check/check 路由 + 6h 自动检查(零 import 纯 ESM)
client.js         # Client 面:设置页「DSH 更新」section + 导航红点
cordis.patch.yml  # bundle patch 挂载点

免责声明

早期社区插件,非 DeepSeek 官方插件。检查结果来自 npm registry,网络不可用时静默保留旧缓存。

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →