wqx11235/dsh-upgrade-guard ↗★ 1

dsh-upgrade-guard

Upgrade guard for DeepSeek Harness: pre-flight plugin compatibility check, post-upgrade contract scan, and a boot smoke test — so a core update cannot silently take your UI down. · DSH 升级守卫:升级前兼容盘点 + 升级后契约扫描 + 启动冒烟,终结「更新一次崩一次」。 适合安装了较多插件、担心DSH核心升级导致崩溃的用户。

Package
dsh-upgrade-guard
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 28, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用

在界面里

设置 → 通用 → 升级守卫,三个按钮:

  • 契约扫描 → ⚠ 契约扫描:critical N / warn N(扫了 M 个插件) + 明细
  • 联网盘点 → 📋 联网盘点(目标 x.y.z):N 个插件,K 个有新版 + 新版本清单
  • 启动冒烟 → ✅ 启动冒烟:PASS / ❌ FAIL + 关键输出行(ROOT? / PENDING / SKIPPED / DEGRADED / BADBUNDLE)

命令行(同一份引擎)

node lib/guard.mjs scan       --json --report report-scan.md
node lib/guard.mjs preflight  --json --report report-preflight.md --target 0.1.8-rc.1
node lib/guard.mjs smoke

smoke 用环境变量配置:

变量说明默认
DSH_SMOKE_BIN要冒烟的 dsh 入口(.../dsh/lib/bin.js)当前安装
DSH_SMOKE_PORT测试端口3099
DSH_SMOKE_CWD启动工作目录当前目录
DSH_SMOKE_TIMEOUT等待就绪秒数120
DSH_SMOKE_KEEP=1跑完不杀测试宿主(排障用)关

控制台输出刻意用英文/ASCII(Windows cmd 默认代码页 936 会把中文 UTF-8 显示成乱码);中文报告写进 --report 指定的文件。