agent_ui: Fix expand message editor button not always working (#41845)

The button could not be clicked whenever the editor was currently not
focused. This PR fixes this and also registers the action on a more
global level, similar to how this is done for all the other agent
actions.

Release Notes:

- Fixed an issue where the `Expand message editor` button would not work
in agent threads if the message editor was not focused.
cb5055aaecFinn Evers committed on 11/3/2025, 7:08:27 PM· committed by GitHubparent454d649
2 files changedLine totals unavailable