(config: ToolConfiguration)
| 1864 | } |
| 1865 | |
| 1866 | export const createTaskApplyGitPatchTool: ToolFactory = (config: ToolConfiguration) => { |
| 1867 | return tool({ |
| 1868 | description: TOOL_DEFINITIONS.task_apply_git_patch.description, |
| 1869 | inputSchema: TOOL_DEFINITIONS.task_apply_git_patch.schema, |
| 1870 | execute: async (args, { abortSignal }): Promise<unknown> => { |
| 1871 | return await applyTaskGitPatchArtifact(config, args, { abortSignal }); |
| 1872 | }, |
| 1873 | }); |
| 1874 | }; |
no test coverage detected