dsh-delete-archived-session
Manifest validPermanently delete archived sessions from the sidebar row hover strip and the more-menu with a two-step confirm (click arms, second click deletes); deletion stops the session's running work and remove
Delete Archived Session in DSH
English | 简体中文
A DeepSeek Harness (dsh) plugin that permanently deletes archived sessions with a two-step confirm, from the sidebar row hover strip and the "⋯" more-menu. It stops the session's running work and removes its log and projection-cache record from disk.
Screenshots
| Hover the delete button | Armed, click again to confirm |
|---|---|
![]() | ![]() |
Install
Use --profile web for a dsh web server or --profile desktop for the desktop app, then restart the Harness.
# npm
dsh plugin --profile web add dsh-delete-archived-session
# GitHub (latest)
dsh plugin --profile web add github:Cnily03/dsh-delete-archived-session
The desktop app can also install it from its built-in plugin market.
Usage
The control renders only while the row's session is archived, in two places:
- Hover strip — a trash icon after the archive and pin cells.
- "⋯" more-menu — a "Delete archived session" row that dismisses the menu on click.
Both reuse the shipped IconTrashOutlineRegular, Tooltip and MenuItemButton, so they match the native controls.
Deleting takes two deliberate clicks:
- The first click arms the control — it turns red, the label becomes Permanently delete, and it stays armed for 3 seconds.
- A click while armed deletes the session. After the arm lapses, a click simply re-arms.
Deleting stops the session's running work, removes its log directory and projection-cache record from disk, and clears the workspace accounting so the row disappears.
Archiving vs. deleting
A session must be archived before it can be deleted. Archiving alone does not stop the agent or remove any file; deletion is what stops the work and clears the files.
Develop
pnpm install
pnpm build # tsup -> dist/
pnpm typecheck # tsc --noEmit
pnpm lint # biome lint
pnpm format # biome check --write
| Path | Purpose |
|---|---|
src/index.ts | Host half: delete route, stop/idle/flush/remove, cleanup, startup sweep. |
src/client.ts | Client half: the two-step control, arm timer and overlay notice. |
src/locale.ts | Namespace, route and message dictionaries. |
cordis.patch.yml | Bundle patch that inserts the Host row. |
License
Copyright (c) Cnily03. All rights reserved.
Licensed under the MIT License.
Comments
Loading…
Similar plugins
Adds a Delete session item to the sidebar session row menu that permanently removes the session log directory, projection cache and archive/pin membership and drops its row from the sidebar, plus an a
★ 0
dsh plugin --profile web add dsh-archive-workbenchby mcf171
Permanently delete a session from the session row menu — archives the id, removes the log directory and drops the row at once, with a Delete shortcut; built only on shipped extension points, and a ses
★ 0
MIT
JavaScript
Oct 16, 2026
dsh plugin --profile web add @mcf171/dsh-session-deleteby wwwyxsuper
Adds a permanent-delete row to the sidebar menu of archived sessions, removing the session log, its projection cache and its workspace registration.
★ 2
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-session-purgeManage and delete archived DSH conversations: a Settings page lists every archived session with per-row and bulk delete, and the sidebar session menu gains a Delete row next to Unarchive. Deletion is
★ 0
dsh plugin --profile web add dsh-archived-sessionsby Linusteller
DeepSeek Harness 插件:侧栏会话菜单「删除会话」(永久删除,非归档)
★ 5
↓ 425/wk
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add dsh-delete-sessionsby Baboo-ming
Permanently delete a DSH session from the sidebar session row menu (danger-styled) with a confirm modal and a seven-stage, independently-degrading deletion pipeline (validate → running guard → workspace ledger → archive set → on-disk logs → in-memory drop → broadcast).
★ 3
↓ 772/wk
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-session-delete
