AstroLiao/dsh-launcher ↗★ 4

dsh-launcher

Windows 桌面端:一键启动 / 关闭 WSL2 Ubuntu 里的 DeepSeek Harness 适合桌面端快速拉起宿主服务;可用环境变量覆盖入口、端口和日志路径。

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

View the directory representative for this identical content

Other repositories with this package name

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。