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
This commit is contained in:
João Marcos 2025-04-29 13:06:43 -03:00 committed by GitHub
parent 5afb89ca93
commit 83b8530e1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 560 additions and 343 deletions

View file

@ -1036,7 +1036,7 @@ impl InputHandler for TerminalInputHandler {
cx: &mut App,
) {
self.terminal.update(cx, |terminal, _| {
terminal.input(text.into());
terminal.input(text);
});
self.workspace