Unicorn0320/dsh-session-delete ↗★ 0
dsh-session-delete
提供会话与工作区的回收站软删除及恢复功能 适合需要防止误删会话,并能随时从回收站找回或彻底清理的用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Unicorn0320/dsh-session-delete說明文件
閱讀完整 README ↗配置
配置项都是可选的:
| 字段 | 默认值 | 说明 |
|---|---|---|
trashDir | $DSH_HOME/session-trash | 回收站目录;建议与会话目录同盘,跨盘时退化为「复制 + 删除」 |
sessionsDir | $DSH_HOME/sessions | 会话根目录;仅当 Session 后端用了别的 root 时才需要写 |
projectionsDir | $DSH_HOME/storages/session_projcache/sessions | 派生缓存目录 |
写进 profile 的 cordis.patch.yml:
- id: dsh-session-delete
name: dsh-session-delete
config:
trashDir: D:\dsh-trash