DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@hualiong/dsh-session-delete

Session Delete

Delete sessions of a DeepSeek Harness profile from the UI: session-row menu item with a confirm dialog; the host endpoint deletes the log, projection cache and workspace accounting, cascading through the whole subagent tree. Optionally exposes session_lis

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @hualiong/dsh-session-delete@0.4.2
READMECompatibilityVersions

Compatibility and provenance

Session Delete is published as @hualiong/dsh-session-delete and currently resolves to version 0.4.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/4/2026

Versions

0.4.2stable
10/31/2026
0.4.1stable
10/18/2026
0.4.0stable
10/16/2026
Show 4 more versionsCollapse versions
0.3.6stable
10/11/2026
0.3.5stable
10/11/2026
0.3.4stable
10/1/2026
0.3.3stable
10/1/2026

Related plugins

Loading related plugins…

Latest
0.4.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
43.4 kB
Files
8
Surface
web
License
MIT
Source
npm
Weekly downloads
578
Security scan
✓ v0.4.2 scan passed
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in ui-customization.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundleRefresh session titles as new human prompts arrive.Personalized Recommendations@deepseek-ai/dsh-personalized-recommendationsPersonalized pages and built-in plugin recommendations offered as cards below answersWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editin

README

dsh-session-delete

在 DeepSeek Harness 界面里安全地彻底删除会话。 在侧栏会话行 "..." 菜单内添加"删除会话"项,点击后出现确认弹窗;确认后会删除会话日志、投影缓存与工作区记账;运行中的会话会有提示,若仍选择删除会停止运行并删除。可在web中使用,并且理论上兼容一切web套壳的客户端。

安装

dsh plugin --profile <profile> add @hualiong/dsh-session-delete

也可以直接从仓库安装:dsh plugin --profile <profile> add github:hualiong/dsh-session-delete,或在插件页面的“添加插件”里手动输入包名/仓库地址。

功能

  • 侧栏会话行 "..." 菜单原生"删除会话"项
  • RiskConfirmation 确认弹窗
  • 删除链路:会话目录 + 投影缓存 + 工作区记账 + pin 记录(经活动 storageDomain,内存/磁盘一致)
  • 级联删除:删除一个会话时,其全部子代理后代(任意深度)一并删除;任一后代在运行则会整体拒绝,不会留下半棵树
  • 删除后向客户端广播 api-session/removed,侧栏对应行立即消失
  • 删除当前会话后与原生归档行为一致:调用 uiWorkspace.clearMain() 清空主视图,界面停在空会话(选择工作区那一页),而不是自动新开一个会话
  • 可选暴露两个 agent 工具(默认开启,可在下面说的详细页里开关):
    • session_list:按工作区分组浏览可见会话,可钻取到单个工作区的会话列表
    • session_delete:删除会话;拒绝删除调用者自己、拒绝删除运行中的会话
  • 本插件自己的详细页开关:插件页 → 会话删除 所在行右侧 Configure → "向 Agent 暴露会话工具",拨动即生效。行页的 key 是 <bundle 包名>#<行 id>,本插件按两种发行形态各登记一次(套件内为 @hualiong/dsh-plugin-suite#chameleon-session-delete,单独安装为 @hualiong/dsh-session-delete#chameleon-session-delete);未被行认领的 key 不会产生任何界面
  • 界面删除路径始终可用,不受 exposeAgentTools 影响

运行时依赖

宿主半边 src/index.js 静态 import 两个由 DSH 运行时提供的包,按官方工具插件的口径声明为可选 peerDependencies(不从 registry 安装,由 DSH 的安装体解析表提供):

  • @deepseek-ai/dsh-home-paths:普通 dependencies(0.2.0-rc.2)。它曾被放在 devDependencies 里,从 registry 安装套件时触发 ERR_MODULE_NOT_FOUND(详见套件 README 的 0.3.6 记录),因此留在 dependencies。
  • @deepseek-ai/schemastery(Config schema)与 @deepseek-ai/dsh-tools(defineTool):参考已发布的第三方插件(如 dsh-rewind-plugin)的写法,写在 peerDependencies + peerDependenciesMeta.optional,由 DSH 侧解析。

客户端半边用 window.__ModuleLoader__ 的 require 取 react / @deepseek-ai/dsh-client-store / @deepseek-ai/dsh-client-ui-primitives,这些同样由 DSH 的客户端模块表提供,不经过 npm 解析。

本插件依赖较新的 DSH:级联删除用的 api-session/removed 事件与配置页用的 plugins.row.config 槽位都是近期才有的。

截图

View imageView image