dsh-win32
已验证 · 实测可装 sjh9714
功能简介
First-class Windows for DeepSeek Harness: persistent Git Bash Minimal mode, doctor for install traps, one-command setup | 让 DSH 在 Windows 上成为一等公民
可用 — 实测通过,社区增长中
First-class Windows for DeepSeek Harness: persistent Git Bash Minimal mode, doctor for install traps, one-command setup | 让 DSH 在 Windows 上成为一等公民 实测能干净安装、正常启动。社区在增长,是个稳妥选择。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。我们的 CI 跑在 Linux 上,只能确认安装+启动,无法验证该插件 Windows 专属行为。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-win32
Fix DSH on Windows. No WSL.
Official PowerShell. Workspace Write. One command.
npx dsh-win32 setup
Current DeepSeek Harness already includes persistent PowerShell and a Windows ACL sandbox. dsh-win32 checks that official stack, finds known Windows failures, applies the repairs it can prove safe, and creates a desktop shortcut.
It does not install Git, PowerShell, busybox, WSL, or another DSH bundle on the current path.
中文 · Windows evidence and legacy details
See the current setup
Reproduced setup flow. This is not a screen recording.

The command checks the official persistent PowerShell and Workspace Write packages, creates the shortcut, and leaves the profile on the stock Minimal preset.
What setup does
- Checks the latest published DSH Windows package contract
- Checks PowerShell 7 and known broken koffi runtimes
- Creates a
DeepSeek Harnessdesktop shortcut for the Web profile - Leaves the official profile and preset unchanged
- Shows the exact next steps for a first session
After setup, open DSH, add a workspace, choose the stock Minimal preset, and keep Workspace Write enabled.
Use another profile without creating a shortcut.
npx dsh-win32 setup --profile desktop --no-shortcut
--sandboxed remains accepted for old notes and scripts. Current DSH already provides the sandbox, so the flag makes no extra change.
Doctor and safe repair
npx dsh-win32 doctor
npx dsh-win32 doctor --json
npx dsh-win32 fix
doctor verifies the published DSH Windows stack and checks local Windows failures. Its JSON output follows the dsh-doctor/v1 envelope.
fix only repairs installed koffi versions that are known broken or fail a real runtime load. It verifies the load again after repair.
Legacy DSH
DSH rc.6 and older did not ship the current official PowerShell stack. The previous Git Bash and busybox presets remain available behind an explicit flag.
npx dsh-win32 setup --legacy
npx dsh-win32 setup --legacy --sandboxed
npx dsh-win32 doctor --legacy
The legacy Git Bash preset needs danger-full-access. The legacy busybox preset can run in Workspace Write. Neither path installs Git automatically.
Read the implementation evidence, compatibility history, and complete legacy limitations.
Honest limits
- The current path checks published DSH package metadata. It cannot prove that a separately cached launcher is the same version.
- PowerShell 7 is recommended. dsh-win32 does not install it.
- A legacy busybox session uses ash rather than Bash.
- Editing a legacy encoded file writes UTF-8.
- Treat
C:\tmpas outside the expected legacy write fence until the upstream Windows path issue is fixed.
License
MIT.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-win32」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
Web profile:
dsh plugin --profile web add dsh-win32 Headless(CLI)profile:
dsh plugin --profile headless add dsh-win32 包信息
npm:dsh-win32 · 版本 0.13.1 · 实测环境 dsh 0.1.0-rc.6
实测报告
端到端验证通过:dsh 0.1.0-rc.6 上 L1 安装 + L2 加载 + L3 运行问答。
使用场景
把一个新模型、provider 或路由策略接入循环,让 dsh 能为任务选对脑子。
适合谁
同时用多个模型或 provider、想让成本/质量/延迟自动平衡的人。
二次开发建议
provider 适配器和路由启发式是缝——加后端、调回退链,或加按任务的模型选择。