C
@omdp/dsh-gitbash-win
v0.1.3 · 2 天前发布
Git Bash tool plugin for DeepSeek Harness on Windows: registers a global `gitbash` tool that runs commands via Git for Windows bash.exe. Lightweight, no node-pty, no WSL, sandbox-aware.
README
@omdp/dsh-gitbash-win
DSH (DeepSeek Harness) 全局 Git Bash 工具插件(Windows)。
注册一个全局 gitbash 工具:通过 Git for Windows 的 bash.exe(bash -c)执行命令,
让模型在 Windows 上获得真正的 POSIX shell —— 无需 WSL、无需 node-pty、轻量无负担。
Windows 上推荐使用 Git Bash:提供标准的 grep/sed/awk/管道/通配符等 POSIX 环境,
模型在这种环境下训练效果更好(对齐 Unix 语义,可迁移到 Linux/macOS)。
特性
gitbash 工具,与 pwsh 平级,任何会话/预设都能用(不需要选预设)sandbox provider 的 confine;被拒时给出升级提示(danger-full-access)run_in_background / job_output / job_killgitbash 调用显示专属终端卡片安装
bash
dsh plugin --profile web add @omdp/dsh-gitbash-win
然后重启 dsh web。插件通过 dsh.bundle(包内 `cordi
版本兼容矩阵
| 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
- @omdp/dsh-gitbash-win
- Repo
- git+https://github.com/XJungit/omdp.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"}}