dsh-sweeper

Cleans up the junk conversations leave on disk: every path a write or edit call touched, plus DSH spill files, is cross-checked against the session logs, the disk and git. Anything no tool has used for a week lands in two tiers, with a one-click cleanup for the obvious junk and a checklist for the rest; files only move into a restorable trash batch. Use it to clean up conversation leftovers, clean cache, scratch scripts and temporary files, and free up space on disk — often searched for as cleaning up memory or freeing up memory, but what it frees is disk space, not RAM. Report-only by default; the model can review a conversation and suggest what is no longer needed.

Overview

Cleans up the junk conversations leave on disk: every path a write or edit call touched, plus DSH spill files, is cross-checked against the session logs, the disk and git. Anything no tool has used for a week lands in two tiers, with a one-click cleanup for the obvious junk and a checklist for the rest; files only move into a restorable trash batch. Use it to clean up conversation leftovers, clean cache, scratch scripts and temporary files, and free up space on disk — often searched for as cleaning up memory or freeing up memory, but what it frees is disk space, not RAM. Report-only by default; the model can review a conversation and suggest what is no longer needed.

Installation

Install from GitHub

dsh plugin --profile web add github:Dushiqi1987/dsh-sweeper

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands