插件目录 / UI & Skins / dsh-plugin-session-delete
dsh-plugin-session-delete
已验证 · 实测可装 lsz-asd
功能简介
从UI删除DeepSeek Harness会话:危险按钮+侧栏菜单项,风险确认,停止运行代理,原地刷新。
可用 — 实测通过,社区增长中
从UI删除DeepSeek Harness会话:危险按钮+侧栏菜单项,风险确认,停止运行代理,原地刷新。 实测能干净安装、正常启动。社区在增长,是个稳妥选择。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-plugin-session-delete
你是否困扰于 web 端无法删除对话?是否觉得归档对话键只是隐藏对话,删除得不够彻底?是否在尝试编辑 harness 时遇到对话话历史无法同步,而损坏的对话又无法删除?这个插件可以帮你!
在 DeepSeek Harness 界面里安全地彻底删除会话。 在会话顶部添加垃圾桶按钮,侧栏会话行 "..." 菜单内添加"删除会话"项,点击后出现风险确认弹窗(需勾选);确认后会删除会话日志、投影缓存与工作区记账;运行中的会话会有提示,若仍选择删除会停止运行并删除。可在web中使用,并且理论上兼容一切web套壳的客户端。
添加agent工具让agent可以删除会话。 工具名workbench_session_delete
安装
dsh plugin --profile <profile> add file:C:/path/to/dsh-plugin-session-delete
重启 profile 生效。
功能
- 会话头部垃圾桶按钮
- 侧栏会话行 "..." 菜单注入"删除会话"项
RiskConfirmation风险确认:勾选"我已了解后果"后确认可用- 删除链路:会话目录 + 投影缓存 + 工作区记账(经活动 storageDomain,内存/磁盘一致)
workbench_session_delete工具:agent 可直接删除会话
后续开发计划
- 添加更多针对会话的操作工具和选项
- 将已有的针对会话的选项做成工具提供给agent
更新日志
- v0.3.1(2026-08-14):修复删除会话后残留日志导致会话跑到「未分组」的问题。删除时同时清理原始 id 与
session-前缀两种 id 形式;先删除磁盘日志并确认成功后再解除工作区记账,避免半删除会话脱离原分组;删除前先 flush 活动会话,防止 dispose 阶段回写/重建日志目录。 - v0.3.0(2026-08-14):新增英文适配(i18n)。删除对话框、头部垃圾桶按钮与侧栏「删除会话」菜单项的全部文案接入客户端 zh/en 字典,跟随界面语言(设置中的语言或浏览器语言)自动切换并即时生效;未加载 locale 服务的环境会按浏览器语言回退到内置中英文字典。
dsh-plugin-session-delete
Frustrated that sessions can't be deleted from the web client? Bothered by abandoned or mistyped conversations cluttering your sidebar? Ever tried editing your harness only to find the session history out of sync — with a corrupted session that just won't go away? This plugin has your back!
Safely delete sessions from the DeepSeek Harness UI. Adds a trash button at the top of the conversation and a "Delete session" item to the sidebar session-row "..." menu; clicking either opens a risk-consent dialog (checkbox required). On confirm, the session log, projection cache and workspace accounting are removed. Running sessions show a warning — if you still choose to delete, the session is stopped and then deleted. Works in the web, and is theoretically compatible with any web-shell-based client.
Also adds an agent tool so agents can delete sessions. Tool name: workbench_session_delete
Installation
dsh plugin --profile <profile> add file:C:/path/to/dsh-plugin-session-delete
Restart the profile to apply.
Features
- Trash button at the top of the conversation
- "Delete session" item injected into the sidebar session-row "..." menu
RiskConfirmationrisk-consent dialog: confirm is only enabled after ticking "I understand the consequences"- Delete chain: session log + projection cache + workspace accounting (through the active storageDomain, so in-memory state and on-disk units stay consistent)
workbench_session_deletetool: agents can delete sessions directly
Roadmap
- Add more session-operation tools and options
- Expose the existing session options to agents as tools
Changelog
- v0.3.1 (2026-08-14): Fixed deleted sessions being left as "Ungrouped" rows after a partial delete. The host now cleans both raw UUID and
session--prefixed id forms, deletes the on-disk log and confirms it before removing workspace accounting (so a failed delete cannot detach a session from its group), and flushes a live session before detaching it to prevent dispose-time rewrites from recreating the log directory. - v0.3.0 (2026-08-14): Added English adaptation (i18n). All copy of the delete dialog, the header trash button and the sidebar "Delete session" menu item now lives in client zh/en dictionaries and follows the UI language (the language setting or the browser language), updating live on switch; environments without the locale service fall back to the built-in dictionaries by browser language.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-plugin-session-delete」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:lsz-asd/dsh-plugin-session-delete Headless(CLI)profile:
dsh plugin --profile headless add github:lsz-asd/dsh-plugin-session-delete 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
改变 dsh 的外观或交互方式——一套主题、皮肤或新面板,重塑工作区。
适合谁
在 web UI 里一待几小时、想让它按自己的习惯好看又好用的人。
二次开发建议
皮肤、面板和主题 token 是扩展点——写新皮肤、加面板,或与上游配色同步 token。