Community plugin

henrytian1998 / dsh-doctor

DeepSeek Harness diagnostic plugin: home, leftover processes, ports, and oversized sessions as a paste-ready report.

  • TypeScript
  • MIT
  • 0 stars
  • Sep 14, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-doctor is a DSH plugin published from the henrytian1998/dsh-doctor repository.

  • Listing statusManifest verified
  • Manifest checkedNov 15, 2026
  • Packagedsh-doctor
  • Repository createdSep 12, 2026

Capabilities and topics

dsh-plugindeepseek-harnessdshdiagnostics
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

dsh-doctor

English | 中文

DeepSeek Harness diagnostic plugin: collect home, leftover processes, ports, oversized sessions, and version problems into one paste-ready report. It does not replace Desktop / TUI.

This is a bundle, not a profile. Install it into an existing web / tui / custom profile. There is no doctor profile and no third chat UI.

Install

You already have official Web:

dsh plugin --profile web add github:henrytian1998/dsh-doctor
dsh --profile web

Then run /doctor in the UI.

After npm publish the install command becomes dsh plugin --profile web add dsh-doctor.

Restart the profile after install. If dump-config has no doctor row, the manifest failed — do not debug check logic first.

Verify the bundle landed

dsh --profile web --dump-config

The composed config must contain both:

  • id: doctor
  • name: dsh-doctor

Host log on boot must include doctor loaded.

Isolated development home (do not touch ~/.dsh)

Windows PowerShell:

$env:DSH_HOME = "C:\work\dsh-doctor-home"
dsh plugin --profile web add .
dsh --profile web
dsh --profile web --dump-config

Then run /doctor. Reports are written to $DSH_HOME/logs/doctor-<timestamp>.md and .json.

What v0.1 checks

CheckBehavior
DSH_HOME / profile / bundlesReads the current home, profile name, and dsh.profile.bundles
dsh / Node versionNode ^22.19 || >=24; best-effort dsh version from the CLI package
PortsDefault 3080 or argv --port; who is LISTENING; current process tree is not an error
Leftover node / dshWindows process tree; marks “possibly this profile”; never kills; ignores unrelated Node apps
Oversized sessionsstat on $DSH_HOME/sessions/**/*.jsonl and *.jsonl.zstd; reports path + bytes only

Default session warning threshold: 50 MiB. v0.1 does not delete files and does not open the event stream.

Report

/doctor echoes Markdown and saves:

  • $DSH_HOME/logs/doctor-<timestamp>.md
  • $DSH_HOME/logs/doctor-<timestamp>.json (schema: dsh-doctor/v1)

Paste the Markdown into GitHub Discussions. Conclusion is PASS / WARN / FAIL.

Not in v0.1

  • Desktop shell / Electron / Wails / Tauri
  • A new TUI
  • Settings card (v0.2)
  • Auto-kill as the default
  • Optional bin CLI for when Host cannot start (v0.2)
  • Edits to official packages/client/*
  • A second session history

Sample report

A paste-ready example lives in docs/sample-report.md. Real runs write $DSH_HOME/logs/doctor-<timestamp>.md.

GitHub topics

Set repository topics to: dsh-plugin, deepseek-harness, dsh.

A topic without dsh.bundle is an empty shell. This package declares:

"dsh": { "bundle": { "patch": "./cordis.patch.yml" } }

package.json files includes cordis.patch.yml. The patch references the package name dsh-doctor, not a relative source path.

License

MIT

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/henrytian1998/dsh-doctor)
dsh-doctor — DSH Plugin