MARIOMLY/dsh-desktop-app ↗★ 0

dsh-desktop-app

将Web界面封装为桌面应用并驻留托盘,窗口可后台重开 适合希望长期打开DSH且窗口可最小化到托盘的桌面用户;依赖本机托盘支持并保持本地服务持续运行。

包名
dsh-desktop-app
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
Cordis 依赖范围
^4.0.1
版本
0.2.7
许可证
MIT
最近更新
2026年9月14日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MARIOMLY/dsh-desktop-app

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:

ActionWhat it does
statusReports the live web port, the detected browser, the Desktop directory, and whether the shortcut is installed. Start here if something looks wrong.
installWrites the launcher and creates the Desktop shortcut.
removeDeletes the shortcut and the launcher.
openOpens the app window right now, without installing anything.
restartRestarts the DSH server itself and reopens the app window. Detached and delayed, so your reply is delivered before the server goes down.

Optional parameters:

ParameterMeaning
browserA browser id (edge, chrome, brave, vivaldi, opera) or an absolute path to a Chromium-family executable. Defaults to the first one detected.
iconAbsolute path to a .ico file for the shortcut. Defaults to the browser's own icon.
shortcutNameShortcut file name on the Desktop. Defaults to DeepSeek Harness.lnk.
delaySecondsrestart only. Seconds to wait before stopping the server. Defaults to 15, capped at 300.
closeOldWindowsrestart 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.