@@ -525,7 +525,7 @@ export class ChatController {
525525 command : path . basename ( contextCommandItem . relativePath ) ,
526526 description : path . join ( wsFolderName , contextCommandItem . relativePath ) ,
527527 route : [ contextCommandItem . workspaceFolder , contextCommandItem . relativePath ] ,
528- label : 'file' ,
528+ label : 'file' as ContextCommandItemType ,
529529 id : contextCommandItem . id ,
530530 icon : 'file' as MynahIconsType ,
531531 } )
@@ -534,7 +534,7 @@ export class ChatController {
534534 command : path . basename ( contextCommandItem . relativePath ) ,
535535 description : path . join ( wsFolderName , contextCommandItem . relativePath ) ,
536536 route : [ contextCommandItem . workspaceFolder , contextCommandItem . relativePath ] ,
537- label : 'folder' ,
537+ label : 'folder' as ContextCommandItemType ,
538538 id : contextCommandItem . id ,
539539 icon : 'folder' as MynahIconsType ,
540540 } )
@@ -543,7 +543,7 @@ export class ChatController {
543543 command : contextCommandItem . symbol . name ,
544544 description : `${ contextCommandItem . symbol . kind } , ${ contextCommandItem . relativePath } , L${ contextCommandItem . symbol . range . start . line } -${ contextCommandItem . symbol . range . end . line } ` ,
545545 route : [ contextCommandItem . workspaceFolder , contextCommandItem . relativePath ] ,
546- label : 'code' ,
546+ label : 'code' as ContextCommandItemType ,
547547 id : contextCommandItem . id ,
548548 icon : 'code-block' as MynahIconsType ,
549549 } )
0 commit comments