fufu1437/dsh-delete-chat ↗★ 0

@fufu1437/dsh-delete-chat

Permanently delete a DeepSeek Harness conversation and every local copy of its data: session log, derived caches, workspace index entries, spill files, and unreferenced attachments. 适合需要清理会话本地数据的用户;附件清理受引用检查与扫描上限约束,删除不可撤销。

Package
@fufu1437/dsh-delete-chat
Compatibility
Unverified
Version
0.1.3
License
MIT
Last updated
Oct 5, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fufu1437/dsh-delete-chat

Usage

  1. Hover a conversation row in the left sidebar and open its … menu;
  2. choose "Delete conversation…";
  3. the dialog shows the title, the irreversibility warning, and Cancel / Delete permanently — nothing is measured or listed first;
  4. press "Delete permanently": the dialog closes, the deletion continues in the background, and the row disappears when the Host broadcasts the removal;
  5. if the conversation is still open in this Harness process, a second confirmation appears ("Delete anyway") explaining that the files are overwritten in place and that it leaves the list only after a restart;
  6. any other failure (a response currently generating) raises a dismissible alert card in the corner with the reason.

Configuration

Override in the profile's cordis.patch.yml:

- id: fufu-delete-chat
  name: '@fufu1437/dsh-delete-chat'
  config:
    dshHome: /home/me/.dsh
    deleteAttachments: true
    deleteDescendants: true
    scanLimit: 500
    scanByteLimit: 2147483648
FieldDefaultMeaning
dshHome$DSH_HOME → ~/.dshHarness home; every other root derives from it
sessionsRoot/sessionsSession log root
storagesRoot/storagesstorage-json root
attachmentsRoot/attachments/v1Attachment root
llmFilesRoot/llm-deepseekDeepSeek upload-cache root
spillRootsdiscovered $TMPDIR/dsh-spill-*Spill roots to sweep
deleteAttachmentstrueRun the attachment proof and erase unreferenced uploads
deleteDescendantstrueAlso delete durable subagent sessions
scanLimit500Maximum session logs the attachment proof reads
scanByteLimit2 GiBMaximum decompressed bytes the proof reads