Pasted/typed text expansion now avoids re-expanding duplicate spans and holds back 'ultraplan' matches
When Claude Code expands typed or pasted text, it now looks at all the text fragments together first. If the same content appears more than once, it avoids expanding overlapping duplicate spans a second time.
There's also a special case: if any of the matched fragments contains the word "ultraplan" (case-insensitive) and that exact text isn't already present verbatim elsewhere, the whole set of matches is suppressed and nothing gets expanded.
The deduplication prevents the same pasted text from being expanded multiple times when it appears more than once. The "ultraplan" carve-out stops that specific expansion from firing in situations where it would likely be wrong.
What triggers expansion here and what 'ultraplan' expands to isn't stated in the finding.