liceses/dsh-gitbash-preset ↗★ 121
@icelily/dsh-gitbash-preset
DeepSeek Harness plugin: installs the 'minimal-gitbash' agent preset — the Windows variant of the shipped minimal preset that routes the bash tool through Git for Windows bash (MSYS), with automatic shell discovery and sandbox-aware gating.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liceses/dsh-gitbash-preset说明文档
阅读完整 README ↗使用
- Web 界面新建会话,选择 极简模式 (Git Bash);
- 二选一启用 bash:
- 把会话沙箱切到完全访问,之后所有 bash 调用直接走 git bash;
- 或保持 workspace-write,让模型在第一次调用失败后按提示用
sandbox_permissions: "danger-full-access"+ justification 单次升级(走正常审批流程)。
配置
预设配置(agent-presets/minimal-gitbash/agent.cordis.yml 中 gitbash-executor):
| 字段 | 默认 | 说明 |
|---|---|---|
shellPath | 自动探测 | 显式指定时优先(如 'C:\\Program Files\\Git\\bin\\bash.exe') |
timeoutMs | 120000 | 单次命令默认超时(上限 maxTimeoutMs) |
maxTimeoutMs | 600000 | 超时上限 |
maxOutputBytes | 64000 | 单流保留字节数(溢出写入 spill 文件) |
graceMs | 3000 | 终止进程的 SIGTERM→SIGKILL 宽限 |
插件配置(cordis.patch.yml 插入行):
| 字段 | 默认 | 说明 |
|---|---|---|
force | false | 预设已存在时是否用包内文件覆盖(保留用户额外文件) |