Winnie-0721/dsh-dialogue-cleanup ↗★ 2
dsh-dialogue-cleanup
Delete DeepSeek Harness sessions from the running Web runtime: detach the live store entry, drop workspace records, and remove the on-disk artifacts. Host half plus a web client half in one package. 适合需要批量清理历史会话、释放磁盘空间并保护隐私的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Winnie-0721/dsh-dialogue-cleanupConfiguration
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.
| Key | Default | Meaning |
|---|---|---|
maxBodyBytes | 65536 | request-body ceiling (upstream: 1 MiB) |
readTimeoutMs | 10000 | body-read timeout (upstream: none) |
audit / auditPath | true / null | audit log; null → /logs/... |
rateLimitPerMinute | 60 | per-minute delete request budget (a batch counts once); 0 disables |
requireIdleSession | true | safety valve for the running-session refusal |
stopIdleAgent | false | see the honest-degradation note below |
matchAlternateIdSpelling | true | probe the other session- spelling, guarded |
removeProjectionCache | true | also drop the derived projection cache |
clearRegistryRecords | true | unpin / unarchive leftovers |
confirmInUi | true | UI confirmation (the Host does not trust it) |
titleCacheTtlMs | 300000 | title-fold cache TTL; 0 disables |
titleFetchConcurrency | 8 | shard concurrency when folding titles |
titleLimit | 100 | max rows per page to fold titles for; 0 skips title reading |
runningProbeTtlMs | 1000 | how 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 |