agent_ui: Improve sandbox write-path authorization UI (#58358)

Updates the sandbox authorization prompt for terminal write-path
requests to show a compact, collapsible list of the requested paths. The
list now matches the edited-files disclosure style, sorts paths for
stable scanning, and uses existing file icons plus muted parent
directories so users can quickly see which locations the command wants
to write to.

This is a UI-only change; sandbox permission behavior remains unchanged.

Release Notes:

- Improved agent sandbox permission prompts by showing requested write
paths in a clearer file list

---------

Co-authored-by: Martin Ye <martin@zed.dev>
f0a88e3698Anant Goel committed on 6/2/2026, 9:06:20 PM· committed by GitHubparent093a62f
1 file changedLine totals unavailable