Chuyển đến nội dung chính

dsh-chrome-app-launcher

Đã xác minh

dsh-chrome-app-launcher · v0.1.2 · MIT

DeepSeek Harness plugin: creates a Windows desktop shortcut that launches dsh web in a Chrome app-mode window (auto-detects Chrome, waits for the port, no duplicate windows).

Cài đặt

dsh plugin add dsh-chrome-app-launcher

Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.

Mã nguồn

Thẻ

Tác giả

Readme

dsh-chrome-app-launcher

English · 中文

A DeepSeek Harness plugin that creates a Windows desktop shortcut which launches dsh web in a Chrome app-mode window — no address bar, no tabs, just the app.

一个 DeepSeek Harness 插件:在 Windows 桌面创建一个快捷方式,以 Chrome App 模式(无地址栏、无标签页)启动 dsh web


English

What it does

On every boot (Windows only), the plugin:

  1. Writes a launcher .bat to %LOCALAPPDATA%\dsh-chrome-app-launcher\launch-dsh.bat
  2. Creates a Desktop shortcut DeepSeek Harness.lnk pointing at it

Double-clicking the shortcut:

  • Auto-detects Chrome — tries the registry App Paths first, then common install paths, then falls back to Edge
  • Starts dsh web --no-open in the background (no duplicate window — the app window is the only one)
  • Waits for the port to become ready before opening (no "refresh me" error page)
  • Opens the Web GUI in a Chrome app-mode window, using a fresh --user-data-dir so it is a real standalone window even when Chrome is already running
  • Closing that terminal window stops the service

Install

dsh plugin --profile web add dsh-chrome-app-launcher

Then restart dsh web. The desktop shortcut is created automatically on boot.

Configuration

Configure via settings.yaml (or the bundle patch):

chrome-app-launcher:
  shortcutName: DeepSeek Harness   # shortcut label
  port: 3080                       # dsh web port
Option Default Description
shortcutName DeepSeek Harness Label of the desktop shortcut (without .lnk)
port 3080 Port that dsh web listens on

Platform

Windows only (win32). On other platforms the plugin is a no-op.

License

MIT


中文

功能

每次启动(仅 Windows)时,插件会:

  1. 把启动脚本 .bat 写入 %LOCALAPPDATA%\dsh-chrome-app-launcher\launch-dsh.bat
  2. 在桌面创建一个快捷方式 DeepSeek Harness.lnk 指向它

双击快捷方式后:

  • 自动探测 Chrome —— 先查注册表 App Paths,再试常见安装路径,最后回退到 Edge
  • 在后台启动 dsh web --no-open(不会多开窗口——App 窗口是唯一的窗口)
  • 等待端口就绪后再开窗(不会出现「刷新一下」的错误页)
  • Chrome App 模式打开 Web GUI,使用独立的 --user-data-dir,即使 Chrome 已经在运行也能弹出真正的独立窗口
  • 关闭那个终端窗口即停止服务

安装

dsh plugin --profile web add dsh-chrome-app-launcher

然后重启 dsh web,桌面快捷方式会在启动时自动生成。

配置

通过 settings.yaml(或 bundle patch)配置:

chrome-app-launcher:
  shortcutName: DeepSeek Harness   # 快捷方式名称
  port: 3080                       # dsh web 端口
配置项 默认值 说明
shortcutName DeepSeek Harness 桌面快捷方式名称(不含 .lnk
port 3080 dsh web 监听的端口

平台

仅 Windows(win32)。其他平台上该插件不生效(no-op)。

许可

MIT