yishuiliufang/dsh-wsl-first
yishuiliufang/dsh-wsl-first发布一段带顺序的系统提示词段,指定 wsl 为执行命令时优先选用的执行器,让模型在 Windows 上优先走 WSL 而不是 PowerShell。不注册任何工具,且只宣传模型真实可调用的执行器。
把 DeepSeek Harness 聊天里的 WSL Linux 路径在 Windows 默认程序或资源管理器中打开。
Install set: part of dsh-wsl-kit. PreferKIT_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.
Opens a Linux path in Windows Explorer or the default Windows app.
flowchart LR
agent["dsh chat"] --> open["dsh-wsl-open"] --> win["Explorer or default app"]Suite diagram and version snapshot: dsh-wsl-kit. This plugin is 0.2.0 (daily; also in llm). Do not copy that matrix into this README.
Field · Value Plugin · dsh-wsl-open 0.2.0 Minimum dsh · ≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081) Latest verified · See dsh-wsl-kit Compatibility (currently `0.2.0-rc.2`) — single source of truth for the suite Kit set · daily (also in github / full; fetch+net also in llm) Cloud Flash · Use model id `deepseek-flash` (V4.1 Flash) in ~/.dsh/settings.yaml / llm-deepseek — not configured by this plugin Agent Teams · Upstream experimental; not required here
Suite floor versions: kit check-plugin-versions.sh. Fault tree: TROUBLESHOOTING.md.
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.
wslpath -w (or a fallback) to \\wsl$\... or C:...cmd.exe /c start (Windows default app); folders → explorer.exeOnly 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.
dsh plugin --profile web add github:173787247/dsh-wsl-openRestart dsh web, refresh the page. Click a dotted-underline path in a new or re-rendered assistant message.
/home//... (e.g. .pptx).Debug: browser console [dsh-wsl-open]; host log dsh-wsl-open: loaded distro=....
- id: dsh-wsl-open
name: dsh-wsl-open
config:
enabled: trueKey · Default · Meaning enabled · true · Set false to disable
npm testMIT