diff --git a/src/extension/prompt/node/executionSubagentToolCallingLoop.ts b/src/extension/prompt/node/executionSubagentToolCallingLoop.ts index 313b9359e7..c0524dec72 100644 --- a/src/extension/prompt/node/executionSubagentToolCallingLoop.ts +++ b/src/extension/prompt/node/executionSubagentToolCallingLoop.ts @@ -118,6 +118,9 @@ export class ExecutionSubagentToolCallingLoop extends ToolCallingLoop allowedExecutionTools.has(tool.name as ToolName)); diff --git a/src/extension/tools/common/toolNames.ts b/src/extension/tools/common/toolNames.ts index 2f2fb02862..7409ed7880 100644 --- a/src/extension/tools/common/toolNames.ts +++ b/src/extension/tools/common/toolNames.ts @@ -54,6 +54,8 @@ export enum ToolName { CoreManageTodoList = 'manage_todo_list', CoreRunInTerminal = 'run_in_terminal', CoreGetTerminalOutput = 'get_terminal_output', + CoreSendToTerminal = 'send_to_terminal', + CoreKillTerminal = 'kill_terminal', CoreTerminalSelection = 'terminal_selection', CoreTerminalLastCommand = 'terminal_last_command', CoreCreateAndRunTask = 'create_and_run_task', @@ -209,6 +211,8 @@ export const toolCategories: Record = { [ToolName.SearchViewResults]: ToolCategory.VSCodeInteraction, [ToolName.CoreTerminalSelection]: ToolCategory.VSCodeInteraction, [ToolName.CoreTerminalLastCommand]: ToolCategory.VSCodeInteraction, + [ToolName.CoreSendToTerminal]: ToolCategory.Core, + [ToolName.CoreKillTerminal]: ToolCategory.Core, // Testing [ToolName.TestFailure]: ToolCategory.Testing,