dsh-safety-remove: Replace Agent Deletion with Reversible Staged Migration

dsh-safety-remove is a plugin for DeepSeek Harness Host (DSH) maintained by CatBox215 (v0.2.0, MIT license). It intercepts eligible single-path deletion commands (e.g., rm, del) and redirects them into session-based staging folders instead of performing immediate deletion. It also backs up files before overwriting and provides the safety_remove and safety_list commands along with a "Delete Cache" panel in the right sidebar. A DSH restart is required after installation. Based on the official README, this article covers installation commands, staging folder layout, settings inheritance, and known limitations, aimed at developers who run shell sessions in DSH and want to mitigate the risk of accidental file deletion.

Read More