DeepSeek Harness plugin

dsh-pip

Detach the DeepSeek Harness web GUI into a Document Picture-in-Picture always-on-top window.

Jump to install

Source facts

Repository
extension-hunter/dsh-pip
Latest update
Aug 14, 2026
Category
UI Enhancements
GitHub stars
1
Format
bundle
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/extension-hunter/dsh-pip
Plugin: dsh-pip
Author: extension-hunter

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-pip

<p align="center"><strong>One click detaches the DeepSeek Harness web GUI into an always-on-top Document Picture-in-Picture window — it floats beside your editor, and one more click puts it back.</strong></p>

<p align="center"> <a href="https://www.npmjs.com/package/dsh-pip"><img src="https://img.shields.io/npm/v/dsh-pip?style=flat-square" alt="npm" /></a> <a href="https://github.com/extension-hunter/dsh-pip/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-2EA44F?style=flat-square" alt="License: MIT" /></a> <img src="https://img.shields.io/badge/browser-Chromium%20116%2B-4285F4?style=flat-square&logo=googlechrome&logoColor=white" alt="Chromium 116+" /> <img src="https://img.shields.io/badge/config-zero--config-8A2BE2?style=flat-square" alt="Zero config" /> </p>

<p align="center">English · <a href="README.zh.md">中文</a></p>

Why

The DSH web GUI lives in a browser tab — watching the agent while writing code means hopping between the editor and the tab. dsh-pip uses Document Picture-in-Picture to move the whole app (not a screenshot) into a system-level always-on-top window:

  • One command to install. The package ships a bundle patch (dsh.bundle.patch): dsh plugin add mounts the plugin row automatically — no file edits.
  • Zero config. Restart dsh web and a floating "独立窗口" button appears in the corner of the UI. Click it, done.
  • Window matches the browser by default. The detached window opens at the current tab's viewport size; pin it with two numbers if you prefer.
  • The whole app comes along. On click, #root moves together with styles and theme — not a screencast, the app itself, fully interactive.
  • No-op where unsupported. Safari / Firefox lack the Document PiP API; the script no-ops and no button ever appears.

<p align="center"> <img src="assets/dsh-pip-overview.png" width="100%" alt="dsh-pip moves the live Harness Web UI from its browser tab into an always-on-top window beside the editor and back in one click." /> </p>

dsh-pip vs DeepSeek Harness Desktop

These projects solve different layers of the same workflow. dsh-pip is a focused plugin for people who already run dsh web and only want the UI beside their editor; DeepSeek Harness Desktop is a packaged Electron distribution that owns the desktop app and local Harness service lifecycle.

dsh-pipDeepSeek Harness Desktop
Primary jobDetach the existing Web UI into an always-on-top companion windowPackage Harness as a standalone desktop app
InstallOne dsh plugin commandDownload and install a desktop build
Existing setupRequires a working dsh web profile and Chromium 116+Bundles the runtime; no manual Node.js setup or CLI launch
Harness serviceReuses your existing service and configuration; does not start or manage itStarts and manages the local Harness service
Window experienceOne-click Document PiP detach / return; stays above the editorElectron window, system tray, and desktop-specific UI adaptation
Harness UI and pluginsMoves the current official Web UI as-is; installed through the DSH plugin mechanismRetains the official local Web UI and plugin capabilities inside the desktop distribution
Remote access and channelsNone; this is a local window enhancement onlyAdvertises iOS / Android remote control plus WeChat, Feishu, Discord, and WhatsApp channels
Plugin discoveryUses the standard DSH plugin CLI; no marketplaceA plugin marketplace and DSH-plugin delivery for Desktop are planned, not currently shipped
Platform scopeChrome / Edge with Document PiPmacOS and Windows desktop builds

Choose dsh-pip if your current Harness setup already works and you want the smallest change: keep your runtime, browser, profiles, and update flow, and add only a floating window. Choose Desktop if you want Harness packaged and managed as a desktop application without setting up Node.js or starting it from the command line.

Quick start

dsh plugin --profile web add dsh-pip

Restart dsh web — done, zero config:

  • the bundle patch mounts the plugin row and injects the browser script into every page response — purely additive, core rows untouched;
  • open the web UI, click the floating "独立窗口" button to detach;
  • close the window (or click its "返回标签页" button) and the app returns to the tab.

How it works

On click the browser script calls documentPictureInPicture.requestWindow() during the click's transient activation, copies the opener's stylesheets and theme attributes into the new window, adopts the app root (#root) into it, and hides the opener button. The window's pagehide event — fired by the browser's built-in "back to tab" control or the script's "返回标签页" button — moves the root back and restores the button.

HalfWhereWhat it does
Host pluginsrc/index.tsRegisters the /pip/client.js route and injects the browser script + config into every index response.
Browser scriptsrc/client.jsDraws the floating button and moves the app (#root) into / out of the PiP window.

Configuration

All optional — the defaults just work. Override them in the profile's ~/.dsh/profiles/web/cordis.patch.yml:

FieldDefaultMeaning
enabledtrueMount the plugin; false (or disabled: true on the row) turns it off
widthomittedDetached-window width (CSS px); omitted = match the browser viewport
heightomittedDetached-window height (CSS px); omitted = match the browser viewport
- id: pip
  config:
    enabled: true
    width: 1280   # pin the size with numbers
    height: 800

> requestWindow width/height are hints — Chromium clamps the window to the available screen, so a maximized browser may yield a slightly smaller window.

Requirements

  • Chromium 116+ (Chrome, Edge). The Document Picture-in-Picture API does not exist in Safari or Firefox; the script no-ops and no button appears.
  • The webServer service, which the web profile provides through its @deepseek-ai/dsh-host-webserver bundle.

Install & lifecycle

Install

dsh plugin --profile web add dsh-pip

To install an unpublished checkout (e.g. during development), pass a local path:

dsh plugin --profile web add file:/path/to/dsh-pip

Disable / restore

- id: pip
  disabled: true

Flip it back to false to restore.

Update

dsh plugin --profile web update dsh-pip

Remove

dsh plugin --profile web remove dsh-pip

Removes the dependency and the bundle layer; nothing is left behind.

Known limitations

  • Chromium-only — Safari and Firefox never show the button.
  • Portal surfaces stay in the tab — the app renders menus, modals, toasts, and hover cards through createPortal(..., document.body); those elements continue to target the original tab's body while detached, so they are invisible until the app returns. Detaching is best used for reading/steady state, not for opening menus in the floating window.
  • Window-scoped listeners stay home — global window/document listeners (keyboard shortcuts, scroll tracking) keep firing in the original tab; only React-managed events on the moved root follow the window.

Development

npm install
npm run typecheck   # tsc --noEmit
npm run build       # tsc → lib/ + copy src/client.js → lib/client.js

prepack (run by npm pack / npm publish) rebuilds before packaging so the published tarball always ships a current lib/.

License

[MIT](LICENSE)