dsh-remote-wsl:把 WSL 裏的項目直接開成 DSH workspace

DSH 默認只認 Windows 目錄,WSL 項目的工具鏈卻在發行版裏。dsh-remote-wsl 在「添加 workspace」流程中新增 Connect WSL 入口:列出本機全部發行版,從 $HOME 瀏覽 Linux 目錄,選中後註冊爲 \\wsl.localhost\\<distro>\\<path> workspace(/mnt 下的項目回退爲真實 Windows 路徑)。該 workspace 的側欄終端執行 wsl.exe -d <distro> --cd <linux path>,agent 的 bash、read/write/edit、glob/grep 也改在 Linux 側運行,寫入通過臨時文件加 rename 原子發佈。Windows PowerShell 工具在其中被隱藏,普通 Windows workspace 不受影響。安裝:dsh plugin --profile web add github:MFJip612/dsh-remote-wsl,需 Node >= 24.9.0,配置項寫在 cordis.patch.yml,含 terminal、tools、execTimeoutMs、distroCacheMs、maxEntries、maxReadBytes、defaultDistro、mountRoot、remote。插件 MIT 協議,由 MFJip612 維護,倉庫 1 顆星,目錄中標記爲未驗證。

閱讀全文