@icelily/dsh-all-gitbash
DeepSeek Harness plugin: routes every pwsh command execution on Windows through Git for Windows bash — the pwsh and bash tools actually run git bash, so the model writes bash natively.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liceses/dsh-all-gitbash说明文档
阅读完整 README ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关:false = 完整还原为原装 pwsh(settings 面板 / settings.yaml 一键切换,运行时生效) |
bashPath | 自动探测 | 显式 Git Bash 路径;缺省按 GIT_BASH env → 注册表 → 安装根 → PATH(跳过 WindowsApps WSL 存根)→ 兜底 bash |
sandboxGate | true | 受限沙箱下快速失败并给升级指引(MSYS 无法在受限令牌内启动) |
stripPreamble | true | 剥离 dsh-pwsh-local 的 UTF-8 preamble |
translateEnvVars | true | $env:NAME → ${NAME} |
translateDrivePaths | true | C:\... → /c/... |
registerBashTool | true | 注册原生 bash 工具 |
disablePwshTool | true | 从模型工具面移除 pwsh 工具(只留 bash,避免先 pwsh 报错再换 bash);false = 保留 pwsh(legacy 别名语义) |
pathShim | true | PATH 注入 pwsh/powershell → git bash 脚本垫片 |
shimDir | ~/.dsh/dsh-all-gitbash/bin | 垫片目录 |
除
bashPath/shimDir外,所有开关都可通过 settings 运行时切换(见「一键开关」)。