DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Session Recycle Bin — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-session-recycle-bin

Session Recycle Bin

DSH 会话回收站:侧边栏删除图标、回收站多选还原/彻底删除、活跃会话保护。 · Session trash & permanent delete for DeepSeek Harness.

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-session-recycle-bin@0.4.3
README兼容性版本

兼容性与来源证明

Session Recycle Bin 以 dsh-session-recycle-bin 发布,当前版本为 0.4.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.4.3stable
2026/9/18
0.4.2stable
2026/9/16
0.4.1stable
2026/9/16
查看其余 13 个版本收起版本
0.4.0stable
2026/9/12
0.3.3stable
2026/9/2
0.3.2stable
2026/9/2
0.3.1stable
2026/9/2
0.3.0stable
2026/9/2
0.2.2stable
2026/9/1
0.2.1stable
2026/8/27
0.2.0stable
2026/8/27
0.1.4stable
2026/8/27
0.1.3stable
2026/8/26
0.1.2stable
2026/8/26
0.1.1stable
2026/8/26
0.1.0stable
2026/8/25
最新版
0.4.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
169.2 kB
文件数
11
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 3
周下载
864
安全扫描
✓ v0.4.3 扫描通过
最近提交
2026/9/18
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

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