OptionalemailsRedact emails in texts (default true).
OptionalphonesRedact phone-like digit runs (7+ digits) in texts (default true).
OptionalidsReplace chat/sender/message ids with placeholders (default true).
OptionaldisplayDisplay names: 'placeholder' (default) replaces them with <name:N> in the
field and in every text; 'drop' removes the field but still redacts the name
in texts; 'keep' leaves them untouched.
OptionaloutboundApply the email/phone/custom patterns to outbound texts too (default false:
outbound texts only get values learned from inbound turns). Replay such a
golden with replayTranscript(..., { redact: { ... } }).
OptionalsurrogatesUse format-valid surrogates instead of <email:N> / <phone:N>
(email1@redacted.invalid, +10000000001), so validation steps in flows
accept the redacted input on replay. Default false.
OptionaldropDrop startedAt (the wall-clock start) (default true).
OptionalrulesExtra patterns.
OptionalallowValues that must never be redacted (e.g. a support phone printed by the bot).
OptionalmapReuse placeholders across transcripts. Mutated in place.
Options for redactTranscript.