@@ -207,7 +207,7 @@ interface FileImportsInput {
207207 uri : string ;
208208}
209209
210- const _fileImportsTool : vscode . LanguageModelTool < FileImportsInput > = {
210+ export const _fileImportsTool : vscode . LanguageModelTool < FileImportsInput > = {
211211 async invoke ( options , _token ) {
212212 sendInfo ( "" , { operationName : "lmTool.getFileImports" } ) ;
213213 const uri = resolveFileUri ( options . input . uri ) ;
@@ -236,7 +236,7 @@ interface TypeAtPositionInput {
236236 character : number ;
237237}
238238
239- const _typeAtPositionTool : vscode . LanguageModelTool < TypeAtPositionInput > = {
239+ export const _typeAtPositionTool : vscode . LanguageModelTool < TypeAtPositionInput > = {
240240 async invoke ( options , _token ) {
241241 sendInfo ( "" , { operationName : "lmTool.getTypeAtPosition" } ) ;
242242 const uri = resolveFileUri ( options . input . uri ) ;
@@ -296,7 +296,7 @@ interface CallHierarchyInput {
296296 direction : "incoming" | "outgoing" ;
297297}
298298
299- const _callHierarchyTool : vscode . LanguageModelTool < CallHierarchyInput > = {
299+ export const _callHierarchyTool : vscode . LanguageModelTool < CallHierarchyInput > = {
300300 async invoke ( options , _token ) {
301301 sendInfo ( "" , { operationName : "lmTool.getCallHierarchy" } ) ;
302302 const uri = resolveFileUri ( options . input . uri ) ;
@@ -355,7 +355,7 @@ interface TypeHierarchyInput {
355355 direction : "supertypes" | "subtypes" ;
356356}
357357
358- const _typeHierarchyTool : vscode . LanguageModelTool < TypeHierarchyInput > = {
358+ export const _typeHierarchyTool : vscode . LanguageModelTool < TypeHierarchyInput > = {
359359 async invoke ( options , _token ) {
360360 sendInfo ( "" , { operationName : "lmTool.getTypeHierarchy" } ) ;
361361 const uri = resolveFileUri ( options . input . uri ) ;
0 commit comments