z953218350/dsh-archive-manager
面向 DSH Web UI 的 Codex 风格归档会话管理器——在设置页面中查看、搜索、恢复和删除归档会话。
Project Overview项目介绍
DSH Archive Manager is a native plugin built exclusively for DeepSeek Harness (DSH), designed to add Codex-style session archive management functionality to the DSH web interface. It can be installed via the official DSH CLI, or manually added via npm or pnpm to the web profile’s package.json, and requires DSH version 0.1.2-alpha.2 or newer to work correctly. Once installed and DSH is started, the plugin appears as an “Archive Management” card in the plugins section of the settings page, matching the visual style of official DSH cards. It offers top-level search, sorting filters, and project-based filters for archived sessions.
The plugin automatically groups archived sessions by their associated workspace or project, adding project folder icons and a count of sessions to each group. Each group has a more options menu that lets users delete all archived sessions in that project in one click. Users can click the view content button to open a popup that previews the most recent 50 messages in the session, with system injected text automatically cleaned from the preview. To restore a session, users just click the restore button, and it will be added back to the original workspace sidebar instantly.
The plugin does not require any external dependencies, as it has a built-in zstd multi-frame decompression engine based on Node.js’s built-in zlib module. This means users do not need to install the zstd command line tool on their system to use the plugin. It listens for changes to archived sessions in real time, so the archive list updates automatically when sessions are archived or restored from the DSH sidebar. DSH Archive Manager is released under the open source MIT license, and there is no cost for any use of it.
这是一款专为 DeepSeek Harness(DSH)开发的原生插件,为DSH的Web界面提供了和Codex 1:1一致的会话归档管理功能。它支持在设置页的插件分区直观查看、搜索筛选归档会话,可预览对话内容,支持一键取消归档以及彻底删除归档会话。界面遵循Codex的视觉交互规范,卡片风格和DSH官方规范保持统一,加载后即可使用归档管理能力。
该插件会将会话按照所属工作区或项目自动分组展示,每个分组都带有项目图标和对话计数,支持批量删除整个项目的所有归档会话。用户点击查看内容即可在弹窗中预览最近50条对话记录,无需恢复归档即可浏览内容,点击恢复即可将会话还原回原工作区列表。适合需要经常整理归档会话、希望保留Codex使用习惯的DSH用户。
该插件要求DSH版本不低于0.1.2-alpha.2,仅支持Web Profile,可通过DSH官方CLI或npm/pnpm安装到DSH的Web配置文件中。它内置基于Node zlib的zstd多帧解压引擎,无需额外安装系统级zstd命令行工具。项目采用MIT许可开源,无额外使用成本,数据根目录遵循DSH_HOME的解析规则。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-archive-manager(z953218350/dsh-archive-manager)
仓库:https://github.com/z953218350/dsh-archive-manager
本站详情页:https://www.yhbd.top/plugins/z953218350-dsh-archive-manager/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 12 · 最近提交 2026-08-31 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 12 stars - an early-stage project星标 12,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add -w @mlgbnb/dsh-archive-manager
把 z953218350/dsh-archive-manager 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Archive Manager 插件 (Codex-style 归档管理)
中文 | English
为 DeepSeek Harness (DSH) Web 界面提供与 Codex 1:1 一致的会话归档管理功能,支持在设置页中直观查看、搜索/筛选、预览对话内容、一键取消归档以及彻底删除归档会话。
当前版本要求 DSH >=0.1.2-alpha.2,并支持通过 DSH_HOME 指定 DSH 数据目录。

🌟 核心特性
- Codex 1:1 视觉与交互规范:
- 卡片外观保持 DSH 官方卡片统一规范(深灰背景、12px 圆角、矢量箭头旋转动效),仅在设置 -> 插件选项中加载;
- 展开后提供顶层搜索栏(
搜索已归档聊天)、排序筛选(全部聊天/最早优先)与项目筛选(所有项目/ 各具体项目)。
- 按项目分组与批量管理:
- 会话按所属工作区/项目自动分组展示,带有项目文件夹图标及对话计数;
- 每个项目组支持
···更多操作菜单,可一键「删除项目中的全部内容」。
- 真实内容解析、预览与还原:
- 自动解析底层会话流,精确展示会话标题、创建时间、对话轮数与磁盘占用大小,日期格式与 Codex 一致(如
2026年8月15日, 1:34); - 会话内容预览:点击「查看内容」按钮,无需恢复即可在弹窗中直接浏览该会话最近 50 条用户/助手消息记录(自动清理会话日志中的系统注入文本);
- 取消归档:点击「恢复会话」按钮,会话立即还原回原所属工作区列表,并通过 SSE 实时广播同步侧边栏;
- 彻底删除:点击「物理删除」按钮彻底删除会话元数据及磁盘数据文件,释放存储空间。
- 自动解析底层会话流,精确展示会话标题、创建时间、对话轮数与磁盘占用大小,日期格式与 Codex 一致(如
- 零外部依赖的解压引擎:
- 内置基于 Node
zlib的 zstd 多帧解压引擎,可读取session.jsonl.zstd与未压缩的session.jsonl,无需在系统中安装zstd命令行工具。
- 内置基于 Node
- 实时双向同步(Live Sync):
- 卡片展开时自动监听侧边栏归档变动,在工作区侧边栏归档或恢复会话时,归档管理列表自动无感同步更新。
📦 如何安装与配置到 DSH
DSH 采用 Cordis 模块化微内核架构,你可以通过以下方式安装该插件:
环境要求
- DSH
>=0.1.2-alpha.2 - Web Profile
- Node.js 内置
zlib(无需额外安装zstd命令行工具)
方法一:通过 NPM 线上源安装(推荐)
1. 使用 DSH 官方 CLI 命令一键安装
dsh plugin --profile web add -w @mlgbnb/dsh-archive-manager
如需固定当前版本,可执行:
dsh plugin --profile web add -w "@mlgbnb/dsh-archive-manager@1.0.10"
2. 或者在 Web Profile 目录下通过 npm/pnpm 安装
# 已设置 DSH_HOME 时
cd "$DSH_HOME/profiles/web"
# 未设置 DSH_HOME 时
cd ~/.dsh/profiles/web
npm i @mlgbnb/dsh-archive-manager
# 或使用 pnpm
pnpm add -w @mlgbnb/dsh-archive-manager
安装完成后,请确认 $DSH_HOME/profiles/web/package.json(未设置 DSH_HOME 时为 ~/.dsh/profiles/web/package.json)中的 dsh.profile.bundles 数组已包含 @mlgbnb/dsh-archive-manager:
{
"name": "dsh-profile-web",
"private": true,
"dependencies": {
"@mlgbnb/dsh-archive-manager": "^1.0.10"
},
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"@mlgbnb/dsh-archive-manager"
]
}
}
}
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
Tyan66666/billion-context-dsh
qkycir-123/dsh-run2skill