- ホーム
- プラグイン
- セッションとメッセージ
- dsh-archived-session-cleaner
Z
dsh-archived-session-cleaner
zhangfan0529/dsh-archived-session-cleaner
DeepSeek Harness plugin: permanently delete archived sessions and their subagent logs. | DeepSeek Harness 插件:永久删除已归档会话及其子智能体日志。
インストール
dsh plugin --profile web add github:zhangfan0529/dsh-archived-session-cleanerREADME
Archived Session Cleaner
English · 中文
Permanently delete archived DeepSeek Harness sessions and their subagent logs.

Features
- "Delete session permanently" in the
...menu of an archived session - Removes the session log, its projection cache, and its subagent logs; the row leaves the sidebar
- Archived sessions only, with a confirmation step; deletion is permanent
- Optional agent tool,
delete_archived_sessions— one Session ID per call
Install
Settings → Plugins → Add:
github:zhangfan0529/dsh-archived-session-cleaner
Refresh the page afterwards. For a local checkout, paste its absolute path instead, e.g. /Users/you/plugins/dsh-archived-session-cleaner.
Requires DeepSeek Harness 0.2.x with the Web UI.
Use
- If the session is not archived yet, archive it first (
...→ Archive session) - Switch the sidebar filter to "All conversations (show archived)"
...→ "Delete session permanently" → confirm
To let the agent delete one, send it the Session ID from "Copy Session ID" in the archived row's menu.
Notes
- Archived sessions only. A session that is running, or still loaded in the current app run, is skipped — restart the app, then delete again
- Deletion is permanent
- Runs entirely on this machine: no network requests, no telemetry
What gets deleted
$DSH_HOME/sessions/<project>/<sessionId>/(the JSONL log)$DSH_HOME/storages/session_projcache/sessions/<sessionId>.json- the subagent session logs recorded under it
- its workspace entry and archive-set entry
$DSH_HOME defaults to ~/.dsh.
License
MIT — see LICENSE. Files under assets/ are not covered by the MIT license.
