Airmetro/dsh-update-checker

Airmetro★ 3JavaScript最后同步: 2026-08-15

在 GitHub 打开

DeepSeek Harness (DSH) 更新检测插件:自动检查 npm 最新版并在 GUI 顶部横幅提示,支持中英文跟随系统语言、一键安装更新并重启服务。Auto update checker for DeepSeek Harness with locale-aware banner and one-click update.

README 摘要

dsh-update-checker A permanent Cordis plugin for the DeepSeek Harness Web GUI that auto-checks for new DeepSeek Harness releases AND installed third-party plugin updates (the former standalone dsh-plugin-checker was merged in v1.1.0), asks the user, and one-click updates with success/failure feedback. - Host half ( lib/index.js ) registers HTTP routes: - GET /dsh-update-checker/status.json — fetches the latest @deepseek-ai/dsh version from the npm registry, reads the locally installed version (from the deployment's node modules ), compares them with semver semantics, and returns a JSON status (including the persisted suppressUpToDate flag). - POST /dsh-update-checker/suppress — persists the "don't remind me again" flag for the up-to-date banner (requires { "confirm": true } ). - POST /dsh-update-checker/update — complete update : backs up the deployment lockfile + @deepseek-ai version manifests, runs npm install @deepseek-ai/dsh@latest in the deployment root, then defensively syncs changed @deepseek-ai packages into $DSH HOME/profiles/node modules (skipped for junction-linked packages, which the running Web app resolves through). Requires { "confirm": true } ; supports { "dry": tru…

在 GitHub 查看完整 README →
终端/TUIcordisdeepseek-harnessdshdsh-pluginupdate-checker

分类