AI Agent Hub
Back to plugins
🤖

dsh-wsl-env

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install 173787247/dsh-wsl-env

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install 173787247/dsh-wsl-env in your terminal to install the plugin; the full source is available at https://github.com/173787247/dsh-wsl-env. After installation, restart dsh web and start a new session to apply the changes.

About this plugin

Running an AI agent inside WSL, you keep hitting the same footguns: the model writes C:\ paths, assumes PowerShell, trips over CRLF on /mnt/c, and forgets the Node 24 proxy requirement. dsh-wsl-env exists for exactly this scenario. It injects a short, purpose-built block into the system prompt so the model knows it is on Linux, where the Windows drive actually lives, and which directory to prefer for everyday work.

The injected facts are deliberately terse: the distro name, the current Linux user, the path mapping from C:\Users... to /mnt/c/Users..., CRLF and git caveats on the /mnt/c mount, and the NODE_USE_ENV_PROXY=1 flag for Node 24 when HTTP(S)_PROXY must be honored. A few lines of context that let the model reason correctly without bloating the prompt window.

By default the plugin activates only when it detects a WSL host, so non-WSL machines skip injection entirely. That makes it safe to ship alongside the rest of dsh-wsl-kit without side effects on bare-Linux or native-Windows setups. If you run DeepSeek Harness inside WSL for daily development and are tired of the agent guessing the wrong platform, this is a zero-cost, low-intrusion fix.

Use Cases

  • Model keeps writing Windows paths while the agent runs inside WSL
  • Git operations on /mnt/c produce unexpected CRLF diffs
  • Node 24 ignores HTTP(S)_PROXY in WSL environments

Best For

  • Engineers running DeepSeek Harness inside WSL for daily development
  • Agent users who need correct Linux vs Windows path resolution
  • Developers managing cross-platform workflows with dsh-wsl-kit