When developing agents with DeepSeek Harness (DSH), as the number of sessions grows, quickly locating a specific session in a long list often requires frequent scrolling or searching, which is inefficient. The dsh-plugin-pin-session plugin solves this problem by providing a pinned group area at the top of the sidebar.

Plugin Introduction

This is a DSH Web plugin maintained by NattoCB. It adopts a zero-core-modification approach, adding a “Pinned Sessions” group above the sidebar session list and integrating Pin/Unpin actions into the menu of each session row, enabling quick pinning and management of sessions.

Core Features

  • Inline pinning actions: Provides Pin/Unpin options directly in the session row menu, with status reflected in real time.
  • Grouped display: Pinned sessions are displayed in a collapsible group above the sidebar list.
  • Host-side storage: The pin order is stored in the host file system ($DSH_HOME/storages/pin-session.) and persists across browsers.
  • Zero intrusion: Does not modify DSH core code; extensibility is achieved only by injecting client packages.

Installation and Activation

Install using the official DSH plugin command:

dsh plugin --profile web add github:NattoCB/dsh-plugin-pin-session

After installation, you must restart the DSH process to load the new client package.

Typical Usage

  1. Pin a session: Hover the mouse over the target session row, click the menu, and select the Pin option with an icon.
  2. View the effect: The session immediately appears in the “Pinned Sessions” area above the sidebar list, and the menu item changes to Unpin.
  3. Interact: Clicking a pinned row directly opens the session; clicking Unpin removes it.
  4. API calls: Operations are supported via the HTTP API:
    • GET /pin-session/pins
    • POST /pin-session/pin {id, title?}
    • POST /pin-session/unpin {id}

Notes

  • Restart requirement: You must restart DSH after installing a new client package; otherwise, it will not take effect.
  • Data persistence: The pinned list is managed with host-side files rather than browser local storage, so the data remains consistent across browsers.
  • Security check: It is recommended to review the source code and license (MIT) before installation.

Summary

This plugin optimizes the DSH session management experience in a lightweight way. It is suitable for developers who frequently switch between specific sessions. For more details, refer to: GitHub | Skill Tree Directory