agent_ui: Make thread markdown editable (#43377)

This PR makes the thread markdown editable. This refers to the "open
thread as markdown" feature, where you previously could only read. One
benefit of this move is that it makes a bit more obvious that you can
`cmd-s` to save the markdown, allowing you to store the content of a
given thread. You could already do this before, but due to it being
editable now, you see the tab with a dirty indicator, which communicates
that better.

Release Notes:

- agent: Made the thread markdown editable.
06f8e35597Danilo Leal committed on 11/24/2025, 3:12:04 AM· committed by GitHubparent07b6686
1 file changedLine totals unavailable