dsh-save-session
Manifest validDSH (DeepSeek Harness) plugin: one-click export of the current session from the session title bar — "Save MD" downloads clean Markdown, "Save HTML" downloads a webpage with a left sidebar table of contents, tables, and rendered code blocks. Automatically filters out the model's reasoning process and tool call records, keeping only the main text from the user and the assistant. Ideal for archiving, sharing, and writing reports. Installation: dsh plugin --profile web add dsh-save-session
dsh-save-session
一个 DeepSeek Harness (DSH) 插件:在会话头部提供两个一键下载按钮,把当前会话导出为 Markdown 或渲染后的 HTML。
功能
- ⬇ 保存 MD — 下载
session-<时间戳>.md - ⬇ 保存 HTML — 下载
session-<时间戳>.html- Markdown 已渲染(标题 / 代码块 / 列表 / 引用 / 链接 / GFM 表格 / 行内代码 / 粗斜体)
- 左侧目录面板:每条消息一行(角色 + 单行预览),点击跳转;窄屏自动隐藏
- 同时注册模型工具
save_session_md:对话中说"保存当前会话为 md"即可,可选path参数, 默认写入会话工作目录
内容规则
导出只包含用户消息与助手正文。以下内容一律过滤:
- 模型思考过程(reasoning)
- 工具调用与工具结果
- 注入的上下文 / 子代理报告
安装
dsh plugin --profile web add dsh-save-session
然后重启 profile(dsh web),按钮出现在会话标题栏右侧操作行。
工作原理
- Host:
sessionQuery.readSurface读取会话消息 → 过滤 → 生成 md / html;webServer注册GET /plugins/dsh-save-session/download?session=<id>&format=md|html按需生成并作为附件下发;tools注册save_session_md。 - Client:在
conversation.session.header.actions槽位注册两个纯<a download>链接, 无需 RPC。
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
Comments
Loading…
Similar plugins
by lxchapu
DSH(DeepSeek Harness)插件:把会话从磁盘上彻底删除。任意会话的「…」菜单里可删单条,侧边栏切到「仅显示已归档」时可一键删除全部已归档会话;两者都先弹二次确认,正在运行的会话会被拒绝删除。
★ 1
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add @lxchapu/dsh-session-purgeby DDDMUC
DSH 会话可读导出:把 DeepSeek Harness 会话导出成可读的 Markdown / HTML / 纯文本 / ZIP 文字稿(思考块、工具调用与结果、代码块、图片、时间戳、标题与用量)
★ 7
↓ 15/wk
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add dsh-chat-exportby BPTumbleweed
DSH「置顶对话」插件:会话头部与会话行内一键 📌,把重要对话钉在侧栏分组顶部;宿主端只存事实(原子写 JSON + 信任栅栏内的 HTTP 接口),排序由客户端在 DOM 层完成。零运行时依赖、能力探测与熔断、面向跨版本升级设计。
★ 0
MIT
JavaScript
Sep 16, 2026
dsh plugin --profile web add dsh-pin-sessionby keepermttl
DeepSeek Harness 归档会话管理插件:查看/恢复已归档会话(回到原工作区分组)+ 右上角一键关闭 dsh。MIT 许可,欢迎收录到任何插件合集,注明出处即可。
★ 4
MIT
TypeScript
Sep 26, 2026
dsh plugin --profile web add @dsh-external/dsh-archive-viewerby YeqingTang
DSH 会话信息流重设计插件:跨会话档案柜,折叠时间线 / 血缘树 / 检索 / 双模式摘要 / ZIP 导出 / 实时跟踪。Redesign the DSH session flow: cross-session archive with folded timeline, lineage, search, summaries, ZIP export and live tracking.
★ 4
↓ 991/wk
Apache-2.0
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-session-flowby drscrewdriver
DSH Web 插件:会话管理台(原名 dsh-session-steward)—— 活跃/归档会话统一管理(浏览、筛选、收藏、批量归档/取消归档/清理),外加四门会话体检;入口自适应顶栏工具行或底栏。不含搜索/索引、不依赖 DRS(搜索在 dsh-search-index)。
★ 1
MIT
TypeScript
Oct 25, 2026
dsh plugin --profile web add dsh-manage-session