/** * Tool Names - Single Source of Truth * * All tool names are defined here to avoid hardcoding them in multiple places. * Import these constants wherever you need to reference tool names. */ /** * Built-in tool names as constants */ export declare const TOOL_NAMES: { readonly READ_FILE: "read_file"; readonly WRITE_FILE: "write_file"; readonly BASH: "bash"; readonly BASH_OUTPUT: "bash_output"; readonly KILL_SHELL: "kill_shell"; readonly GREP: "grep"; readonly GLOB: "glob"; readonly EDIT: "edit"; readonly TODO_WRITE: "todo_write"; readonly TODO_READ: "todo_read"; readonly WEB_FETCH: "web_fetch"; readonly TASK: "task"; readonly SUGGEST: "suggest"; }; /** * Type for tool name values */ export type ToolName = (typeof TOOL_NAMES)[keyof typeof TOOL_NAMES]; /** * Common tool sets for agent types * Use these instead of hardcoding tool arrays */ export declare const TOOL_SETS: { /** Read-only tools for exploration and code review */ readonly READ_ONLY: readonly ["glob", "grep", "read_file"]; /** Read-only tools plus bash for running commands */ readonly READ_ONLY_WITH_BASH: readonly ["bash", "glob", "grep", "read_file"]; /** Read-only tools plus web fetch for documentation lookup */ readonly READ_ONLY_WITH_WEB: readonly ["web_fetch", "glob", "grep", "read_file"]; /** Tools for refactoring (read + edit + write, no bash) */ readonly REFACTOR: readonly ["glob", "grep", "read_file", "edit", "write_file"]; /** Tools for security auditing (read + bash for dependency checks) */ readonly SECURITY_AUDIT: readonly ["glob", "grep", "read_file", "bash"]; };