DeepSeek Harness Plugin: Actually Delete a Session

Introduction

In DeepSeek Harness (DSH), sessions can typically be hidden or archived, but they are not truly removed from disk. After prolonged use, log files, projection caches, and workspace references accumulate and consume significant space, and cleaning them up often requires manual intervention or a service restart. The plugin introduced in this article fills that gap by providing true session deletion.

Plugin Overview

This is a client-side plugin maintained by ChenLX233. Its core function is: delete a DSH session while simultaneously cleaning up its associated log files, projection caches, and workspace references. Users will see a “Delete Session” option at the end of the menu on the right side of each session row in the sidebar. After one confirmation, the session is erased from the hard drive and will no longer appear after refreshing the list.

Core Features

  • Delete session: Remove the target session from the session list.
  • Clean up associated resources: Synchronously delete log files, projection caches, and workspace references linked to the session.
  • Menu integration: Adds a delete entry in the session row menu. The operation path is: ⋯ menu on the right side of the session row → “Delete Session” → Confirm.

Installation & Enablement

The current directory page does not provide an official installation command. After installation, enable the plugin in the DSH interface, and the “Delete Session” option will appear in the session menu.

Use Cases & Notes

  • Ideal for agent developers who need to periodically clean up sessions and disk usage.
  • The plugin runs with the privileges of the current dsh process. Before installing, please review the source code and license to ensure it complies with your usage policy.

Summary

This plugin adds a fundamental yet important capability to DSH: actually deleting a session. If you need to maintain multiple sessions locally and perform periodic cleanup, this is worth considering.

  • Plugin directory page: https://www.skillhub.cn/plugins/ChenLX233/dsh-session-delete
  • GitHub repository: https://github.com/ChenLX233/dsh-session-delete
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye