Do not send "finished" agent notification when about to send a queued message (#56157)

I wait for an agent it takes time/thinks, but I notice some odd error in
its work that I want to correct: I write a message, knowing that e.g.
Claude can read that later at some point and continue normally, and
focus away from Zed.

At some point, I get the notification I need to react to, only to
understand that the generation is ongoing still due to that delayed
message sent.

Release Notes:

- Fixed agent "finished" notification appearing right before the queued
message is sent
40d87a8c1fKirill Bulatov committed on 5/8/2026, 5:13:58 PM· committed by GitHubparentbe83c95
1 file changedLine totals unavailable