Open
Description
Currently the run in terminal tool lives in the copilot chat repo, meaning all communication is done over the extension host API. This includes terminal tool specific proposed APIs such as PreparedTerminalToolInvocation
and the overhead associated with them. I think we should move this tool to core as that way we don't need to incur the overhead of adding ext APIs for terminal-specific things (special terminal tool renderer and confirmation messages), don't need to work against the limitations of the ext API (eg. no terminal buffer API) and generally have a lot more control.
Here's an example of a tool in core: