← 返回列表
D

dsh-check-update

v0.3.0 · 3 天前发布

DSH 更新检查器(npm 版):设置页检查 @deepseek-ai/dsh 是否有新版,导航红点提醒,一键立即更新 + 更新说明预览 + 备份回滚。Check @deepseek-ai/dsh for updates, red-dot reminder, one-click update with release notes and rollback.

dshdsh-plugindeepseek-harnessupdaternpm

README

dsh-check-update

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,防止任意网页跨站触发
  • 安装

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

    本地开发(file: 依赖):

    ```sh
    git clone https://github.com/HuiHuitie-zhu/dsh-check-update.git

    在 ~/.dsh/profiles/web/package.json 的 dependencies 中加入:


    "dsh-check-update": "file:/path/to/dsh-

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-check-update
    Repo
    git+https://github.com/HuiHuitie-zhu/dsh-check-update.git
    Engines
    {"node":">=20"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"}}