lsz-asd/dsh-plugin-session-delete ↗★ 3
@huanlin/dsh-plugin-session-delete
Delete sessions of a DeepSeek Harness profile from the UI: header danger button + session-row menu item with a risk-consent dialog; host endpoint + tool delete the log, projection cache and workspace accounting. Works in web and the desktop client alike.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lsz-asd/dsh-plugin-session-delete说明文档
阅读完整 README ↗dsh-plugin-session-delete
你是否困扰于 web 端无法删除对话?是否觉得归档对话键只是隐藏对话,删除得不够彻底?是否在尝试编辑 harness 时遇到对话话历史无法同步,而损坏的对话又无法删除?这个插件可以帮你!
在 DeepSeek Harness 界面里安全地彻底删除会话。 在会话顶部添加垃圾桶按钮,侧栏会话行 "..." 菜单内添加"删除会话"项,点击后出现风险确认弹窗(需勾选);确认后会删除会话日志、投影缓存与工作区记账;运行中的会话会有提示,若仍选择删除会停止运行并删除。可在web中使用,并且理论上兼容一切web套壳的客户端。
添加agent工具让agent可以删除会话。 工具名workbench_session_delete
安装
dsh plugin --profile
add file:C:/path/to/dsh-plugin-session-delete
重启 profile 生效。
功能
- 会话头部垃圾桶按钮
- 侧栏会话行 "..." 菜单注入"删除会话"项
RiskConfirmation风险确认:勾选"我已了解后果"后确认可用- 删除链路:会话目录 + 投影缓存 + 工作区记账(经活动 storageDomain,内存/磁盘一致)
workbench_session_delete工具:agent 可直接删除会话
后续开发计划
- 添加更多针对会话的操作工具和选项
- 将已有的针对会话的选项做成工具提供给agent
更新日志
- 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
add file:C:/path/to/dsh-plugin-session-delete
Restart the profile to apply.