Miss-zhao-source/dsh-wsl-launcher ↗★ 1
dsh-wsl-launcher
Windows desktop shortcut that boots `dsh web` inside your WSL distribution and opens the browser: one double-click entry point for the DeepSeek Harness Web UI in WSL, plus a wsl_launcher model tool (install / status / open / uninstall).
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Miss-zhao-source/dsh-wsl-launcher说明文档
阅读完整 README ↗⚙️ Configuration
Override the plugin row in your profile's cordis.patch.yml
(e.g. ~/.dsh/profiles/web/cordis.patch.yml). A patch replaces the whole row
config, so restate the keys you keep:
- id: wsl-launcher
config:
autoInstall: true # create/refresh launcher + shortcut on activation (default true)
port: 3080 # Web UI port (default 3080)
distro: "" # WSL distro name; empty = auto (WSL_DISTRO_NAME)
wslUser: "" # WSL user for the shortcut (wsl --user); empty = distro default
linkName: "DeepSeek Harness Web.lnk" # shortcut file name on the desktop
launcherDir: "" # launcher folder; empty = ~/.dsh/dsh-wsl-launcher
scriptName: dsh-web-launcher.sh # launcher file name
withIcon: true # copy the whale icon + apply it to the shortcut
autostopEnabled: false # opt-in: stop the daemon after all browser tabs close
autostopGraceMs: 30000 # idle grace period in milliseconds
autostopMinUptimeMs: 45000 # startup protection in milliseconds
Launch strategy
launchMode: installed is the default. The launcher resolves an already installed dsh binary (PATH, login shell, common Node manager paths, then the recorded path) and does not contact npm.
For a disposable or npx-only setup, opt in explicitly and pin the exact package version:
- id: wsl-launcher
config:
launchMode: npx
npxPackage: "@deepseek-ai/dsh@0.1.1-rc.2"
This generates npx --yes @deepseek-ai/dsh@0.1.1-rc.2 web --port 3080 --no-open. The package field accepts only one exact npm package/version specifier: no omitted version, latest, semver range, whitespace, or shell syntax. npx mode is never used as an automatic fallback. Node.js and npx must be available to the non-interactive WSL launcher; the first run needs npm-registry network access and may download the pinned package.
No secrets are involved.