dsh-startup-diagnose

August 16, 2026 · View on GitHub

DSH (DeepSeek Harness) 启动问题排查 skill —— 排查插件树加载失败、启动崩溃,以及"启动成功但网页报错"的浏览器侧问题。

A skill for triaging DSH (DeepSeek Harness) startup failures —— plugin-tree load errors, boot crashes, and browser-side "Failed to load plugins" issues after a successful boot.

安装 / Install

# macOS / Linux
mkdir -p ~/.agents/skills
cp -r skills/diagnose-dsh-startup ~/.agents/skills/

# Windows
Copy-Item -Recurse skills/diagnose-dsh-startup "$HOME\.agents\skills\"

之后在 agent 里遇到 DSH 启动/插件报错时即会触发;也可手动输入 /diagnose-dsh-startup 调用。

After installation the skill fires automatically when an agent hits DSH startup / plugin errors; you can also invoke it by name.

覆盖的问题 / What it covers

  • duplicate loader entry id —— 插件树 entry id 重复,启动崩溃
  • patch: entry not found —— 补丁指向不存在的 entry(非致命警告)
  • loaded without registering ... via __ModuleLoader__.load —— 浏览器侧插件 client bundle 注册失败
  • bundle import 失败 —— profile node_modules 缺包/链接损坏
  • 通过 dsh --dump-config 免启动复现问题
  • pnpm patch 安全修复已发布插件(不破坏 pnpm store 硬链接)

目录结构 / Layout

skills/diagnose-dsh-startup/
  SKILL.md       # 排查流程 + 故障对照表 + 会话记录读取方法

License

MIT