Preface¶
The core design philosophy of DeepSeek Harness is “Everything is a plugin.” Over time, conversation records accumulate, particularly those in the ungrouped default workspace or those without a workspace. The official interface offers no direct deletion methods or standard cleanup operations for these. The deepseek-harness-session-cleaner plugin adds a sidebar panel to DSH, allowing users to select and delete any conversation record—including ungrouped ones—bridging the gap in official functionality.
Plugin Introduction¶
This is a DSH plugin developed by the maintainer. It provides conversation management capabilities via a sidebar panel, supporting search, filtering, batch deletion, and archiving. The plugin aims to address the need for users to clean up ungrouped conversations and manage conversation records.
Core Features¶
- Panel Access: A “Delete Conversations” trash icon is added at the bottom of the sidebar; click to open the panel.
- List Display: Lists all conversations, including title, workspace or “Ungrouped” tag, turn count, size, last activity time, and archived/pinned/running/opened status.
- Operations: Supports search and filtering (All/Ungrouped/Archived/In Use), multi-select, select-all, batch deletion, and single deletion (clicking the title opens the conversation directly).
- Safety Mechanism: Deletion requires two-step confirmation; conversations currently open or running are not allowed to be deleted by default (with a prompt), but checking the “Also delete running conversations” option forces deletion.
- Archiving Alternative: Provides an “Archive” function to hide conversations while retaining data, serving as a buffer solution before permanent deletion.
- UI Adaptation: Supports Chinese and English bilingual interfaces and adapts to light and dark themes.
Installation and Activation¶
You must ensure DeepSeek Harness is completely closed before installing the plugin.
"%LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add "file:<repository path>"
After installation, restart DeepSeek Harness. A “Delete Conversations” trash icon will appear at the bottom of the sidebar (above the settings icon).
Typical Usage¶
- Clean up Ungrouped Conversations: Open the panel, use the “Ungrouped” filter condition to view, and select the conversations to be deleted.
- Batch Cleanup: Select multiple or all conversations to perform batch deletion.
- Force Cleanup: Check the “Also delete running conversations” option to clean up currently occupied sessions.
- Safe Cleanup: For conversations where you are unsure if they are needed, use the “Archive” function to hide them first, and permanently delete them after confirming.
Scenarios and Notes¶
- Data Safety: Deletion operations are irreversible; please confirm cautiously.
- Runtime Limitations: For conversations currently open or running, new messages generated after restarting the app will not be retained.
- File Protection: Attachments (image/file bytes) use content-addressed shared storage; deleting a conversation does not delete attachment files. The plugin only deletes the conversation records themselves and does not modify any files in the workspace directories.
- Runtime Environment: The plugin runs with the permissions of the current DSH process; please review the source code and license before installation.
Conclusion¶
This plugin implements granular management of DeepSeek Harness conversation records through a sidebar panel, providing a direct means specifically for cleaning up ungrouped conversations. For more details and source code, visit GitHub.