DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.
Text truncation now returns both ends separately, and long lines compute highlight positions once instead of repeatedly.
What's wrong with this entry?
Anonymous. No account, no email.
What
The text truncation helper now hands back the leading and trailing pieces for callers to join, and the renderer routes truncate-start, truncate-middle and middle modes through it. Measured lines precompute their displayed text and offset so highlight positions are worked out once per line instead of per row.
Evidence
displayStartOffset
Strings lifted out of the shipped bundle, so the claim above can be checked against them.