fufu1437/dsh-delete-chat
Permanently deletes one DSH conversation together with every local copy of its data - session logs, projection cache, spilled tool output, unreferenced attachments and subagent sessions.
Adds a "Delete conversation…" entry to every session's … menu and, once confirmed, runs the deletion in the background - the dialog closes immediately and the sidebar row disappears when the host broadcasts the removal. It clears the session log directory including every on-disk format generation and the write lease, the projection cache record (cached title and first-prompt text, including .json.bak.* copies), the legacy feedback sidecar, the workspace index entry, every local spill root for that session, attachments only after proving no surviving session references them, all subagent sessions it spawned recursively, and the DeepSeek upload cache records. Because deletion is irreversible it refuses a session that is generating, refuses an open-but-idle session once with 409 session-live so the writer can be released, and refuses live descendants with 409 descendant-live; a truncated scan or undecompressable log keeps the bytes and warns rather than guessing.
Install
dsh plugin --profile web add @fufu1437/dsh-delete-chatCopied verbatim from the README's Install block. package @fufu1437/dsh-delete-chat, registry latest 0.1.4, and its repository field resolves back to github.com/fufu1437/dsh-delete-chat.
Compatibility
The README targets DSH 0.2.x, whose profiles are pnpm-managed, and states that engines.dsh declares that line. The package imports only node: builtins and no private @deepseek-ai/* modules, and both HTTP routes pass the composition's connection.requestRejection trust check.
Details
- Repo: fufu1437/dsh-delete-chat
- Category: Sessions & Messages
- Stars: 0
- Version: 0 stars, JavaScript, MIT, created 2026-10-03; install source is npm (@fufu1437/dsh-delete-chat, latest 0.1.4, registry repository field resolves back to this repo); English README with a README.zh.md translation.
Alternatives
wucl12/dsh-side-branch · Ultronen/dsh-archived-chats · mayf3/dsh-session-doctor