Preface¶
When working with agents or performing long-cycle development in DeepSeek Harness (DSH), sidebar sessions accumulate continuously based on the workspace. The native session list is designed for the “click one to continue chatting” flow and lacks a path for selecting multiple entries to delete, archive, or pin simultaneously. Relying solely on individual operations consumes considerable time when cleaning up history or managing pinned/archived statuses. dsh-session-multiselect is a plugin for the DSH Web client that transforms delete, archive, and pin into bulk actions via a searchable, workspace-grouped multi-select panel. It strives to adhere to the official sessions / workspaces contracts rather than modifying native DSH code.
What is this¶
dsh-session-multiselect is published by the maintainer xlxs123 and categorized as a Client plugin. The current package version is 0.10.2 under the MIT license. Its positioning is to provide an entry point next to the DSH Desktop session list; clicking it opens a panel where users can multi-select conversations for bulk deletion, archiving, or pinning.
The official session list is rendered exclusively by @deepseek-ai/dsh-client-ui-workspace using a single slot, meaning there is no row-level extension slot. Therefore, the entry point is implemented via DOM injection: a 28px button is placed on the session list toolbar, to the left of the search magnifier. If positioning fails, the entry falls back to the sidebar.footer.action slot at the bottom of the sidebar, ensuring functionality is preserved. The panel and bulk logic utilize official extension surfaces: the sessions service, workspaces service (for archive/pin), locale, and the client store.
regarding compatibility, the README states it was developed and tested (on Windows) on DSH Desktop 0.9.0 / 0.10.0 (Harness 0.1.x / 0.1.7-rc.2) and the DeepSeek Harness nightly (Harness 0.2.0-rc.2) Web client. The plugin does not declare @deepseek-ai/dsh* peerDependencies, so installation-time or startup-time peer validation starting from 0.2 typically will not block it. Node ≥ 20 is required for development only; the README states that no build is required to install the bundle itself.
- Directory Page: https://www.skillhub.cn/plugins/xlxs123/dsh-session-multiselect
- Source Code: https://github.com/xlxs123/dsh-session-multiselect
Core Features¶
Panel Multi-Selection¶
Click the entry button to open the panel, which supports:
- Checkbox List: Lists only real conversations, automatically hiding blank sessions and sub-agent (
origin === "subagent") sessions. - Group by Workspace: Each group title displays the full path (if too long, the ellipsis is on the left, retaining the tail directory name). The title includes “Selected/Total”, and clicking it allows checking/unchecking the whole group. Grouping can also be turned off for a flat chronological list.
- Three Grouping Modes: By workspace / By date (Today, Yesterday, Last 7 Days, Older) / No grouping. The selection is remembered.
- Quick Filters: All / Running / Pinned, which can be combined with “Show Archived”.
- Search: Filter by title, working directory, or session ID.
- Selection: Select all, clear, invert; Shift + Click selects a range based on the current display order; Ctrl/Cmd + Click appends to the selection.
- Keyboard: Arrow keys to move focus,
Space/Enterto check,Ctrl/Cmd+Ato select all,Deleteto open delete confirmation. The Trash view also supports this. - Copy List: Copies the currently visible conversations as a Markdown table (Title / Workspace / Updated Time / Status Tag) for easy pasting into issues or handovers.
- Pinned rows are sorted to the top with a “Pinned” tag; the selected count is displayed in real-time.
Bulk Delete and Trash¶
Deletion follows the official session.delete contract but is not a direct rm -rf: the session directory (including projection cache) is moved to $DSH_HOME/trash/session-multiselect/ and retained for 7 days. It can be viewed in the panel toolbar’s “Trash”, showing title, workspace, deletion time, and “N days left”. Single restore, permanent delete, and empty trash are supported (all with secondary confirmation). Inside the trash, you can multi-select for “Restore Selected” or “Delete Permanently”, along with search and workspace dropdown filters.
- Running conversations refuse deletion, and the status line explains the reason.
- Only opened, currently idle conversations enter the trash; the status line will indicate if some are still open. After restarting DSH, the list rows disappear, but the files are in the trash and can be restored.
- The deletion confirmation box lists up to 3 titles to be deleted, rather than just showing a count.
Archiving and Pinning¶
| Action | Description |
|---|---|
| Archive / Unarchive | If all selected items are archived, the button becomes “Unarchive”; otherwise, it is “Archive”. Calls archiveSession / unarchiveSession from workspaces, and the native list’s archive grouping syncs accordingly; running conversations are rejected by the service with reasons reported item by item. If the service does not exist, it falls back to a plugin-local flag, noting “Hidden only within this plugin” in the status line. |
| Pin / Unpin | Calls pinSession / unpinSession; if the workspaces service is missing, it errors clearly without pretending to succeed. Archived and Pinned states are mutually exclusive; violations are reported row by row with failure reasons. |
All three bulk actions are executed id by id and report failure reasons individually.
Version Notes (To avoid confusion with old descriptions)¶
Plugin clues may have previously shown terms like fork, export, or summary; rely on the README: Fork, export MD/JSON, and summary features were removed starting from 0.2.0; 0.3.0 upgraded archiving to workspace controller commands and restored pinning; starting from 0.4.0, the inline check mode was removed, keeping only the panel mode. The current capabilities are: Bulk Delete (with Trash), Archive, Pin.
Installation and Activation¶
The standard DSH bundle installation method provided in the README is to execute in the plugin directory:
dsh plugin --profile desktop add .
Note: No build required, MIT license. It is recommended to read the repository source code and LICENSE before installation. The plugin runs under the current DSH process permissions. Bulk deletion moves session directories to the trash or calls the official deletion contract; permissions and data scope are consistent with the host.
Typical Usage¶
- Start DSH Desktop (README tested environments are 0.9.0 / 0.10.0 or the corresponding nightly client).
- In the sidebar session list toolbar, click the multi-select entry to the left of the search magnifier (if header injection fails, use the sidebar bottom fallback entry).
- In the panel, search or group by workspace/date, and check target conversations; use Shift for range selection or click the workspace title to check the whole group if needed.
- Click Delete (with confirmation), Archive, or Pin as required; after deletion, restore or permanently clean up via the toolbar Trash.
- When a handover list is needed, use Copy List to get a Markdown table.
Use Cases and Cautions¶
Suitable for: Users with multiple workspaces and sessions running in parallel on the same machine, needing to regularly clean up, archive cold conversations, or bulk adjust pinned statuses.
Cautions:
- Sub-agent sessions are not listed in the panel; cleaning their logs is filesystem maintenance and not the responsibility of this panel.
- The plugin depends on official
slots/locale/sessionsand optionalworkspaces; for cross-version compatibility regarding decorative contracts (icon names, Button variants, etc.), it employs multi-candidate names and fallback strategies. - The community directory SkillHub has no official affiliation with DeepSeek / Hithink RoyalFlush. Installation sources should be based on the repository and directory page you trust.
Conclusion¶
dsh-session-multiselect uses a “Panel + Official Service Contracts” approach to fill the gap in bulk management capabilities missing from the DSH Desktop session list: grouping, searching, trash-style deletion, and archiving/pinning consistent with the workspace controller. If you wish to enable it locally, use dsh plugin --profile desktop add . to install the bundle as per the README, and track updates via the directory page or GitHub.