DSH Plugins Marketplace

DSH Plugins

Plugins

/

Sessions & Messages

/

dsh-session-reaper

d

dsh-session-reaper

Manifest valid

Recoverable session deletion for DeepSeek Harness: a sidebar manager that moves sessions to a trash, restores or purges them, and reclaims the image attachments only those sessions referenced. Owner-o

UI (client)hasBundlePatch

dsh-session-reaper

Recoverable session deletion for DeepSeek Harness.

DSH keeps every session forever: the persistence layer exposes no deletion API, and archived sessions still occupy disk. dsh-session-reaper adds what is missing — a sidebar manager that moves sessions to a trash you can restore from, and reclaims the image attachments those sessions referenced.

  • Trash, not blind deletion — deleting moves the session log directory to $DSH_HOME/deleted-sessions/<batch>/<id>/; restoring moves it back and re-attaches the session to its workspace.
  • Reclaims disk — image attachments are content-addressed under $DSH_HOME/attachments/v1/objects; a deleted session's images are removed only when no remaining session references them, so shared images survive.
  • Two entry points — a full Sessions panel in the left sidebar (search, multi-select delete, trash view, permanent purge) and a Delete session… item in every session row's ⋯ menu.
  • Safe by construction — owner-only HTTP routes, a 60-second guard on freshly written objects, and an all-or-nothing rule: if any remaining session log cannot be read, attachment collection is skipped rather than guessed.

Full description: English detail · 中文说明

Install

From the Plugins page: Add plugin → enter dsh-session-reaper. Or:

dsh plugin --profile <name> add dsh-session-reaper

Restart DSH after installing. The sidebar entry Sessions appears, and session row menus gain Delete session….

Data locations

WhatWhere
Session logs (moved to the trash)$DSH_HOME/deleted-sessions/<batch>/<id>/session + meta.json
Image objects$DSH_HOME/attachments/v1/objects/<sha256-prefix>/<sha256>
Session logs (live)$DSH_HOME/sessions/<project>/<id>/

Limitations

  • The session log itself stays on disk until you purge the trash entry; only then is the directory removed.
  • If you delete with Also delete the referenced images checked (the default), restoring that session later leaves its images missing.
  • Non-image file attachments (v1/file-objects) are not collected.
  • Deleting a session that another process is writing may fail; the error names the session.
  • No configuration surface yet; the 60-second recent-object guard and the trash location are fixed.

License

MIT

Comments

Loading…

Similar plugins

dsh-plugin-session-purge

by OliYogSothoth

Delete DeepSeek Harness sessions for good — via a recycle bin: move, restore, then the next start wipes the log, projection cache, spill files and workspace accounting.

Development & InfrastructureSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Nov 5, 2026

dsh plugin --profile web add dsh-plugin-session-purge

by XXXXXQ-0206

Session recycle bin and permanent delete for DeepSeek Harness. Sidebar delete, restore, batch purge, and active-session protection.

Sessions & MessagesManifest valid

★ 1

↓ 283/wk

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-session-delete

by ashulam

Deletes a session from the sidebar session menu: its log and replay cache go to the Recycle Bin on Windows (a local trash folder elsewhere); a live session is queued for removal on the next start.

Terminal & ClientsSessions & MessagesManifest valid

★ 0

MIT

JavaScript

Oct 30, 2026

dsh plugin --profile web add dsh-session-delete

by SunshineR04

Settings-page manager for archived DeepSeek Harness sessions: restore an archived session to its previous workspace position or permanently delete it (direct physical deletion, no backup layer). Adds

Sessions & MessagesManifest valid

★ 1

↓ 3.8k/wk

MIT

JavaScript

Oct 10, 2026

dsh plugin --profile web add dsh-session-manager

by Coprexist

Recover deleted or corrupted dsh sessions (session.jsonl.zstd) and memory (memory.db) from the raw disk, and repair rebuilt sessions that fail to resume via the /session-repair command in the web UI.

Tools & CapabilitiesSessions & MessagesManifest valid

★ 1

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-session-recovery

by yinmyu

Batch-manage DeepSeek Harness sessions from a left-sidebar panel: archive, a 30-day recycle bin with undo, tiered deletion risk, and a self-verifying attachment cleanup.

Manifest valid

★ 0

MIT

JavaScript

Nov 13, 2026

dsh plugin --profile web add @yinmyu/dsh-session-manager