Saikel-Orado-Liu/dsh-archive-manager ↗★ 1

@gamegeek-saikel/dsh-archive-manager

Permanent session deletion for the DSH Web GUI — remove a session's log, workspace accounting, archive/pin markers, projection-cache row, subagent children, and spill data from the sidebar row menu, while DSH's own archive UI keeps owning archived sessions. 适合需要清理会话日志、工作区中的会话关联、子代理会话及缓存的Web端用户。

Package
@gamegeek-saikel/dsh-archive-manager
Compatibility
Unverified
Harness peer range
^0.2.0-rc.2
Cordis peer range
^4.0.4
Version
0.4.0
License
MIT
Last updated
Sep 29, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Saikel-Orado-Liu/dsh-archive-manager

Usage

Once installed and restarted:

SurfaceDescription
Session row menuA destructive "Delete session" row, separated from the shipped pin/rename/fork/archive rows (order 500)
Delete dialogBody-portaled confirmation: what is removed, the fork-branch carve-out, a pending state, and a failure that keeps the dialog open with the Host's message
Live session deleteComposer greys out, row disappears, UI does not crash
Archived sessionsUnchanged: the official filter (hide / show / only), styling, guarding, and unarchive still own them

Restart verification checklist

  1. A session row's "..." menu shows "Delete session" after the shipped rows, separated by a hairline.
  2. Confirming permanently removes the session with no disk residue:
    • ~/.dsh\sessions\…\session-\ no longer exists;
    • ~/.dsh\storages\workspace.json — global.archivedSessionIds, global.pinnedSessionIds, and every workspace's sessionIds no longer contain the id;
    • ~/.dsh\storages\session_projcache.json — tables.sessions no longer contains the id.
  3. Cancelling leaves everything untouched.
  4. Deleting the currently open session greys the composer and removes the row without crashing.
  5. A session with subagent children deletes its children with it; a fork branch of the same session survives.
  6. The official archive flow still works: hide / show / only-archived filter, archived row styling, archived click guard, unarchive, pin / unpin.
  7. Both locales render correctly (switch the browser language and reload).