xxiiiixx/dsh-session-trash ↗★ 0
dsh-session-trash
提供会话回收站功能,支持暂存、恢复与清理 适合需要防止误删会话、提供缓冲恢复机制的桌面端用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xxiiiixx/dsh-session-trash說明文件
閱讀完整 README ↗Configuration
The bundle patch inserts the Host row with no config: the plugin resolves both roots from the running DSH home at activation, so a normal install needs no per-machine editing. Every field stays overridable from the profile's own patch layer.
| Field | Default | Meaning |
|---|---|---|
sessionsRoot | $DSH_HOME/sessions | Where the session backend stores logs |
trashRoot | $DSH_HOME/session-trash | Where deleted sessions go; must be on the same volume as sessionsRoot |
retentionDays | 30 | Automatic purge age; 0 disables the sweep |
sweepOnStart | true | Run the retention sweep once per Host start |
maxTrashEntries | 500 | Refuse new deletions above this count; 0 means unlimited |
- id: dsh-session-trash
name: 'dsh-session-trash'
config:
retentionDays: 90