You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(gmail): stable plain TSV for --text and time-bounded PDF extraction
Address review on the --inline/--text attachment modes:
- --plain output stays a stable one-record-per-line TSV: values containing
tabs/newlines (extracted text) are emitted as a single Go-quoted field,
with a regression test that round-trips multiline text via strconv.Unquote.
- PDF parsing of attacker-controlled attachments is now bounded: a 10s
timeout (on top of the existing 3 MiB input cap and panic recovery) so a
pathological PDF cannot hang the command or a long-lived MCP server.
- Adversarial fixture test: corrupt PDF input surfaces a clear reason
instead of text, without panicking.
Co-Authored-By: Claude Fable 5 <[email protected]>
0 commit comments