xxiiiixx/dsh-session-trash ↗★ 0
dsh-session-trash
Session trash for DeepSeek Harness Desktop: move a session into a recoverable trash from the sidebar menu, then restore or permanently purge it from a settings page. 适合需要防止误删会话、提供缓冲恢复机制的桌面端用户。
同名パッケージの別リポジトリ
インストール
$
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