DSH Session Physical Deletion Plugin: dsh-session-delete
The "Archive Conversation" feature in the DSH sidebar only hides the session; log files remain on the file system. The plugin `akira399/dsh-session-delete` achieves permanent physical deletion of log files by adding a "Delete Conversation" entry to the session menu. This plugin is based on the MIT license, has no third-party runtime dependencies, and uses only Node.js built-in modules. Core features include locating and recursively deleting log files through official interfaces; aborting replies and removing memory data when deleting a running session; synchronously cleaning up workspace configurations and global archive records; causing the session to disappear from the interface immediately after deletion; presenting an irreversible confirmation box before the operation; and strictly validating the session ID format and source legitimacy. Installation requires using the `npx` command to add the plugin, followed by restarting the `dsh web` service for the changes to take effect. The use case applies to scenarios requiring thorough...
Read More