DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Harness Update — DSH Plugin for DeepSeek Harness
← Plugins
H

dsh-harness-update

Harness Update

Self-update for DeepSeek Harness git-source installs: version check, one-click update (pull / install / clean / build), rollback and restart hint. Windows-first: spawns .cmd shims through %ComSpec%.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:firefly1376/dsh-harness-update#58d203c198fa22d06b548324279945ae33fbdfb6
READMECompatibilityVersions

Compatibility and provenance

Harness Update is published as dsh-harness-update and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/19/2026

Versions

0.1.0stable
10/19/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/19/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseExperimental Inspector@deepseek-ai/dsh-experimental-inspectorExperimental cross-realm CDP hub for Host debugging and Client Runtime inspection

README

dsh-harness-update

DeepSeek Harness(DSH)本体自更新插件:设置页一行完成「检查更新 / 更新 / 回滚」。

Self-update for DeepSeek Harness git-source installs — version check, one-click update (pull → install → clean → build), rollback, per-step timing, and the failed step's real output tail.

安装

前置条件:DSH 是 git 检出安装(不是 npm 全局安装),且 git 与 pnpm 在 PATH 上。

从 GitHub 安装(推荐):

cd <你的 DSH 检出目录>
pnpm dsh plugin --profile web add github:firefly1376/dsh-harness-update --config.minimumReleaseAge=0

本地开发安装(改源码即时生效):

git clone https://github.com/firefly1376/dsh-harness-update
pnpm dsh plugin --profile web add link:<克隆目录> --config.minimumReleaseAge=0

装完重启 DSH:宿主半边(/harness-update/api 路由)安装后即热生效, 客户端半边(设置页那一行)在启动时注册,必须重启才会出现。

卸载:

pnpm dsh plugin --profile web remove dsh-harness-update

使用

设置 → 通用设置 → DSH 版本:

  • 显示当前版本、短 SHA、可回滚到的提交
  • 检查更新:git fetch + 比较在远端后面几个提交、远端版本号
  • 更新:git pull --ff-only → pnpm install --frozen-lockfile → pnpm clean → pnpm build:official
  • 回滚:git reset --hard 到更新前的 SHA,再跑同样的三步构建
  • 每一步显示状态与耗时(✓ / ✕ / ●),失败时把该步的真实输出 tail 显示在下面

更新或回滚完成后需要重启 DSH 才会加载新构建;界面会提示「已更新,重启 DSH 后生效」, 重启后该提示自动消失。

配置

在 profile 的 cordis.patch.yml 里给插入项加 config(键全部可选):

键默认说明
repoRoot自动探测DSH 检出目录。顺序:DSH_REPO_ROOT → 运行中的 apps/cli 所属检出 → cwd
remoteorigingit 远端名
branchmaster跟踪分支
pnpmCommandpnpmpnpm 路径或命令名(按 PATH+PATHEXT 解析)
stateFile~/.dsh-harness-update/state.json状态文件(进度、上次检查时间、回滚点)
checkTimeoutMs900000单次 git fetch 超时
stepTimeoutMs1800000install / clean / build 各自超时

路由

/harness-update/api/{status,check,install,rollback} —— 同源 JSON。install/rollback 立即返回, 进度通过轮询 status 获取。

已知边界

  • 只适用于 git 检出安装的 DSH;npm 安装的没有可更新的检出。
  • 不做后台自动检查(没有轮询),只在点击按钮时工作,避免后台 git fetch 拖慢启动。
  • 要求 DSH >= 0.2.0-rc.2(见 package.json 的 dsh.engines)。
  • 首次 git fetch 可能较慢(该仓库的 pack 约 27MB);慢速直连时请确认代理可用, 否则会等到 checkTimeoutMs 超时。
  • Windows 专属处理已内置(.cmd/PATHEXT/ComSpec),其他平台走普通 PATH 解析。

自测入口

宿主半边导出 __internals = { resolveCommand, runCommand, tailOf, createUpdater }, 可以脱离 DSH 单独验证命令解析与执行:

node --input-type=module -e "const m = await import('./lib/index.js'); console.log(m.__internals.resolveCommand('pnpm'))"

许可

MIT