()
| 4 | |
| 5 | // I'm writing these as functions because we've messed up 3 TIMES by pushing to const, causing duplicate tool definitions on subsequent config loads. |
| 6 | export const getBaseToolDefinitions = () => [ |
| 7 | toolDefinitions.readFileTool, |
| 8 | toolDefinitions.createNewFileTool, |
| 9 | toolDefinitions.runTerminalCommandTool, |
| 10 | toolDefinitions.globSearchTool, |
| 11 | toolDefinitions.viewDiffTool, |
| 12 | toolDefinitions.readCurrentlyOpenFileTool, |
| 13 | toolDefinitions.lsTool, |
| 14 | toolDefinitions.createRuleBlock, |
| 15 | toolDefinitions.fetchUrlContentTool, |
| 16 | ]; |
| 17 | |
| 18 | export const getConfigDependentToolDefinitions = async ( |
| 19 | params: ConfigDependentToolParams, |
no outgoing calls
no test coverage detected