DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

173787247 /

173787247/dsh-wsl-open

Verified

DeepSeek Harness plugin: open WSL Linux paths from chat in Windows.

★ 2 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: master@8bc63964

dsh-wsl-open

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.

中文说明 ↓


English

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

  1. Highlights absolute Linux paths in assistant text (CSS Highlight; does not rewrite React DOM)
  2. Maps with wslpath -w (or a fallback) to \\wsl$\<distro>\... or C:\...
  3. 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

  1. Ask the agent to write a file under /home/<you>/... (e.g. .pptx).
  2. The absolute path should be dotted-underlined.
  3. 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


中文

为什么需要

官方聊天不会把 /home/.../xxx.pptx 变成可点链接;在 Linux 里 xdg-open 也打不开 Windows 上的 Office。本插件把路径标成可点,并在 Windows 用默认程序或资源管理器打开。

行为

  • 高亮 /home/...、/mnt/c/... 等绝对路径
  • 转成 \\wsl$\... 或 C:\...
  • 文件用默认程序;目录用 Explorer
  • 仅允许家目录、会话工作区、/mnt/c/Users 等真实存在路径

打开文件/目录用本插件;开应用用 dsh-wsl-launch;开网页用 dsh-wsl-browser。

安装

dsh plugin --profile web add github:173787247/dsh-wsl-open

重启并刷新页面,在新消息里点击带下划线的路径。

许可

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit 8bc639649d7e

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout