Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
会话与消息 #deepseek-harness#deepseek-harness-plugin#deepseek-harness-plugins#dsh#dsh-plugin#plugin

dsh-archived-sessions

DSH 会话管理器:管理对话、归档/恢复、安全删除、打开记录文件夹。

zephyr-vibe @zephyr-vibe ⬇ 2 ★ 5 main

安装

dsh plugin --profile web add github:zephyr-vibe/dsh-archived-sessions
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

DSH 会话管理器:管理对话、归档/恢复、安全删除、打开记录文件夹。

该插件未提供要点说明,请参考仓库 README。

deepseek-harnessdeepseek-harness-plugindeepseek-harness-pluginsdshdsh-pluginplugin
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/zephyr-vibe/dsh-archived-sessions
许可证MIT
主要语言main
下载量2
GitHub 星标5
最近推送2026-08-14
收录日期2026-09-19
分类会话与消息

事实信息来自公开插件目录快照(2026-10-03),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# dsh-archived-sessions

A DSH web plugin: a **Session Manager** in Settings — manage every conversation on this machine in one place.

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

## Features(功能)

### English

- **Two tabs**: **All conversations** (non-archived) and **Archived**
- **View modes**: **flat list** or **grouped by workspace** (sessions without a workspace fall back to "Ungrouped")
- Browse conversations by title + relative time, newest first
- Checkbox / drag-to-select / select-all / batch **archive** (records kept) / batch **delete** (permanent, with a confirmation modal)
- **Unarchive** from the Archived tab (move back to All conversations)
- **Open record folder** button: opens the selected session's record directory in your OS file manager — cross-platform via `explorer` / `open` / `xdg-open`
- Expand each row for details (collapsed by default): size on disk, last update, produced/downloaded files, parent and child (fork) sessions
- **Subagent sessions** are shown nested under their parent conversation (indented, with a "subagent" badge); when the parent is deleted or missing they surface as top-level rows
- **Deleting a parent session does NOT cascade**: subagent children, forks, and downloaded/produced files are kept unless you explicitly select them — nothing is lost accidentally
- The currently open session shows a **Current** badge and **cannot be deleted**

### 中文

- **双标签页**:**所有对话**(未归档)与**归档会话**
- **视图切换**:**单列表**或**按工作区分组**(无工作区归属的会话兜底归入「未分组」)
- 按标题 + 相对时间浏览对话,最近的排在最前
- 勾选 / 拖动批量勾选 / 全选 / 批量**归档**(记录保留)/ 批量**删除**(永久删除,带确认弹窗)
- 归档页支持**移出归档**(回到所有对话)
- **打开记录文件夹**按钮:在系统文件管理器中打开所选会话的记录目录,跨平台(`explorer` / `open` / `xdg-open`)
- 每行可展开详情(默认收起):占用空间、最后更新、产出/下载文件、父会话与子会话(分叉)
- **子代理会话**嵌套显示在父会话下方(缩进 + 「子代理」徽标);父会话被删除或缺失时自动浮出为顶层行
- **删除父会话不会级联**:子代理、分叉、下载/产出文件均保留,除非你显式勾选它们——避免误删
- 当前打开的会话显示「当前会话」徽标,且**不可删除**

## Install(安装)

### 方式一:直接 tarball 安装

Option 1: Direct tarball install.

```sh
dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-archived-sessions/tar.gz/refs/heads/main
```

如果 pnpm 拦截构建脚本,在命令末尾加 `--ignore-scripts`:

If pnpm blocks build scripts, append `--ignore-scripts`:

```sh
dsh plugin --profile web add https://codeload.github.com/Zephyr-vibe/dsh-archived-sessions/tar.gz/refs/heads/main --ignore-scripts
```

### 方式二:让 agent 安装

Option 2: Let an agent install it — tell your DSH agent:

```text
帮我把这个项目安装为插件:https://github.com/Zephyr-vibe/dsh-archived-sessions
```

The agent downloads the repo, places it into the profile's `node_modules`, and registers it in `dsh.profile.bundles`.

agent 会下载项目、放入 profile 的 `node_modules` 并注册到 `dsh.profile.bundles`。

安装后重启 web 端,即可在「设置」中看到「会话管理」入口。

After installing, restart the web app — the Session Manager appears in Settings automatically.

## Compatibility(兼容性 / 零配置)

Zero configuration — no setup and no core patches required. The plugin works out of the box on a stock Harness.

零配置:无需任何设置,纯净 Harness 开箱即用。

- **Zero config**: session record directories are derived automatically from the official DSH layout (`$DSH_HOME/sessions///`), so the plugin works on an unmodified Harness — no core patches required.
- **Archive / unarchive**: works on stock Harness, using the same registry state primitives the official `archiveSession` is built on.
- **Delete**: the plugin detaches workspace accounting, removes the archive-set entry, and deletes the session directory via its physical location. On Harness builds that already provide `workspaceRegistry.deleteSession` / `sessionPersistence.remove`, it uses those instead. Deletion is deliberately **non-cascading**: subagents, forks, and files are untouched unless explicitly selected. Live running sessions are rejected with a friendly message (409); open-but-idle sessions on a stock Harness ask you to switch away or restart first (same limitation as the official sidebar delete, since there is no public "dispose agent" API).
- **Open record folder**: opens the directory with the OS file manager (`explorer` / `open` / `xdg-open`), cross-platform.
- **Loopback-bound API**: the plugin's JSON API only trusts loopback requests (127.0.0.1 / localhost / ::1). Starting the web app with `--host 0.0.0.0` or a LAN address makes the Session Manager unavailable (all requests are refused with 403).(API 仅信任本机回环请求:用 `--host 0.0.0.0` 或局域网地址启动 web 端时,「会话管理」不可用,所有请求返回 403。)
- **Delete current session**: the UI disables deleting the currently open session, and DSH's host side exposes no public "current session" API, so the API itself cannot reject it. Any local process that can reach the loopback API could delete it directly (same behavior as the official delete endpoint) — the running-session 409 guard still applies.(UI 禁止删除当前会话;DSH host 端无公开的「当前会话」API,因此接口本身无法拒绝。任何可访问本机 API 的本地进程仍可直接删除当前会话——与官方删除接口行为一致;运行中会话的 409 保护仍然生效。)
- **Concurrent archive/unarchive**: the plugin serializes its own archive-set mutations, and deletion cleans up orphaned archive entries, but an extreme race between the plugin queue and the core `archiveSession` queue (same-millisecond archive + unarchive/delete interleaving) can still lose an update; the UI recovers on the next refresh.(插件自身对归档集变更做了串行化,删除也会清理孤儿归档条目;但插件队列与核心 `archiveSession` 队列之间极端并发(同一毫秒内归档与取消归档/删除交错)仍可能丢失一次更新,刷新后 UI 自动恢复。)
- Only official public APIs are used (`workspaceRegistry`, `sessionPersistence`, the `agents`/`sessions` services, and its own fenced HTTP routes) — no modification of DSH core files.

## Changelog(更新日志)

### 0.1.2

- **Search box**: filter the session list by title or id in real time
- **Activity stats** in the detail panel: turns, steps, user/assistant messages, tool-call distribution and fetch history
- **Safer file deletion**: only files produced by the session can be deleted (directories rejected), with a confirmation dialog and all-settled error summary
- Batch operations now run in **batches of 20** — selecting hundreds of sessions no longer floods the browser
- Orphan subagent sessions (parent deleted) are visible again in the workspace view
- Detail lineage no longer lists the same subagent twice; a failing workspace no longer blocks an entire delete
- Relative timestamps refresh automatically; keyboard (Tab + Enter/Space) selection; drag-select no longer sticks after releasing outside the window
- Open-record-folder now works for sessions without a working directory (`_no-cwd` layout); deleting a missing session returns 404
- Detail responses are bounded (files ≤ 200, fetches ≤ 50) so huge sessions stay snappy
- README documents the loopback-only API and current-session delete limitation

### 0.1.1

- Subagent sessions are now **collapsed by default** and expand on click (expand/collapse arrow on the parent row)
- Subagents follow their parent into the correct **workspace group** (no longer dumped into "Ungrouped")
- Deleting a parent session is now **non-cascading**: subagents, forks, and files are kept unless explicitly selected
- Open-record-folder button; batch archive / unarchive / delete with confirmation; current-session protection
- **Zero config** on stock Harness — official APIs only, no core patches

### 0.1.0

- Initial release: two tabs (All conversations / Archived), flat / by-workspace views, batch archive & delete, detail expansion, subagent nesting

## License

MIT — © 2026 Zephyr-vibe

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。