dsh-save-session: A Session Export DSH plugin for DeepSeek Harness

jh1016248/dsh-save-session

Sessions & MessagesVerified
Listed on 2026-09-09
Page last updated 2026-09-16

A DSH plugin that adds one-click export buttons to the session header, saving the current conversation as clean Markdown or rendered HTML with a sidebar TOC, filtering out reasoning and tool calls for easy archiving and sharing.

dsh-save-session is a DSH plugin that adds export capability to DeepSeek Harness sessions by placing two download buttons on the right side of the session header action row. It targets the problem of sessions being hard to preserve: reasoning traces, tool calls and injected context are stripped away automatically, leaving only user and assistant text as a clean, readable document. Beyond the buttons, you can ask the assistant to invoke the model tool and save Markdown to a chosen path, while the HTML version ships with a sidebar table of contents for quick jumps in long conversations.

How to Install

install
dsh plugin --profile web add github:jh1016248/dsh-save-session
Category
Sessions & Messages
Platform
DSH Plugin
Author
jh1016248
Distribution
Plugin

dsh-save-session Key Features

One-click export from headerExport clean Markdown fileExport rendered HTML with TOCFilters reasoning and tool callsRegisters save_session_md tool
Listed on dsh-plugin.org

dsh-save-session Repo Summary

What Does It Do?

DSH Save Session is a DSH plugin for DeepSeek Harness that adds two one-click download buttons to the session header, exporting the current conversation as Markdown or rendered HTML. It solves the problem of archiving, sharing and reporting on sessions: reasoning traces and tool-call records are filtered out, so only user and assistant text remains. Maintained by jh1016248 under the MIT license, written in JavaScript and last updated in 2026-09.

Core Features

  • Save MD: downloads a Markdown file containing only user messages and assistant text, ready for archiving or editing.
  • Save HTML: downloads a rendered page with headings, code blocks, lists, quotes, links, GFM tables, inline code and bold/italic text.
  • Sidebar table of contents: each message gets one row with role and a single-line preview; clicking jumps to it, and the panel hides on narrow screens.
  • Content filtering: model reasoning, tool calls and results, injected context and sub-agent reports are all excluded.
  • Model tool: registers save_session_md so you can ask the assistant to save the session as Markdown, with an optional path parameter defaulting to the session working directory.

How to Use This Plugin?

Once enabled in DSH, the buttons appear on the right side of the session header action row; click Save MD or Save HTML to download the current session. You can also skip the buttons and simply ask the assistant in conversation to save the session as Markdown, optionally naming a target path; without one, the file lands in the session working directory. The exported HTML ships with a left-hand table of contents for jumping around long conversations, which collapses automatically on narrow screens.

How to Troubleshoot This Plugin?

If the buttons do not appear, the plugin is usually not active in the current profile; confirm its enabled state as described in the official instructions and restart the web profile. If some messages seem missing from the export, that is the intended filtering behavior: reasoning, tool calls and injected context are never written, only user and assistant text is kept.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: jh1016248/dsh-save-session. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ