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.

Archive Manager — DSH Plugin for DeepSeek Harness
← Plugins

@gsnowdrift/dsh-archive-manager

Archive Manager

Archived session management plugin: filter archived sessions by date/workspace in DSH settings, unarchive sessions in bulk, and provide reversible automatic cleanup policies (automatically archive idle sessions / restore after retention period / restore when the limit is reached).

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

npx -y @deepseek-ai/dsh plugin --profile web add @gsnowdrift/dsh-archive-manager@0.1.1
READMECompatibilityVersions
归档会话与自动清理设置

Compatibility and provenance

Archive Manager is published as @gsnowdrift/dsh-archive-manager and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/19/2026

Versions

0.1.1stable
10/19/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
191.1 kB
Files
11
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
10/19/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in memory-context.

Memory Plugin@openviking/dsh-memory-pluginOpenViking memory and context bundle for DeepSeek HarnessContextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.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" ---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.

README

Archive Manager for DSH · 归档会话管理

给 DeepSeek Harness 补上缺失的归档管理中心:侧栏「会话」只有"显示/隐藏已归档"一个开关, 归档之后既看不见、也找不回。装上本插件,设置 → 归档会话里就能按日期翻出历史会话、 一键批量取消归档,还有一套可撤销的自动清理策略替你收拾越来越长的会话列表。

[English](#english)

安装

dsh plugin --profile web add @gsnowdrift/dsh-archive-manager

桌面版把 profile 换成 desktop:

dsh plugin --profile desktop add @gsnowdrift/dsh-archive-manager

装完重启 DSH(或重新打开客户端),进入 设置 → 归档会话。

从源码安装 / 本地开发
git clone https://github.com/gsnowdrift/dsh-archive-manager.git
dsh plugin --profile desktop add "file:D:/path/to/dsh-archive-manager"

或在 Web 侧栏 插件 页 → 安装 → 输入本地绝对路径。 若 pnpm 拒绝 file:,可把 link: 依赖写进 profile 的 package.json,patch 见本仓库的 cordis.patch.yml。

能做什么

功能说明
归档列表标题、工作区、路径、归档时间、最近活动、来源(手动/自动)、运行状态
按日期筛选归档日下拉(每天的数量)· 搜索标题/路径/会话 ID · 按工作区筛选 · 含子代理会话
分页每页 25 条,页码与总数
批量操作勾选后一键取消归档;单条"取消归档"
删除会话单条删除磁盘上的会话记录,需二次确认、不可恢复(仅在你主动点击时发生)
自动清理三种可组合、可逆的策略,支持"预览计划"和"立即执行"
设置持久化策略保存在插件自己的 storage domain(archive_manager),跨重启保留

截图

归档会话与自动清理设置

自动清理策略

策略作用默认
cleanupEnabled定时清理总开关(每 cleanupIntervalMinutes 分钟一次,默认 30)关
autoArchiveDays闲置超过 N 天的普通会话自动归档(从侧栏隐藏)90 天,0 关闭
retentionDays归档超过 N 天的会话自动取消归档(回到侧栏原位)180 天,0 关闭
capCount归档数量超过 N 时,自动取消归档最旧的0 关闭
includeSubagents子代理会话是否参与清理关

自动清理不会物理删除任何会话日志。 DSH 的会话持久化层没有保留/清理接口,本插件的"清理" 只在归档集合与侧栏可见性之间移动会话,全部可逆;历史、工作区归属、保存的位置都不会丢。 唯一的删除入口是列表里你自己点的「删除」,且需要二次确认。

运行中的会话一律跳过(excluded),不会打断正在跑的工作。

使用

  1. 打开 设置(侧栏齿轮),左栏点 归档会话;
  2. 顶部下拉选择归档日,或用搜索 / 工作区筛选;标题未折叠完成时先显示会话 ID,几秒后自动替换;
  3. 勾选若干行 → 取消归档 N 项,它们会回到原工作区原来的位置;
  4. 下方"自动清理"卡片里调整策略 → 保存设置 → 预览计划 先看清楚,再 立即执行。

结构

package.json          # dsh.bundle.patch + dsh.client 声明
cordis.patch.yml      # bundle patch:插入 archive-manager 行
lib/index.js          # Host 半:ArchiveManagerService(Remote 命名空间 archiveManager)
lib/client.js         # Client 半:设置页 section(原生 ESM,无构建步骤)
locale/{zh,en}.json   # 面板元信息

Host Remote API(remote.archiveManager)

方法参数返回
list{ filter?: { date?, workspaceId?, search?, includeSubagents? }, page?, pageSize? }{ total, page, pageCount, items[], workspaces, dates[], pending }
getSettings—{ policy, lastRun, intervalMinutes }
setPolicypolicy 的部分字段合并后的 policy
unarchivesessionIds{ moved, failed[] }
deleteSessionssessionIds{ deleted, done[], failed[] }
preview—清理计划(不执行)
runCleanup{ dryRun? }执行结果 { actions[], excluded[], applied, failed[] }

依赖

Host 半只使用 profile 已经提供的包:@deepseek-ai/cordis、@deepseek-ai/schemastery、 @deepseek-ai/dsh-typert-protocol、@deepseek-ai/dsh-storage-domain、@deepseek-ai/dsh-session-query、 @deepseek-ai/dsh-workspace 与 zod(都写在 peerDependencies,不额外安装)。

权限与数据

项说明
读取什么profile 里已归档会话的元信息;折叠标题时读取这些会话自己的 JSONL 日志
写什么归档集合(workspaces 的 archivedSessionIds)与插件自己的 storage 文件 archive_manager.json
删除什么只在用户点击"删除"并二次确认后,删除对应会话日志目录;自动清理永不删除
网络不发任何网络请求,不采集遥测,不连接外部服务
凭据不读写任何密钥

已知限制

  • 归档集合本身不记录归档时间:本插件在看到某会话进入归档集合的那一刻记录时间; 插件首次启动前就已归档的会话,用该会话 header 的创建时间兜底。
  • 标题从会话日志里的 session/title 折叠而来,无法在请求里实时完成(冷启 85 个会话约 6 秒), 因此首次打开列表时新会话可能短暂显示 ID,后台折叠完成后自动替换。
  • 极少数只有控制事件的会话(例如被拆分进来的子会话)本身没有标题事件,只能显示 ID。
  • 只注册了 settings.section 一处入口;宿主改这个 slot 名时该分区会静默不出现。
  • 面向 DSH 0.2.x 的 Web/桌面客户端;Host 侧未在纯 CLI profile 上验证。

English

Archive Manager for DSH adds the archived-session management surface that DeepSeek Harness lacks: browse archived sessions by date / workspace / title, unarchive them in bulk, and run a reversible auto-cleanup policy (auto-archive idle sessions, restore expired or excess ones). Nothing is ever deleted by the cleanup policy; deletion only happens when you explicitly ask for it.

dsh plugin --profile web add @gsnowdrift/dsh-archive-manager

Open Settings → Archived sessions. Requires DSH 0.2.x on the desktop or web profile. MIT licensed.

License

MIT