Panmax

Dsh Upgrade Skill — Development skill for Claude Code

Development community

安全升级 DeepSeek Harness (dsh) 的 Agent Skill —— 9 个真实故障坑位、三阶段升级流程、隔离预检脚本.

How to install Dsh Upgrade Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Panmax/dsh-upgrade-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Dsh Upgrade Skill does

安全升级 DeepSeek Harness (dsh) 的 Agent Skill —— 9 个真实故障坑位、三阶段升级流程、隔离预检脚本。A battle-tested upgrade skill for dsh.

Alternatives in Development

  • Dsh Plugin Cc — Bridge Deepseek-harness into Claude Code for review, critique, delegation, and session import 80 ★
  • Dsh Usage — 🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-chan 74 ★
  • SpecFusion — 在 DeepSeek Harness / Claude Code / Cursor / Codex / Gemini CLI 里直接搜索 20 个中国开放平台的 65,600+ 篇 API 文档;零配置,支持 Skill 66 ★

README

dsh-upgrade-skill

**English** | [简体中文](README.zh-CN.md)

A battle-tested **Agent Skill** for upgrading [DeepSeek Harness (`dsh`)](https://github.com/deepseek-ai/deepseek-harness) without bricking your install.

Every rule here comes from a real failed upgrade — not from reading the changelog.

Why

`dsh` upgrades fail in ways that look like "the new version is broken" but are almost always **pre-existing state the new version no longer tolerates**:

dsh: plugin tree failed to load: duplicate loader entry id: ui-plugin-manager
Error: cannot get property "webRuntime" without inject
npm error notarget No matching version found for @deepseek-ai/dsh@0.2.2-rc.2

Each of these has a precise cause, a one-line detection command, and a known fix. They're in the skill.

What it covers

Area Contents
Pre-upgrade gate 5 checks that catch most failures before you touch anything
Three-phase procedure install to a versioned dir → isolated preflight → switch
9 failure traps symptom → cause → detection → fix, with searchable error text
Plugin compatibility engines.dsh vs dsh.compatibility vs peer deps
Triage table symptom → which trap
10-second rollback a version symlink, not a reinstall

Highlights of the traps:

  1. npm lies about versions — stale _cacache + prefer-offline makes npm view / npx / npm install report "not found" for a version that exists. --prefer-online does not fix it.
  2. Row-id collisions — a third-party bundle inserts a cordis.patch.yml row id that a newer dsh ships built-in → hard startup failure.
  3. Renamed ctx.* services — !!js ctx.webRuntime... in your patch breaks when the service is renamed (webRuntime → webStartup).
  4. settings.yaml silently swallowed — imported exactly once; a section that fails validation is only logged and never retried. A stray null key can drop every provider you configured.
  5. **Node version gates