snowy-yang/dsh-shared-bash ↗★ 0
dsh-shared-bash
多Agent共享的持久化Bash会话管理工具 提供类tmux的持久化终端,保持环境变量和路径,适合需要AI执行复杂终端任务的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:snowy-yang/dsh-shared-bash說明文件
閱讀完整 README ↗Configuration
| Field | Default | Meaning |
|---|---|---|
bashPath | MSYS2 bash when installed, else bash from PATH | bash executable |
msystem | MSYS | MSYS, UCRT64, MINGW64 or CLANG64 |
login | true | Source the login environment (-l); off means --noprofile --norc and a bare PATH |
cwd | Host working directory | Default directory for new sessions |
commandTimeoutMs | 120000 | Default foreground wait for one command |
maxLines | 4000 | Retained output lines per session |
maxSessions | 16 | Concurrent sessions per profile |
env | {} | Extra environment variables for the shell |
Per-session cwd accepts POSIX-style paths that the MSYS2 installation owns (/tmp, /home/..., /c/Users/...) and translates them for the Host. shared_bash_open also enters that directory inside the shell itself: a login shell runs its profile scripts, and MSYS2's end in $HOME, so the spawn directory alone does not stick.