qwe4888789/dsh-hard-delete ↗★ 0

dsh-hard-delete

在侧边栏菜单中提供一键彻底删除会话且不走回收站的功能。 适合需要快速、彻底清理敏感会话数据且无需恢复的用户。

包名
dsh-hard-delete
兼容性
待验证
版本
0.1.0
许可证
AGPL-3.0
最近更新
2026年10月11日

安装

$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 = 不发那一行消失事件。