dsh-wsl-open
连接与集成173787247/dsh-wsl-open
允许点击聊天中的 WSL Linux 路径,在 Windows 中用默认应用或资源管理器打开。
- deepseek-harness
- dsh-plugin
- wsl
验证与兼容性
这里展示目录实际采集到的证据;未声明的信息会明确标为未知。
- 当前版本兼容性
- 已在当前目录版本验证
- 声明的 Harness 范围
- 未声明
- 声明的平台
- 未声明
- 适用 Profile
- web
- 构建授权
- 未检测到需要
- 权限声明
- 未声明
- 外部服务
- 未声明
- 遥测声明
- 未知
这不是安全背书;安装前仍应查看源码、权限和配置。
查看证据与判定范围
验证仅覆盖标出的来源、版本和 Harness 环境,不代表未来版本仍然兼容。
github:173787247/dsh-wsl-open#ae76c04d99c99043e7fa0da2e430b67f9a7cf1ac- 插件已在隔离环境完成加载检查。
README
dsh-wsl-open
Install set: part of dsh-wsl-kit. Prefer
KIT_SET=daily|llm|github|full(see kit README). Fault tree: TROUBLESHOOTING.md.
DeepSeek Harness plugin: click a WSL Linux path in chat to open it on Windows (default app, or Explorer for folders).
Part of dsh-wsl-kit.
Why
Chat does not turn /home/.../deck.pptx into a useful link. Generic “open path” plugins often call Linux xdg-open, which cannot launch Windows Office / WPS.
What it does
- Highlights absolute Linux paths in assistant text (CSS Highlight; does not rewrite React DOM)
- Maps with
wslpath -w(or a fallback) to\\wsl$\<distro>\...orC:\... - Files →
cmd.exe /c start(Windows default app); folders →explorer.exe
Only opens real paths under home, the session workspace, and /mnt/c/Users (and /mnt/d/Users). Non-WSL hosts skip open.
Prefer this for files/folders. Use dsh-wsl-launch for apps, and dsh-wsl-browser for http(s) URLs.
Install
dsh plugin --profile web add github:173787247/dsh-wsl-open
Restart dsh web, refresh the page. Click a dotted-underline path in a new or re-rendered assistant message.
Verify
- Ask the agent to write a file under
/home/<you>/...(e.g..pptx). - The absolute path should be dotted-underlined.
- Click it — Windows opens with the default app.
Debug: browser console [dsh-wsl-open]; host log dsh-wsl-open: loaded distro=....
Config
- id: dsh-wsl-open
name: dsh-wsl-open
config:
enabled: true
| Key | Default | Meaning |
|---|---|---|
enabled | true | Set false to disable |
Test
npm test
License
MIT