HrxSpace/dsh-session-sweeper ↗★ 0
dsh-session-sweeper
会话清道夫(Session Sweeper):在 DSH Web 界面扫描、查看并安全清理本机 AI 终端会话历史,隔离优先、带 SHA-256 清单与一键恢复
AI 分析
核心用途是安全清理本机 AI 终端(如 Claude Code 等)的会话历史。适合需要释放磁盘空间、隔离历史记录并保留一键恢复通路的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HrxSpace/dsh-session-sweeper說明文件
閱讀完整 README ↗Configuration
Both options can be overridden on the plugin row in your profile's
cordis.patch.yml:
| Option | Default | Meaning |
|---|---|---|
guardHours | 24 | Active-guard window in hours |
recycleDir | ~/.hist-sweeper/recycle | Quarantine destination |
Test hooks (not for daily use): DSH_SWEEPER_HOME / DSH_SWEEPER_RECYCLE
redirect the scanned home and recycle root — used by the test suite to run
against synthetic trees.