dsh-wsl-suite

为 DeepSeek Harness 增加 WSL 工作区:侧栏 W 按钮列出发行版并把 Linux 目录注册为宿主工作区(以 UNC 路径表示),WSL 会话的侧栏终端在发行版内打开真实 Linux pty。发行版内常驻一个零依赖 agent,通过 JSON-lines 管道响应文件、shell 与搜索请求,空闲时没有轮询计时器触碰发行版,/mnt 盘符对工具与终端保持可达(但无法注册为工作区:宿主用 realpath 规范化工作区路径,而 Windows 解析不了 drvfs);grep 与 glob 在发行版内调用自带的 ripgrep。附带 wsl-standard 等 WSL 孪生预设,替换 shell 与 fs 工具。本插件是 6Mikao9/dsh-wsl-workspace 的重写版,不能与上游同装——两者都在侧栏挂同一个 W 入口、发布同名的 wsl-<mode> 预设,并各自包装宿主的单槽终端 provider。

插件介绍

为 DeepSeek Harness 增加 WSL 工作区:侧栏 W 按钮列出发行版并把 Linux 目录注册为宿主工作区(以 UNC 路径表示),WSL 会话的侧栏终端在发行版内打开真实 Linux pty。发行版内常驻一个零依赖 agent,通过 JSON-lines 管道响应文件、shell 与搜索请求,空闲时没有轮询计时器触碰发行版,/mnt 盘符对工具与终端保持可达(但无法注册为工作区:宿主用 realpath 规范化工作区路径,而 Windows 解析不了 drvfs);grep 与 glob 在发行版内调用自带的 ripgrep。附带 wsl-standard 等 WSL 孪生预设,替换 shell 与 fs 工具。本插件是 6Mikao9/dsh-wsl-workspace 的重写版,不能与上游同装——两者都在侧栏挂同一个 W 入口、发布同名的 wsl-<mode> 预设,并各自包装宿主的单槽终端 provider。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-wsl-suite

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:stallenlu/dsh-wsl-suite

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令