Bug Report Package
bug_reportPackage a recording into a paste-ready bug repro folder with a redacted clip, GIF, contact sheet, OCR'd errors, steps, environment, and report.md for gh issue create.
Instructions
Package a recording as a paste-ready repro folder: secret-scanned, redacted clip and GIF, contact sheet, steps from the event log, OCR'd errors, environment, report.md for gh issue create --body-file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Clip end s (default: recording end). | |
| gif | No | Also export a GIF (default true). | |
| input | No | Recording path (uses its .events.jsonl). | |
| start | No | Clip start s (default: end - clipSec). | |
| title | No | Issue title. | |
| actual | No | What happened. | |
| redact | No | Box out OCR-found secrets in every output (default true; needs Windows OCR). | |
| clipSec | No | Clip length without start (default 30). | |
| regions | No | Extra boxes (video px; start/end on the clip clock). | |
| expected | No | What should happen. | |
| maxBytes | No | GIF size budget (default 10000000). | |
| maxFrames | No | Scan frame cap (default 30). | |
| outputDir | No | Package folder (default: a new one in SCREENCAST_HOME/edits). | |
| overwrite | No | Replace a report already in outputDir. | |
| sessionId | No | Or a stopped session's id. | |
| errorPattern | No | Error-line regex. | |
| scanEverySec | No | OCR every N s (default 1). | |
| secretPattern | No | Secret regex (default: API keys, tokens, password: values). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipPath | Yes | ||
| jsonPath | Yes | ||
| outputDir | Yes | ||
| reportPath | Yes |