hanwuji1/dsh-web-launcher ↗★ 0
dsh-web-launcher
One-click launcher for the DeepSeek Harness Web UI: creates a double-click Start-DSH-Web.cmd on the Windows desktop that boots `dsh web` and auto-opens the browser, plus a web_launcher model tool (install / open / status).
AI 분석
核心用途是简化 Windows 用户启动 DSH Web 服务的流程,支持自动检测运行状态并打开浏览器。适合不熟悉命令行操作、追求开箱即用体验的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hanwuji1/dsh-web-launcherUsage
Double-click Start-DSH-Web.cmd on your desktop:
| Situation | What happens |
|---|---|
| Server not running | Starts dsh web, polls up to ~60 s, auto-opens the browser |
| Server already running | Opens the browser directly |
dsh not installed | Shows npm install -g @deepseek-ai/dsh hint |
Close the console window to stop the server.
web_launcher tool
install— (re)create the desktop launcher (Windows only).open— open the Web UI in the default browser.status— check whether the DSH Web server is running.
Configuration
Override the plugin row in your profile's cordis.patch.yml (e.g.
~/.dsh/profiles/web/cordis.patch.yml). Because a patch replaces the whole
row config, restate the keys you want to keep:
- id: dsh-web-launcher
config:
autoInstall: true # create/refresh the desktop launcher on activation (default true)
port: 3080 # Web UI port (default 3080)
shortcutName: Start-DSH-Web.cmd # desktop launcher file name (default)
desktopDir: "" # desktop directory; empty = auto-detect (default)
使用
双击桌面的 Start-DSH-Web.cmd:
| 场景 | 行为 |
|---|---|
| 服务未运行 | 启动 dsh web,轮询最多约 60 秒,就绪后自动打开浏览器 |
| 服务已在运行 | 直接打开浏览器 |
dsh 未安装 | 提示 npm install -g @deepseek-ai/dsh |
关闭控制台窗口即停止服务。
web_launcher 工具
install— (重新)创建桌面启动器(仅 Windows)open— 用默认浏览器打开 Web 界面status— 检查 DSH Web 服务是否在运行
配置
在 profile 的 cordis.patch.yml(如 ~/.dsh/profiles/web/cordis.patch.yml)中覆盖插件行。patch 会整体替换该行 config,请保留需要保留的键:
- id: dsh-web-launcher
config:
autoInstall: true # 激活时创建/刷新桌面启动器(默认 true)
port: 3080 # Web 端口(默认 3080)
shortcutName: Start-DSH-Web.cmd # 桌面启动器文件名(默认)
desktopDir: "" # 桌面目录;留空 = 自动检测(默认)