Diagnose DSH home, leftover processes, ports, and oversized sessions, then write a paste-ready /doctor report.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:henrytian1998/dsh-doctor
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
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: doctorname: 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
| Check | Behavior |
|---|---|
| DSH_HOME / profile / bundles | Reads the current home, profile name, and dsh.profile.bundles |
| dsh / Node version | Node ^22.19 || >=24; best-effort dsh version from the CLI package |
| Ports | Default 3080 or argv --port; who is LISTENING; current process tree is not an error |
| Leftover node / dsh | Windows process tree; marks “possibly this profile”; never kills; ignores unrelated Node apps |
| Oversized sessions | stat 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
binCLI 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
Links
More in this category
yjh051108/dsh-routing-suite★ 6991
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3715
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
first-fluke/oh-my-agent#dsh★ 1352
Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.
hust-open-atom-club/oh-dsh★ 323
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
MichengAI/dsh-skills-manager★ 294
Manages local DeepSeek Harness skills in Settings and shows shared Agent skills as read-only.
Fishquito7/dsh-skill-mcp-panel★ 223
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.