@codingame/monaco-vscode-api 16.1.0 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (603) hide show
  1. package/missing-services.js +107 -2
  2. package/monaco.d.ts +2 -2
  3. package/package.json +10 -9
  4. package/services.d.ts +4 -4
  5. package/services.js +7 -18
  6. package/vscode/src/vs/base/browser/dom.d.ts +1 -0
  7. package/vscode/src/vs/base/browser/dom.js +6 -1
  8. package/vscode/src/vs/base/browser/mouseEvent.d.ts +2 -0
  9. package/vscode/src/vs/base/browser/mouseEvent.js +1 -0
  10. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  11. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +2 -3
  12. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
  13. package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +1 -0
  14. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +6 -1
  15. package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +2 -1
  16. package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +1 -3
  17. package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +5 -1
  18. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +17 -4
  19. package/vscode/src/vs/base/common/arrays.d.ts +1 -0
  20. package/vscode/src/vs/base/common/arrays.js +5 -2
  21. package/vscode/src/vs/base/common/async.js +9 -2
  22. package/vscode/src/vs/base/common/codicons.d.ts +5 -0
  23. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -0
  24. package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
  25. package/vscode/src/vs/base/common/color.d.ts +1 -0
  26. package/vscode/src/vs/base/common/color.js +10 -0
  27. package/vscode/src/vs/base/common/comparers.d.ts +2 -2
  28. package/vscode/src/vs/base/common/decorators.d.ts +1 -1
  29. package/vscode/src/vs/base/common/glob.d.ts +3 -0
  30. package/vscode/src/vs/base/common/glob.js +10 -1
  31. package/vscode/src/vs/base/common/marshallingIds.d.ts +2 -1
  32. package/vscode/src/vs/base/common/marshallingIds.js +1 -0
  33. package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +6 -8
  34. package/vscode/src/vs/base/common/observableInternal/autorun.js +15 -11
  35. package/vscode/src/vs/base/common/observableInternal/base.d.ts +0 -10
  36. package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +23 -0
  37. package/vscode/src/vs/base/common/observableInternal/changeTracker.js +30 -0
  38. package/vscode/src/vs/base/common/observableInternal/derived.d.ts +18 -13
  39. package/vscode/src/vs/base/common/observableInternal/derived.js +47 -18
  40. package/vscode/src/vs/base/common/observableInternal/index.d.ts +6 -5
  41. package/vscode/src/vs/base/common/observableInternal/index.js +2 -2
  42. package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +2 -2
  43. package/vscode/src/vs/base/common/observableInternal/promise.d.ts +28 -0
  44. package/vscode/src/vs/base/common/observableInternal/promise.js +65 -0
  45. package/vscode/src/vs/base/common/observableInternal/reducer.d.ts +16 -0
  46. package/vscode/src/vs/base/common/observableInternal/reducer.js +36 -0
  47. package/vscode/src/vs/base/common/observableInternal/utils.d.ts +2 -0
  48. package/vscode/src/vs/base/common/observableInternal/utils.js +19 -11
  49. package/vscode/src/vs/base/common/product.d.ts +5 -0
  50. package/vscode/src/vs/base/common/sseParser.d.ts +26 -0
  51. package/vscode/src/vs/base/common/sseParser.js +134 -0
  52. package/vscode/src/vs/base/common/stopwatch.js +2 -2
  53. package/vscode/src/vs/base/common/strings.d.ts +1 -0
  54. package/vscode/src/vs/base/common/strings.js +8 -19
  55. package/vscode/src/vs/base/common/ternarySearchTree.d.ts +1 -0
  56. package/vscode/src/vs/base/common/ternarySearchTree.js +55 -13
  57. package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +1 -0
  58. package/vscode/src/vs/editor/browser/config/editorConfiguration.js +3 -1
  59. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +1 -1
  60. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +6 -3
  61. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +86 -54
  62. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +0 -1
  63. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +12 -8
  64. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +0 -1
  65. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -6
  66. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +3 -3
  67. package/vscode/src/vs/editor/browser/controller/mouseTarget.js +2 -2
  68. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
  69. package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +1 -1
  70. package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -0
  71. package/vscode/src/vs/editor/browser/services/hoverService/hover.css +8 -0
  72. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +1 -0
  73. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +6 -1
  74. package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +1 -0
  75. package/vscode/src/vs/editor/browser/view/renderingContext.js +3 -0
  76. package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +3 -1
  77. package/vscode/src/vs/editor/browser/view/viewLayer.js +13 -6
  78. package/vscode/src/vs/editor/browser/view/viewOverlays.js +4 -1
  79. package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -5
  80. package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -2
  81. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +0 -1
  82. package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +6 -6
  83. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +3 -0
  84. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +2 -2
  85. package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
  86. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +1 -1
  87. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +5 -2
  88. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +15 -1
  89. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +7 -5
  90. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +1 -1
  91. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +10 -8
  92. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +19 -15
  93. package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +5 -0
  94. package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +20 -0
  95. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +24 -23
  96. package/vscode/src/vs/editor/common/config/editorOptions.js +3 -4
  97. package/vscode/src/vs/editor/common/core/columnRange.d.ts +11 -0
  98. package/vscode/src/vs/editor/common/core/columnRange.js +32 -0
  99. package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +1 -0
  100. package/vscode/src/vs/editor/common/core/offsetEdit.js +10 -0
  101. package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
  102. package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
  103. package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +15 -3
  104. package/vscode/src/vs/editor/common/core/positionToOffset.js +45 -11
  105. package/vscode/src/vs/editor/common/core/rangeSingleLine.d.ts +9 -0
  106. package/vscode/src/vs/editor/common/core/rangeSingleLine.js +27 -0
  107. package/vscode/src/vs/editor/common/core/textEdit.d.ts +1 -0
  108. package/vscode/src/vs/editor/common/core/textEdit.js +41 -0
  109. package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -0
  110. package/vscode/src/vs/editor/common/languages/modesRegistry.d.ts +2 -2
  111. package/vscode/src/vs/editor/common/languages/modesRegistry.js +4 -2
  112. package/vscode/src/vs/editor/common/languages.d.ts +22 -1
  113. package/vscode/src/vs/editor/common/languages.js +7 -1
  114. package/vscode/src/vs/editor/common/model/textModel.d.ts +5 -1
  115. package/vscode/src/vs/editor/common/model/textModel.js +80 -18
  116. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
  117. package/vscode/src/vs/editor/common/model.d.ts +2 -1
  118. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +5 -0
  119. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +7 -1
  120. package/vscode/src/vs/editor/common/textModelEvents.d.ts +11 -0
  121. package/vscode/src/vs/editor/common/textModelEvents.js +14 -1
  122. package/vscode/src/vs/editor/common/tokens/common.d.ts +7 -0
  123. package/vscode/src/vs/editor/common/tokens/common.js +18 -0
  124. package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.d.ts +1 -1
  125. package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
  126. package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
  127. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +2 -0
  128. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +20 -0
  129. package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +2 -1
  130. package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +9 -4
  131. package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +1 -0
  132. package/vscode/src/vs/editor/common/tokens/tokenArray.js +4 -0
  133. package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +25 -0
  134. package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.js +73 -0
  135. package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +35 -0
  136. package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +339 -0
  137. package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +8 -6
  138. package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +42 -49
  139. package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +6 -3
  140. package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +16 -5
  141. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +1 -0
  142. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +44 -7
  143. package/vscode/src/vs/editor/common/viewModel.d.ts +5 -0
  144. package/vscode/src/vs/editor/common/viewModelEventDispatcher.d.ts +11 -3
  145. package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +14 -1
  146. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -14
  147. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -1
  148. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +3 -1
  149. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +1 -1
  150. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +4 -3
  151. package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -3
  152. package/vscode/src/vs/editor/contrib/find/browser/findController.js +5 -11
  153. package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +1 -7
  154. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -15
  155. package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
  156. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +24 -23
  157. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  158. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  159. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  160. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  161. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  162. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  163. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  164. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  165. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  166. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  167. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  168. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +5 -5
  169. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  170. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  171. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  172. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  173. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  174. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +14 -12
  175. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  176. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  177. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +21 -21
  178. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  179. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +0 -4
  180. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +29 -41
  181. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
  182. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +1 -0
  183. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +11 -6
  184. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  185. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
  186. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +1 -2
  187. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +4 -4
  188. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +1 -2
  189. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +10 -0
  190. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +31 -2
  191. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
  192. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +16 -16
  193. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +156 -202
  194. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +21 -49
  195. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +135 -431
  196. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +3 -3
  197. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +98 -0
  198. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +487 -0
  199. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +34 -32
  200. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +141 -132
  201. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
  202. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +2 -2
  203. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +26 -0
  204. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +2 -7
  205. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +21 -20
  206. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +19 -7
  207. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +1 -1
  208. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +17 -9
  209. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +5 -13
  210. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +139 -188
  211. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +8 -6
  212. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +9 -3
  213. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +4 -4
  214. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +6 -6
  215. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.d.ts +23 -0
  216. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +157 -0
  217. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +2 -0
  218. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +37 -20
  219. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +3 -2
  220. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +3 -4
  221. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.d.ts +6 -1
  222. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +28 -5
  223. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +21 -0
  224. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +215 -0
  225. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +0 -1
  226. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +0 -1
  227. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +2 -2
  228. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +1 -3
  229. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +3 -4
  230. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
  231. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  232. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  233. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
  234. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  235. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  236. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  237. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  238. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  239. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  240. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
  241. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  242. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  243. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +23 -49
  244. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  245. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  246. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  247. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  248. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  249. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +8 -0
  250. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
  251. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
  252. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +1 -0
  253. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +24 -14
  254. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  255. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  256. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -18
  257. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  258. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  259. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  260. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  261. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  262. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  263. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +5 -10
  264. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  265. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  266. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  267. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  268. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  269. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +1 -1
  270. package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +2 -2
  271. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
  272. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  273. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +3 -0
  274. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +23 -14
  275. package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +2 -0
  276. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +17 -3
  277. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +6 -1
  278. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -1
  279. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +2 -1
  280. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  281. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  282. package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -1
  283. package/vscode/src/vs/platform/actions/common/actions.js +2 -0
  284. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  285. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  286. package/vscode/src/vs/platform/clipboard/browser/clipboardService.d.ts +1 -0
  287. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +3 -0
  288. package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +1 -0
  289. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +15 -13
  290. package/vscode/src/vs/platform/configuration/common/configurations.js +1 -1
  291. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  292. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  293. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  294. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  295. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  296. package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +5 -0
  297. package/vscode/src/vs/platform/dnd/browser/dnd.js +6 -2
  298. package/vscode/src/vs/platform/editor/common/editor.d.ts +1 -0
  299. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +8 -2
  300. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +94 -4
  301. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
  302. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +3 -2
  303. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -7
  304. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  305. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +1 -1
  306. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +0 -1
  307. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +10 -11
  308. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  309. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
  310. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +7 -6
  311. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +9 -8
  312. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  313. package/vscode/src/vs/platform/files/common/files.js +6 -6
  314. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  315. package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +5 -4
  316. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
  317. package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
  318. package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
  319. package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -1
  320. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  321. package/vscode/src/vs/platform/log/common/log.js +6 -6
  322. package/vscode/src/vs/platform/markers/common/markerService.d.ts +2 -7
  323. package/vscode/src/vs/platform/markers/common/markerService.js +5 -5
  324. package/vscode/src/vs/platform/markers/common/markers.d.ts +7 -0
  325. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  326. package/vscode/src/vs/platform/markers/common/markers.service.d.ts +2 -7
  327. package/vscode/src/vs/platform/native/common/native.d.ts +168 -0
  328. package/vscode/src/vs/platform/notification/common/notification.d.ts +6 -2
  329. package/vscode/src/vs/platform/notification/common/notification.js +3 -2
  330. package/vscode/src/vs/platform/notification/common/notification.service.d.ts +2 -3
  331. package/vscode/src/vs/platform/product/common/product.js +93 -48
  332. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +4 -19
  333. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +6 -3
  334. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +33 -10
  335. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  336. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +2 -0
  337. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +6 -0
  338. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +25 -18
  339. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.d.ts +5 -5
  340. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +58 -43
  341. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  342. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
  343. package/vscode/src/vs/platform/registry/common/platform.js +9 -1
  344. package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
  345. package/vscode/src/vs/platform/request/common/request.js +18 -18
  346. package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
  347. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  348. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +14 -1
  349. package/vscode/src/vs/platform/terminal/common/terminal.js +14 -1
  350. package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -2
  351. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +4 -2
  352. package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +7 -1
  353. package/vscode/src/vs/platform/theme/common/colorUtils.js +12 -4
  354. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  355. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  356. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
  357. package/vscode/src/vs/platform/theme/common/colors/inputColors.d.ts +2 -0
  358. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +49 -47
  359. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  360. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  361. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  362. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  363. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  364. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  365. package/vscode/src/vs/platform/theme/common/iconRegistry.js +10 -8
  366. package/vscode/src/vs/platform/theme/common/themeService.d.ts +0 -8
  367. package/vscode/src/vs/platform/theme/common/themeService.js +4 -3
  368. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  369. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  370. package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +1 -1
  371. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  372. package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -2
  373. package/vscode/src/vs/platform/window/common/window.d.ts +4 -0
  374. package/vscode/src/vs/platform/window/common/window.js +2 -1
  375. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  376. package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
  377. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +27 -20
  378. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +54 -19
  379. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
  380. package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.d.ts +14 -0
  381. package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.js +38 -0
  382. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -0
  383. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
  384. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +30 -17
  385. package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +2 -0
  386. package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +0 -1
  387. package/vscode/src/vs/workbench/api/common/extHostCommands.js +4 -2
  388. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  389. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  390. package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +2 -0
  391. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +15 -4
  392. package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
  393. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +4 -0
  394. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +31 -6
  395. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -3
  396. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +60 -14
  397. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +1 -1
  398. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +15 -9
  399. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  400. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +4 -3
  401. package/vscode/src/vs/workbench/api/common/extHostMcp.js +279 -82
  402. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  403. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +3 -0
  404. package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +2 -1
  405. package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +4 -2
  406. package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.d.ts +1 -1
  407. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -0
  408. package/vscode/src/vs/workbench/api/common/extHostSCM.js +21 -0
  409. package/vscode/src/vs/workbench/api/common/extHostSearch.js +1 -1
  410. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  411. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  412. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  413. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
  414. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  415. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +27 -9
  416. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +201 -29
  417. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +67 -27
  418. package/vscode/src/vs/workbench/api/common/extHostTypes.js +79 -28
  419. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  420. package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +7 -4
  421. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +34 -9
  422. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  423. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +1 -0
  424. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -0
  425. package/vscode/src/vs/workbench/browser/actions/developerActions.js +33 -33
  426. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  427. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
  428. package/vscode/src/vs/workbench/common/configuration.js +10 -16
  429. package/vscode/src/vs/workbench/common/contextkeys.d.ts +3 -0
  430. package/vscode/src/vs/workbench/common/contextkeys.js +73 -71
  431. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  432. package/vscode/src/vs/workbench/common/editor.d.ts +13 -9
  433. package/vscode/src/vs/workbench/common/editor.js +4 -4
  434. package/vscode/src/vs/workbench/common/theme.js +160 -160
  435. package/vscode/src/vs/workbench/common/views.js +4 -4
  436. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -147
  437. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  438. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -2
  439. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
  440. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
  441. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -14
  442. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +245 -0
  443. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +435 -0
  444. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
  445. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +6 -9
  446. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +51 -49
  447. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -26
  448. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +16 -23
  449. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
  450. package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +2 -2
  451. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +585 -0
  452. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +1179 -0
  453. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +116 -0
  454. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +211 -0
  455. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -6
  456. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +4 -4
  457. package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.service.d.ts +3 -1
  458. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -2
  459. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -7
  460. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
  461. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +2 -3
  462. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +12 -4
  463. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +33 -5
  464. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +14 -3
  465. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +18 -3
  466. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
  467. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +4 -0
  468. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +6 -0
  469. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +3 -1
  470. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/index.d.ts +3 -0
  471. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +14 -4
  472. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +28 -1
  473. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +10 -4
  474. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +8 -25
  475. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +11 -97
  476. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +0 -3
  477. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  478. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  479. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  480. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  481. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  482. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +1 -1
  483. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  484. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  485. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  486. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  487. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  488. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  489. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
  490. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  491. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  492. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  493. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -1
  494. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
  495. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +171 -0
  496. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
  497. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +2 -3
  498. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.d.ts +10 -0
  499. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +127 -0
  500. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  501. package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
  502. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  503. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  504. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  505. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  506. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  507. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
  508. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +3 -1
  509. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  510. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  511. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +1 -0
  512. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +19 -8
  513. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -10
  514. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
  515. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
  516. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +8 -4
  517. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -1
  518. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
  519. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
  520. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
  521. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
  522. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +4 -1
  523. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +11 -3
  524. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +77 -16
  525. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  526. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  527. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  528. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  529. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  530. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  531. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -2
  532. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  533. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  534. package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
  535. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
  536. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
  537. package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.d.ts +1 -1
  538. package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.d.ts +17 -0
  539. package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.js +10 -0
  540. package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +13 -0
  541. package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.js +6 -0
  542. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +2 -0
  543. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +61 -12
  544. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +3 -2
  545. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +25 -29
  546. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +4 -1
  547. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +1 -0
  548. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  549. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
  550. package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -2
  551. package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
  552. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
  553. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +1 -1
  554. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +3 -2
  555. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
  556. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +4 -1
  557. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  558. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +2 -4
  559. package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
  560. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  561. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.d.ts +1 -0
  562. package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +2 -0
  563. package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
  564. package/vscode/src/vs/workbench/services/output/common/output.js +6 -4
  565. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
  566. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  567. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  568. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  569. package/vscode/src/vs/workbench/services/search/common/search.d.ts +2 -1
  570. package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +5 -0
  571. package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +6 -1
  572. package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +2 -2
  573. package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +31 -23
  574. package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +64 -0
  575. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +560 -0
  576. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +165 -0
  577. package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +74 -0
  578. package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +12 -2
  579. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  580. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  581. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
  582. package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
  583. package/vscode-dts/vscode.d.ts +204 -9
  584. package/vscode-dts/vscode.proposed.aiSettingsSearch.d.ts +30 -0
  585. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +18 -16
  586. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +84 -5
  587. package/vscode-dts/vscode.proposed.chatProvider.d.ts +18 -16
  588. package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +1 -1
  589. package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +1 -1
  590. package/vscode-dts/vscode.proposed.contribDebugCreateConfiguration.d.ts +1 -1
  591. package/vscode-dts/vscode.proposed.d.ts +2 -2
  592. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -2
  593. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +46 -8
  594. package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +106 -16
  595. package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +2 -0
  596. package/vscode-dts/vscode.proposed.mcpConfigurationProvider.d.ts +115 -21
  597. package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +7 -3
  598. package/vscode-dts/vscode.proposed.textSearchProvider2.d.ts +23 -1
  599. package/vscode-dts/vscode.proposed.toolProgress.d.ts +25 -0
  600. package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +1 -1
  601. package/workbench.d.ts +1 -1
  602. package/vscode-dts/vscode.proposed.languageModelToolsForAgent.d.ts +0 -8
  603. package/vscode-dts/vscode.proposed.textDocumentEncoding.d.ts +0 -170
@@ -116,6 +116,24 @@ declare module 'vscode' {
116
116
  */
117
117
  readonly languageId: string;
118
118
 
119
+ /**
120
+ * The file encoding of this document that will be used when the document is saved.
121
+ *
122
+ * Use the {@link workspace.onDidChangeTextDocument onDidChangeTextDocument}-event to
123
+ * get notified when the document encoding changes.
124
+ *
125
+ * Note that the possible encoding values are currently defined as any of the following:
126
+ * 'utf8', 'utf8bom', 'utf16le', 'utf16be', 'windows1252', 'iso88591', 'iso88593',
127
+ * 'iso885915', 'macroman', 'cp437', 'windows1256', 'iso88596', 'windows1257',
128
+ * 'iso88594', 'iso885914', 'windows1250', 'iso88592', 'cp852', 'windows1251',
129
+ * 'cp866', 'cp1125', 'iso88595', 'koi8r', 'koi8u', 'iso885913', 'windows1253',
130
+ * 'iso88597', 'windows1255', 'iso88598', 'iso885910', 'iso885916', 'windows1254',
131
+ * 'iso88599', 'windows1258', 'gbk', 'gb18030', 'cp950', 'big5hkscs', 'shiftjis',
132
+ * 'eucjp', 'euckr', 'windows874', 'iso885911', 'koi8ru', 'koi8t', 'gb2312',
133
+ * 'cp865', 'cp850'.
134
+ */
135
+ readonly encoding: string;
136
+
119
137
  /**
120
138
  * The version number of this document (it will strictly increase after each
121
139
  * change, including undo/redo).
@@ -11997,6 +12015,8 @@ declare module 'vscode' {
11997
12015
  * When the user starts dragging items from this `DragAndDropController`, `handleDrag` will be called.
11998
12016
  * Extensions can use `handleDrag` to add their {@link DataTransferItem `DataTransferItem`} items to the drag and drop.
11999
12017
  *
12018
+ * Mime types added in `handleDrag` won't be available outside the application.
12019
+ *
12000
12020
  * When the items are dropped on **another tree item** in **the same tree**, your `DataTransferItem` objects
12001
12021
  * will be preserved. Use the recommended mime type for the tree (`application/vnd.code.tree.<treeidlowercase>`) to add
12002
12022
  * tree objects in a data transfer. See the documentation for `DataTransferItem` for how best to take advantage of this.
@@ -13990,7 +14010,29 @@ declare module 'vscode' {
13990
14010
  * @param uri Identifies the resource to open.
13991
14011
  * @returns A promise that resolves to a {@link TextDocument document}.
13992
14012
  */
13993
- export function openTextDocument(uri: Uri): Thenable<TextDocument>;
14013
+ export function openTextDocument(uri: Uri, options?: {
14014
+ /**
14015
+ * The {@link TextDocument.encoding encoding} of the document to use
14016
+ * for decoding the underlying buffer to text. If omitted, the encoding
14017
+ * will be guessed based on the file content and/or the editor settings
14018
+ * unless the document is already opened.
14019
+ *
14020
+ * Opening a text document that was already opened with a different encoding
14021
+ * has the potential of changing the text contents of the text document.
14022
+ * Specifically, when the encoding results in a different set of characters
14023
+ * than the previous encoding. As such, an error is thrown for dirty documents
14024
+ * when the specified encoding is different from the encoding of the document.
14025
+ *
14026
+ * See {@link TextDocument.encoding} for more information about valid
14027
+ * values for encoding. Using an unsupported encoding will fallback to the
14028
+ * default encoding for the document.
14029
+ *
14030
+ * *Note* that if you open a document with an encoding that does not
14031
+ * support decoding the underlying bytes, content may be replaced with
14032
+ * substitution characters as appropriate.
14033
+ */
14034
+ readonly encoding?: string;
14035
+ }): Thenable<TextDocument>;
13994
14036
 
13995
14037
  /**
13996
14038
  * A short-hand for `openTextDocument(Uri.file(path))`.
@@ -13999,7 +14041,29 @@ declare module 'vscode' {
13999
14041
  * @param path A path of a file on disk.
14000
14042
  * @returns A promise that resolves to a {@link TextDocument document}.
14001
14043
  */
14002
- export function openTextDocument(path: string): Thenable<TextDocument>;
14044
+ export function openTextDocument(path: string, options?: {
14045
+ /**
14046
+ * The {@link TextDocument.encoding encoding} of the document to use
14047
+ * for decoding the underlying buffer to text. If omitted, the encoding
14048
+ * will be guessed based on the file content and/or the editor settings
14049
+ * unless the document is already opened.
14050
+ *
14051
+ * Opening a text document that was already opened with a different encoding
14052
+ * has the potential of changing the text contents of the text document.
14053
+ * Specifically, when the encoding results in a different set of characters
14054
+ * than the previous encoding. As such, an error is thrown for dirty documents
14055
+ * when the specified encoding is different from the encoding of the document.
14056
+ *
14057
+ * See {@link TextDocument.encoding} for more information about valid
14058
+ * values for encoding. Using an unsupported encoding will fallback to the
14059
+ * default encoding for the document.
14060
+ *
14061
+ * *Note* that if you open a document with an encoding that does not
14062
+ * support decoding the underlying bytes, content may be replaced with
14063
+ * substitution characters as appropriate.
14064
+ */
14065
+ readonly encoding?: string;
14066
+ }): Thenable<TextDocument>;
14003
14067
 
14004
14068
  /**
14005
14069
  * Opens an untitled text document. The editor will prompt the user for a file
@@ -14018,6 +14082,14 @@ declare module 'vscode' {
14018
14082
  * The initial contents of the document.
14019
14083
  */
14020
14084
  content?: string;
14085
+ /**
14086
+ * The {@link TextDocument.encoding encoding} of the document.
14087
+ *
14088
+ * See {@link TextDocument.encoding} for more information about valid
14089
+ * values for encoding. Using an unsupported encoding will fallback to the
14090
+ * default encoding for the document.
14091
+ */
14092
+ readonly encoding?: string;
14021
14093
  }): Thenable<TextDocument>;
14022
14094
 
14023
14095
  /**
@@ -14301,6 +14373,129 @@ declare module 'vscode' {
14301
14373
  * Event that fires when the current workspace has been trusted.
14302
14374
  */
14303
14375
  export const onDidGrantWorkspaceTrust: Event<void>;
14376
+
14377
+ /**
14378
+ * Decodes the content from a `Uint8Array` to a `string`. You MUST
14379
+ * provide the entire content at once to ensure that the encoding
14380
+ * can properly apply. Do not use this method to decode content
14381
+ * in chunks, as that may lead to incorrect results.
14382
+ *
14383
+ * Will pick an encoding based on settings and the content of the
14384
+ * buffer (for example byte order marks).
14385
+ *
14386
+ * *Note* that if you decode content that is unsupported by the
14387
+ * encoding, the result may contain substitution characters as
14388
+ * appropriate.
14389
+ *
14390
+ * @throws This method will throw an error when the content is binary.
14391
+ *
14392
+ * @param content The text content to decode as a `Uint8Array`.
14393
+ * @returns A thenable that resolves to the decoded `string`.
14394
+ */
14395
+ export function decode(content: Uint8Array): Thenable<string>;
14396
+
14397
+ /**
14398
+ * Decodes the content from a `Uint8Array` to a `string` using the
14399
+ * provided encoding. You MUST provide the entire content at once
14400
+ * to ensure that the encoding can properly apply. Do not use this
14401
+ * method to decode content in chunks, as that may lead to incorrect
14402
+ * results.
14403
+ *
14404
+ * *Note* that if you decode content that is unsupported by the
14405
+ * encoding, the result may contain substitution characters as
14406
+ * appropriate.
14407
+ *
14408
+ * @throws This method will throw an error when the content is binary.
14409
+ *
14410
+ * @param content The text content to decode as a `Uint8Array`.
14411
+ * @param options Additional context for picking the encoding.
14412
+ * @returns A thenable that resolves to the decoded `string`.
14413
+ */
14414
+ export function decode(content: Uint8Array, options: {
14415
+ /**
14416
+ * Allows to explicitly pick the encoding to use.
14417
+ * See {@link TextDocument.encoding} for more information
14418
+ * about valid values for encoding.
14419
+ * Using an unsupported encoding will fallback to the
14420
+ * default configured encoding.
14421
+ */
14422
+ readonly encoding: string;
14423
+ }): Thenable<string>;
14424
+
14425
+ /**
14426
+ * Decodes the content from a `Uint8Array` to a `string`. You MUST
14427
+ * provide the entire content at once to ensure that the encoding
14428
+ * can properly apply. Do not use this method to decode content
14429
+ * in chunks, as that may lead to incorrect results.
14430
+ *
14431
+ * The encoding is picked based on settings and the content
14432
+ * of the buffer (for example byte order marks).
14433
+ *
14434
+ * *Note* that if you decode content that is unsupported by the
14435
+ * encoding, the result may contain substitution characters as
14436
+ * appropriate.
14437
+ *
14438
+ * @throws This method will throw an error when the content is binary.
14439
+ *
14440
+ * @param content The content to decode as a `Uint8Array`.
14441
+ * @param options Additional context for picking the encoding.
14442
+ * @returns A thenable that resolves to the decoded `string`.
14443
+ */
14444
+ export function decode(content: Uint8Array, options: {
14445
+ /**
14446
+ * The URI that represents the file if known. This information
14447
+ * is used to figure out the encoding related configuration
14448
+ * for the file if any.
14449
+ */
14450
+ readonly uri: Uri;
14451
+ }): Thenable<string>;
14452
+
14453
+ /**
14454
+ * Encodes the content of a `string` to a `Uint8Array`.
14455
+ *
14456
+ * Will pick an encoding based on settings.
14457
+ *
14458
+ * @param content The content to decode as a `string`.
14459
+ * @returns A thenable that resolves to the encoded `Uint8Array`.
14460
+ */
14461
+ export function encode(content: string): Thenable<Uint8Array>;
14462
+
14463
+ /**
14464
+ * Encodes the content of a `string` to a `Uint8Array` using the
14465
+ * provided encoding.
14466
+ *
14467
+ * @param content The content to decode as a `string`.
14468
+ * @param options Additional context for picking the encoding.
14469
+ * @returns A thenable that resolves to the encoded `Uint8Array`.
14470
+ */
14471
+ export function encode(content: string, options: {
14472
+ /**
14473
+ * Allows to explicitly pick the encoding to use.
14474
+ * See {@link TextDocument.encoding} for more information
14475
+ * about valid values for encoding.
14476
+ * Using an unsupported encoding will fallback to the
14477
+ * default configured encoding.
14478
+ */
14479
+ readonly encoding: string;
14480
+ }): Thenable<Uint8Array>;
14481
+
14482
+ /**
14483
+ * Encodes the content of a `string` to a `Uint8Array`.
14484
+ *
14485
+ * The encoding is picked based on settings.
14486
+ *
14487
+ * @param content The content to decode as a `string`.
14488
+ * @param options Additional context for picking the encoding.
14489
+ * @returns A thenable that resolves to the encoded `Uint8Array`.
14490
+ */
14491
+ export function encode(content: string, options: {
14492
+ /**
14493
+ * The URI that represents the file if known. This information
14494
+ * is used to figure out the encoding related configuration
14495
+ * for the file if any.
14496
+ */
14497
+ readonly uri: Uri;
14498
+ }): Thenable<Uint8Array>;
14304
14499
  }
14305
14500
 
14306
14501
  /**
@@ -16295,7 +16490,7 @@ declare module 'vscode' {
16295
16490
  }
16296
16491
 
16297
16492
  /**
16298
- * Namespace for source control mangement.
16493
+ * Namespace for source control management.
16299
16494
  */
16300
16495
  export namespace scm {
16301
16496
 
@@ -16609,7 +16804,7 @@ declare module 'vscode' {
16609
16804
  export type DebugAdapterDescriptor = DebugAdapterExecutable | DebugAdapterServer | DebugAdapterNamedPipeServer | DebugAdapterInlineImplementation;
16610
16805
 
16611
16806
  /**
16612
- * A debug adaper factory that creates {@link DebugAdapterDescriptor debug adapter descriptors}.
16807
+ * A debug adapter factory that creates {@link DebugAdapterDescriptor debug adapter descriptors}.
16613
16808
  */
16614
16809
  export interface DebugAdapterDescriptorFactory {
16615
16810
  /**
@@ -16663,7 +16858,7 @@ declare module 'vscode' {
16663
16858
  }
16664
16859
 
16665
16860
  /**
16666
- * A debug adaper factory that creates {@link DebugAdapterTracker debug adapter trackers}.
16861
+ * A debug adapter factory that creates {@link DebugAdapterTracker debug adapter trackers}.
16667
16862
  */
16668
16863
  export interface DebugAdapterTrackerFactory {
16669
16864
  /**
@@ -17200,7 +17395,7 @@ declare module 'vscode' {
17200
17395
  * Whether the thread supports reply.
17201
17396
  * Defaults to true.
17202
17397
  */
17203
- canReply: boolean;
17398
+ canReply: boolean | CommentAuthorInformation;
17204
17399
 
17205
17400
  /**
17206
17401
  * Context value of the comment thread. This can be used to contribute thread specific actions.
@@ -19062,7 +19257,7 @@ declare module 'vscode' {
19062
19257
  readonly value: T;
19063
19258
 
19064
19259
  /**
19065
- * Creates a new telementry trusted value.
19260
+ * Creates a new telemetry trusted value.
19066
19261
  *
19067
19262
  * @param value A value to trust
19068
19263
  */
@@ -19070,7 +19265,7 @@ declare module 'vscode' {
19070
19265
  }
19071
19266
 
19072
19267
  /**
19073
- * A telemetry logger which can be used by extensions to log usage and error telementry.
19268
+ * A telemetry logger which can be used by extensions to log usage and error telemetry.
19074
19269
  *
19075
19270
  * A logger wraps around an {@link TelemetrySender sender} but it guarantees that
19076
19271
  * - user settings to disable or tweak telemetry are respected, and that
@@ -20249,7 +20444,7 @@ declare module 'vscode' {
20249
20444
  */
20250
20445
  export class LanguageModelToolResult {
20251
20446
  /**
20252
- * A list of tool result content parts. Includes `unknown` becauses this list may be extended with new content types in
20447
+ * A list of tool result content parts. Includes `unknown` because this list may be extended with new content types in
20253
20448
  * the future.
20254
20449
  * @see {@link lm.invokeTool}.
20255
20450
  */
@@ -0,0 +1,30 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ declare module 'vscode' {
7
+ export enum SettingsSearchResultKind {
8
+ EMBEDDED = 1,
9
+ LLM_RANKED = 2,
10
+ CANCELED = 3
11
+ }
12
+
13
+ export interface SettingsSearchResult {
14
+ query: string;
15
+ kind: SettingsSearchResultKind;
16
+ settings: string[];
17
+ }
18
+
19
+ export interface SettingsSearchProviderOptions {
20
+ limit: number;
21
+ }
22
+
23
+ export interface SettingsSearchProvider {
24
+ provideSettingsSearchResults(query: string, option: SettingsSearchProviderOptions, progress: Progress<SettingsSearchResult>, token: CancellationToken): Thenable<void>;
25
+ }
26
+
27
+ export namespace ai {
28
+ export function registerSettingsSearchProvider(provider: SettingsSearchProvider): Disposable;
29
+ }
30
+ }
@@ -79,7 +79,7 @@ declare module 'vscode' {
79
79
  constructor(value: Uri, license: string, snippet: string);
80
80
  }
81
81
 
82
- export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart;
82
+ export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseNotebookEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart | ChatResponseExtensionsPart;
83
83
 
84
84
  export class ChatResponseWarningPart {
85
85
  value: MarkdownString;
@@ -159,6 +159,13 @@ declare module 'vscode' {
159
159
  resolve?(token: CancellationToken): Thenable<void>;
160
160
  }
161
161
 
162
+ export class ChatResponseExtensionsPart {
163
+
164
+ readonly extensions: string[];
165
+
166
+ constructor(extensions: string[]);
167
+ }
168
+
162
169
  export interface ChatResponseStream {
163
170
 
164
171
  /**
@@ -220,19 +227,6 @@ declare module 'vscode' {
220
227
  }
221
228
 
222
229
 
223
- export interface ChatRequest {
224
-
225
- /**
226
- * A list of tools that the user selected for this request, when `undefined` any tool
227
- * from {@link lm.tools} should be used.
228
- *
229
- * Tools can be called with {@link lm.invokeTool} with input that match their
230
- * declared `inputSchema`.
231
- */
232
- readonly tools: readonly LanguageModelToolInformation[] | undefined;
233
- }
234
-
235
-
236
230
  /**
237
231
  * Does this piggy-back on the existing ChatRequest, or is it a different type of request entirely?
238
232
  * Does it show up in history?
@@ -249,6 +243,14 @@ declare module 'vscode' {
249
243
  rejectedConfirmationData?: any[];
250
244
  }
251
245
 
246
+ export interface ChatRequest {
247
+
248
+ /**
249
+ * A map of all tools that should (`true`) and should not (`false`) be used in this request.
250
+ */
251
+ readonly tools: Map<string, boolean>;
252
+ }
253
+
252
254
  // TODO@API fit this into the stream
253
255
  export interface ChatUsedContext {
254
256
  documents: ChatDocumentContext[];
@@ -262,7 +264,7 @@ declare module 'vscode' {
262
264
 
263
265
  /**
264
266
  * Event that fires when a request is paused or unpaused.
265
- * Chat requests are initialy unpaused in the {@link requestHandler}.
267
+ * Chat requests are initially unpaused in the {@link requestHandler}.
266
268
  */
267
269
  onDidChangePauseState: Event<ChatParticipantPauseStateEvent>;
268
270
  }
@@ -405,7 +407,7 @@ declare module 'vscode' {
405
407
  }
406
408
 
407
409
  export namespace lm {
408
- export function fileIsIgnored(uri: Uri, token: CancellationToken): Thenable<boolean>;
410
+ export function fileIsIgnored(uri: Uri, token?: CancellationToken): Thenable<boolean>;
409
411
  }
410
412
 
411
413
  export interface ChatVariableValue {
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
- // version: 6
6
+ // version: 9
7
7
 
8
8
  declare module 'vscode' {
9
9
 
@@ -27,10 +27,6 @@ declare module 'vscode' {
27
27
  * Code editor inline chat
28
28
  */
29
29
  Editor = 4,
30
- /**
31
- * Chat is happening in an editing session
32
- */
33
- EditingSession = 5,
34
30
  }
35
31
 
36
32
  export class ChatRequestEditorData {
@@ -81,6 +77,67 @@ declare module 'vscode' {
81
77
  * or terminal. Will be `undefined` for the chat panel.
82
78
  */
83
79
  readonly location2: ChatRequestEditorData | ChatRequestNotebookData | undefined;
80
+
81
+ /**
82
+ * Events for edited files in this session collected since the last request.
83
+ */
84
+ readonly editedFileEvents?: ChatRequestEditedFileEvent[];
85
+ }
86
+
87
+ export enum ChatRequestEditedFileEventKind {
88
+ Keep = 1,
89
+ Undo = 2,
90
+ UserModification = 3,
91
+ }
92
+
93
+ export interface ChatRequestEditedFileEvent {
94
+ readonly uri: Uri;
95
+ readonly eventKind: ChatRequestEditedFileEventKind;
96
+ }
97
+
98
+ /**
99
+ * ChatRequestTurn + private additions. Note- at runtime this is the SAME as ChatRequestTurn and instanceof is safe.
100
+ */
101
+ export class ChatRequestTurn2 {
102
+ /**
103
+ * The prompt as entered by the user.
104
+ *
105
+ * Information about references used in this request is stored in {@link ChatRequestTurn.references}.
106
+ *
107
+ * *Note* that the {@link ChatParticipant.name name} of the participant and the {@link ChatCommand.name command}
108
+ * are not part of the prompt.
109
+ */
110
+ readonly prompt: string;
111
+
112
+ /**
113
+ * The id of the chat participant to which this request was directed.
114
+ */
115
+ readonly participant: string;
116
+
117
+ /**
118
+ * The name of the {@link ChatCommand command} that was selected for this request.
119
+ */
120
+ readonly command?: string;
121
+
122
+ /**
123
+ * The references that were used in this message.
124
+ */
125
+ readonly references: ChatPromptReference[];
126
+
127
+ /**
128
+ * The list of tools were attached to this request.
129
+ */
130
+ readonly toolReferences: readonly ChatLanguageModelToolReference[];
131
+
132
+ /**
133
+ * Events for edited files in this session collected between the previous request and this one.
134
+ */
135
+ readonly editedFileEvents?: ChatRequestEditedFileEvent[];
136
+
137
+ /**
138
+ * @hidden
139
+ */
140
+ private constructor(prompt: string, command: string | undefined, references: ChatPromptReference[], participant: string, toolReferences: ChatLanguageModelToolReference[], editedFileEvents: ChatRequestEditedFileEvent[] | undefined);
84
141
  }
85
142
 
86
143
  export interface ChatParticipant {
@@ -183,4 +240,26 @@ declare module 'vscode' {
183
240
  }
184
241
 
185
242
  // #endregion
243
+
244
+ export interface ChatRequestToolSelection {
245
+ /**
246
+ * A list of tools that the user selected for this request.
247
+ * Tools can be called with {@link lm.invokeTool} with input that match their
248
+ * declared `inputSchema`.
249
+ */
250
+ readonly tools: readonly LanguageModelToolInformation[];
251
+
252
+ /**
253
+ * When true, only this set of tools (and toolReferences) should be used. When false, the base set of agent tools can also be included.
254
+ */
255
+ readonly isExclusive?: boolean;
256
+ }
257
+
258
+ export interface ChatRequest {
259
+ /**
260
+ * A list of tools that the user selected for this request, when `undefined` any tool
261
+ * from {@link lm.tools} should be used.
262
+ */
263
+ readonly toolSelection: ChatRequestToolSelection | undefined;
264
+ }
186
265
  }
@@ -5,11 +5,6 @@
5
5
 
6
6
  declare module 'vscode' {
7
7
 
8
- export interface ChatResponseFragment {
9
- index: number;
10
- part: string;
11
- }
12
-
13
8
  export interface ChatResponseFragment2 {
14
9
  index: number;
15
10
  part: LanguageModelTextPart | LanguageModelToolCallPart;
@@ -26,9 +21,6 @@ declare module 'vscode' {
26
21
 
27
22
  provideLanguageModelResponse(messages: Array<LanguageModelChatMessage | LanguageModelChatMessage2>, options: LanguageModelChatRequestOptions, extensionId: string, progress: Progress<ChatResponseFragment2>, token: CancellationToken): Thenable<any>;
28
23
 
29
- /** @deprecated */
30
- provideLanguageModelResponse2?(messages: Array<LanguageModelChatMessage | LanguageModelChatMessage2>, options: LanguageModelChatRequestOptions, extensionId: string, progress: Progress<ChatResponseFragment2>, token: CancellationToken): Thenable<any>;
31
-
32
24
  provideTokenCount(text: string | LanguageModelChatMessage | LanguageModelChatMessage2, token: CancellationToken): Thenable<number>;
33
25
  }
34
26
 
@@ -48,6 +40,16 @@ declare module 'vscode' {
48
40
  */
49
41
  readonly family: string;
50
42
 
43
+ /**
44
+ * An optional, human-readable description of the language model.
45
+ */
46
+ readonly description?: string;
47
+
48
+ /**
49
+ * An optional, human-readable string representing the cost of using the language model.
50
+ */
51
+ readonly cost?: string;
52
+
51
53
  /**
52
54
  * Opaque version string of the model. This is defined by the extension contributing the language model
53
55
  * and subject to change while the identifier is stable.
@@ -73,6 +75,14 @@ declare module 'vscode' {
73
75
  readonly toolCalling?: boolean;
74
76
  readonly agentMode?: boolean;
75
77
  };
78
+
79
+ /**
80
+ * Optional category to group models by in the model picker.
81
+ * The lower the order, the higher the category appears in the list.
82
+ * Has no effect if `isUserSelectable` is `false`.
83
+ * If not specified, the model will appear in the "Other Models" category.
84
+ */
85
+ readonly category?: { label: string; order: number };
76
86
  }
77
87
 
78
88
  export interface ChatResponseProviderMetadata {
@@ -80,14 +90,6 @@ declare module 'vscode' {
80
90
  extensions?: string[];
81
91
  }
82
92
 
83
- export namespace chat {
84
-
85
- /**
86
- * @deprecated use `lm.registerChatResponseProvider` instead
87
- */
88
- export function registerChatResponseProvider(id: string, provider: ChatResponseProvider, metadata: ChatResponseProviderMetadata): Disposable;
89
- }
90
-
91
93
  export namespace lm {
92
94
 
93
95
  export function registerChatModelProvider(id: string, provider: LanguageModelChatProvider, metadata: ChatResponseProviderMetadata): Disposable;
@@ -14,7 +14,7 @@ declare module 'vscode' {
14
14
  /**
15
15
  * The main name of the entry, like 'Indexing Status'
16
16
  */
17
- title: string;
17
+ title: string | { label: string; link: string };
18
18
 
19
19
  /**
20
20
  * Optional additional description of the entry.
@@ -32,7 +32,7 @@ declare module 'vscode' {
32
32
  range: Range | undefined;
33
33
  comments: readonly Comment[];
34
34
  collapsibleState: CommentThreadCollapsibleState;
35
- canReply: boolean;
35
+ canReply: boolean | CommentAuthorInformation;
36
36
  contextValue?: string;
37
37
  label?: string;
38
38
  dispose(): void;
@@ -3,4 +3,4 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
- // empty placeholder declaration for the `debugCreateConfiguation` menu
6
+ // empty placeholder declaration for the `debugCreateConfiguration` menu
@@ -1,6 +1,7 @@
1
1
 
2
2
  import "./vscode.proposed.activeComment.d.ts"
3
3
  import "./vscode.proposed.aiRelatedInformation.d.ts"
4
+ import "./vscode.proposed.aiSettingsSearch.d.ts"
4
5
  import "./vscode.proposed.aiTextSearchProvider.d.ts"
5
6
  import "./vscode.proposed.authLearnMore.d.ts"
6
7
  import "./vscode.proposed.authSession.d.ts"
@@ -73,7 +74,6 @@ import "./vscode.proposed.ipc.d.ts"
73
74
  import "./vscode.proposed.languageModelCapabilities.d.ts"
74
75
  import "./vscode.proposed.languageModelDataPart.d.ts"
75
76
  import "./vscode.proposed.languageModelSystem.d.ts"
76
- import "./vscode.proposed.languageModelToolsForAgent.d.ts"
77
77
  import "./vscode.proposed.languageStatusText.d.ts"
78
78
  import "./vscode.proposed.mappedEditsProvider.d.ts"
79
79
  import "./vscode.proposed.mcpConfigurationProvider.d.ts"
@@ -121,13 +121,13 @@ import "./vscode.proposed.terminalSelection.d.ts"
121
121
  import "./vscode.proposed.terminalShellEnv.d.ts"
122
122
  import "./vscode.proposed.testObserver.d.ts"
123
123
  import "./vscode.proposed.testRelatedCode.d.ts"
124
- import "./vscode.proposed.textDocumentEncoding.d.ts"
125
124
  import "./vscode.proposed.textEditorDiffInformation.d.ts"
126
125
  import "./vscode.proposed.textSearchComplete2.d.ts"
127
126
  import "./vscode.proposed.textSearchProvider.d.ts"
128
127
  import "./vscode.proposed.textSearchProvider2.d.ts"
129
128
  import "./vscode.proposed.timeline.d.ts"
130
129
  import "./vscode.proposed.tokenInformation.d.ts"
130
+ import "./vscode.proposed.toolProgress.d.ts"
131
131
  import "./vscode.proposed.treeViewActiveItem.d.ts"
132
132
  import "./vscode.proposed.treeViewMarkdownMessage.d.ts"
133
133
  import "./vscode.proposed.treeViewReveal.d.ts"
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
- // version: 3
6
+ // version: 4
7
7
 
8
8
  declare module 'vscode' {
9
9
 
@@ -50,7 +50,7 @@ declare module 'vscode' {
50
50
  helpTextPostfix?: string | MarkdownString;
51
51
 
52
52
  welcomeMessageProvider?: ChatWelcomeMessageProvider;
53
- welcomeMessageContent?: ChatWelcomeMessageContent;
53
+ additionalWelcomeMessage?: string | MarkdownString;
54
54
  titleProvider?: ChatTitleProvider;
55
55
  requester?: ChatRequesterInformation;
56
56
  }