dsh-agent-clean: Cleaning Up Subagent and Session Remnants Without Altering Session Log Structure
Maintained by PolitaryMonicy, `dsh-agent-clean` targets DeepSeek Harness local session data. It marks subagent/catalog entries as 'dismissed' and corrects projection caches without deleting 'session v4' log lines or reordering sequences. It supports orphaned cache cleanup, full session purging, and backup/restore. The package offers a standalone CLI for Node 22+ (defaulting to dry-run) and an optional Desktop plugin (Settings → Session cleanup) that uses autowait for automatic dismissal upon exit. Installation: `dsh plugin --profile desktop add github:PolitaryMonicy/dsh-agent-clean`. MIT License.
Read More