dsh-bash-terminal-ts
tools装不上npm中风险
一个 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+。
下载量 / Downloads
7,457
测试时间 / Tested
2026-11-06
DSH 版本 / Version
0.2.2-rc.1
安装
dsh plugin --profile web add dsh-bash-terminal-ts
沙箱测试结果
| 阶段 | 结果 |
|---|---|
| 1 安装 | ✗ |
| 2 列装 | — |
| 3 挂载 | — |
| 4 启动 | — |
第一条错误
dsh: initialized profile web at /home/node/.dsh/profiles/web四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。
声明的权限
shell · fs-write · fs-read · network · env