zhuoxuanliu53-svg/dsh-updater0

dsh-updater

Small DSH Web GUI plugin to check and apply official DeepSeek Harness updates from a git checkout: view local vs origin/master, fast-forward to the official latest, and optionally rebuild. Shows an offline/unreachable state when the remote cannot be reached. Hot-pluggable - mounted via the web profile without touching dsh source.

AI Analysis

核心用途是在 Web 界面中一键将本地 DSH 源码更新至官方最新版并自动重编译。适合使用 Git 源码部署 DSH 且需要便捷升级的用户。

Package
dsh-updater
Version
0.1.0
Last updated
Aug 21, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhuoxuanliu53-svg/dsh-updater

使用

  1. 打开「设置 → 检查更新」。
  2. 点「检查更新」:显示当前提交 vs 官方最新 + 落后数;有更新时「更新」按钮可点。
  3. 点「更新」:快进到官方最新,显示日志。
  4. 「更新后自动重编译」开关(默认关):开启后更新会顺手 pnpm install && pnpm run build
  5. 完成后按提示重启 DSH 生效。

配置(设置卡片 / Host Config)

字段默认说明
repoPath(空)git 源码克隆的绝对路径;首次使用请在卡片里填写
remoteorigin远程名(官方上游)
branchmaster跟踪分支
fetchTimeoutMs30000检查时 git fetch 超时
gitTimeoutMs60000更新时 git merge 超时
rebuildTimeoutMs600000每个重编译命令超时
rebuildAfterUpdatefalse更新后是否自动重编译
sslBackendWindows: openssl;其他: (空)git TLS 后端。仅 Windows 默认用 openssl 绕开 schannel 凭据库故障(SEC_E_NO_CREDENTIALS);其他平台留空用 git 原生后端