dsh-desktop-app
将Web界面封装为桌面应用并驻留托盘,窗口可后台重开 适合希望长期打开DSH且窗口可最小化到托盘的桌面用户;依赖本机托盘支持并保持本地服务持续运行。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MARIOMLY/dsh-desktop-app说明文档
阅读完整 README ↗Usage
Just ask, in any DSH session:
Make this open like a normal desktop app.
The agent calls desktop_app for you. Or be explicit about the action:
| Action | What it does |
|---|---|
status | Reports the live web port, the detected browser, the Desktop directory, and whether the shortcut is installed. Start here if something looks wrong. |
install | Writes the launcher and creates the Desktop shortcut. |
remove | Deletes the shortcut and the launcher. |
open | Opens the app window right now, without installing anything. |
restart | Restarts the DSH server itself and reopens the app window. Detached and delayed, so your reply is delivered before the server goes down. |
Optional parameters:
| Parameter | Meaning |
|---|---|
browser | A browser id (edge, chrome, brave, vivaldi, opera) or an absolute path to a Chromium-family executable. Defaults to the first one detected. |
icon | Absolute path to a .ico file for the shortcut. Defaults to the browser's own icon. |
shortcutName | Shortcut file name on the Desktop. Defaults to DeepSeek Harness.lnk. |
delaySeconds | restart only. Seconds to wait before stopping the server. Defaults to 15, capped at 300. |
closeOldWindows | restart only. Once the new app window has appeared, close the app-mode windows that existed before the restart. Defaults to true. Only DSH app windows are closed — a normal browser window is never touched, because closing it would take your other tabs with it. |