agent: Move thread loading to the AgentConnection (#46985)

Preps for external agents being able to load a thread

Release Notes:

- N/A
59707157afBen Brandt committed on 1/16/2026, 1:52:00 PM· committed by GitHubparent1462848
4 files changedLine totals unavailable