acp: Allow permissions on existing terminal tool calls (#49270) (cherry-pick to preview) (#49271)
zed-zippy[bot]
and
Ben Brandt
created
Cherry-pick of #49270 to preview
----
It is possible, when the agent is streaming the tool call, that we will
get a permission request on an existing terminal and we need to render
that.
When Zed controls the terminal this won't happen, but when we are just
rendering the output, it can happen and we need to show it.
Release Notes:
- agent: Fix permission options not rendering on terminal commands
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>