zhangfan0529/dsh-archived-session-cleaner ↗★ 1

@local/dsh-archived-session-cleaner

Permanently delete archived sessions and their subagent logs from the sidebar.

패키지
@local/dsh-archived-session-cleaner
호환성
미검증
Harness peer 범위
>=0.2.1-0 <0.3.0-0
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 10. 26.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhangfan0529/dsh-archived-session-cleaner

Archived Session Cleaner

English · 中文

Permanently delete archived DeepSeek Harness sessions and their subagent logs.

The permanent-delete confirmation dialog

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

  1. If the session is not archived yet, archive it first (... → Archive session)
  2. Switch the sidebar filter to "All conversations (show archived)"
  3. ... → "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/ // (the JSONL log)
  • $DSH_HOME/storages/session_projcache/sessions/.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.

Sponsor

飞鱼 Token

飞鱼 Token