dsh-win32
v0.6.0 · 3 天前发布
First-class Windows for DeepSeek Harness: real persistent-bash Minimal mode (Git Bash PTY), a doctor for the known install traps, one-command setup | 让 DeepSeek Harness 在 Windows 上成为一等公民
README
dsh-win32
让 DeepSeek Harness 在 Windows 上成为一等公民。
English · 
| | 官方 DSH(Windows) | 装上 dsh-win32 |
|---|---|---|
| 极简模式 | 无法使用。持久 shell 一启动就抛 terminal inspection is unsupported on platform win32 | 可用。真正的持久 Git Bash,状态跨调用保留 |
| 安装深坑 | koffi 崩溃链、PS 5.1 崩溃循环、localhost 403、System32 假 bash | 一条 doctor 命令逐项指出问题和修法 |
| 启动 | 每天早上去 GitHub 找 npx 命令 | npx dsh-win32 setup(可选桌面快捷方式) |
为什么做这个
社区反复实测说 DeepSeek 模型在 DSH 的极简模式下表现最好。但在 Windows 上,极简模式根本跑不起来:它的持久 bash 需要 PTY,而官方 subprocess 运行时在 win32 上解析平台进程探测器时直接抛错,连 node-pty 都没碰到。所有 Windows 用户都被挡在模型对齐得最好的那个模式之外。
dsh-win32 用三个部分补上这个缺口。
1. **Windo
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-win32
- Repo
- https://github.com/sjh9714/dsh-win32
- Engines
{"node":"^22.19.0 || >=24.0.0"}- Weekly DL
- 1,535
- Monthly DL
- 0
- Stars
- ★ 11
- Open Issues
- 5
- GH License
- MIT
- Archived
- 否
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}