zoyluoblue/deepseek-harness-replay0

@zoytown/dsh-replay

DeepSeek Harness (dsh) plugin that exports a session as a self-contained, replayable HTML file — full transcript, faithful tool cards, and playback at the original timing.

包名
@zoytown/dsh-replay
版本
0.1.0
许可证
MIT
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zoyluoblue/deepseek-harness-replay

Configuration

Every documented knob is a cordis.yml field. A few internal limits (the 20,000-character result cap, the 3-level subagent depth, the 4x gap-marker threshold) are fixed; they are listed under Known limitations.

- id: dsh-replay
  name: '@zoytown/dsh-replay'
  config:
    gapCeilingMs: 1200        # longest pause replayed verbatim
    includeSubagents: true    # inline delegated sessions by default
    redaction:
      enabled: true
      rules: []               # extra regular-expression sources
FieldDefaultMeaning
gapCeilingMs1200Pauses longer than this are clamped during playback. Pauses over 4x this value additionally get a N later marker in the transcript, so a long gap is never silently swallowed.
includeSubagentstrueInline subagent sessions as collapsible blocks.
redaction.enabledtrueScan human-triggered exports. The session_export tool always redacts regardless of this flag.
redaction.rules[]Extra regular-expression sources appended to the built-in rules. An invalid pattern fails the plugin load rather than silently not running.
dshHome$DSH_HOMEOverride the home the replay/ directory lives under.

What redaction masks by default

Home directory paths (shortened to ~), and values matching OpenAI-style keys, GitHub tokens, AWS access key ids, Slack tokens, Google API keys, Bearer tokens, JWTs, PEM private-key blocks, and assignments to names containing PASSWORD / SECRET / TOKEN / API_KEY / ACCESS_KEY / PRIVATE_KEY.

Rules lean aggressive on purpose: an over-eager match is one click to undo in the preview, while a missed credential is already shared. Redaction is a safety net, not a guarantee — read the preview before you send a transcript anywhere.