xxiiiixx/dsh-session-trash ↗★ 0

dsh-session-trash

提供会话回收站功能,支持暂存、恢复与清理 适合需要防止误删会话、提供缓冲恢复机制的桌面端用户。

包名
dsh-session-trash
兼容性
待验证
版本
0.1.0
许可证
NOASSERTION
最近更新
2026年10月19日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xxiiiixx/dsh-session-trash

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.

FieldDefaultMeaning
sessionsRoot$DSH_HOME/sessionsWhere the session backend stores logs
trashRoot$DSH_HOME/session-trashWhere deleted sessions go; must be on the same volume as sessionsRoot
retentionDays30Automatic purge age; 0 disables the sweep
sweepOnStarttrueRun the retention sweep once per Host start
maxTrashEntries500Refuse new deletions above this count; 0 means unlimited
- id: dsh-session-trash
  name: 'dsh-session-trash'
  config:
    retentionDays: 90