Preface¶
DeepSeek Harness (DSH) adopts the “everything is a plugin” philosophy, modularizing capabilities into a plugin system. When developing and debugging agents, session data often accumulates locally, and improper cleanup can consume disk space or affect context. Currently, DSH itself does not provide a unified session destruction mechanism, requiring external tools to perform thorough deletion. Below is an introduction to a plugin specifically designed for session cleanup.
What It Is¶
- Name: dsh-session-purge
- Maintainer: nbcxsm
- Category: Memory
- Positioning: A plugin that provides permanent session deletion capabilities for DSH
The problem this plugin solves: it eliminates the need for manual deletion or script-based investigation in DSH, enabling thorough session removal through a plugin interface.
Core Features¶
- Delete specified sessions by session ID or prefix
- After cleanup, local data is removed and will no longer be loaded subsequently
Installation & Enablement¶
Install via DSH’s plugin directory page:
# Open the directory page and follow the on-page instructions to run the installation command (refer to the official page)
After installation, the plugin runs with the current DSH process permissions and requires no additional configuration.
Typical Usage¶
- Open the plugin directory page and follow the instructions to enable the session deletion feature
- In the DSH interface, select the session to delete and perform the thorough removal operation
Use Cases & Cautions¶
- Suitable for developers who need to periodically clean up test sessions and free up storage space
- Be sure to check the source code and license before installation to ensure compliance with your project’s usage policies
Conclusion¶
This plugin provides DSH with reusable session cleanup capabilities, helping to keep the environment tidy. For more details and installation instructions, visit the plugin directory page.
- Directory Page: https://www.skillhub.cn/plugins/nbcxsm/dsh-session-purge
- GitHub: https://github.com/nbcxsm/dsh-session-purge