
DeepSeek Harness 插件:一键安装「极简模式 (Git Bash)」agent preset —— 把 DSH 自带极简模式中的 bash 调用映射到 Git for Windows 的 bash(MSYS),让 Windows 上的极简模式真正可用。
Install Dsh Gitbash Preset
Clean install: prebuilt on npm and declares a `dsh.bundle` layer.
The one-line version
dsh plugin --profile my-profile add @icelily/dsh-gitbash-presetThe easy path: this bundle is published to npm, so the install pulls a prebuilt artifact — no build step runs on your machine and no build approval is needed.
From npm — installs a prebuilt artifact, no build step on your machine
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add @icelily/dsh-gitbash-preset
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profilePackage: @icelily/dsh-gitbash-preset
Prefer to install from source instead?
From GitHub — pulls source, and may ask for build approval on first run
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:liceses/dsh-gitbash-preset#<commit-sha>
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profilePrerequisites
- API key
- Not required.
- Network access
- Not required at runtime.
- Language
- JavaScript
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | pass | info | no install-time scripts |
| dsh.bundle | pass | fatal | package.json declares a `dsh.bundle` layer |
| dsh.bundle.patch file | pass | fatal | patch file present at `cordis.patch.yml` |
| npm registry | pass | fatal | published as `@icelily/dsh-gitbash-preset` — prebuilt artifacts |
- Verdict reason
- on npm with a valid bundle declaration
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
From the README
Excerpt as published by the author, plain text, unedited
DeepSeek Harness 插件:一键安装「极简模式 (Git Bash)」agent preset —— 把 DSH 自带极简模式中的 bash 调用映射到 Git for Windows 的 bash(MSYS),让 Windows 上的极简模式真正可用。 DSH 自带的极简模式在 Windows 上无法使用,失败有两层原因: 1. **PTY 平台限制**:极简模式的持久 bash 依赖 PTY 后端,而 `@deepseek-ai/dsh-subprocess-local` 在 win32 上直接拒绝(`terminal inspection is unsupported on platform win32`),与 bash 是否存在无关; 2. **shell 缺失**:即便绕过 PTY,`@deepseek-ai/dsh-bash-local` 硬编码从 PATH 找 `bash`,Windows 上默认没有。 本插件交付一个可安装的预设变体:**同一套极简 persona + str_replace_editor 双工具表面**,但 bash 工具每次命令执行 ` -c `,并通过沙箱感知门控保证不绕过安全边界。 - **幂等安装**:插件启动时把打包的预设复制到用户预设根(`${DSH_HOME:-~/.dsh}/.agent-presets/minimal-gitbash/`),已存在则跳过,`force: true` 才覆盖; - **自动探测 bash**:`GIT_BASH` 环境变量 → 常见安装目录(ProgramFiles / ProgramFiles(x86) / LOCALAPPDATA)→ PATH 中的 `bash.exe` → 兜底 `bash`,无需硬编码路径; - **沙箱感知门控**:
Topics
GitHub topics on this repository
More in Git Bash Wsl Minimal
Ranked by similarity inside the cluster, not alphabetically
Dsh Bash Win
zimzaza4
在 Windows 环境中为 DeepSeek Harness 提供 Git Bash 与 WSL 2 bash 工具,含 bwrap 沙箱、审批模式、后台任务
Dsh Bash Encoding
lhh010
DSH bash 输出编码自动识别插件:替换 ctx.bash,自管 spawn 收集原始字节,自动检测 UTF-16LE/UTF-8/GBK 等编码并正确解码,修复 WSL/Windows 下 bash 工具的中文乱码。
Dsh Bash Encoding
omdsh-dev
DSH bash 输出编码自动识别插件:替换 ctx.bash,自管 spawn 收集原始字节,自动检测 UTF-16LE/UTF-8/GBK 等编码并正确解码,修复 WSL/Windows 下 bash 工具的中文乱码。
Dsh Preset Minimal Windows
zeroa234
Minimal Windows agent preset + Git Bash tool for DeepSeek Harness: gitbash & pwsh & str_replace_editor, drop-in replacement for the official minimal preset on win32 / DeepSeek Harness 极简模式(Windows)Agent 预设 + Git Bash 工具:Git Bash + PowerShell + str_replace_editor 三工具,官方 minimal 预设的 win32 平替
Dsh Anchored Wsl
dHR-P
Two-phase DeepSeek Harness preset: first turn = official Minimal mode (We-chain anchor), then full Standard tools on Windows (Git Bash / WSL). 首轮极简锚定 + 第二轮标准工具
Dsh Web Archive
renat3u
折叠对话当中众多的“无用消息”,例如Think、Bash等