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)

AI 分析

核心用途是提供类似桌面客户端的独立窗口交互体验。适合不想在浏览器标签页中混杂 DSH、希望其作为独立应用常驻桌面的用户。

パッケージ
dsh-desktop-window
バージョン
0.4.0
ライセンス
MIT
最終更新
2026/09/11

インストール

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

ドキュメント

README 全文を読む ↗

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