fengzhiyushui/dsh-desktop-window1

dsh-desktop-window

DSH desktop-window plugin: opens the DeepSeek Harness Web UI in a standalone app window (auto-open + session-header toggle + settings switch)

包名
dsh-desktop-window
版本
0.4.0
许可证
MIT
最近更新
2026年9月11日

安装

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

Usage

dsh web

## Configuration

The auto-open preference lives in `$DSH_HOME/desktop-window.json` (default `%USERPROFILE%\.dsh\desktop-window.json`). It is written by the settings switch; a hand-edit is also fine, including one saved by Notepad (a UTF-8 BOM is tolerated).

```json
{
  "autoOpen": true,
  "cleanProfileOnUnload": false
}
KeyDefaultMeaning
autoOpentrueOpen the standalone window when the server starts
cleanProfileOnUnloadfalseDelete the dedicated browser profile directory when the plugin unloads. Left false, the profile is kept so the window starts warm

HTTP endpoints

The plugin's browser half talks to these routes; they are also usable from scripts. Mutating routes reject a cross-site Origin with 403 and bodies larger than 4 KB.

RouteMethodPurpose
/desktop-window/statusGET/POST{ open, auto }
/desktop-window/togglePOSTOpen the window, or close it when open
/desktop-window/set-autoPOST{ auto: boolean } → persists the preference
/desktop-window/manifest.webmanifestGETThe injected web manifest
/desktop-window/.pngGETServed icon bytes