zhan1024/dsh-frontend-replay ↗★ 0

dsh-frontend-replay

Frontend Replay · 前端验修台:录制并回放前端故障,采集浏览器证据,按相同条件验收修复。Record frontend bugs, replay steps, and verify fixes with browser evidence.

Package
dsh-frontend-replay
Compatibility
Unverified
Version
0.2.0
License
MIT
Last updated
Nov 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add https://github.com/zhan1024/dsh-frontend-replay/releases/download/v0.2.0/dsh-frontend-replay-0.2.0.tgz

Configuration

Default data directory: .dsh-repro under the launching working directory. Set an absolute DSH_REPRO_DIR when using DSH from multiple directories or launching from another application.

export DSH_REPRO_DIR=/absolute/path/to/project/.dsh-repro
dsh web

Profile override ($DSH_HOME/profiles/web/cordis.patch.yml):

- id: dsh-frontend-replay
  config:
    dataDir: /absolute/path/to/project/.dsh-repro
    headless: false
    timeoutMs: 5000
    port: 0
    # executablePath: /path/to/custom/chromium

headless controls recording; replay always uses headless Chromium. port: 0 picks a free loopback port. A profile override replaces the whole config row, so restate fields you want to retain. DSH_REPRO_HEADLESS=1 enables headless recording for automated testing.

Standalone options:

dsh-frontend-replay --port 4317 --data-dir .dsh-repro --open
dsh-frontend-replay --headless --browser-path /path/to/chromium
dsh-frontend-replay install-browser --with-deps  # Linux CI / system dependencies