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.pinSessioncapability. 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.bundlesandcordis.patch.ymlsimultaneously, 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.