AI Agent Hub
Back to plugins
🖥️

dsh-env-switcher

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Oyama-Mahiro-F/dsh-env-switcher

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

Run dsh plugin install Oyama-Mahiro-F/dsh-env-switcher in DeepSeek Harness to install this plugin; the source is available at https://github.com/Oyama-Mahiro-F/dsh-env-switcher.

About this plugin

Running two DeepSeek Harness instances—one on Windows, one inside WSL2 Linux—is a growing setup, but switching between them traditionally means killing one server and relaunching the other, which also resets your session. dsh-env-switcher keeps both DSH processes alive on the same machine and lets you hop between them straight from the browser without a single restart.

The plugin injects an Environment tab above the conversation area and a Windows | WSL toggle in the sidebar main column, placed between the quick entries and the Workspace block. Clicking a target verifies that the corresponding server is already listening on its port, then navigates the current tab to the destination URL. When you collapse the sidebar the toggle disappears automatically and reappears when you expand it again, keeping the interface tidy.

Each environment preserves its own independent conversation history, so nothing is lost in transit. Two lightweight host endpoints, /env/api/state and /env/api/switch, are exposed for external scripts or front-end extensions to query status or trigger a switch programmatically. Ideal for developers and power users who live in a Windows + WSL2 dual-stack environment and want frictionless switching between their DeepSeek Harness workspaces.

Use Cases

  • Switch between Windows-native and WSL2 Linux DSH instances with a single click, no restart
  • Run two independent DSH servers in parallel, each preserving its own session history
  • Trigger environment switches or query status programmatically via lightweight API endpoints

Best For

  • Developers and ops engineers working in a Windows + WSL2 dual-stack setup
  • Power users maintaining multiple DeepSeek Harness environments simultaneously
  • Script or front-end developers who need to integrate environment switching logic via API