Show command in sandbox permission prompts (#59362)

Summary:

- Include terminal command text in sandbox authorization metadata.
- Render the command in sandbox permission prompts, including prompts to
run outside the sandbox.
- Keep write-path details visible alongside the command when both are
present.

Tests:

- cargo test -p agent sandbox
- cargo check -p agent_ui

Release Notes:

- Improved agent sandbox permission prompts to show the command being
requested.
a3e15cefacMartinYe1234 committed on 6/15/2026, 7:01:04 PM· committed by GitHubparentf73b9da
4 files changedLine totals unavailable