dsh-session-export
Manifest validDSH Session Export/Backup Tool: Lists local sessions and exports any session to Markdown/JSON (supports zstd and plaintext storage). Session export & backup for DeepSeek Harness.
dsh-session-export · DSH 会话导出/备份工具
把 DeepSeek Harness(DSH)本地保存的会话一键导出为 Markdown / JSON,用于备份、分享、整理与迁移。 Session export & backup tool for DeepSeek Harness (dsh) — list local sessions and export any of them to Markdown or JSON, with full chat turns, tool calls and results.
支持 zstd 压缩(.jsonl.zstd,DSH 默认存储格式)与明文(.jsonl)两种会话日志。纯 Node 实现,零第三方运行时依赖。
功能 Features
| 工具 | 说明 |
|---|---|
session_list | 列出所有本地会话:标题、ID、工作目录、创建时间、大小(支持关键字过滤) |
session_export | 导出指定会话为 Markdown(用户/助手消息、工具调用与结果、推理过程)或 JSON(结构化数据,便于二次处理) |
- 支持
outPath直接写文件,默认返回全文 - peer-only 依赖(随 DSH 宿主加载,无需额外安装)
- 标题自动取自 DSH 的
session/title记录,无标题时回退到首条用户消息
安装 Install
dsh plugin --profile web add dsh-session-export
# 或任意 profile:dsh plugin --profile <name> add dsh-session-export
安装后自动加入 profile 的 dsh.profile.bundles,重启/重载即可使用。
使用 Usage(agent 工具)
- 「列出我所有的会话」→ 调用
session_list - 「把会话
导出成 Markdown 存到 ./backup.md」→ 调用 session_export - 「把这个会话导出为 JSON 给我看」→
session_exportformat=json
English: "List all my sessions" → session_list; "Export session session_export.
会话数据来自 $DSH_HOME/sessions(默认 ~/.dsh/sessions)。
为什么选它 Why
- 备份防丢失:对话历史本地落盘,随时导出归档
- 分享与复盘:导出 Markdown 可直接发文档、贴博客
- 结构化迁移:JSON 导出便于摘要、统计、知识库入库
配套插件 Companion plugins
- dsh-session-search — 跨会话全文搜索
- dsh-context-dashboard — 会话上下文/Token 统计
License
MIT © istone
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.2.0 | — | — |
| 1.0.0 | — | — |
| 1.0.1 | — | — |
| 1.1.0 | — | — |
| 1.2.0 | — | — |
| 1.3.0 | — | — |
| 1.4.0 | — | — |
| 1.5.0 | — | — |
| 1.6.0 | — | — |
| 1.7.0 | — | — |
| 1.8.0 | — | — |
Comments
Loading…
Similar plugins
by DDDMUC
DSH 会话可读导出:把 DeepSeek Harness 会话导出成可读的 Markdown / HTML / 纯文本 / ZIP 文字稿(思考块、工具调用与结果、代码块、图片、时间戳、标题与用量)
★ 7
↓ 707/wk
MIT
JavaScript
Nov 5, 2026
dsh plugin --profile web add dsh-chat-exportby zhaoxuejie
DeepSeek Harness 会话黑匣子插件:全量旁路采集会话事件,一键导出美化 Markdown / HTML 复盘报告,内置 Web 统计面板
★ 1
↓ 23/wk
MIT
JavaScript
Sep 10, 2026
dsh plugin --profile web add dsh-plugin-session-exportby liuyuelintop
Export the current DSH conversation, or selected turns, as clean readable Markdown.
★ 1
↓ 114/wk
MIT
JavaScript
Aug 31, 2026
dsh plugin --profile web add dsh-conversation-exporterby bwndlct
Export DeepSeek Harness (DSH) sessions to portable Markdown and JSON — dsh plugin
★ 3
↓ 801/wk
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-session-exportby MuWinds
DeepSeek Harness 插件-归档会话管理,支持释放、清除归档会话
★ 7
MIT
TypeScript
Sep 12, 2026
dsh plugin --profile web add @muwinds/dsh-archived-sessionsby jh1016248
DSH(DeepSeek Harness)插件:会话标题栏一键导出当前会话 —— 「保存 MD」下载纯净 Markdown,「保存 HTML」下载带左侧目录、表格与代码块渲染的网页。自动过滤模型思考过程与工具调用记录,只保留用户与助手的正文,适合归档、分享与撰写报告。安装:dsh plugin --profile web add dsh-save-session
★ 0
↓ 690/wk
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-save-session