Introduction¶
Over time in DeepSeek Harness (DSH), the “Ungrouped” section in the sidebar tends to accumulate temporary sessions. The native interface allows you to archive conversations one by one, but it lacks a bulk operation for the entire “Ungrouped” group. If you frequently need to clear unclassified conversations while retaining the ability to undo mistakes, the community plugin dsh-clear-ungrouped provides a one-click archiving solution with confirmation and undo support. The following section describes its purpose, behavior, and installation instructions.
What is this¶
dsh-clear-ungrouped is a client-side (Web) plugin published by maintainer winniesi. It adds a “Clear ungrouped conversations” entry (broom icon, visible when hovering over the group title) to the left of the “New conversation” button in the “Ungrouped” group of the sidebar. After clicking it and confirming the count, it will archive (not physically delete) all qualifying ungrouped conversations. Since the DSH Host does not provide a session deletion API, archiving is the official method to remove sessions from the sidebar.
- Directory page: https://www.skillhub.cn/plugins/winniesi/dsh-clear-ungrouped
- Source code: https://github.com/winniesi/dsh-clear-ungrouped
- License: MIT (
package.jsonversion 1.0.0, requiresdsh>=0.2.0-rc.1 <0.3.0-0)
The community plugin directory is an independent site and is not officially affiliated with DeepSeek / Hunyuan. Please review the source code and license before installing. The plugin runs in the current dsh process/browser context, with permissions matching the DSH instance being used.
Core features¶
Interaction and archiving scope¶
- Clicking the broom button triggers a confirmation dialog showing the number of conversations to be processed.
- After confirmation, it calls the archive function on qualifying sessions within “Ungrouped”. Archived sessions are hidden from the sidebar but can be recovered and unarchived via View options → All conversations (show archived).
- A notification bar with an “Undo” button appears after the operation completes, allowing you to restore all conversations archived in this action within 6 seconds.
Conversations that are preserved and not archived¶
- Pinned conversations;
- Running conversations (including those with running sub-agents).
Relationship with the current session¶
If the currently open conversation is archived by this action, the main area will return to the new conversation page, consistent with the native sidebar archiving behavior.
Installation and activation¶
Installation under Desktop configuration:
dsh plugin --profile desktop add github:winniesi/dsh-clear-ungrouped
For Web configuration, replace desktop with web:
dsh plugin --profile web add github:winniesi/dsh-clear-ungrouped
After installation, restart dsh or refresh the page to activate the plugin.
For local development, you can use a local path instead of the GitHub address (example):
dsh plugin --profile desktop add link:/path/to/dsh-clear-ungrouped
Typical usage¶
- After installation and restart/refresh, locate the Ungrouped group in the sidebar.
- Hover over the ungrouped title area; the broom button should appear to the left of “New conversation”.
- Click the button, verify the count in the confirmation dialog, and confirm the archive action.
- If you want to reverse it, click Undo before the notification bar disappears (within 6 seconds); otherwise, manually unarchive via “All conversations (show archived)”.
Implementation details (for developers)¶
The plugin is a pure browser-side implementation (client.js), with index.js serving only as an empty shell required by the Loader. Since the group title has no slot, the plugin registers a permanent shell.overlay and uses MutationObserver to insert a host node before the new conversation button in the ungrouped row ([data-row-key="workspace:"]), then renders the button via a React portal. The calculation of ungrouped members is consistent with ui-workspace (sessions not belonging to any workspace, excluding sub-agent sessions, blank sessions, and archived sessions). Archiving uses uiWorkspace.archiveSession (with a fallback to workspaces.archiveSession if unavailable), and undoing uses workspaces.unarchiveSession.
Use cases and notes¶
Suitable for: Users who use DSH locally or via the Web long-term, have many ungrouped conversations, and want bulk archiving with a safety window for mistakes.
Notes:
- Archiving is not equivalent to deletion; the recovery path relies on DSH’s built-in “show archived” view.
- Pinned and running sessions will not be cleared. If “it doesn’t clear everything,” check these two items first.
- The plugin depends on the DSH 0.2.x RC version range; verify
peerDependenciesbefore upgrading major versions. - Read the repository README and
client.jsbefore installing third-party plugins to confirm the behavior matches expectations.
Conclusion¶
dsh-clear-ungrouped fills the gap in bulk organization of “Ungrouped” conversations with a small button: it confirms the count, hides via archiving, allows undo within six seconds, and aligns with DSH’s native archiving semantics. If needed, you can access the documentation via the SkillHub directory page or view the source code and updates on the GitHub repository.