DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-browser-mode

d

dsh-browser-mode

Manifest valid

Adds a "Browser mode" button beside Restart in the Windows desktop titlebar that signs the browser in — reusing the session cookie it already holds, or minting a fresh one and installing it through a

UI (client)hasBundlePatch

Browser mode

A 浏览器模式 (Browser mode) button beside 重启 (Restart) in the Windows titlebar.

Opening the DeepSeek Harness web GUI in an ordinary browser normally ends at a plain-text dsh web authentication required; reopen the URL printed by dsh web. page. The one-time ?token= URL that would sign the browser in is handed to the Electron window over IPC and is never written to disk, so there is no address a person can type.

This plugin closes that gap from inside the Host, where the signing secret lives:

  1. It reads the client-connection/browser-session grant through the Host's own credential service — the same record the connection service signs cookies with.
  2. It checks whether the asking browser already holds a valid cookie for this origin. If it does, the press just opens the GUI.
  3. If it does not, it mints a fresh cookie (7 days, HttpOnly, SameSite=Strict) and opens a one-time link that installs it and redirects to /. The link is kept in memory only, expires after two minutes, and works once.

If the default browser cannot be started, the dialog shows the address so it can be opened by hand.

Install

From a checkout:

Plugins → Add plugin → pick this directory

Or with the plugin manager, passing the directory:

plugin_manager install_bundle  target = <path to this package>

No build step, no dependencies, no install scripts.

Use

  1. Open the desktop app.
  2. Click 浏览器模式 in the titlebar, next to 重启.
  3. The default browser opens the web GUI, already signed in.

The button only appears in the desktop shell: a browser tab has no caption row, and the sign-in it reuses belongs to the desktop app.

Limitations

  • Windows desktop titlebar only. The caption menubar is injected by the desktop preload; no other host draws it.
  • The Host must be reached over loopback HTTP. The cookie is signed for the authority the browser used (127.0.0.1:<port>), so a different host name needs its own press.
  • The browser keeps the sign-in for 7 days. After that, press the button again.
  • Signing in is one thing; the page is unchanged, and so are any limits on the remote connection the GUI itself enforces.

Security

  • The secret is read with ctx.credentials.readRecord, used for one HMAC, and never logged, echoed, or returned in a response.
  • POST /dsh-browser-mode/open refuses requests without the x-dsh-browser-mode: 1 header, which a cross-site form post cannot set.
  • The login link carries a random 18-byte nonce, is single use, expires in two minutes, and only ever installs a cookie for this origin.
  • Only a one-line event log is written, to ~/.dsh/dsh-browser-mode.log. No secret and no cookie value appears in it.

Uninstall

Remove the bundle in the plugin manager. The log file can be deleted; nothing else is left behind.

Comments

Loading…

Similar plugins

dsh-desktop-quick-actions

by penghao73551

Two round buttons at the foot of the DSH desktop sidebar on Windows: restart the app without a console window ever flashing on screen, and open the DeepSeek top-up page in your browser. The restart pa

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 30, 2026

dsh plugin --profile web add dsh-desktop-quick-actions

by L1818346

Browser takeover for sign-in-gated sites: keeps a list of addresses that need a login (URL and date only, no credentials), answers before a visit whether an address is already on it, reports whether t

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Oct 31, 2026

dsh plugin --profile web add dsh-browser-takeover

by 13520rygvv

DSH desktop plugin: a one-click restart button in Settings, plus a customizable shortcut.

Tools & CapabilitiesUI & ExperienceManifest valid

★ 1

JavaScript

Oct 27, 2026

dsh plugin --profile web add @local/dsh-restart-button

by hanwuji1

One-click launcher for the Web UI: a double-click Start-DSH-Web.cmd on the Windows desktop that boots dsh web and auto-opens the browser (polling until ready), plus a web_launcher model tool (install

Notifications & IntegrationsManifest valid

★ 0

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-web-launcher

DSH 的浏览器:登录一次,它就用你的账号替你办事(查后台/填表/抓列表/多标签);要登录、验证码、弹框会停下来等你,绝不替你点「确定」;你最小化它就不吵你,AI 在哪动手你随时看得见

Tools & CapabilitiesManifest valid

★ 2

MIT

TypeScript

dsh plugin --profile web add dsh-browser-playwright-codex

by zhengjy01

One-click restart for DeepSeek Harness: a web button (plus a dsh_restart agent tool) hands the relaunch to a detached helper, the page reconnects by itself, and a recovery console shows the boot error

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add @zhengjunyao/dsh-restart