dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
在独立浏览器 profile 的 Edge/Chrome 应用模式窗口中打开 dsh web 界面,关闭窗口即优雅停止服务。
A bundle plugin for the Web profile of DeepSeek Harness (DSH). Once installed, dsh web behaves differently:
--app=) Edge / Chrome window, with the authenticated URL, on a separate browser profile — your everyday browser state is never touched;Made for people who use DSH Web like a desktop app: open the window to work, close it to walk away.
Prefer a double-click desktop icon instead of the terminal? See the sister project dsh-win-quick-launcher (no-terminal launcher). ⚠️ Use one or the other, never both at once: they share the same dedicated browser profile, and running both makes the two window processes kick each other off — the window flash-closes and the server gets stopped by mistake.
Install into the web profile (a git install works — this plugin is plain JavaScript with no build step):
dsh plugin --profile web add github:big0lives/dsh-web-window-companion
From a source checkout, run inside the repository root:
pnpm dsh plugin --profile web add github:big0lives/dsh-web-window-companion
Verify the layer is composed:
dsh --profile web --dump-config # expect a "# == dsh-web-window-companion" layer
Uninstall:
dsh plugin --profile web remove dsh-web-window-companion
Nothing to change — start as usual:
dsh web
dsh web: http://127.0.0.1:3080/?token=...) as a fallback if the app window cannot open;dsh web
└─ once the Loader tree settles, the plugin injects connection / webServer
├─ connection.authenticatedUrl() builds the tokenized URL
├─ spawns the browser: --app=<url> --user-data-dir=<dedicated profile>
│ └─ dedicated profile ⇒ browser process lifetime == window lifetime
└─ window closed → browser process exits → ctx.root.fiber.dispose() → graceful stop
The bundle patch also overrides the stock web-runtime row with openBrowser: false (restating every other key unchanged) to suppress the default-browser handoff; printUrl stays on as the fallback.
allowBuilds allowlist;| Symptom | Cause and fix |
|---|---|
| No app window appears | Make sure Edge or Chrome is installed; check the terminal for a [window-companion] warning; the printed URL always works |
| A default-browser tab still opens | The plugin layer is not composed — run dsh --profile web --dump-config and look for # == dsh-web-window-companion |
| Server keeps running after closing the window | The window must be the plugin-opened one on the dedicated profile (no tab strip); a manually opened tab does not own the server's lifetime |
| Want the stock behavior back | dsh plugin --profile web remove dsh-web-window-companion fully restores it |
MIT © 2026 big0lives