mirror of
https://github.com/teamchong/pxpipe.git
synced 2026-07-22 02:02:51 +02:00
50ca4725df
Request bodies hold full prompts and any secrets in context. On 4xx (429s are routine) they were gzipped to ~/.pxpipe/events.jsonl / 4xx-bodies/ with no retention limit. Gate the capture behind captureErrorReqBody (env PXPIPE_DEBUG_CAPTURE_4XX=1), default off, with a one-time startup warning. The upstream errorBody (no user content) and the sha8 hash still land. Closes #69. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>