agent_ui: Disable editing and regeneration for subagent messages (#51654)

We had inconsistent handling of this read-only behavior. Now subagents
should behave the same as agents that don't support editing

Release Notes:

- agent_ui: Fix inconsistent behavior for subagent views when focusing
on previous messages.
603e6d6742Ben Brandt committed on 3/16/2026, 12:13:23 PM· committed by GitHubparent2a7bd84
1 file changedLine totals unavailable