Zephyr-vibe/dsh-archived-sessions 预览 preview

Zephyr-vibe/dsh-archived-sessions

Plugin插件 Native原生 ⭐ 23 MIT Sessions & Context会话与上下文

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 开源协议,删除操作默认不级联删除子会话和文件,可避免误删重要内容。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 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 会话管理)

中文 | English

中文

一个 DSH Web 插件:在「设置」中提供会话管理,统一管理本机上的所有对话。

English

功能

  • 双标签页:所有对话(未归档)与归档会话
  • 视图切换:单列表或按工作区分组(无工作区归属的会话兜底归入「未分组」)
  • 按标题 + 相对时间浏览对话,最近的排在最前
  • 搜索框:按标题或 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 →

← 上一个 Prev DSH-CyberWorkStation 下一个 Next dsh-russian-lang →