snowy-yang/dsh-shared-bash ↗★ 0

dsh-shared-bash

多Agent共享的持久化Bash会话管理工具 提供类tmux的持久化终端,保持环境变量和路径,适合需要AI执行复杂终端任务的用户。

包名
dsh-shared-bash
兼容性
待验证
版本
0.2.0
许可证
MIT
最近更新
2026年10月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:snowy-yang/dsh-shared-bash

Configuration

FieldDefaultMeaning
bashPathMSYS2 bash when installed, else bash from PATHbash executable
msystemMSYSMSYS, UCRT64, MINGW64 or CLANG64
logintrueSource the login environment (-l); off means --noprofile --norc and a bare PATH
cwdHost working directoryDefault directory for new sessions
commandTimeoutMs120000Default foreground wait for one command
maxLines4000Retained output lines per session
maxSessions16Concurrent 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.