agent: Create `TerminalToolCard` and display shell output while it's running (#29546)

Also, don't require a worktree to run the terminal tool.

Release Notes:

- N/A
83b8530e1fJoão Marcos committed on 4/29/2025, 4:06:43 PM· committed by GitHubparent5afb89c
15 files changedLine totals unavailable