Introduction

DSH’s extension method emphasizes pluginization, allowing the Web client to add new session views. dsh-agent-replay is a DSH plugin maintained by forrestsweet, released under the MIT License, used to replay and share sanitized DeepSeek Harness sessions, ultimately exporting them as standalone HTML.

Harness sessions typically contain messages, tools, commands, errors, timestamps, and duration. To review a session chronologically or organize a session into shareable materials, a structured replay view is required. Below is an introduction to the positioning, features, installation methods, and precautions when exporting share pages of dsh-agent-replay.

Overview

dsh-agent-replay adds a native, session-level conversation.view tab to DeepSeek Harness.

It uses Harness real snapshots completely, reading messages, tools, commands, errors, timestamps, and duration, and provides search, filtering, inspection, replay, and standalone HTML export capabilities. Its goal is not to replace existing views within Harness, but to add two layers of usage paths: “replay” and “generate share page”.

Core Features

  • Native, session-level conversation.view tab
  • Completely uses Harness real snapshots: messages, tools, commands, errors, timestamps, and duration
  • 1x, 2x, 4x playback speed
  • Search, type filtering, detail inspection, copying, and loading earlier history
  • Standalone HTML export: Trajectory-style event ledger, overview track, detail inspector, dark mode, no runtime dependencies
  • Excludes system/context events and assistant hidden reasoning when sharing
  • Automatically sanitizes macOS/Windows user paths, common tokens, Bearer tokens, and key-value credentials
  • Chinese/English UI, following Harness’s current language
  • Reuses Harness official components, semantic tokens, sizing, interaction states, icons, and light/dark behavior

Installation and Activation

First, confirm the environment: Node.js 22.19+ (or 24+), pnpm, and a functional DeepSeek Harness.

Install directly from GitHub

Install the plugin to the web profile:

dsh plugin --profile web add github:forrestsweet/dsh-agent-replay

After installation, open any non-empty Harness session and you can select the “Replay” tab.

Install from source

If you wish to inspect the local code first, you can also build and install from source:

git clone https://github.com/forrestsweet/dsh-agent-replay.git
cd dsh-agent-replay
pnpm install
pnpm check
dsh plugin --profile web add .
dsh web

This step completes the local installation, check, and profile registration first, and then starts dsh web.

After the steps above, open any non-empty Harness session, select “Replay”, and you can enter the session view provided by the plugin.

Uninstall

If you are no longer using it, you can remove it:

dsh plugin --profile web remove dsh-agent-replay

Note on pnpm 10

pnpm 10 may require explicitly allowing the package to build in the profile’s pnpm-workspace.yaml.

In this case, check the source code first, allow dsh-agent-replay, and re-run the installation command.

Typical Usage

  1. Open any non-empty Harness session and select “Replay”.
  2. Search, filter by type, inspect events, or play back at 1x, 2x, or 4x speed.
  3. Select “Generate Share Page” to export an interactive .html file.

Share Page Contents

The exported .html file is a standalone file containing:

  • Trajectory-style event ledger
  • Overview track
  • Detail inspector
  • Dark mode
  • No runtime dependencies

This means the share page does not depend on extra scripts from the plugin runtime and is suitable as a static HTML file or page for viewing.

Privacy and Sanitization

Agent Replay runs within the Harness Web client and only reads session snapshots that already exist in the browser. It does not upload session content and does not require extra model keys.

Before export, it excludes system/context events and assistant hidden reasoning, and automatically sanitizes macOS/Windows user paths, common tokens, Bearer tokens, and key-value credentials.

Automatic sanitization is a safety net, not an absolute guarantee. Please manually check the exported file before publishing publicly. If you discover a sanitization bypass, please report it privately following SECURITY.md and do not create a public Issue.

Compatibility

The current version targets DeepSeek Harness 0.1.0-rc.5+ and uses 0.1.0-rc.6 for development dependency validation.

Harness is still pre-1.0, and client slots or snapshot contracts may change.

Use Cases and Pre-installation Checks

dsh-agent-replay is suitable for these scenarios:

  • Need to review a Harness session chronologically
  • Need to inspect messages, tools, commands, errors, timestamps, and duration
  • Need to export an interactive, shareable standalone HTML file
  • Need to generate a sanitized share page without uploading session content

It is recommended to check the source code and the MIT license before installation. It runs in the current DSH/Harness client environment and reads session snapshots that already exist in the current browser, so it should not be treated as a static file without permissions.

Conclusion

dsh-agent-replay organizes Harness sessions into standalone HTML that can be replayed, inspected, and shared, making it suitable for use when you need to explain a session process, inspect event details, or export sharing materials.

  • GitHub: https://github.com/forrestsweet/dsh-agent-replay
  • Directory Page: No specific URL provided in the materials; you can search for dsh-agent-replay in the DSH plugin directory.