DeepSeek Harness plugin

dsh-agent-replay

Replay and share redacted DeepSeek Harness sessions as standalone HTML

Jump to install

Source facts

Repository
forrestsweet/dsh-agent-replay
Latest update
Aug 14, 2026
Category
Workflow & Automation
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/forrestsweet/dsh-agent-replay
Plugin: dsh-agent-replay
Author: forrestsweet

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.en.mdSource · read only
README language

Agent Replay for DeepSeek Harness

English | 简体中文

<p align="center"> <img src="docs/assets/hero.svg" alt="Agent Replay turns a Harness session into a replay and redacted standalone HTML" width="100%" /> </p>

<p align="center"> <a href="https://github.com/forrestsweet/dsh-agent-replay/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/forrestsweet/dsh-agent-replay/ci.yml?branch=main&style=flat-square" /></a> <a href="https://github.com/forrestsweet/dsh-agent-replay/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/forrestsweet/dsh-agent-replay?style=flat-square&logo=github" /></a> <a href="LICENSE"><img alt="MIT License" src="https://img.shields.io/badge/license-MIT-2f7d4a?style=flat-square" /></a> <a href="https://github.com/topics/dsh-plugin"><img alt="DeepSeek Harness plugin" src="https://img.shields.io/badge/DeepSeek_Harness-plugin-4176e6?style=flat-square" /></a> </p>

Replay what an agent actually did, then export a safer version to share. Agent Replay adds a native Replay tab to DeepSeek Harness. It turns real session messages, model responses, tool calls, commands, errors, and timing into a searchable timeline and a standalone HTML replay.

See it in 10 seconds

Replay the real sessionPrepare a share-safe export
![Replay tab inside DeepSeek Harness](docs/assets/replay.png)![Share page with privacy summary and HTML export](docs/assets/share.png)

1. Open any non-empty Harness session and select Replay. 2. Search, filter, inspect, or play events with their recorded timing. 3. Select Create share page and export one interactive .html file.

Why this exists

Harness already ships Trajectory, an excellent developer diagnostics surface. Agent Replay complements it instead of replacing it:

Harness TrajectoryAgent Replay
Primary jobInspect and debug the complete event ledgerReplay and communicate a session
AudienceAgent developersTeammates, maintainers, docs readers
DataRaw requests, usage, timing, event detailSelected messages, tools, commands, errors, timing
SharingIn-product diagnosisRedacted, standalone interactive HTML
Privacy boundaryFull local diagnostic contextSystem events excluded; common paths and secrets redacted

Features

  • Native session-scoped conversation.view tab
  • Real Harness snapshot data, including messages, tools, commands, errors, timestamps, and durations
  • Recorded-time playback at 1×, 2×, or 4×
  • Event search, type filters, detail inspection, copy, and older-history loading
  • Standalone HTML export with a Trajectory-like ledger, overview lanes, inspector, dark mode, and no runtime dependency
  • Share selection that excludes system/context events and assistant reasoning
  • Built-in redaction for macOS/Windows user paths, common token shapes, bearer tokens, and key/value credentials
  • English and Chinese UI, following the active Harness locale
  • Official Harness primitives, semantic tokens, dimensions, hover states, icons, and light/dark behavior

Install

From source

Requirements: Node.js 22.19+ (or 24+), pnpm, and a working DeepSeek Harness installation.

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

Open a non-empty session and select Replay beside Chat and Trajectory.

Directly from GitHub

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

Git dependencies run this repository's prepare build. pnpm 10 may ask you to allow the package build in the profile's pnpm-workspace.yaml; review the source, allow dsh-agent-replay, and rerun the command. Pin a commit SHA when reproducibility matters. See the official Harness publishing guide.

Remove

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

Privacy model

Agent Replay runs in the Harness web client and reads the session snapshot already available there. It does not upload session content and does not require another model key.

Before HTML export it:

  • excludes system/context events and live/incomplete events;
  • exports the assistant's final text instead of hidden reasoning;
  • replaces /Users/<name> and C:\\Users\\<name> prefixes;
  • redacts common GitHub/OpenAI/Slack-style tokens, bearer tokens, and credential assignments.

Redaction is a safety net, not a guarantee. Always review an exported replay before publishing it. If you find a bypass, please follow [SECURITY.md](SECURITY.md) instead of opening a public issue.

Development

pnpm install
pnpm typecheck
pnpm test
pnpm build
npm pack --dry-run --ignore-scripts

The plugin has two entry points:

  • src/index.ts is the Harness host bundle entry.
  • src/client/index.tsx registers the Replay view and renders session data.
  • src/privacy.ts owns independently tested public-event selection and redaction.
  • cordis.patch.yml composes the plugin into a Harness profile.

The UI deliberately follows ui-trajectory and ui-primitives from DeepSeek Harness. Contributions should reuse Harness primitives and --dsw-* semantic tokens rather than introduce a separate visual system.

Compatibility

The current release targets DeepSeek Harness 0.1.0-rc.5+ and is tested against 0.1.0-rc.6 development packages. Harness is pre-1.0, so client slot or snapshot contracts may change. Open a compatibility issue with both versions when reporting a regression.

Issues and pull requests are welcome. Start with [CONTRIBUTING.md](CONTRIBUTING.md), and see [CHANGELOG.md](CHANGELOG.md) for release history.

License

[MIT](LICENSE) © Agent Replay contributors.