DSH Market
D

Dsh Gitbash Preset

by liceses · liceses/dsh-gitbash-preset

InstallableBundlenpmfresh

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-preset

The 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-profile

Package: @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-profile

Prerequisites

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 checkedResultWeightWhat the spec says about it
lifecycleScriptspassinfono install-time scripts
dsh.bundlepassfatalpackage.json declares a `dsh.bundle` layer
dsh.bundle.patch filepassfatalpatch file present at `cordis.patch.yml`
npm registrypassfatalpublished 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