Tool-result collapsing in non-verbose mode now uses a general list of marker pairs instead of hardcoded prefixes
When Claude Code shows a tool's result in non-verbose mode, it collapses (elides) long or error-wrapped content so the terminal doesn't fill up. That detection used to rely on hardcoded prefix checks; it now first checks a general list of open/tail/end marker pairs, falling back to the old prefix-based check only if none match.
This is an internal restructuring of how collapsed content is recognized, making it easier to add new collapsible content types without touching the fallback logic. It shouldn't change what a user sees.