dsh-pinned-sessions: Pinned Session Groups in the DeepSeek Harness Sidebar

Introduction

In DeepSeek Harness (DSH), users typically pin sessions within workspace groups, but these pinned sessions can still disappear when switching workspaces, collapsing lists, or scrolling. The dsh-pinned-sessions plugin creates a dedicated “Pinned” session group in the sidebar, positioned above workspace groups, centralizing all pinned sessions across workspaces and providing inline search functionality.

Core Features

The plugin creates a pinned sessions group in the sidebar with the following structure:
* Header: 34px height, containing a pin outline icon, count, and search button.
* List: Below the header, 32px session rows corresponding to each pinned session.
* Information Display: Shows the workspace the session belongs to, along with running (blue) or completed (green) status.
* Search Filtering: Supports inline search within the group, filtering session titles (case-insensitive).
* Collapse & Toggle: Supports collapsing/expanding the list; can be toggled via “Settings -> General -> Pinned Sessions Section”.
* Sub-session Filtering: Hides archived sub-agent sessions.

Installation

Install the plugin using the following command:

dsh plugin --profile <your-profile> add @vfvrpq/dsh-pinned-sessions

Usage

  • Pin/Unpin: Hover over a session row to pin or unpin it.
  • Open Session: Click a pinned session row to open the session.
  • Collapse/Expand: Click the pinned group title to collapse or expand the list.
  • Search: Type keywords in the search box; supports case-insensitive title matching.

Technical Details & Notes

  • State Management: The plugin does not maintain independent state; it fully relies on the host’s workspaces.pinSession capability. Pin operations take effect in either location, and state is synchronized instantly.
  • DOM Structure: Uses portal mounting, which does not break the DOM structure of native components.
  • Error Handling: If the anchor disappears, the plugin renders empty content instead of throwing an error.
  • Local Development: During local development, do not add the plugin to both dsh.profile.bundles and cordis.patch.yml simultaneously, as this will result in duplicate installations.

Ecosystem Background

DeepSeek Harness follows the “everything is a plugin” philosophy. This plugin is maintained by the community and has no affiliation with DeepSeek or High-Flyer official entities.

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

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

Xiaoye