dsh-wsl-windows-folder-picker: Selecting directories via the Windows folder dialog in WSL

Introduction

When running DeepSeek Harness (DSH) in WSL, if the Web client needs to bind a workspace or select a local directory, the file selection experience in the browser or on the Linux side often differs from habits on the Windows host. Ambiguities regarding path mapping, permissions, and “should I select /mnt/c/... or a Windows drive letter path” can cause hesitation. If you primarily develop on Windows and use DSH via WSL, you might prefer popping up the familiar Windows folder dialog to select directories rather than settling for a path selection within the Web UI.

Below is an introduction to the community plugin dsh-wsl-windows-folder-picker (maintainer VoidPrim). It targets the Web client of DSH (platform: web) and integrates Windows native folder selection capabilities within a WSL environment. This plugin belongs to the community catalog SkillHub and has no official affiliation with DeepSeek or Hikvision (Huanfang). The DSH ecosystem follows the “everything is a plugin” philosophy; whether to install it is up to you after evaluating the source code and license.

What is this

dsh-wsl-windows-folder-picker can be summarized in one sentence: When using DSH under WSL, use the Windows folder dialog to complete directory selection (from the README: Use the Windows folder dialog when using dsh under WSL.).

  • Category: Client plugin (depends on client injection items such as @deepseek-ai/dsh-client-ui-workspace, acting on the Web UI).
  • License: MIT (see the repository README and package.json).
  • Current Package Version (package.json): 0.1.7-rc.1; requires DSH >=0.1.7-rc.1, Node >=18.17.0.

Core Features

The verifiable capabilities from the documentation are listed below. We will not expand on configuration items or APIs not appearing in the README or package.json:

  1. WSL + Windows Directory Selection: Targets the combination where “DSH runs in WSL, and the user opens the Web client via a browser in the Windows desktop environment.” It replaces the default directory selection method with the Windows-side folder dialog (consistent with keywords directory-picker and workspace, working in conjunction with workspace-related UI).
  2. Web profile installation: Installed via dsh plugin --profile web add ..., indicating that the changes fall on the Web client plugin chain, rather than a standalone backend service document.
  3. Cordis patch bundling: The dsh.bundle.patch in package.json points to cordis.patch.yml, injecting client capabilities via the standard DSH plugin method.

The README does not provide specific operation screenshots or step-by-step UI instructions on “where to click to select a folder”; the behavior after enabling it depends on the directory selection flow you trigger within the Web workspace.

Installation and Activation

Before installing, confirm that your local DSH version meets >=0.1.7-rc.1. The official installation command is as follows (must be used exactly as is; do not construct other github: paths yourself):

dsh plugin --profile web add github:VoidPrim/dsh-wsl-windows-folder-picker

After installation, you need to restart DSH and then refresh the Web page. The method provided in the README is:

dsh web

Uninstallation:

dsh plugin --profile web remove dsh-wsl-windows-folder-picker

Typical Usage

The repository README does not have a separate “business code example”; the reproducible flow is simply Install → Restart DSH → Open Web Client → Use folder selection in scenarios requiring workspace directory selection. Recommended steps:

  1. In the WSL terminal, confirm that the DSH version is not lower than 0.1.7-rc.1.
  2. Execute dsh plugin --profile web add github:VoidPrim/dsh-wsl-windows-folder-picker as described above.
  3. After restarting DSH, run dsh web to open the client in your browser.
  4. Enter the interface related to workspace/directory binding and trigger folder selection; if the environment matches (DSH on WSL + Windows-side dialog available), a Windows folder dialog should appear instead of relying solely on the embedded Web path selection method.

If the dialog does not appear, first check if it was installed under the web profile, if DSH has been restarted, and if you are indeed using DSH in WSL. For detailed issues, please report them via GitHub Issues.

Use Cases and Notes

Who it is for

  • Developers running DSH in WSL who access the Web client via a browser on Windows.
  • Those who want to use the Windows native folder UI when selecting directories to reduce confusion caused by mixing WSL paths and Windows paths.

Notes

  1. Client Plugin: Only effective for the Web client; the installation command includes --profile web and is unrelated to the backend or other profiles.
  2. Version Alignment: Both the plugin package version and engine requirement are on the 0.1.7-rc.1 /rc line. Be mindful of the engine field in the README when upgrading DSH or the plugin.
  3. Permissions and Security: The plugin runs with the current DSH process and user permissions; please read the GitHub repository source code and MIT license before installation to judge whether it is suitable for your environment.
  4. Non-WSL Scenarios: The README explicitly targets WSL; the material does not specify whether it applies to pure Linux or pure Windows native environments, so do not extrapolate.

Conclusion

dsh-wsl-windows-folder-picker solves the problem of aligning the “directory selection” experience for WSL developers using the DSH Web client with Windows desktop habits. The installation path is clear, and it depends on DSH >=0.1.7-rc.1. For directory information or to submit issues, please refer to:

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye