Repository navigation
First release of PocketRepro (vite-plugin-pocketrepro@0.1.0), a local Vite 8 development plugin that turns a bug observed on a physical phone into a reproducible Markdown report (bug.md) and versioned JSON file (bug.json) on the PC.
Highlights
- Opt-in Vite mobile mode (#9, #14): Activates only in
servedevelopment with--mode mobileor--mode mobile-fixed, requires an explicit private IPv4 address (--host) and fixed port, and stays completely out of regular development and production builds. - One-time QR pairing (#10, #11, #16): Prints a terminal QR code and pairing link with a two-minute lifetime, one-time redemption, 30-minute session lifetime, and
P+Enterrefresh recovery for used or expired codes. - Privacy-first capture, review, and local reports (#15): Captures approved route aliases, viewport, browser metadata, approved action clicks, and JavaScript exceptions (or silent failures), lets the tester pause, resume, remove steps, opt into error messages, or discard before sending, and saves
bug.md+bug.json(schemaVersion: 1) under.pocketrepro/reports/<id>/with idempotent retry handling. - Examples & verification (#6, #11, #15, #19): Includes the React/Vite IT incident reporting demo (
examples/incident-reporting), the framework-free silent-failure purchase request example (examples/silent-action), 16 unit tests, 3 Playwright Chrome scenarios, standalone.tgzpackaging verification, and physical Android validation on Windows 11.