插件目录 / UI & Skins / dsh-desktop-browser
dsh-desktop-browser
已验证 · 实测可装 Mby159
功能简介
Cordis plugin that opens the dsh Web UI in a browser with no address bar (--app mode)
可用 — 实测通过,早期项目
Cordis plugin that opens the dsh Web UI in a browser with no address bar (--app mode) 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
@deepseek-ai/dsh-desktop-browser
Opens the dsh Web UI in a browser window with no address bar, giving it a native-app feel.
Features
- Auto browser detection — finds Chrome, Edge, Chromium, or Safari on Windows/macOS/Linux
- Address bar hidden — uses Chromium's
--app=<url>flag - Auto URL resolution — reads host/port from the webserver
- Window geometry — configurable size and position (auto-center supported)
- Automatic cleanup — closes browser when dsh shuts down
Installation
dsh plugin --profile web add Mby159/dsh-desktop-browser
Then start dsh:
dsh web
The plugin's cordis.patch.yml is merged automatically — no manual configuration editing required.
Verifying the installation
After dsh plugin add completes, verify the plugin is active before starting dsh web:
dsh --profile web --dump-config | grep desktop-browser
If the plugin was successfully added to the bundles list, the output includes desktop-browser in the config tree.
If the grep finds nothing, the plugin package was installed but the bundles list was not updated. Fix it manually:
# Read the profile's package.json
# Add "@deepseek-ai/dsh-desktop-browser" to the dsh.profile.bundles array if it is missing
# Then re-verify:
dsh --profile web --dump-config | grep desktop-browser
When the browser doesn't open
If dsh web starts but no browser window appears:
Check the dsh startup logs for
[desktopBrowser]. If you see:[desktop-browser] bundle not found in profile bundles→ The plugin is not in the bundles list. Apply the fix above.
If the logs show no desktop-browser entries at all, the plugin was not loaded. Verify with:
dsh --profile web --dump-config | grep desktop-browser
Requirements
- A Chromium-based browser (Chrome, Edge, Chromium) or Safari
- DeepSeek Harness
webprofile - pnpm ≥10: if installing from GitHub and pnpm reports a blocked
preparescript, add the key it prints to~/.dsh/profiles/web/pnpm-workspace.yamlunderallowBuilds, then re-run the install command above
How it works
The plugin is a Cordis bundle. dsh plugin add installs the package and adds it to your profile's dsh.profile.bundles list, so the plugin's cordis.patch.yml is loaded automatically on every dsh web startup.
Configuration (optional)
The plugin works with zero config. To override defaults, create or edit ~/.dsh/profiles/web/cordis.patch.yml with your overrides:
- id: desktop-browser
config:
width: 1400
height: 900
positionX: auto
positionY: auto
disableExtensions: true
openDelayMs: 500
minimize: false
| Field | Type | Default | Description |
|---|---|---|---|
url |
string | auto | Override the URL to open |
browser |
string | auto-detect | Explicit browser path |
width |
number | 1400 | Window width in pixels |
height |
number | 900 | Window height in pixels |
positionX |
number | 'auto' | 'auto' | Window X position |
positionY |
number | 'auto' | 'auto' | Window Y position |
disableExtensions |
boolean | true | Pass --disable-extensions |
openDelayMs |
number | 500 | Delay before opening after server start |
minimize |
boolean | false | Start browser minimized |
API
The plugin registers ctx.desktopBrowser:
url— the resolved URLrunning— whether the browser is openopen()— open the browser windowclose()— close the browser window
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-desktop-browser」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Mby159/dsh-desktop-browser Headless(CLI)profile:
dsh plugin --profile headless add github:Mby159/dsh-desktop-browser 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。