qwe4888789/dsh-hard-delete ↗★ 0

dsh-hard-delete

DSH 会话管理:侧边栏会话「…」菜单里一键【彻底删除】会话(不可恢复,不走回收站) 适合需要快速、彻底清理敏感会话数据且无需恢复的用户。

Package
dsh-hard-delete
Compatibility
Unverified
Version
0.1.0
License
AGPL-3.0
Last updated
Oct 11, 2026

Install

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

六、配置

/hard-delete.config.json(可选;env 优先)。载入一次常驻,改完重启 DSH 生效。

{
  "apiPrefix": "/api/dsh-hard-delete",
  "cleanMetadata": true,
  "emitRemovedEvent": true,
  "maxFiles": 20000,
  "headerFrames": 32,
  "headerScanBytes": 262144,
  "text": {}
}

env 覆盖:DSH_HOME、HARD_DELETE_CONFIG、HARD_DELETE_API_PREFIX。

text 段可按 key 覆盖界面文案(前端内置 zh 字典兜底;默认下发空表 = 不覆盖)。 cleanMetadata:false = 只删会话目录,留元数据;emitRemovedEvent:false = 不发那一行消失事件。