DeepSeek Harness Subagent Persistent Panel

Introduction

When using multiple sub-agents in DeepSeek Harness, the original tree-based entry in the sidebar requires clicking through multiple levels to locate a target conversation, making opening, switching, and organizing inefficient. The interaction details of the official right sidebar also have room for improvement. To address these scenarios, a persistent panel is needed that centrally manages the status, ordering, and grouping of all sub-agents.

Plugin Overview

dsh-agent-panel is a DeepSeek Harness productivity plugin. It adds a persistent “Agents” tab to the right sidebar, displaying all sub-agents in a tree view. It supports drag-and-drop reordering, two-level custom grouping, renaming, and cost estimation, while also fixing several UI details in the official interface.

Core Features

Persistent Agent Panel

A new “Agents” tab is added to the right sidebar, displaying all sub-agents in a large-font tree view. Clicking a row opens that sub-agent’s conversation directly in the current panel; clicking the button at the end of the row opens it in the main conversation window.

Drag-and-Drop Reordering

Drag a sub-agent row to change its order. Dropping it in the middle of a group row places it inside that group; dropping it on the edge positions it before or after the group. Groups themselves can also be drag-and-drop reordered.

Two-Level Custom Grouping

Click “+ Group” in the panel to create a group. Groups can be renamed, collapsed, or deleted (deletion only dissolves the grouping, not the session data). Collapse/expand state is persisted and retained after restart.

Rename Display Name

Click ✎ to modify a sub-agent’s display name without affecting the actual session data; leaving it empty restores the original name. The rename is synced to the title chip in the sidebar conversation tab. The new name carries a “-restart required” tag; after restart, only the plain name is retained (to verify persistence took effect).

Cost Estimation

Each sub-agent row, group subtotal, panel total, and the pill in the top-right of the main session header are all estimated uniformly as “cumulative tokens × unit price.” The unit price is customizable in the input field next to “Total” in the panel header (yuan per million tokens, default 4), and the configuration is persisted.

UI Detail Fixes

Increased the click area and font size of the official header dropdown tree; improved the contrast and rendering clarity of small text in the right sidebar.

File Navigation

Clicking a file in the first pane of the right sidebar opens it directly in the second pane (the sidebar supports up to 2 panes).

Installation & Activation

Run in the terminal:

dsh plugin --profile web add dsh-agent-panel

Desktop Install

Search for and install the plugin in DeeSeek Harness Desktop under “Settings → Plugins.” After installation, restart or refresh the page, then click “Agent Tree” on the “Guide” page of the right sidebar to open the panel.

Add the following to ~/.dsh/profiles/<profile>/package.json in the profile:

{
  "dependencies": { "dsh-agent-panel": "link:<path to this directory>" },
  "dsh": { "profile": { "bundles": ["...", "dsh-agent-panel"] } }
}

Run pnpm install in the profile directory and then restart.

Typical Usage

  1. After installation, click “Agent Tree” on the “Guide” page of the right sidebar to open the persistent panel.
  2. Drag frequently used sub-agents to fixed positions and create groups by task type.
  3. Use ✎ to modify display names, and check the updated titles in the sidebar conversation tabs.
  4. Enter the unit price (yuan per million tokens) next to “Total” in the panel header. The panel will automatically calculate cost estimates for each sub-agent and group.

Applicable Scenarios & Notes

This plugin runs with the current DSH process permissions. It is recommended to review the source code and license before installation. The panel styles depend on the DSH 0.2.2-rc.3 line; if the dropdown tree styling breaks after a DSH upgrade, refresh it following the method described in the top comment of client.js. Cost figures are reference estimates, not billed amounts. Set the unit price according to your actual average cost.

Summary

dsh-agent-panel simplifies daily sub-agent operations and cost monitoring through a persistent panel, drag-and-drop reordering, group management, renaming, and cost estimation. The plugin only stores configurations such as ordering, grouping, renaming, and unit price in the local profile domain and does not upload any data.

  • Directory page: https://www.skillhub.cn/plugins/pandad17/dsh-agent-panel
  • GitHub: https://github.com/pandad17/dsh-agent-panel
羽毛球分组比赛记分
小程序二维码

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

Xiaoye