LAN-TINA-WS/dsh-windows-shell-policy
LAN-TINA-WS★ 3TypeScript最后同步: 2026-08-21
DeepSeek Harness Windows 默认 Shell 策略:探测 git-bash/MSYS2,配置面板一键切换 bash/pwsh,动态注册 bash 工具并裁剪提示词工具面 · DSH 组合插件。
README 摘要
dsh-windows-shell-policy — Windows 默认 Shell 策略插件 中文 English dsh-windows-shell-policy DeepSeek Harness 的 Windows 默认 Shell 策略插件 :DSH 在 Windows 上默认启用 PowerShell(pwsh),而 LLM 训练语料中 bash 占比远高于 PowerShell,agent 执行 POSIX 命令时错误率显著升高。本插件探测 git-bash/MSYS2/Cygwin,在「设置 → 插件 → 插件配置」提供「默认 Shell」折叠卡片一键切换 bash/pwsh,动态注册 bash 工具并裁剪提示词工具面,让 agent 只面对一个 shell 工具。 最新 Release · dsh-plugin 生态 · 反馈 成品展示 能力 说明 bash 探测 显式 bashPath → Git 常见安装路径(Program Files / x86)→ MSYS2 / Cygwin → PATH,找到即用 配置面板 「默认 Shell」折叠卡片(与官方「终端 / Agent 循环 / 网页搜索」卡片同构),显示探测状态与当前生效 shell,自动 / bash / pwsh 三选一(staged 编辑 + 保存/放弃,折叠时保留未保存标记) 策略生效 auto 时探测到 bash 则用 bash 否则 pwsh;显式 bash / pwsh 强制对应 shell;切换下一次请求生效 bash 工具 effective=bash 时动态注册(git-bash 执行,subprocess 通道,超时 / 输出截断 / exit code 标记),终端卡片展示(对话页可点击查看命令、cwd、输出与 exit 状态,与官方 shell 工具一致) 提示词裁剪 system-prompt/assemble 中按策略隐藏 pwsh / bash,agent 工具面只保留一个 shell 工具 持久化 preferred 写入 settings 文档 shell-policy section,重启保留 卸载即净 dsh plugin --profile web remove 或 dev uninject plugin 一键还原(工具注销 + 提示词恢复 + junction 清理) 快速安装 GitHub 直装(推荐,国内网络最快,免等 npm) : npm 安装(一条命令) : Release ZIP 安装 : 1. 从 Releases 下载 dsh-windows-shell-policy-v .zip 并解压 2. dsh plugin --profile web add link: 3. 重启 dsh web ,打开「设置 → 插件 → 插…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 183,476
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,499
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 18,022