Workflow agent card's expand/collapse scrolling logic was generalized to handle multiple collapsible regions
The calculation Claude Code uses to keep your scroll position steady when expanding or collapsing a workflow agent card's detail view was rewritten. Previously it handled a single hardcoded case (the collapsed prompt). Now it works with a general list of 'fold regions', each with its own end point and growth amount, so multiple collapsible sections can be accounted for.
This is an internal refactor that supports more kinds of collapsible content in the agent card without the scroll position jumping around; it's not expected to change what you see, only to make future card layouts easier to support correctly.