Zephyr-vibe/dsh-archived-sessions
DSH 会话管理器:管理对话,安全归档/恢复,删除,打开记录文件夹。
Project Overview项目介绍
This is a native web plugin built exclusively for DeepSeek Harness (DSH) that adds a dedicated session management entry to DSH's settings panel, letting users manage all locally stored DSH conversations in one centralized place. The plugin organizes sessions into two separate tabs: one for all unarchived conversations and another for sessions that have been moved to archive. It supports toggling between a flat single-list view and a view grouped by user workspace, and includes a real-time search box that filters the session list by title or session ID.
The plugin is designed for DSH users who need to organize large numbers of conversations and avoid unnecessary clutter in the default DSH session list. It allows multiple selection via clicking, drag-select, or full select-all, and supports both batch archiving and batch deletion of selected sessions. Archived sessions can be moved out of the archive at any time and restored to the main active session list. Each session row can be expanded to show full details, including storage size, last updated time, activity stats, linked conversations, and output files, and subagent sessions are nested under their parent sessions for clearer hierarchy.
There are two common installation methods: users can install it directly via the DSH CLI using a tarball URL, or ask their DSH agent to automatically download and register the plugin to their profile. After installation, you only need to restart the DSH web interface to access the plugin, and no extra configuration is required because it automatically detects sessions following DSH's official directory structure. It only uses DSH's official public APIs, does not require modifying DSH core code, is released under the MIT open source license, and defaults to non-cascading deletion to avoid accidental data loss.
这是一款专为 DeepSeek Harness (DSH) 开发的原生 Web 插件,它在 DSH 的设置界面中提供了专门的「会话管理」入口,支持统一管理本机存储的所有 DSH 对话。插件将会话分为「所有对话(未归档)」和「归档会话」两个标签页,支持在单列表视图和按工作区分组视图之间切换,用户可按标题和相对时间浏览会话,还自带搜索框可按标题或会话 ID 实时过滤列表。
这款插件面向需要整理大量 DSH 对话、避免会话列表杂乱的 DSH 用户,支持通过勾选、拖动批量勾选或全选的方式选中会话,进行批量归档或删除操作,归档后的会话可以随时移出归档,恢复到正常会话列表。它支持展开每行查看会话详情,包括占用空间、最后更新时间、活动统计、关联对话和产出文件,还会将子代理会话嵌套显示在父会话下方,方便梳理会话层级关系。
该插件可通过 DSH CLI 命令直接 tarball 安装,也可以让 DSH 智能体自动下载安装到指定配置文件,安装后重启 DSH Web 端即可使用,无需额外配置,会自动按官方 DSH 目录结构识别会话。它仅使用 DSH 官方公开 API,不需要修改 DSH 核心代码,遵循 MIT 开源协议,删除操作默认不级联删除子会话和文件,可避免误删重要内容。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-archived-sessions(Zephyr-vibe/dsh-archived-sessions)
仓库:https://github.com/Zephyr-vibe/dsh-archived-sessions
本站详情页:https://www.yhbd.top/plugins/zephyr-vibe-dsh-archived-sessions/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 23 · 最近提交 2026-08-21 · 主语言 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 更稳。
- 23 stars - an early-stage project星标 23,属于早期项目
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 https://codeload.github.com/Zephyr-vibe/dsh-archived-sessions/tar.gz/refs/heads/main
把 Zephyr-vibe/dsh-archived-sessions 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-archived-sessions(DSH 会话管理)
中文
一个 DSH Web 插件:在「设置」中提供会话管理,统一管理本机上的所有对话。
功能
- 双标签页:所有对话(未归档)与归档会话
- 视图切换:单列表或按工作区分组(无工作区归属的会话兜底归入「未分组」)
- 按标题 + 相对时间浏览对话,最近的排在最前
- 搜索框:按标题或 ID 实时过滤会话列表
- 勾选 / 拖动批量勾选 / 全选 / 批量归档(记录保留)/ 批量删除(永久删除,带确认弹窗)
- 「删除会话」入口已移至会话头部(适配 DSH 0.1.0-rc.8):rc.8 起官方侧边栏行菜单(⋮)不再开放插件注入点(只剩 重命名/分叉/归档),删除按钮改放在打开的会话标题栏(🗑 垃圾桶图标)——确认弹窗可细粒度勾选删除其下子对话 / 下载·产出文件 / 整个文件夹,默认只删会话本身
- 归档页支持移出归档(回到所有对话)
- 打开记录文件夹按钮:在系统文件管理器中打开所选会话的记录目录,跨平台(
explorer/open/xdg-open) - 每行可展开详情(默认收起):占用空间、最后更新、活动统计(轮次、步骤、消息数、工具调用分布、fetch 记录)、产出/下载文件、父会话与子会话(分叉)
- 子代理会话嵌套显示在父会话下方(缩进 + 「子代理」徽标);父会话被删除或缺失时自动浮出为顶层行
- 删除父会话不会级联:子代理、分叉、下载/产出文件均保留,除非你显式勾选它们——避免误删
- 当前打开的会话显示「当前会话」徽标,且不可删除
截图
归档会话视图 / 子代理会话嵌套在父会话下
详情面板(含活动统计、产出文件、关联对话)
会话头部「删除会话」入口(rc.8 起删除入口移至会话头部)
删除确认弹窗——可勾选删除其下子对话 / 下载·产出文件 / 整个文件夹
安装
方式一:直接 tarball 安装
dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-archived-sessions/tar.gz/refs/heads/main
如果 pnpm 拦截构建脚本,在命令末尾加 --ignore-scripts:
dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-archived-sessions/tar.gz/refs/heads/main --ignore-scripts
方式二:让 agent 安装
告诉你的 DSH 智能体:
帮我把这个项目安装为插件:https://github.com/Zephyr-vibe/dsh-archived-sessions
agent 会下载项目、放入 profile 的 node_modules 并注册到 dsh.profile.bundles。
安装后重启 web 端,即可在「设置」中看到「会话管理」入口。
兼容性
- 零配置:会话目录按官方 DSH 布局(
$DSH_HOME/sessions/<project-key>/<session-id>/)自动识别,无需核心补丁 - 归档 / 恢复:基于官方
archiveSession相同的registry状态原语实现 - 删除不级联:只删除所选会话,子代理、分叉与文件均保留;运行中的会话拒绝删除(409)
- API 仅信任本机请求(127.0.0.1 / localhost / ::1);仅使用官方公开 API(
workspaceRegistry、sessionPersistence)
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