1lyygit/dsh-launcher0

dsh-launcher

Windows 桌面端:一键启动 / 关闭 WSL2 Ubuntu 里的 DeepSeek Harness

AI Analysis

适合 Windows 用户切换 WSL 环境时快速拉起/退出 DSH,支持环境变量覆盖端口。

Package
dsh-launcher
Version
1.0.0
License
MIT
Last updated
Aug 15, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

配置

开箱即可用,不写死任何用户名或路径:

  • dsh 入口自动发现:依次查找 ~/dsh-app/node_modules/@deepseek-ai/dsh/lib/bin.js~/node_modules/@deepseek-ai/dsh/lib/bin.js、npm 全局目录、PATH 里的 dsh 命令;
  • WSL 用户自动识别:通过 getent passwd 取当前用户真实家目录,不受 Windows 环境变量污染;
  • 端口:默认 5306

需要覆盖时,设置 Windows 用户环境变量即可:

环境变量作用
DSH_ENTRY指定 dsh 入口文件 / 命令的绝对路径
DSH_PORT修改端口(默认 5306)
DSH_LOG修改 dsh 日志路径(默认 ~/.dsh/dsh-wsl.log

WSL 发行版名不是 Ubuntu 时,改 main.js 顶部的 DISTRO