settings: Migration for fixing duplicated `agent` keys (#30237)

As a byproduct, this fixes bug where it's impossible to change Agent
profile

Closes #30000 

Release Notes:

- N/A
3cc8850a58Oleksiy Syvokon committed on 5/8/2025, 12:38:19 PM· committed by GitHubparent9f6809a
5 files changedLine totals unavailable