Preface¶
When developing in DeepSeek Harness (DSH), a common need is to keep an eye on two things at once: watching a long task run in the terminal while reading documentation or editing files; or flipping through the file tree while checking references in the same chat. Switching panels back and forth in a single window disrupts your focus. DSH is a plugin-based host, and there are also community extensions focused on client experience. Below is an introduction to dsh-window-clone, maintained by JhengFire: it provides a second observation and operation surface using an OS-level new window, without launching a second Harness process, while keeping the data fully synced with the first window.
What is this¶
dsh-window-clone is a DSH plugin registered on npm (current version 1.0.4, MIT license). In short: open another logged-in independent window on the Harness you are already running.
It does not copy a session or workspace but provides a second view of the same instance: sessions, messages, and workspace state are synchronized in real-time; each window can arrange panels and fullscreen different areas independently, but the underlying layer remains the same Harness.
Directory page: skillhub.cn/plugins/JhengFire/dsh-window-clone
Source code and documentation: github.com/JhengFire/dsh-window-clone
Core Capabilities (Consistent with README)¶
- Custom Window Title: Enter a name in settings to distinguish purposes in the taskbar; leave it empty to automatically name it
Harness clone 01,Harness clone 02, etc. - True Independent Window: The Host side spawns a new process (not an iframe), it has no address bar, and can be dragged to a second monitor; if the system shell is not found, it falls back to Chrome or Edge’s
--app=mode. - Dual Window Sync & Split Layout: Sessions, messages, workspace, settings, and plugin changes are globally consistent; each window retains its own panel arrangement (view state, not a second Harness state).
- No Re-login Required: The new window goes through the Host’s authentication process, carrying a startup token to open, so the first frame is already a logged-in session.
- Recently Used Names: The settings page remembers the last input, making it easy to reopen with one click.
- Interface Language: Settings and documentation support English and Simplified Chinese.
Panel fullscreen controls are still provided by the built-in controls in the top-right corner of the DSH right panel; this plugin does not provide fullscreen buttons separately.
Installation & Enabling¶
The plugin targets the web profile (dsh.client.platform: web). The official installation method is as follows:
dsh plugin --profile web add dsh-window-clone
dsh web
After restarting Harness (or running dsh web again), open Settings, and between Market and MCP you will see Separate windows.
If the registry has not yet recorded a version, you can install from GitHub:
dsh plugin --profile web add git+https://github.com/JhengFire/dsh-window-clone.git
Pin to a release tag (example in documentation is v1.0.0):
dsh plugin --profile web add git+https://github.com/JhengFire/dsh-window-clone.git#v1.0.0
Install from a local development directory:
dsh plugin --profile web add ./dsh-window-clone
When the network in mainland China is slow, packages are synced to npmmirror, and you can install via npm using a mirror (an alternative method to obtaining plugins alongside the DSH plugin command):
npm install dsh-window-clone --registry=https://registry.npmmirror.com
Environment Requirements (from README): DeepSeek Harness desktop 0.2.x; dsh.engines.dsh in package.json is >=0.2.1-rc.3; supports Windows, macOS, Linux; Node.js >=20.
Typical Usage¶
- Open Settings → Separate windows.
- Input a window name (you can leave it empty).
- Click Create window.
After the new window opens, you are already logged in. A common setup is to have one window fullscreen with the file panel and the other fullscreen with the terminal; in the same conversation, you can initiate operations from either side, and the other side can see the stream output synchronously.
How it Works (For Troubleshooting)¶
Browser pages cannot directly create system windows, so the plugin splits into two parts following DSH conventions:
- Host (
lib/index.mjs): ProvidesPOST /detach/open(launches a window and returns the name) andGET /detach/state(information about the local launcher); it usesspawnto open a detached process for the new window. - Browser (
lib/client.js): Injects the Separate windows settings page viasettings.section.
The window title is passed via the URL fragment (#dsh-clone-name=…) to prevent login redirects from losing the query parameters. Authentication is handled by the Host’s connection.authenticatedUrl().
Scope: It only supports local, multi-window setups for the same Harness instance, not cross-machine coordination. It is also unable to launch a native shell window for each panel individually (the desktop deepseek-harness.exe does not accept external app paths); this plugin provides a “second UI surface of the same instance,” intended to be used in conjunction with DSH’s built-in fullscreen.
Suitable Use Cases & Notes¶
Who is this for? Developers who frequently need to parallelize file watching and terminal monitoring in DSH, or need to divide tasks between dual screens/multi-monitors, while ensuring sessions and workspaces remain consistent.
Permissions & Security: The plugin runs with the same permissions as the current DSH process, will spawn a local new process, and handle authentication redirects. Before installing, it is recommended to browse the repository source code and the LICENSE to ensure it fits your environment’s policies.
Common Issues (from README Troubleshoot):
- Separate windows is not found in settings: The client bundle may not have loaded; hard refresh the GUI (
Ctrl+Shift+R), or check the console to see ifclient-modulesreports an error. - The new window lands on the login page: The startup token is not effective; use
GET /detach/stateto see if the local machine has ashellorbrowserclass launcher. - Abnormal window title: Some browser app modes may overwrite the page title; see the repository Issues for details.
Conclusion¶
dsh-window-clone solves the problem of “losing context when switching panels in a single window”: with an additional system window, it remains one Harness instance with one session and workspace, allowing parallel focus via split views.
Learn more: Plugin Directory · GitHub