DeepSeek Harness 插件

HuiHuitie-zhu/dsh-check-update

Star 数 ★ 0 分类 开发与运行时 收录于 2026-08-15 npm dsh-check-update

更新检查器(npm 版):设置页对比 @deepseek-ai/dsh 与已装插件的本地/最新版本,有更新时导航红点提醒,并直接给出更新命令。

安装

# npm 包(预构建)

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

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

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

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本。请只安装可信来源,并尽量锁定 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

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →