dsh-gitbash-preset
Run the following command in DeepSeek Harness:
dsh plugin install liceses/dsh-gitbash-preset
Paste the following prompt into your AI chat to install this plugin:
In DeepSeek Harness, run `dsh plugin install liceses/dsh-gitbash-preset` (source: https://github.com/liceses/dsh-gitbash-preset), then restart DSH to auto-install the Minimal (Git Bash) preset.
About this plugin
The official Minimal mode in DSH is a dead end on Windows — and it's not your fault. The README lays out two layers of failure: the bundled subprocess-local simply refuses PTY support on win32 ("terminal inspection is unsupported on platform win32"), and dsh-bash-local hardcodes a PATH lookup for bash, which Windows doesn't ship by default. Even if you have Git installed, the minimal mode never actually starts.
dsh-gitbash-preset turns that "unusable" into "usable." It ships an installable preset variant that keeps the exact same tool surface as the original minimal mode — persona + str_replace_editor — but re-implements the bash tool as a per-command bash -c execution, with auto-detection for Git for Windows' bash (GIT_BASH env var → common install directories → PATH → plain bash fallback). Installation is idempotent: on DSH startup the preset is copied to your user preset root, skipped if already present, and never clobbers existing files unless you force it.
The most interesting part is the sandbox-aware gating. MSYS cannot create a signal pipe inside Windows restricted-token sandboxes, so commands only run under the "danger-full-access" policy (or when deployment has no sandbox). If the session is workspace-write or narrower, the first call fails with clear instructions to upgrade once via sandbox_permissions: "danger-full-access" + justification through the normal approval flow. It doesn't bypass the sandbox — it simply makes the boundary explicit.
Who is this for? Windows developers using DeepSeek Harness who want to actually use Minimal mode's bash and are stuck on the PTY limitation. After installation, open a new session, pick Minimal (Git Bash), switch the sandbox to full access, and start working. Just have Git for Windows installed — no hardcoded paths or extra setup required.
Use Cases
- Make DSH Minimal mode actually run bash on Windows, free from the PTY platform limitation.
- Get plug-and-play usage with auto-detection of Git for Windows' bash, no hardcoded paths needed.
- Run bash -c commands under full-access sandbox, with clear one-time escalation guidance when restricted.
Best For
- Developers using DeepSeek Harness on Windows.
- DSH users who want the Minimal mode but are blocked by the missing-shell issue.
- Workflow builders needing a lightweight bash tool that spawns a fresh shell per call.
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.