DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

harness-session-delete

S

harness-session-delete

Manifest valid★ 13

Deepseek Harness Delete Conversation

UI (client)hasBundlePatch

dsh-session-recycle-bin

Session recycle bin & permanent delete for DeepSeek Harness.

Move sessions into a recycle bin from the sidebar, restore or permanently delete them (single or batch), with live-session protection.

The interface automatically follows the browser language: Chinese locales use Chinese and all other locales use English.

English | 中文


✨ Features

  • Sidebar per-session delete icon — hover a session row, a small trash icon appears; click to move it into the recycle bin instantly (no confirmation; always recoverable).
  • Session-header delete button — delete the current session from the conversation header.
  • Recycle-bin manager (Settings → 🗑 会话回收站) — archived sessions with multi-select: batch restore, batch permanent delete; each item shows its ID and path.
  • True permanent delete — physically removes the session log from disk and the projection-cache record; ghost sessions (records without a log) are cleaned up so they vanish instead of lingering.
  • Live-session protection — sessions with an active agent are refused deletion.
  • Batch fault tolerance — batch operations delete per-session with error collection and reporting.
  • Light/dark adaptive UI — all colors are CSS custom properties in client.css; components follow the resolved DSH appearance (data-ds-dark-theme) with prefers-color-scheme as the OS-level fallback (no hardcoded palette). UI and code text follow the app font too (--dsw-font-family / --ds-font-family-code), so the Settings → 字体 choice applies here as well.

📦 Install

One-click from the plugin market (dsh-market)

Once listed in the awesome-dsh-plugin registry: open Settings → Plugin Market → search dsh-session-recycle-bin → install.

Manual

dsh plugin --profile web add dsh-session-recycle-bin

Then restart the web app (stop the dsh web process and run dsh web again).

Local development install

dsh plugin --profile web add link:/absolute/path/to/harness-session-delete

Uninstall

dsh plugin --profile web remove dsh-session-recycle-bin

🚀 Usage

  1. Sidebar delete — hover a session in the left sidebar, click the trash icon: the session moves into the recycle bin and the row disappears immediately.
  2. Settings recycle bin — open Settings ⚙️ → 🗑 会话回收站:
    • Checkbox multi-select → Restore (batch unarchive) or Permanent delete (batch purge).
    • Each entry shows the session name, ID and working path (hover for full details).
  3. Permanent delete physically removes the log and projection cache; live sessions are protected.
  4. Undo — restoring shows an undo toast that re-archives the session.

🛠 Development

pnpm test          # run the test suite (host logic + HTTP routes)

Repo layout:

harness-session-delete/
├── package.json            # single bundle manifest (dsh.bundle.patch + dsh.client)
├── cordis.patch.yml        # bundle patch: one insert mounting the host row
├── index.js                # node half: host entry (inject + apply)
├── client.js               # browser half: sidebar icons + settings recycle bin
├── client.css              # plugin stylesheet: design tokens + light/dark adaptive components
└── packages/
    └── session-trash-host/ # host implementation (persistence/workspace/cache patches, HTTP routes)

🔌 How it works

  • A single npm bundle covers both halves, same as other published plugins: the host row mounts via cordis.patch.yml; the browser half joins automatically through dsh.client + exports["./client"].
  • The browser talks to the host over the plugin's own /api/session-trash/* HTTP routes (registered on the webserver; non-GET requests carry an x-dsh-plugin CSRF header).

📄 License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.1.7-alpha.2: failedDSH 0.2.1-alpha.3: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——
0.1.2——
0.1.3——
0.1.4——
0.2.0——
0.2.1——
0.2.2——
0.3.0——
0.3.1——
0.3.2——
0.3.3——
0.4.0——
0.4.1——
0.4.2——
0.4.3——
0.4.4——
0.5.0——

Comments

Loading…

Similar plugins

dsh-delete-session

by Lzcdebear

Delete sessions, not archive them

Sessions & MessagesManifest valid

★ 9

↓ 466/wk

MIT

JavaScript

Oct 4, 2026

dsh plugin --profile web add dsh-session-delete

by WovenJunct

一个简单的删除dsh会话的插件,简单可用。

Development & InfrastructureManifest valid

★ 7

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-plugin-simple-delete-session

by luckamuu

DeepSeek Harness 插件:提供删除已归档会话的入口(可以彻底删除不会在次出现)

Manifest valid

★ 0

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add @local/archived-sessions

by fountunt

为 DeepSeek Harness 提供会话删除能力,支持侧边栏 ⋮ 菜单入口

Sessions & MessagesManifest valid

★ 7

↓ 178/wk

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-session-cleaner

by Linusteller

DeepSeek Harness 插件:侧栏会话菜单「删除会话」(永久删除,非归档)

Development & InfrastructureSessions & MessagesManifest valid

★ 2

MIT

JavaScript

Oct 22, 2026

dsh plugin --profile web add dsh-delete-sessions

A DeepSeek Harness Web plugin for quickly and thoroughly deleting sessions. 快速彻底删除会话的 DeepSeek Harness Web 插件。

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add @kagurazakayashi/dsh-delete-session