dsh-session-scrub: Thoroughly Clean Up a Single DSH Session

dsh-session-scrub is a DSH workflow plugin published by zhangyuantong that provides a "Complete Session Purge" entry point beyond the built-in archiving and shallow deletion. A single confirmation triggers log deletion, cascading removal of sub-agents, unlinking of associated scheduled tasks and workspace registrations, and cleanup of the projection cache and spill files. In the background, it reclaims orphaned attachments and image variant caches by checking references from surviving sessions. Deletion is irreversible; active sessions, the currently viewed session, and still-referenced attachments are protected. Supports Desktop and Web/TUI installations, with optional configuration via cordis.patch.yml. Verified on DSH 0.2.2-rc.1 (Windows).

Read More