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:
parent
5afb89ca93
commit
83b8530e1f
15 changed files with 560 additions and 343 deletions
|
@ -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
|
||||
|
|
|
@ -1133,7 +1133,7 @@ async fn wait_for_terminals_tasks(
|
|||
})
|
||||
.ok()
|
||||
});
|
||||
let _: Vec<_> = join_all(pending_tasks).await;
|
||||
join_all(pending_tasks).await;
|
||||
}
|
||||
|
||||
fn add_paths_to_terminal(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue