TGWgulugu/dsh-wsl-bridge ↗★ 1

dsh-wsl-bridge

Native WSL execution for DeepSeek Harness on Windows: persistent Linux bash, Linux-path file and search tools, and a WSL session mode that asks which distribution folder to use as the workspace. No extra web server and nothing to install inside the distribution. 适合在Windows上使用DSH、需要直接操作WSL Linux环境的用户。

パッケージ
dsh-wsl-bridge
互換性
未検証
バージョン
0.4.7
ライセンス
MIT
最終更新
2026/10/19

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TGWgulugu/dsh-wsl-bridge

ドキュメント

README 全文を読む ↗

配置

改插件行的 config(cordis.patch.yml,或 profile 里覆盖它的补丁)。字段都可以省略。

字段默认说明
distro''发行版名。空字符串表示系统默认发行版
timeoutMs120000bash / wsl_bash 的默认时限(毫秒)
fileTimeoutMs30000读、写、搜索的单次时限(毫秒)
maxFileBytes2097152read / edit 最多读取的字节数
defaultWorkdirsession宿主 wsl_* 工具的 session 是当前 Windows 会话目录。WSL 模式的 session 是你选的工作区。home 使用当前发行版的 $HOME。也可以填绝对 Linux 路径
dangerGuardtrue拒绝明显的破坏性命令,除非该次调用带 allowDangerous: true
backgroundJobstrue是否允许 runInBackground。宿主没有任务注册表时会明确拒绝
promptSectiontrue是否加入宿主会话的路由提示
promptOrder3260这段提示的排序
promptText''用来替换内置路由提示。空字符串表示用内置文本
selfCheckfalse挂载时探测一次 WSL。也可以设环境变量 DSH_WSL_BRIDGE_SELFCHECK=1
selfCheckMarker''把探测结果追加到这个文件。也可以设 DSH_WSL_BRIDGE_MARKER

破坏性命令清单包括递归删除、写块设备、关机、find -delete、git clean -fdx。这是固定名单,不是内核隔离;换一种写法仍可能绕过。