liceses/dsh-gitbash-preset121

@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.

包名
@icelily/dsh-gitbash-preset
版本
0.1.2
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liceses/dsh-gitbash-preset

使用

  1. Web 界面新建会话,选择 极简模式 (Git Bash)
  2. 二选一启用 bash:
    • 把会话沙箱切到完全访问,之后所有 bash 调用直接走 git bash;
    • 或保持 workspace-write,让模型在第一次调用失败后按提示用 sandbox_permissions: "danger-full-access" + justification 单次升级(走正常审批流程)。

配置

预设配置agent-presets/minimal-gitbash/agent.cordis.ymlgitbash-executor):

字段默认说明
shellPath自动探测显式指定时优先(如 'C:\\Program Files\\Git\\bin\\bash.exe'
timeoutMs120000单次命令默认超时(上限 maxTimeoutMs
maxTimeoutMs600000超时上限
maxOutputBytes64000单流保留字节数(溢出写入 spill 文件)
graceMs3000终止进程的 SIGTERM→SIGKILL 宽限

插件配置cordis.patch.yml 插入行):

字段默认说明
forcefalse预设已存在时是否用包内文件覆盖(保留用户额外文件)