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.

Profile Plugin Session Delete — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
P

dsh-profile-plugin-session-delete

Profile Plugin Session Delete

DSH web plugin: delete sessions from the sidebar's native session menu, plus a batch picker in a shell overlay. No bundle patching.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:cynch18/plugin-session-delete#13148b0b6686216ef97f19c9bc50111ce4577909
READMECompatibilityVersions

Compatibility and provenance

Profile Plugin Session Delete is published as dsh-profile-plugin-session-delete and currently resolves to version 0.2.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/1/2026

Versions

0.2.1stable
10/1/2026
0.2.0stable
9/27/2026

Related plugins

Loading related plugins…

Latest
0.2.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/1/2026
View source ↗
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.

Dafeiyudsh-dafeiyuA desktop-native BigFish companion driven by DeepSeek Harness session events.Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH WebOrbdsh-orbInstallable Orb bundle. Inserts the Computer Use preset and the floating-ball host.Pet@linxin666/dsh-petMulti-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score

README

🗑 plugin-session-delete

给 DeepSeek Harness 补上「删除会话」——不是藏在设置里的清单页,而是会话行「…」菜单里顺手一项,外加一个全屏批量面板。

为什么会有它

DSH 的会话只有三种命运:重命名、分叉、归档。归档只是把会话藏起来,文件还躺在硬盘上;想真正删掉,要么手动去翻 .dsh 目录,要么装一个"设置里的会话管理器"——每次都要点开设置、找到面板、再勾选。

删会话这种事,就该发生在看到会话的地方。

它做什么(0.2.0:零补丁架构)

三个落点全部是 DSH 官方声明的原生槽,靠 ctx.slots.inject() 注册,本插件不写入任何 Harness 文件:

位置原生槽内容
会话行「…」菜单sidebar.workspaces.session.menu.item红色删除会话(order 500,排在官方 Archive 400 之后)+ 批量删除会话…(510)
全局浮层shell.overlay永久删除确认框 + 批量选择面板
设置页settings.section同一套批量面板

批量面板列出全部会话(含已归档),带搜索、全选、运行中/当前会话自动锁定、逐条结果回报。

升级不会再把你卡住。 旧版(≤ 0.1.1)需要对 dsh-client-ui-workspace 的打包文件做文本手术,锚点强绑定上游 JSX 结构,且目标文件是 npx 缓存里的全局共享副本——上游一换版本就有概率留下半截补丁,配合"自动打补丁 + 自动刷新"的自愈环,表现为白屏或无限刷新。0.2.0 把这些全部删掉了:不写文件、不自动刷新、不重打补丁。

30 秒装上

npx @deepseek-ai/dsh plugin --profile web add github:cynch18/plugin-session-delete

重启 dsh → 刷新页面。会话行「…」里多出「删除会话」与「批量删除会话…」。

备选方式(离线 / 脚本流):node scripts/install.mjs(跨平台)或 Windows 上的 install.ps1。两种方式选其一即可,重复安装会产生重复条目。

怎么用

  1. 单删:会话行「…」→ 红色删除会话 → 确认框写明"不可恢复";
  2. 批量:会话行「…」→ 批量删除会话…(或设置 → 删除会话)→ 勾选 → 删除所选 (n) → 确认。

删除是永久的:日志文件、投影缓存、工作区记账、归档状态一并清掉。但它不越界——子代理、分叉、产出的文件都保留,除非你显式勾选它们。

底线

  • 运行中的会话服务端直接拒绝(409);当前打开的会话在界面上禁用;
  • API 只信任本机回环 Host(--host 0.0.0.0 启动时一律 403),跨站请求与异源 Origin 一并拒绝;
  • 删除路径全部走"会话库根目录围栏 + 会话 id 字符集校验",不接受任何路径拼接输入;
  • 已在 DSH 0.1.7-rc.2 上核对过槽位声明表(sidebar.workspaces.session.menu.item 等)。

升级之后

不再需要任何补救动作。若你从 0.1.x 升上来,bundle 上可能残留旧补丁标记: 侧边栏底部会出现 ⚠ 徽标,设置页面板里也会提示。摘除:

node scripts/patch-workspace-menu.mjs strip

详见 docs/legacy-patch.md。

卸载

# 1. 从 profile 的 cordis.patch.yml 里删掉 plugin-session-delete 条目
# 2. 删除 profiles\web\node_modules\dsh-profile-plugin-session-delete\
# 3. (仅当从 0.1.x 升级而来)node scripts/patch-workspace-menu.mjs strip

License

删除语义参考 dsh-archived-sessions(MIT)的实现模式,产品形态自研。

MIT — © 2026 CYNCH18