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

dsh-shared-bash

tmux-like shared persistent bash sessions for DeepSeek Harness: every agent in a profile can open, drive and read the same shells, keeping cwd, variables and background state between calls. 提供类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.