DSH Multi-Session Split Screen: Open Multiple Sessions Side-by-Side in the Right Sidebar

Introduction

When following multiple agent sessions in DeepSeek Harness (DSH), a common practice is to toggle back and forth through the session list on the left: the main pane can only display the current session, while outputs from other sessions must wait until you switch to them. If you are using the Harness Web UI (desktop or dsh web) and wish to keep the main pane focused on your current conversation while viewing the streaming output of another session in real-time on the right, the community plugin Session panes / 多会话分屏 (@bob-cheung/dsh-session-panes) is the client extension designed for this scenario. Below is an overview of what it does, how to install it, and points to note during usage.

What is this?

dsh-plugin-session-panes, open-sourced on GitHub by maintainer Bob-Cheung, is a DeepSeek Harness Web UI plugin: it opens multiple sessions side-by-side as independent panes (tabs) in the right sidebar. Click the button on a session row, or drag the session to the right side of the window, and the session will appear on the right; the current session in the main pane remains unaffected.

The repository root directory is the plugin package itself (package.json is located at the root), not a monorepo. When installing, the target should point to the repository root containing package.json.

Core Features

The capabilities described in the documentation are as follows. There are no user-facing configuration options after installation; it works with default behaviors.

  1. Two ways to open: Hover over a session row and click “Open on right”; or press and hold the button to drag the session to the right side of the viewport (the drop zone starts at 55% width, covering the right approx. 45%) and release.
  2. Multi-pane coexistence: Each session corresponds to an independent tab on the right (preferNewPane), allowing you to view real-time output from multiple sessions simultaneously; closing the tab releases the retain on that session.
  3. Coexists with native drag-and-drop: The native drag functionality for sorting session rows remains available; the plugin only intercepts presses “originating from buttons on the row” and only handles drags sent from the left pane to the right.
  4. Drag feedback: While dragging, a title overlay follows the pointer, and the drop zone on the right highlights with a “Drag here” prompt.
  5. Languages and Themes: Interface and plugin metadata support Simplified Chinese and English, following the Harness language settings; styles utilize --dsw-alias-* variables to adapt to light and dark themes.
  6. No build step: Pure ESM + runtime React.createElement, with no dependencies and no installation scripts.

If the right sidebar is not yet mounted, the plugin will first open the session in the main pane to activate the sidebar, then automatically open the corresponding pane on the right.

Environment Requirements

  1. DeepSeek Harness is installed and the Web UI is being used.
  2. Harness must provide the relevant services and slots for the right sidebar (sidebarRight, sidebar.right.pane.tab, sidebar.workspaces.session.row.action, shell.overlay, etc.). The README states that installation and usage have been verified on 0.1.5-rc.1 (desktop profile).
  3. Installing the plugin itself does not require Node.js or build tools; however, if obtaining the source code locally via git clone or ZIP, you must have access to the repository or be able to extract the files.

Installation and Activation

The plugin is installed as a link to the checkout, not copied into the Harness directory. You should review the repository source code and MIT license before installing; the plugin runs under the permissions of the current dsh process, so as with any community plugin, only install packages you trust.

In any DSH session, tell the agent:

下载并安装成插件,下载地址为:git clone https://github.com/Bob-Cheung/dsh-plugin-session-panes.git

The agent will clone the repository and install the cloned directory as a plugin. After receiving application: applied, refresh the page once (Git must be available on the local machine).

Manual Installation

  1. Clone the repository (if you don’t have Git, download and extract the ZIP from the repository page under Code → Download ZIP):
git clone https://github.com/Bob-Cheung/dsh-plugin-session-panes.git
  1. Ask the agent to install the directory, or call the plugin manager directly (target is the absolute path containing package.json):
plugin_manager(action: "install_bundle", target: "D:\\tools\\dsh-plugin-session-panes")

A permission confirmation may pop up during the first installation. If the ZIP extraction results in an extra nested directory with the same name, target must point to the specific layer actually containing package.json.

After successful installation, Session panes / 多会话分屏 should appear in “Plugin Management / Plugins” with an icon and descriptions in Chinese and English. If the plugin directory has been moved or reinstalled, you may need to restart Harness rather than just refreshing the page.

Update and Uninstall

Update (for linked installations):

git pull

Then restart Harness (replacing loaded JavaScript modules usually requires a restart; simply refreshing the page may not be sufficient).

Uninstall:

plugin_manager(action: "remove_bundle", target: "@bob-cheung/dsh-session-panes")

Refresh the page after uninstalling.

Typical Usage

  1. Find the target session in the left session list.
  2. Hover over the row and click “Open on right”; or press and hold the button and drag to the highlighted area on the right side of the window, then release.
  3. The session appears as a new tab in the right sidebar, where you can continue inputting and view streaming output.
  4. Closing the tab closes the corresponding pane.

How it Works (For Troubleshooting)

The plugin injects client logic via Cordis patches. The main components are as follows.

Component Description
Resource Protocol Registers sessionchat, with addresses like dsh-resource://sessionchat/session/<sessionId>?title=<标题>; calls ctx.sessions.retain() when opened and release() when the tab is closed.
Sidebar Tab Registers the sessionchat type via sidebarRightTabs.register() with priority: 'extension'.
Tab Content Registers SessionChatTab at sidebar.right.pane.tab, reusing the main interface chat view (view: 'chat').
Row Button Registers SessionRowAction at sidebar.workspaces.session.row.action, responsible for click and drag operations.
Drag Overlay Registers DropOverlay at shell.overlay.

To fine-tune behavior, you can modify constants at the top of client.js (not user configuration): for example, DROP_RATIO defaults to 0.55, and the drag threshold defaults to 6 px. Changing KIND / RESOURCE_PROTOCOL requires synchronizing multiple references.

Use Cases and Notes

Who it is for: Users who frequently monitor multiple sessions in parallel within the Harness Web UI (e.g., running long tasks in one session while modifying configs or checking documentation in another) but do not want to lose the current context in the main pane.

Compatibility: Only affects the Web client; relies on the right sidebar and the aforementioned slots provided by Harness. Session IDs are identified as session-<uuid>; if attributes like data-session-id are not exposed on the row, it may fall back to parsing the UUID from drag data.

Common Issues (from README):

  • “Open on right” does not appear: Confirm the plugin is enabled and refresh; if still not working, restart Harness.
  • Dragging to the right has no response: You must start the drag from the button on the session row and release it within the highlighted area covering the right approx. 45%.
  • Blank pane on the right: Usually a resource creation failure. Check console errors and confirm the Harness version provides sidebarRight.

The DSH ecosystem emphasizes “everything is a plugin”; community directories like SkillHub are maintained by the community and have no official affiliation with DeepSeek / High-Flyer. The facts in this article are derived from the plugin repository’s README and package.json.

Conclusion

Session panes / 多会话分屏 connects the “right sidebar + session retain” functionality to the Harness session list. By clicking or dragging to the right approx. 45% area, you can view multiple sessions side-by-side while keeping the main pane session unchanged. For the installation package or source code, please see the community directory page https://www.skillhub.cn/plugins/Bob-Cheung/dsh-plugin-session-panes and the GitHub repository https://github.com/Bob-Cheung/dsh-plugin-session-panes.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye