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

ドキュメント

README 全文を読む ↗

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.