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.

Deep Purge — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

dsh-deep-purge

Deep Purge

Completely delete DSH sessions: log directories + projection cache + workspace accounting + reference-counted attachment reclamation, all handled with one confirmation dialog. Thorough session purge for DeepSeek Harness.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:HunLongBaiZe/dsh-deep-purge#c0a45363bcd0c5b37f8b2c13b26747352fc3f7bb
READMECompatibilityVersions

Compatibility and provenance

Deep Purge is published as dsh-deep-purge and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/25/2026

Versions

0.1.0stable
9/25/2026

Related plugins

Loading related plugins…

Latest
0.1.0
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
9/25/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 memory-context.

Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Weknora@wxg-prc-cpg/dsh-weknoraWeKnora knowledge retrieval tools for DeepSeek Harness (dsh): semantic search, document reading and RAG/agent answers over your own knowledge bases.Archive Manager@michengai/dsh-archive-managerNPM-installable DSH Web plugin for managing archived sessions.Memory@furongjun1999/dsh-memoryLingshu (Lingshu·líng shū) DeepSeek Harness plugin: a complete brain—long-term memory/knowledge flywheel/self-awareness/recursive reflection integrated with DSH, with conversations automatically distilled into the md_cg cognitive graph (md documents)

README

dsh-deep-purge

在 DSH 侧栏会话行的「…」菜单里加一项「彻底删除…」,一次清掉会话日志、投影缓存、工作区记账,以及这个会话自己用到的附件副本。删除前有风险确认弹窗,删除后给出逐项汇总。

不删仍被其他会话引用的附件。附件按内容哈希存储,分叉出来的会话会继承父会话的图片、因而共享同一批对象;删掉共享对象会让另一个会话的图片变成坏引用,所以这种情况一律保留。

安装

从 GitHub 安装:

dsh plugin --profile <profile> add github:HunLongBaiZe/dsh-deep-purge

或用本地目录:

dsh plugin --profile <profile> add file:/path/to/dsh-deep-purge

重启 profile 生效。

功能

  • 侧栏会话行「…」菜单增加「彻底删除…」,危险配色,排在归档之后
  • RiskConfirmation 风险确认:勾选「我明白此操作不可撤销」后确认按钮才可用
  • 删除范围:
    • 会话日志目录(同时处理 uuid 与 session- 前缀两种 id 拼写,空掉的工作区目录一并收掉)
    • 投影缓存(session_projcache 的 sessions 表,经活动 storageDomain,内存与磁盘保持一致)
    • 工作区记账(workspaces.sessionIds 与全局 archivedSessionIds)
    • 本会话引用、且没有其他会话引用的附件对象
    • 请求图片转码缓存(纯缓存,可重建)
  • 删除后弹出汇总:删了几个日志目录,附件引用/删除/保留的数量与释放空间

安全措施

  • 回收附件前扫描所有幸存会话的日志,任何一个读不出来就整体跳过附件回收
  • 收集引用时倾向"过度收集":任何形如 sha256:<64hex> 的 attachmentId 都算引用;误判只会让对象多活一会儿,漏判才会毁数据
  • 有活跃 agent 的会话拒绝删除,返回 409
  • 宿主端点要求请求体里的 confirm 与 sessionId 完全一致,防误触与脚本乱调
  • 删除附件对象前校验路径必须落在 objects/ 之下,且文件名为 64 位十六进制

兼容性

需要 DSH ≥ 0.1.6。用到的客户端 slot、sessionPersistence 读句柄与 storageDomain 域服务在该版本已具备,已在 0.1.6-alpha.2 与 0.1.7-rc.2 上核对。

界面接入不使用 DOM 注入:菜单项注册进 sidebar.workspaces.session.menu.item,对话框注册进 shell.overlay,使用 primitives 的 RiskConfirmation 与 Modal。

开发

node test/run-tests.mjs

26 项离线测试,用假 ctx 加真文件系统覆盖引用计数(共享保留/独占删除)、fail-safe 跳过、运行中拒删、confirm 校验,以及两种 id 拼写。

更新日志

  • v0.1.0(2026-09-25):首个版本。

License

MIT