Development & Runtime

dsh-doctor-windows

sublatesublate-design/dsh-doctor-windows · ★ 0

sublatesublate-design

Windows environment diagnostics for DeepSeek Harness. The plugin adds a human-only /doctor-windows command, so it still works when the model provider is unavailable.

License
MIT
Added
2026-08-23
Maintenance
active
Install kind
github

No manifest check is available; listing does not imply compatibility or security review.

安装

dsh plugin --profile web add github:sublatesublate-design/dsh-doctor-windows

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: en · Read Chinese README

Table of contents
  1. Checks
  2. Install from a checkout
  3. Install from GitHub
  4. Configuration
  5. Development
  6. License

Windows environment diagnostics for DeepSeek Harness. The plugin adds a human-only /doctor-windows command, so it still works when the model provider is unavailable.

Checks

  • Harness, Node.js, platform, and architecture versions.
  • Whether the current workspace is readable and writable.
  • UTF-16 low-byte-zero characters that affected preview versions of the native folder picker can truncate.
  • Proxy variables and Node's NODE_USE_ENV_PROXY startup setting. Node added built-in environment-proxy support in 22.21.0 and 24.0.0.
  • Discovery and real non-interactive startup of PowerShell 7 (pwsh) and Windows PowerShell.
  • The Koffi installation owned by Harness's native folder picker, including one harmless GetCurrentProcessId call.

The command does not print proxy URLs or credential values, change settings, open a folder dialog, or make network requests.

Install from a checkout

Build and test the package:

pnpm install
pnpm run check

Install the checkout into the Web profile:

dsh plugin --profile web add C:\path\to\dsh-doctor-windows
dsh --profile web --dump-config
dsh web

Open a workspace and run:

/doctor-windows

Remove it with:

dsh plugin --profile web remove dsh-doctor-windows

Install from GitHub

Git dependencies run the package's prepare script. With pnpm 10 or newer, allow the exact package key in the profile's pnpm-workspace.yaml, then install a pinned commit:

dsh plugin --profile web add github:sublatesublate-design/dsh-doctor-windows#v0.1.0

Only allow build scripts from source you trust.

Configuration

Override the bundle row in the profile's cordis.patch.yml:

- id: doctor-windows
  name: dsh-doctor-windows
  config:
    commandName: doctor-windows
    processTimeoutMs: 5000
    processGraceMs: 1000
    maxOutputBytes: 16384
    checkNativePicker: true

Development

pnpm run typecheck
pnpm run test
pnpm run build
pnpm run smoke
pnpm pack --dry-run

License

MIT