> 🤖 This PR was modified by Coder Agents on behalf of Jake Howell.
Move cited web pages from the separate source-pill row into a compact
Sources control in the message action bar, alongside Copy and
Attachments. Stacked site icons open a list of cited page titles and
hosts, while each search row keeps the pages that search found.
Non-HTTP(S) sources remain unlinked.
Collect and deduplicate citations across each completed turn so they
appear with its final assistant output, including when steps are
collapsed. Add regression tests, Storybook coverage, and documentation
for the control.
<img width="762" height="458" alt="image"
src="https://github.com/user-attachments/assets/0bc59d13-6f42-48a6-8c38-46922bbdca50"
/>
Refs CODAGT-1476.
<details>
<summary>Review follow-up</summary>
Long source titles wrap, non-web URLs remain fully visible, and new-tab
links have visual and accessible indicators. Opening Sources focuses the
first web link, with dialog fallback when no link exists. The action bar
wraps on narrow screens.
Attachments and citations share turn splitting, host selection, and
completion checks. Folded-block source lookup skips row slicing when a
row has no citations. A synthetic 10,000-row helper benchmark improved
from 23.9 ms to 5.2 ms (median); this is not an end-to-end rendering
measurement.
</details>