mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 09:41:04 +01:00
- P1: Replace process.exit(1) with process.exitCode = 1 so the finally block runs and browser.close() is called on failure - P2: Fix flag parsing to handle --wait 0 correctly using Number.isNaN instead of falsy || fallback - P2: Scope Bearer token to Paperclip origin only via page.route() instead of extraHTTPHeaders on all requests Co-Authored-By: Paperclip <noreply@paperclip.ing>