bwndlct/dsh-session-export
Export DeepSeek Harness (DSH) sessions to portable Markdown and JSON — dsh plugin
dsh-session-export reads the current session's event-sourced log and writes self-contained transcript files in portable, human-readable Markdown and structured JSON — with a stable, versioned export schema decoupled from DSH internals. Two entry points: the session_export() tool (ask the model to export any time) and the /session-export [markdown|json|all] slash command (one keystroke, zero model tokens). Exports preserve faithful execution order (user/assistant messages incl. reasoning, tool calls with parsed arguments, tool results incl. failures), handle unknown event types/missing metadata/hostile code fences/huge tool results without crashing, use cross-platform-safe filenames, and never overwrite existing files.
Install
dsh plugin --profile web add dsh-session-exportnpm dsh-session-export 0.2.0 verified 2026-09-01 (README EN edition; repo bwndlct/dsh-session-export). Requires dsh >= 0.1.0-rc.6. After install, add dsh-session-export to the bundles list in the profile's package.json (the plugin ships a dsh.bundle patch manifest) and restart dsh. GitHub install: dsh plugin --profile web add github:<your-org>/dsh-session-export.
Compatibility
dsh >= 0.1.0-rc.6; web profile; zero runtime dependencies (TypeScript, Node built-ins).
Details
- Repo: bwndlct/dsh-session-export
- Category: Files & Data
- Stars: 3
- Version: npm dsh-session-export 0.2.0
- Last push: 2026-08-14
- First seen: 2026-08-14
Recent updates
session_export() tool + /session-export command; Markdown + JSON with schemaVersion; faithful execution order; zero runtime deps.
FAQ
- How do I export a session?
- Ask the model (session_export() tool) or type /session-export markdown|json|all in the Web UI — zero model tokens.
- What's in the export?
- User and assistant messages (incl. reasoning), tool calls with parsed arguments, and tool results (incl. failures) in exact execution order.
- Does it ever overwrite files?
- No — cross-platform-safe filenames are generated and existing files are never overwritten.
Alternatives
whyihaveyou/dsh-suite#plugin-session-export · yangyongzhen/dsh-session-export