agent: Remove unused `HistoryStore` (#40187)

Release Notes:

- N/A
fc2b3b2e45Bennet Fenner committed on 10/14/2025, 3:23:47 PM· committed by GitHubparent8c7fb26
5 files changedLine totals unavailable