Gracefully handle `@mention`-ing large files with no outlines (#42543)

Closes #32098

Release Notes:

- In the Agent panel, when `@mention`-ing large files with no outline,
their first 1KB is now added to context
ab352f669eRichard Feldman committed on 11/12/2025, 4:55:25 PM· committed by GitHubparente791882
3 files changedLine totals unavailable