DeepSeek Harness plugin

dsh-session-export-uckkk

DSH 会话导出/备份:列出本地所有会话,把任意会话导出为 Markdown / JSON(含标题、时间、工作目录与完整对话与工具调用)。Session export & backup tool for DeepSeek Harness (dsh) — export chat sessions to Markdown or JSON.

Jump to install

Source facts

Repository
uckkk/dsh-session-export
Latest update
Aug 17, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/uckkk/dsh-session-export
Plugin: dsh-session-export-uckkk
Author: uckkk

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-session-export · DSH 会话导出/备份工具

![npm](https://www.npmjs.com/package/dsh-session-export) ![GitHub](https://github.com/uckkk/dsh-session-export) ![License: MIT](LICENSE)

把 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
  • 「把会话 <id> 导出成 Markdown 存到 ./backup.md」→ 调用 session_export
  • 「把这个会话导出为 JSON 给我看」→ session_export format=json

English: "List all my sessions" → session_list; "Export session <id> to Markdown at ./backup.md" → session_export.

会话数据来自 $DSH_HOME/sessions(默认 ~/.dsh/sessions)。

为什么选它 Why

  • 备份防丢失:对话历史本地落盘,随时导出归档
  • 分享与复盘:导出 Markdown 可直接发文档、贴博客
  • 结构化迁移:JSON 导出便于摘要、统计、知识库入库

配套插件 Companion plugins

License

MIT © istone