MessageDisplay hooks can now rewrite text already streamed to the screen, not just append to it
The MessageDisplay hook system, which runs while assistant message text is being displayed, gained a new onStreamingRewrite callback along with per-turn tracking of whether text is still live, has been rewritten, or where it was resolved to. Previously hooks could only append new text as it streamed in; now a hook can go back and rewrite text that was already shown on screen before the turn finishes.
This allows hooks to correct or transform previously displayed text in real time, rather than being limited to appending, opening up more flexible live formatting or editing of streamed responses.