zoyluoblue/deepseek-harness-replay
Exports a DSH session as one self-contained HTML file, with faithful tool cards and playback at the session's original timing.
Turns a session into a single HTML file with CSS, JavaScript and images inlined, so it opens offline by double-click, can be mailed, or dropped on any static host. Every session event carries a millisecond timestamp, including individual stream chunks, so playback reproduces the rhythm the output actually had rather than a uniform typing animation; pauses longer than gapCeilingMs are compressed so playback never stalls on thinking time, and a pause over four times the ceiling is labelled in the transcript with its real duration. It is readable first and playable second: the page opens as a complete, searchable, Ctrl+F-able transcript and playback is a button, not a gate, with a JSON island so a reader without JavaScript still gets the text. Redaction rules run over the output and lean aggressive — an over-eager match is one click to undo in the preview, while a missed credential is already shared — but the README calls that a safety net rather than a guarantee, and tells you to read the preview. It deliberately does not edit or re-run a session, and cannot export a partial turn range.
Install
dsh plugin --profile web add @zoytown/dsh-replayThe npm line. Nothing else is needed to run it — the plugin is read-only with respect to sessions and never appends an event — and the README contrasts it directly with the harness's own /export, which downloads the raw session log as a ZIP: that artifact is for machines, this one is for people. Node ^22.19 || >=24.
Compatibility
Requires Node ^22.19 || >=24. Output is written into $DSH_HOME/replay/ (by default ~/.dsh/replay/) with a filename derived from the session title and a UTC timestamp — no caller, neither the Settings page nor the model, can choose a path — and the whole tree can be relocated with the dshHome config field. Three limits are fixed rather than configurable, and the README lists them: the model-facing result text is capped at 20,000 characters per call, subagent nesting is inlined three levels deep, and a pause earns a visible duration marker only above four times gapCeilingMs.
Details
- Repo: zoyluoblue/deepseek-harness-replay
- Category: Sessions & Messages
- Stars: 0
- Version: 0.1.1 (npm)
Alternatives
YanzuoLu/dsh-at-sessions · liuluopeng/dsh_peeker · Motues/dsh-session-curator