开发者工具dsh-plugin

dsh-win-gitbash

dsh-win-gitbash 是一个面向 Windows 的 DSH / DeepSeek Harness 工具插件,注册模型可用的 `gitbash` 工具。它依赖 Git for Windows 自带的 `bash.exe`,用于替代原生 pwsh 和依赖 WSL 的 bash,并支持命令执行、超时、工作目录、后台任务、沙箱升级参数以及 `bashPath` 配置。该插件以 npm 包 `dsh-tool-gitbash` 发布,并声明 `dsh.bundle` manifest。

Stars
12
Forks
2
Open Issues
2
最近 Push
2026年10月2日
最新版本
v0.2.3
24h Growth
+0
7d Growth
+9

安装

暂未自动识别可靠的安装命令,请查看项目 README。

概览

dsh-win-gitbash 是一个面向 Windows 的 DSH / DeepSeek Harness 工具插件,注册模型可用的 `gitbash` 工具。它依赖 Git for Windows 自带的 `bash.exe`,用于替代原生 pwsh 和依赖 WSL 的 bash,并支持命令执行、超时、工作目录、后台任务、沙箱升级参数以及 `bashPath` 配置。该插件以 npm 包 `dsh-tool-gitbash` 发布,并声明 `dsh.bundle` manifest。

  • 为 Windows 上的 DSH 注册模型可用的 `gitbash` 工具,使用 Git for Windows 的 `bash.exe`。
  • 在 Windows 上提供原生 pwsh 工具和仅依赖 WSL 的 bash 工具之外的替代选项。
  • 自动探测 Git Bash 路径,包括 Program Files、Scoop 和 PATH,并跳过 System32 下的 WSL 启动器。
  • 自动探测找不到 bash 时,支持通过 `bashPath` 显式配置路径。
  • 工具参数包括 `command`、`description`、`timeoutMs`、`workdir` 和 `run_in_background`。
  • 配置沙箱时,支持 `sandbox_permissions` 与 `justification` 沙箱升级参数。
  • 声明 DSH 引擎兼容区间 `>=0.1.0-rc.6 <0.3.0`;README 称 DSH 0.1.x 与 0.2.x 均可加载。
  • 以 npm 包 `dsh-tool-gitbash` 发布并声明 `dsh.bundle` manifest;README 列出命令行、市场与手动安装方式。

相关插件