Winnie-0721/dsh-dialogue-cleanup ↗★ 2

dsh-dialogue-cleanup

从Web运行时彻底删除会话及磁盘文件 适合需要批量清理历史会话、释放磁盘空间并保护隐私的用户。

套件
dsh-dialogue-cleanup
相容性
待驗證
版本
1.1.0
授權
MIT
最近更新
2026年10月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Winnie-0721/dsh-dialogue-cleanup

Configuration

All tunables live in the plugin Config (lib/config.js), so a user's patch layer survives upgrades. A matching override replaces the whole config — write every field you care about.

KeyDefaultMeaning
maxBodyBytes65536request-body ceiling (upstream: 1 MiB)
readTimeoutMs10000body-read timeout (upstream: none)
audit / auditPathtrue / nullaudit log; null → /logs/...
rateLimitPerMinute60per-minute delete request budget (a batch counts once); 0 disables
requireIdleSessiontruesafety valve for the running-session refusal
stopIdleAgentfalsesee the honest-degradation note below
matchAlternateIdSpellingtrueprobe the other session- spelling, guarded
removeProjectionCachetruealso drop the derived projection cache
clearRegistryRecordstrueunpin / unarchive leftovers
confirmInUitrueUI confirmation (the Host does not trust it)
titleCacheTtlMs300000title-fold cache TTL; 0 disables
titleFetchConcurrency8shard concurrency when folding titles
titleLimit100max rows per page to fold titles for; 0 skips title reading
runningProbeTtlMs1000how long a running-state snapshot is reused. Turns batch delete from O(N) full-corpus list calls into O(1); 0 re-probes every item