Introduction¶
In DeepSeek Harness (DSH), once the number of sessions grows, the sidebar’s session list can become cluttered. The existing functionality only allows grouping by workspace, with no intuitive way to organize multiple sessions into custom collections. To achieve a similar effect, you’d have to either manage them manually or build your own UI.
This article introduces a plugin: dsh-session-group-board. It adds a horizontal session grouping board to DSH, where you can drag sessions into groups and interact with them via color dots and context menus in the sidebar. All actions reuse built-in DSH services.
What It Is¶
dsh-session-group-board is a pure frontend plugin published by maintainer cylb-7110. It does not replace DSH’s sidebar or any built-in interface. Instead, it adds a “Session Groups” entry at the top of the left sidebar. Opening it reveals a horizontal board that supports dragging sessions into groups, renaming, deleting, pinning, archiving, and more. Group data is stored in the current browser’s localStorage.
Core Features¶
Session Group Board¶
A “Session Groups” entry appears at the top of the left sidebar (below “Subscription Management”). When opened, the board uses a horizontal layout: each group occupies one row, with the group name, count, and “Rename / Delete” buttons on the left, and session cards on the right, arranged in a 5-column × 2-row grid (10 per page). Overflowing sessions wrap to the next page, with a pagination bar at the end of the row showing “‹ Page 1 / 3 ›”. The entire board supports vertical scrolling.
Grouping and Ungrouping¶
In the group board, drag a session card to the target group row to assign it; dragging it back to the “Ungrouped” row removes it from the group. Clicking a group title allows you to rename or delete it. After deleting a group, its sessions return to “Ungrouped”.
Session Card Styling¶
The board displays all sessions (including archived ones). Non-archived sessions have bold titles; archived cards appear faded with normal font weight and carry an “Archived” badge. Clicking an archived card will not open the session, consistent with sidebar behavior. After clicking “Unarchive”, the card immediately returns to normal and can be clicked to open the session.
Card Actions¶
On hover (always visible on touch devices), a row of action buttons appears in the bottom-right corner of each card, calling DSH’s built-in services directly:
- 📌 Pin / Unpin: Shares the same pinning logic as the sidebar (
uiWorkspace.pinSession/unpinSession). Pinned cards appear first within their group, ordered by most recent pin time. Unpinning triggers an immediate re-sort. After pinning, the view automatically returns to page 1. - ✏️ Rename: Calls
sessions.using(...).binding.session.rename(...); the list title updates immediately. - 🗄 Archive / Unarchive: Calls
uiWorkspace.archiveSession/unarchiveSession; if the session is running, a “Stop and archive?” confirmation is shown. - 🏷 Assign to Group: Opens a group selector; you can create a new group on the spot.
Operation failures (permissions, Host rejection, etc.) are displayed as a message below the board title—never silently ignored.
Group Display in Other Locations¶
The plugin overlays group indicators in three built-in locations:
- A group color dot appears in the small idle cell to the left of each session row; hovering shows the group name.
- The session row’s hover card displays the group name.
- The session’s “…” / right-click menu gains an extra item — “Assign to Group…” — which opens a group selector where you can create a new group on the spot.
Data Storage¶
Groups and assignments are stored in the current browser’s localStorage under the key dsh.session-categories.v1 (the legacy key name is retained, so renaming does not affect existing data). Pinning is not local state; it writes to the Host’s global pin set, so the sidebar and the group board share the same “pinned” status. Therefore: switching browsers, switching port origins, or clearing site data will require re-assigning groups. Groups are never uploaded to the Host and never written into session logs.
Installation & Activation¶
Download the .tgz file from the GitHub Release, then run:
dsh plugin --profile <profile> add https://github.com/cylb-7110/dsh-session-group-board/releases/download/v1.0.0/dsh-session-group-board-1.0.0.tgz
Or paste the URL / select the downloaded tgz in the plugin page’s “Add Plugin” section.
For local development, you can use the plugin manager’s local directory install (it symlinks the current directory into the profile, so code changes take effect after a page refresh).
To uninstall, remove the corresponding bundle from the plugin page; or use the DSH plugin manager.
After modifying client.js, a page refresh (Ctrl+R) is required to load the new code; there is no need to restart DSH. Note: the Release build and the local development build are two separate installations—do not install both simultaneously, as they register the same UI locations and will conflict.
Typical Workflow¶
- Open the “Session Groups” board at the top of the left sidebar.
- Click “New Group” in the top-right corner to create a group (color is assigned automatically).
- In the board, drag a session card to the target group row to complete the assignment.
- In the sidebar session list, confirm group membership via the color dot, or select “Assign to Group…” from the “…” menu.
- Drag, pin, archive, or rename sessions in the board or sidebar—all changes take effect immediately.
Use Cases & Caveats¶
Ideal for DSH users who need to categorize sessions by project, topic, or task. The plugin runs with the current DSH process’s permissions; review the source code and license before installing.
The plugin only displays groups within the “Group Board”; the sidebar session list still groups by workspace, with group information overlaid as color dots, hover indicators, and menu items. To achieve true grouping within the sidebar, you’d need to replace sidebar.workspaces entirely (rewriting search, pinning, archiving, drag-to-reorder, and the workspace dialog)—that’s a significantly larger change.
The board displays all non-sub-agent, non-blank new sessions (including archived ones); archived sessions cannot be opened directly, consistent with sidebar behavior. The grid is fixed at 5 columns × 2 rows, so cards may feel cramped when the middle panel is very narrow.
UI text switches between Chinese and English based on browser language (zh* uses Chinese).
Conclusion¶
dsh-session-group-board adds an intuitive grouping entry and board view for session management without altering DSH’s built-in behavior. Through drag-and-drop, color dots, and context menus, you can organize scattered sessions into custom groups while reusing built-in pinning, renaming, archiving, and other operations.
Plugin directory: https://www.skillhub.cn/plugins/cylb-7110/dsh-session-group-board
GitHub: https://github.com/cylb-7110/dsh-session-group-board