Properties
settleMs?
stepTimeoutMs?
order?
'per-chat' (default) compares each chat’s replies in order
but tolerates interleaving between chats; 'strict' compares the global order.
timestamps?
'ignore' (default) skips timing. { toleranceMs }
flags a reply whose delay after its triggering inbound turn differs from the
recorded delay by more than toleranceMs.
compareIds?
false: ids are volatile).
compareContent?
content when the expected turn has one (default true).
false compares only kind + text.
ignoreContentFields?
content to ignore (e.g. 'media', 'target.id').
redact?
redactTranscript(..., { outboundPatterns: true }).
On both sides, matches of the enabled patterns and placeholders/surrogates of those
categories (<phone:2>, +10000000001) all become <category:*> before comparing,
so bot-printed values that were redacted still match the real ones.
emails?
phones?
rules?
masks?
normalizeWhitespace?
true).
normalizeText?
Parameters
Returns
string
now?
t offsets (default Date.now).
Returns
number