Path: blob/main/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.ts
13406 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45/**6* Terminal-related tool IDs shared between chat infrastructure and terminal7* contrib. The canonical enum lives here so that `chat/common` can reference8* the IDs without depending on `terminalContrib/`.9*10* `terminalContrib/chatAgentTools/browser/tools/toolIds.ts` re-exports this11* enum so existing imports in that layer continue to work.12*/13export const enum TerminalToolId {14RunInTerminal = 'run_in_terminal',15SendToTerminal = 'send_to_terminal',16GetTerminalOutput = 'get_terminal_output',17KillTerminal = 'kill_terminal',18TerminalSelection = 'terminal_selection',19TerminalLastCommand = 'terminal_last_command',20ConfirmTerminalCommand = 'vscode_get_terminal_confirmation',21CreateAndRunTask = 'create_and_run_task',22GetTaskOutput = 'get_task_output',23RunTask = 'run_task',24}252627