dsh-bash-terminal-ts
一个 shell 工具:Windows 上支持 PowerShell / Git Bash / WSL / MSYS2 四种后端,外加交互式 PTY 终端;MSYS2 后端以 bash.exe -lc 启动,让 /etc/profile 把 /usr/bin 与 /mingw64/bin 带进 PATH,并为 PTY 环境注入 MSYSTEM=MINGW64。TypeScript 编写,面向 DSH 0.1.2+。
Shell tool with four Windows backends (PowerShell / Git Bash / WSL / MSYS2) plus an interactive PTY terminal; the MSYS2 backend starts bash.exe with -lc so /etc/profile puts /usr/bin and /mingw64/bin on PATH, and injects MSYSTEM=MINGW64 into the PTY environment. Written in TypeScript, targets DSH 0.1.2+.
怎么安装
dsh plugin add dsh-bash-terminal-ts 简介
dsh-bash-terminal-ts English | 日本語 | 한국어 | **中文** DSH(DeepSeek Harness)插件:一个 shell 工具,在 Windows 上统一执行 **PowerShell / Git Bash / MSYS2 / WSL** 四种终端命令。 终端由**你在 Web UI 里选**,模型不能改。选一次,之后所有命令都按你选的终端跑。 为什么用它 | 卖点 | 一句话 | |------|--------| | **MSYS2 真的能用** | 不是"加了个下拉选项",而是把 bash.exe 解析、登录 shell、MSYSTEM 环境三件事都做对了 —— 选 MSYS2 就能直接 gcc、make(见下方「MSYS2 支持」) | | **TypeScript 源码** | strict + noUncheckedIndexedAccess;纯函数负责 argv/env 构造,可单测 | | **以 DSH 0.1.2 为主版** | engines.dsh: >=0.1.2-rc.1 <0.2.0-0,随 0.1.2 的 ctx.subprocess / ctx.sandbox / PTY 接缝构建 | | **四种终端一个工具** | 同一套 shell 工具覆盖 PowerShell / Git Bash / MSYS…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 0
- 月下载
- 332
- 最近更新
- 2026-09-18
- 创建于
- 2026-09-11
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh, dsh-plugin