@@ -125,7 +125,6 @@ import {
125125} from './constants'
126126import { AgenticChatError , customerFacingErrorCodes , isRequestAbortedError , unactionableErrorCodes } from './errors'
127127import { URI } from 'vscode-uri'
128- import { AgenticChatError , customerFacingErrorCodes , isRequestAbortedError , unactionableErrorCodes } from './errors'
129128import { CommandCategory } from './tools/executeBash'
130129import { UserWrittenCodeTracker } from '../../shared/userWrittenCodeTracker'
131130import { McpEventHandler } from './tools/mcp/mcpEventHandler'
@@ -962,7 +961,7 @@ export class AgenticChatController implements ChatHandlers {
962961 fsWrite : { Tool : FsWrite } ,
963962 executeBash : { Tool : ExecuteBash } ,
964963 grepSearch : { Tool : GrepSearch } ,
965- fuzzySearch : { Tool : FuzzySearch } ,
964+ fileSearch : { Tool : FileSearch } ,
966965 }
967966
968967 const { Tool } = toolMap [ toolUse . name as keyof typeof toolMap ]
@@ -1521,7 +1520,7 @@ export class AgenticChatController implements ChatHandlers {
15211520 break
15221521
15231522 case 'fuzzySearch' :
1524- const searchPath = ( toolUse . input as unknown as FuzzySearchParams ) . path
1523+ const searchPath = ( toolUse . input as unknown as FileSearchParams ) . path
15251524 header = {
15261525 body : 'File Search' ,
15271526 status : {
@@ -1825,7 +1824,7 @@ export class AgenticChatController implements ChatHandlers {
18251824 if ( toolUse . name === 'fsRead' ) {
18261825 currentPaths = ( toolUse . input as unknown as FsReadParams ) ?. paths
18271826 } else {
1828- currentPaths . push ( ( toolUse . input as unknown as ListDirectoryParams | FuzzySearchParams ) ?. path )
1827+ currentPaths . push ( ( toolUse . input as unknown as ListDirectoryParams | FileSearchParams ) ?. path )
18291828 }
18301829
18311830 if ( ! currentPaths ) return
0 commit comments