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

dsh-archive-vault

Archive Vault

dsh plugin: View, restore, and permanently delete archived sessions in the settings panel

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

npx -y @deepseek-ai/dsh plugin --profile web add github:Britneycode/dsh-archive-vault#48b0b23fe05cfa4e44cbd23ce1481e4d19c052d7
READMECompatibilityVersions

Compatibility and provenance

Archive Vault is published as dsh-archive-vault and currently resolves to version 0.3.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
11/4/2026

Versions

0.3.0stable
9/23/2026
0.2.4stable
9/5/2026
0.2.3stable
8/28/2026
Show 2 more versionsCollapse versions
0.2.2stable
8/16/2026
0.2.1stable
8/16/2026

Related plugins

Loading related plugins…

Latest
0.3.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
BSD-3-Clause
Source
github
GitHub
★ 1
Weekly downloads
282
Last push
10/31/2026
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 memory-context.

Experimental Session Search@deepseek-ai/dsh-experimental-session-searchGive Agents tools to search and read earlier sessions from the current workspace.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).Mnemondsh-mnemonComposable, view-based context for DeepSeek Harness. Pluggable sources and strategies, with layered memory and self-evolving skills out of the box.Ab Memorydsh-ab-memory--- description: "The dsh-ab-memory package: a cross-session, file-backed agent memory with five tools (remember / recall / forget / load_skill / distill) and an always-on light injection." kind: "package-reference" ---

README

dsh-archive-vault 归档清理

dsh 内置设置页(Archived sessions)已提供归档会话的浏览、搜索与恢复, 但宿主明确不提供永久删除。本插件只补这一环:

  • 设置页 → 归档清理:显示归档会话数量与归档时间跟踪状态, 「清理 7 天以上」和「清理 30 天以上」按实际归档时间批量永久删除; 第一次点击进入 5 秒确认状态,第二次点击才执行。单项失败不会中止 其余清理,完成后分别报告成功数与失败数;
  • 永久删除:清除归档记录、工作区记账并删除磁盘会话日志;正在 运行的会话会被拒绝。浏览与恢复归档会话请使用内置「Archived sessions」设置页;要永久删除单个会话,可让 agent 调用 delete_archived_session 工具;
  • agent 工具:list_archived_sessions / unarchive_session / delete_archived_session,在会话里也能直接找回或清理旧对话。

取消归档的写入路径(兼容性说明)

宿主 WorkspaceRegistry 只公开 archiveSession,没有 unarchive。本插件的 取消归档(删除的第一步,以及 unarchive_session 工具)走 registry 实例的 串行写队列(enqueueOperation + setState,宿主里是 TS private、运行时 可访问):

  • 与 create/delete/reorder/archive 的所有写完全互斥,不会丢并发变更;
  • 归档集合在队列内重读,排队期间其他客户端的新归档不会丢失;
  • 写入的 state 形状与宿主 recoverPendingMutation 产出的三字段一致, 通过 apiproxy 的 workspaceDomainState zod 校验;
  • 宿主若改名这两个方法,插件显式报错(不会静默写坏状态)。

删除的写入路径

宿主全链路没有会话删除 API(持久化后端只有 create/append/read)。删除按 "失败偏向重新可见"的顺序组装:

  1. live 会话拒绝(sessions.get(id) 有值时不动文件);
  2. 从归档集合移除(同取消归档路径,幂等);
  3. 从所属工作区记账移除(entity.detachSession,公开方法、domain 写链、 幂等,自动推 host/workspace-changed 帧);
  4. persistence.locate() 定位日志文件,删除其父目录(sessions/<project>/ session-<uuid>);目录名不含会话 id 时拒绝删文件(防后端布局变化误删)。

日志删除后 persistence.list() 立即不再列出该会话(客户端基线随之消失, 发起端随后重读该基线,无需刷新页面或重启);projection cache 行与日志 身份绑定,过期行自动作废,无需清理。 删除不要求会话仍在归档集合(幂等):中途失败后重试不会卡在半完成状态。

归档时间与批量清理

插件从安装并启用本版本后开始记录新的归档动作。升级前已经处于归档状态的 对话没有可靠的实际归档时间,会显示为「归档时间未知」,不会进入 7 天或 30 天批量清理范围;取消归档后再次归档会重新开始计时。7 天清理包含所有 已归档满 7 天的对话,因此也包含已满 30 天的对话。

归档时间默认保存在 ~/.dsh/archive-vault/archive-times.json;设置了 DSH_HOME 时则保存在 $DSH_HOME/archive-vault/archive-times.json。状态文件 使用版本化 JSON 并以临时文件原子替换。文件损坏、版本不受支持或读取失败时, 批量清理会明确报错并停止,不会根据会话创建时间猜测归档时间。

安装

推荐用 dsh 官方 CLI 安装(自动完成 pnpm 安装与 dsh.profile.bundles 对账,无需手改任何配置):

dsh plugin --profile web add dsh-archive-vault                      # npm 源
dsh plugin --profile web add github:Britneycode/dsh-archive-vault   # 或 GitHub 源
dsh plugin --profile web remove dsh-archive-vault                   # 卸载

安装后重启 dsh web,设置页会出现「归档清理」面板。注意 --profile 要跟在 plugin 子命令之后(放在前面会被参数解析器拒绝)。

也可以直接用包管理器安装,此时需手动把 dsh-archive-vault 加进 profile package.json 的 dsh.profile.bundles 列表再重启:

pnpm add dsh-archive-vault

开发

DSH_CHECKOUT=/d/App/dsh/deepseek-harness npm run typecheck
DSH_CHECKOUT=/d/App/dsh/deepseek-harness npm run build
npm test