dsh-session-delete
IdentifiedDelete DSH conversations and workspace folders from context menus, including live sessions, without restarting DSH. Its HTTP routes have no DSH access check, so a web page open in your browser could c
dsh-session-delete
DeepSeek Harness 插件:从会话和工作区右键菜单中彻底删除本机数据。
功能
- 彻底删除会话:删除会话日志、会话目录、工作区归属、归档和置顶标记。会话仍在运行时,插件会先结束它的运行并释放写入器,不需要重启 DSH。
- 删除工作区及文件夹:在确认框中显示完整路径,递归删除该工作区的项目文件夹,然后移除 DSH 中的工作区记录。该选项不会自动删除工作区里的会话记录;内置的“删除工作区”仍保持只移除注册的行为。
- 删除前需要二次确认;取消、点击遮罩或按
Esc不会删除内容。
安装
通过 DSH 的插件管理器安装本仓库,或执行:
dsh plugin add github:keminoco-beep/dsh-session-delete
安装后刷新页面。
安全边界
- Host 端只接受同源的
POST /api/session-delete和POST /api/workspace-delete,并要求x-dsh-session-delete: 1请求头。 - 会话删除路径来自
sessionPersistence.stat()报告的 artifact location,只允许删除与会话 ID 匹配的目录或文件。 - 工作区路径由 Host 按
workspaceId从注册表查找,不接受客户端直接传入路径;拒绝驱动器根目录、用户主目录、~/.dsh及其子目录、符号链接和包含..的路径。 - 不删除共享附件缓存
~/.dsh/attachments,也不删除其他工作区或会话。
卸载
在 DSH 插件管理器中移除 dsh-session-delete。已经删除的会话和文件夹无法恢复。
详细说明见 docs/DETAIL.zh.md 和 docs/DETAIL.md。
Comments
Loading…
Similar plugins
by yukre
Delete a session and its transcript permanently from the sidebar menu, with a confirmation step and a refusal to touch a running session. Archive only hides a session; this removes it. Its HTTP routes
★ 0
MIT
JavaScript
Nov 18, 2026
dsh plugin --profile web add dsh-session-deleteby DDDMUC
Delete sessions from the DSH Web sidebar: adds a Delete action to the session row menu with a risk-consent dialog, then removes the session log, workspace accounting and live session state.
★ 27
↓ 229/wk
MIT
JavaScript
Nov 23, 2026
dsh plugin --profile web add dsh-delete-session彻底删除 DSH 会话记录 / Permanently delete DSH session records from the sidebar context menu — log directory, projection cache and workspace registration, with a confirmation dialog.
★ 0
MIT
JavaScript
dsh plugin --profile web add dsh-session-purgerby NIGHT576
Real deletion for DSH Web conversations: a session-row menu action and a Workspaces-header batch dialog; removes each session's log directory and projection cache. 给 DSH Web 侧栏补上真正的会话删除:右键菜单删单条、区头批量删多
★ 0
MIT
JavaScript
Sep 12, 2026
dsh plugin --profile web add dsh-delete-sessionby Marco77Cl
Adds a Delete conversation action to the conversation menu that permanently removes the session log, projection cache, and sidebar entry; refuses while a turn, subagent, job, or reminder is running.
★ 0
MIT
JavaScript
Nov 11, 2026
dsh plugin --profile web add dsh-plugin-conversation-deleteby 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