dsh-session-cleanup
Run the following command in DeepSeek Harness:
dsh plugin install ShiraGawaAnri/dsh-session-cleanup
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ShiraGawaAnri/dsh-session-cleanup in your terminal to add the dsh-session-cleanup plugin (source: https://github.com/ShiraGawaAnri/dsh-session-cleanup) to your DSH profile.
About this plugin
After weeks or months of DSH use, residual sessions that are persisted yet no longer open, together with accumulated archived sessions, quietly pile up on disk. dsh-session-cleanup plugs in as a profile bundle and adds two Settings panels—Sessions Cleanup and Archive Cleanup—so you can inspect, verify, and remove stale data from a single UI.
The Sessions Cleanup panel separates live in-memory sessions (read-only, showing ID, date, and a summary excerpt) from residual sessions (each with a per-row delete button). The Archive Cleanup panel lists every archived entry with options to delete individually or wipe all at once. Running sessions are badged as in-progress and locked against deletion. Every removal requires a two-step arm-then-confirm interaction to guard against accidental clicks. Under the hood, deletion removes the persisted log directory, detaches the session from its workspace account, and clears the global archive registry with cache sync so the entry cannot resurface in later archive operations.
If you run DSH day in and day out and your session count keeps climbing, this zero-dependency utility gives you a settings-page shortcut to tidy up residual and archived data without ever opening a terminal or digging through file paths.
Use Cases
- Periodically purge residual sessions to reclaim disk space
- Compare live versus residual sessions at a glance from Settings
- Bulk-delete stale archive entries to prevent registry leaks
Best For
- Long-term DSH users whose session count keeps climbing
- Administrators who prefer a visual UI over CLI for housekeeping
- Shared multi-account DSH instances needing periodic data hygiene
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.