2025-10-01 16:54:00 -04:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright 2025 Google LLC
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// Centralized constants for tool names.
|
|
|
|
|
// This prevents circular dependencies that can occur when other modules (like agents)
|
|
|
|
|
// need to reference a tool's name without importing the tool's implementation.
|
|
|
|
|
|
|
|
|
|
export const GLOB_TOOL_NAME = 'glob';
|
2025-10-08 12:34:56 -04:00
|
|
|
export const WRITE_TODOS_TOOL_NAME = 'write_todos';
|
2025-10-09 00:33:31 -04:00
|
|
|
export const WRITE_FILE_TOOL_NAME = 'write_file';
|
2025-10-10 15:51:24 -04:00
|
|
|
export const WEB_SEARCH_TOOL_NAME = 'google_web_search';
|
2025-10-15 22:48:12 -04:00
|
|
|
export const WEB_FETCH_TOOL_NAME = 'web_fetch';
|
2025-10-01 16:54:00 -04:00
|
|
|
|
|
|
|
|
// TODO: Migrate other tool names here to follow this pattern and prevent future circular dependencies.
|
|
|
|
|
// Candidates for migration:
|
|
|
|
|
// - LSTool ('list_directory')
|
|
|
|
|
// - ReadFileTool ('read_file')
|
|
|
|
|
// - GrepTool ('search_file_content')
|