The @theia/ai-terminal extension contributes an overlay to the terminal view.
The overlay can be used to ask a dedicated TerminalAgent for suggestions of terminal commands.
It also provides the shellExecute tool that allows AI agents to run commands on the host system.
The shellExecute tool enables AI agents to execute shell commands on the host system with user confirmation.
By default, every command requires explicit user approval. The tool is marked with confirmAlwaysAllow, which shows an additional warning dialog when users try to enable auto-approval.
Warning: This tool has full system access. Only enable auto-approval in isolated environments (containers, VMs).
"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia