agent_ui: Update thread metadata on more thread events (#52010)

## Context

Two reasons:
1. We need to update updated_at in more cases
2. We weren't refreshing the sidebar often enough with status updates.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
d30ceba879Ben Brandt committed on 3/20/2026, 12:48:46 PM· committed by GitHubparent61c2a43
1 file changedLine totals unavailable