hanwuji1/dsh-web-launcher0

dsh-web-launcher

DSH Web UI 一键启动器插件,可在 Windows 桌面创建双击启动脚本并提供管理工具。

AI 分析

核心用途是简化 Windows 用户启动 DSH Web 服务的流程,支持自动检测运行状态并打开浏览器。适合不熟悉命令行操作、追求开箱即用体验的用户。

包名
dsh-web-launcher
版本
0.1.0
许可证
MIT
最近更新
2026年8月15日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hanwuji1/dsh-web-launcher

Usage

Double-click Start-DSH-Web.cmd on your desktop:

SituationWhat happens
Server not runningStarts dsh web, polls up to ~60 s, auto-opens the browser
Server already runningOpens the browser directly
dsh not installedShows 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: ""           # 桌面目录;留空 = 自动检测(默认)