@codingame/monaco-vscode-api 20.5.0 → 21.0.1

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 (648) hide show
  1. package/missing-services.js +136 -50
  2. package/package.json +8 -8
  3. package/services.d.ts +8 -4
  4. package/services.js +8 -4
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/dom.js +3 -3
  7. package/vscode/src/vs/base/browser/domSanitize.d.ts +23 -11
  8. package/vscode/src/vs/base/browser/domSanitize.js +86 -7
  9. package/vscode/src/vs/base/browser/domStylesheets.js +2 -2
  10. package/vscode/src/vs/base/browser/event.d.ts +1 -1
  11. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +8 -4
  12. package/vscode/src/vs/base/browser/markdownRenderer.js +72 -126
  13. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +10 -10
  14. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -2
  15. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +2 -2
  16. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +4 -4
  17. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +32 -7
  18. package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -2
  19. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  20. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +4 -2
  21. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +1 -1
  22. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
  23. package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +7 -7
  24. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +7 -7
  25. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +6 -6
  26. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +6 -6
  27. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +5 -0
  28. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -1
  29. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +4 -4
  30. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +2 -2
  31. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +2 -2
  32. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +3 -3
  33. package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -3
  34. package/vscode/src/vs/base/browser/ui/menu/menu.d.ts +1 -0
  35. package/vscode/src/vs/base/browser/ui/menu/menu.js +21 -16
  36. package/vscode/src/vs/base/browser/ui/resizable/resizable.d.ts +2 -2
  37. package/vscode/src/vs/base/browser/ui/resizable/resizable.js +2 -2
  38. package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +4 -4
  39. package/vscode/src/vs/base/browser/ui/sash/sash.js +16 -22
  40. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +2 -2
  41. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +2 -2
  42. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +2 -1
  43. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +4 -4
  44. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +3 -3
  45. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +2 -2
  46. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -12
  47. package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +2 -2
  48. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +2 -2
  49. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
  50. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
  51. package/vscode/src/vs/base/common/actions.d.ts +3 -3
  52. package/vscode/src/vs/base/common/actions.js +3 -3
  53. package/vscode/src/vs/base/common/async.d.ts +18 -7
  54. package/vscode/src/vs/base/common/async.js +71 -14
  55. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  56. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  57. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  58. package/vscode/src/vs/base/common/defaultAccount.d.ts +23 -0
  59. package/vscode/src/vs/base/common/event.d.ts +0 -5
  60. package/vscode/src/vs/base/common/event.js +0 -12
  61. package/vscode/src/vs/base/common/hotReloadHelpers.js +2 -33
  62. package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
  63. package/vscode/src/vs/base/common/htmlContent.js +2 -2
  64. package/vscode/src/vs/base/common/lazy.d.ts +1 -1
  65. package/vscode/src/vs/base/common/lazy.js +14 -4
  66. package/vscode/src/vs/base/common/lifecycle.d.ts +7 -11
  67. package/vscode/src/vs/base/common/lifecycle.js +19 -2
  68. package/vscode/src/vs/base/common/marshallingIds.d.ts +5 -4
  69. package/vscode/src/vs/base/common/marshallingIds.js +5 -4
  70. package/vscode/src/vs/base/common/mime.d.ts +4 -0
  71. package/vscode/src/vs/base/common/mime.js +4 -1
  72. package/vscode/src/vs/base/common/network.d.ts +5 -0
  73. package/vscode/src/vs/base/common/network.js +2 -0
  74. package/vscode/src/vs/base/common/oauth.d.ts +18 -2
  75. package/vscode/src/vs/base/common/oauth.js +114 -19
  76. package/vscode/src/vs/base/common/observableInternal/debugLocation.d.ts +20 -0
  77. package/vscode/src/vs/base/common/observableInternal/debugLocation.js +63 -0
  78. package/vscode/src/vs/base/common/observableInternal/experimental/reducer.js +2 -1
  79. package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -1
  80. package/vscode/src/vs/base/common/observableInternal/index.js +2 -1
  81. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +3 -2
  82. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +15 -33
  83. package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.d.ts +0 -7
  84. package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +1 -42
  85. package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +3 -2
  86. package/vscode/src/vs/base/common/observableInternal/logging/logging.js +4 -4
  87. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +2 -1
  88. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +6 -5
  89. package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +4 -3
  90. package/vscode/src/vs/base/common/observableInternal/observables/derived.js +12 -11
  91. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +3 -2
  92. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +4 -4
  93. package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +2 -1
  94. package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.js +2 -2
  95. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -3
  96. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +10 -8
  97. package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.js +6 -5
  98. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +2 -1
  99. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +5 -4
  100. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +3 -2
  101. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.js +7 -6
  102. package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.d.ts +2 -1
  103. package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.js +4 -3
  104. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +11 -3
  105. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +27 -7
  106. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +2 -1
  107. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +2 -2
  108. package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.js +1 -0
  109. package/vscode/src/vs/base/common/policy.d.ts +29 -0
  110. package/vscode/src/vs/base/common/product.d.ts +15 -1
  111. package/vscode/src/vs/base/common/strings.d.ts +0 -6
  112. package/vscode/src/vs/base/common/strings.js +1 -8
  113. package/vscode/src/vs/base/common/types.js +1 -4
  114. package/vscode/src/vs/base/common/uuid.d.ts +2 -0
  115. package/vscode/src/vs/base/common/uuid.js +4 -1
  116. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +1 -0
  117. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +9 -2
  118. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +2 -1
  119. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +10 -3
  120. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -0
  121. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -3
  122. package/vscode/src/vs/editor/browser/editorDom.d.ts +1 -0
  123. package/vscode/src/vs/editor/browser/editorDom.js +7 -4
  124. package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +2 -2
  125. package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -2
  126. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -4
  127. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +3 -0
  128. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +14 -1
  129. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +4 -0
  130. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +1 -0
  131. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -7
  132. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +8 -8
  133. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  134. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -1
  135. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
  136. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +31 -44
  137. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -10
  138. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +6 -4
  139. package/vscode/src/vs/editor/common/config/editorOptions.js +302 -275
  140. package/vscode/src/vs/editor/common/core/2d/rect.js +5 -2
  141. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  142. package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
  143. package/vscode/src/vs/editor/common/core/edits/lineEdit.js +1 -1
  144. package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +1 -1
  145. package/vscode/src/vs/editor/common/core/edits/stringEdit.js +9 -3
  146. package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +2 -2
  147. package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
  148. package/vscode/src/vs/editor/common/core/text/textLength.js +6 -0
  149. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  150. package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
  151. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -1
  152. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  153. package/vscode/src/vs/editor/common/languages.d.ts +19 -1
  154. package/vscode/src/vs/editor/common/languages.js +77 -57
  155. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +1 -1
  156. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  157. package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +19 -1
  158. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +1 -1
  159. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +1 -1
  160. package/vscode/src/vs/editor/common/model/textModel.d.ts +4 -4
  161. package/vscode/src/vs/editor/common/model/textModel.js +4 -4
  162. package/vscode/src/vs/editor/common/model/textModelStringEdit.d.ts +1 -1
  163. package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +1 -1
  164. package/vscode/src/vs/editor/common/model.d.ts +2 -1
  165. package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +7 -1
  166. package/vscode/src/vs/editor/common/services/editorWebWorker.js +13 -10
  167. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -0
  168. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -1
  169. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  170. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +48 -2
  171. package/vscode/src/vs/editor/common/textModelEditSource.js +54 -1
  172. package/vscode/src/vs/editor/common/textModelEvents.d.ts +1 -18
  173. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +6 -1
  174. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  175. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  176. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  177. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  178. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  179. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -17
  180. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  181. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  182. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  183. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  184. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  185. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  186. package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +2 -2
  187. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -2
  188. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.d.ts +5 -5
  189. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -1
  190. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  191. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  192. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +2 -2
  193. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -3
  194. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  195. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  196. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  197. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  198. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  199. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  200. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  201. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  202. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  203. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  204. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  205. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  206. package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
  207. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -21
  208. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  209. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  210. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  211. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  212. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  213. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  214. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  215. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  216. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  217. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  218. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  219. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  220. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  221. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.d.ts +2 -2
  222. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +4 -4
  223. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  224. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +2 -2
  225. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  226. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  227. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  228. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +2 -2
  229. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +2 -2
  230. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -12
  231. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +9 -5
  232. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  233. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  234. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -1
  235. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -2
  236. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -11
  237. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  238. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  239. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +56 -8
  240. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  241. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  242. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +7 -0
  243. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +76 -18
  244. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
  245. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +7 -3
  246. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +6 -4
  247. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +9 -7
  248. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +18 -4
  249. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +31 -9
  250. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -0
  251. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +4 -2
  252. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +0 -1
  253. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +6 -10
  254. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +5 -5
  255. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +11 -15
  256. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +8 -8
  257. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +3 -3
  258. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  259. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +36 -7
  260. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +1 -0
  261. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
  262. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +17 -5
  263. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +4 -4
  264. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +3 -3
  265. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +1 -0
  266. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +10 -3
  267. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +7 -7
  268. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +1 -0
  269. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +15 -8
  270. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  271. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +1 -1
  272. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +49 -13
  273. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  274. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  275. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  276. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +8 -3
  277. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  278. package/vscode/src/vs/editor/contrib/message/browser/messageController.d.ts +0 -1
  279. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +11 -14
  280. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  281. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  282. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  283. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  284. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  285. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  286. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  287. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +10 -10
  288. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  289. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  290. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  291. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  292. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  293. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +2 -1
  294. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +26 -15
  295. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  296. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  297. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  298. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  299. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  300. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  301. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  302. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  303. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  304. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  305. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  306. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  307. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  308. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +4 -0
  309. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  310. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  311. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  312. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
  313. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  314. package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +1 -1
  315. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
  316. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +11 -11
  317. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  318. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -6
  319. package/vscode/src/vs/platform/actions/browser/toolbar.js +3 -6
  320. package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -1
  321. package/vscode/src/vs/platform/actions/common/actions.js +2 -1
  322. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  323. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  324. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +70 -0
  325. package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -8
  326. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +1 -1
  327. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  328. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -3
  329. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +1 -1
  330. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -2
  331. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  332. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +1 -0
  333. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +11 -10
  334. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  335. package/vscode/src/vs/platform/dataChannel/common/dataChannel.d.ts +14 -0
  336. package/vscode/src/vs/platform/dataChannel/common/dataChannel.js +15 -0
  337. package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.d.ts +2 -2
  338. package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.js +1 -1
  339. package/vscode/src/vs/platform/debug/common/extensionHostDebug.d.ts +1 -1
  340. package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.d.ts +1 -0
  341. package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
  342. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  343. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  344. package/vscode/src/vs/platform/environment/common/argv.d.ts +0 -1
  345. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
  346. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -0
  347. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +21 -19
  348. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  349. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  350. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  351. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -0
  352. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -1
  353. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  354. package/vscode/src/vs/platform/files/common/files.js +6 -6
  355. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  356. package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +1 -0
  357. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -0
  358. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  359. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  360. package/vscode/src/vs/platform/log/common/log.d.ts +1 -1
  361. package/vscode/src/vs/platform/log/common/log.js +7 -7
  362. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  363. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  364. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +18 -0
  365. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +28 -0
  366. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.d.ts +10 -0
  367. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js +6 -0
  368. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -4
  369. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  370. package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +4 -4
  371. package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +15 -20
  372. package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +2 -28
  373. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +3 -42
  374. package/vscode/src/vs/platform/policy/common/policy.d.ts +3 -3
  375. package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
  376. package/vscode/src/vs/platform/product/common/product.js +3 -3
  377. package/vscode/src/vs/platform/progress/common/progress.d.ts +0 -12
  378. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +13 -12
  379. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  380. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  381. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -7
  382. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -2
  383. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +2 -1
  384. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  385. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +1 -1
  386. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +2 -2
  387. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +0 -1
  388. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
  389. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +0 -1
  390. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +5 -17
  391. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +0 -1
  392. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +3 -6
  393. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +1 -2
  394. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +5 -30
  395. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +0 -3
  396. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +2 -6
  397. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +53 -26
  398. package/vscode/src/vs/platform/request/common/request.d.ts +2 -0
  399. package/vscode/src/vs/platform/request/common/request.js +25 -19
  400. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -1
  401. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -0
  402. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  403. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  404. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  405. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  406. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  407. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  408. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  409. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  410. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  411. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  412. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  413. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  414. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  415. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  416. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  417. package/vscode/src/vs/platform/window/common/window.d.ts +6 -2
  418. package/vscode/src/vs/platform/window/common/window.js +3 -2
  419. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  420. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -9
  421. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +53 -26
  422. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +7 -1
  423. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +6 -4
  424. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +67 -13
  425. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -3
  426. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +23 -30
  427. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +12 -4
  428. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +73 -12
  429. package/vscode/src/vs/workbench/api/common/extHostCommands.js +6 -1
  430. package/vscode/src/vs/workbench/api/common/extHostComments.js +2 -1
  431. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  432. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +3 -1
  433. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +3 -2
  434. package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +7 -4
  435. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +27 -6
  436. package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
  437. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  438. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +2 -1
  439. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +8 -1
  440. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +39 -14
  441. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +5 -5
  442. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +52 -84
  443. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -1
  444. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  445. package/vscode/src/vs/workbench/api/common/extHostMcp.js +36 -33
  446. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +5 -2
  447. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +69 -53
  448. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +4 -2
  449. package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +2 -1
  450. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +2 -1
  451. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +2 -1
  452. package/vscode/src/vs/workbench/api/common/extHostSCM.js +14 -12
  453. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  454. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  455. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
  456. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -4
  457. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -1
  458. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -1
  459. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +3 -2
  460. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  461. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +16 -8
  462. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +93 -20
  463. package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.d.ts +19 -0
  464. package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.js +37 -0
  465. package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +31 -0
  466. package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.js +91 -0
  467. package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts +7 -0
  468. package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.js +27 -0
  469. package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +11 -0
  470. package/vscode/src/vs/workbench/api/common/extHostTypes/location.js +44 -0
  471. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +20 -0
  472. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +65 -0
  473. package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +84 -0
  474. package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.js +229 -0
  475. package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +29 -0
  476. package/vscode/src/vs/workbench/api/common/extHostTypes/position.js +169 -0
  477. package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +26 -0
  478. package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +137 -0
  479. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +20 -0
  480. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +76 -0
  481. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +12 -0
  482. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +84 -0
  483. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +13 -0
  484. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.js +28 -0
  485. package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +45 -0
  486. package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.js +75 -0
  487. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +24 -0
  488. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +82 -0
  489. package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +99 -0
  490. package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.js +146 -0
  491. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +86 -420
  492. package/vscode/src/vs/workbench/api/common/extHostTypes.js +65 -1186
  493. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  494. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
  495. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  496. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  497. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  498. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +1 -0
  499. package/vscode/src/vs/workbench/browser/contextkeys.js +13 -9
  500. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +7 -0
  501. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  502. package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
  503. package/vscode/src/vs/workbench/common/contextkeys.js +74 -73
  504. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  505. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  506. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  507. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  508. package/vscode/src/vs/workbench/common/editor.d.ts +2 -0
  509. package/vscode/src/vs/workbench/common/editor.js +4 -4
  510. package/vscode/src/vs/workbench/common/theme.js +160 -160
  511. package/vscode/src/vs/workbench/common/views.js +4 -4
  512. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +157 -157
  513. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  514. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
  515. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -3
  516. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +13 -7
  517. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -56
  518. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +18 -1
  519. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -4
  520. package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +3 -0
  521. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +8 -0
  522. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +8 -0
  523. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js +6 -0
  524. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +13 -0
  525. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js +6 -0
  526. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +71 -15
  527. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +10 -1
  528. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +2 -1
  529. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +49 -22
  530. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +10 -0
  531. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +24 -9
  532. package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +3 -2
  533. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +2 -1
  534. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +13 -8
  535. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -3
  536. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -1
  537. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +18 -1
  538. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +25 -7
  539. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +15 -8
  540. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +4 -3
  541. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +36 -18
  542. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +46 -36
  543. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  544. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
  545. package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.d.ts +14 -0
  546. package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +76 -0
  547. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -2
  548. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +10 -1
  549. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +205 -107
  550. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +3 -1
  551. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +14 -8
  552. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  553. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  554. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  555. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  556. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  557. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  558. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  559. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  560. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  561. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  562. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  563. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  564. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
  565. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  566. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  567. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  568. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +16 -0
  569. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.d.ts +8 -0
  570. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js +6 -0
  571. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  572. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
  573. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -7
  574. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  575. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  576. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  577. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  578. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  579. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  580. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  581. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  582. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +10 -7
  583. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -6
  584. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -1
  585. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -5
  586. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -4
  587. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
  588. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  589. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  590. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  591. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  592. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  593. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  594. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +7 -2
  595. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  596. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -1
  597. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +10 -3
  598. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +1 -1
  599. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
  600. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
  601. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
  602. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
  603. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  604. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -21
  605. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +34 -6
  606. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.d.ts +1 -1
  607. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  608. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
  609. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +1 -1
  610. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +48 -1
  611. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +7 -1
  612. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +7 -6
  613. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  614. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  615. package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
  616. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +94 -86
  617. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
  618. package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +8 -0
  619. package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js +6 -0
  620. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  621. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  622. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  623. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  624. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  625. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +4 -0
  626. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  627. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  628. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  629. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
  630. package/vscode-dts/vscode.d.ts +218 -2
  631. package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +161 -0
  632. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +47 -1
  633. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +3 -1
  634. package/vscode-dts/vscode.proposed.chatProvider.d.ts +28 -108
  635. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +101 -12
  636. package/vscode-dts/vscode.proposed.contribSecondarySidebar.d.ts +6 -0
  637. package/vscode-dts/vscode.proposed.d.ts +3 -0
  638. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
  639. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +31 -0
  640. package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +2 -2
  641. package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +49 -0
  642. package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +16 -5
  643. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +7 -0
  644. package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +0 -114
  645. package/vscode/src/vs/base/common/hotReload.js +0 -80
  646. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +0 -6
  647. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +0 -6
  648. package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +0 -7
@@ -8,16 +8,16 @@ import { Categories } from '../../../../platform/action/common/actionCommonCateg
8
8
 
9
9
  function getSyncAreaLabel(source) {
10
10
  switch (source) {
11
- case SyncResource.Settings: return localize(13717, "Settings");
12
- case SyncResource.Keybindings: return localize(13718, "Keyboard Shortcuts");
13
- case SyncResource.Snippets: return localize(13719, "Snippets");
14
- case SyncResource.Prompts: return localize(13720, "Prompts and Instructions");
15
- case SyncResource.Tasks: return localize(13721, "Tasks");
16
- case SyncResource.Mcp: return localize(13722, "MCP Servers");
17
- case SyncResource.Extensions: return localize(13723, "Extensions");
18
- case SyncResource.GlobalState: return localize(13724, "UI State");
19
- case SyncResource.Profiles: return localize(13725, "Profiles");
20
- case SyncResource.WorkspaceState: return localize(13726, "Workspace State");
11
+ case SyncResource.Settings: return localize(13916, "Settings");
12
+ case SyncResource.Keybindings: return localize(13917, "Keyboard Shortcuts");
13
+ case SyncResource.Snippets: return localize(13918, "Snippets");
14
+ case SyncResource.Prompts: return localize(13919, "Prompts and Instructions");
15
+ case SyncResource.Tasks: return localize(13920, "Tasks");
16
+ case SyncResource.Mcp: return localize(13921, "MCP Servers");
17
+ case SyncResource.Extensions: return localize(13922, "Extensions");
18
+ case SyncResource.GlobalState: return localize(13923, "UI State");
19
+ case SyncResource.Profiles: return localize(13924, "Profiles");
20
+ case SyncResource.WorkspaceState: return localize(13925, "Workspace State");
21
21
  }
22
22
  }
23
23
  var AccountStatus;
@@ -26,8 +26,8 @@ var AccountStatus;
26
26
  AccountStatus["Unavailable"] = "unavailable";
27
27
  AccountStatus["Available"] = "available";
28
28
  })(AccountStatus || (AccountStatus = {}));
29
- const SYNC_TITLE = ( localize2(13727, "Settings Sync"));
30
- const SYNC_VIEW_ICON = registerIcon('settings-sync-view-icon', Codicon.sync, ( localize(13728, 'View icon of the Settings Sync view.')));
29
+ const SYNC_TITLE = ( localize2(13926, "Settings Sync"));
30
+ const SYNC_VIEW_ICON = registerIcon('settings-sync-view-icon', Codicon.sync, ( localize(13927, 'View icon of the Settings Sync view.')));
31
31
  const CONTEXT_SYNC_STATE = ( new RawContextKey('syncStatus', SyncStatus.Uninitialized));
32
32
  const CONTEXT_SYNC_ENABLEMENT = ( new RawContextKey('syncEnabled', false));
33
33
  const CONTEXT_ACCOUNT_STATE = ( new RawContextKey('userDataSyncAccountStatus', AccountStatus.Uninitialized));
@@ -40,7 +40,7 @@ const SYNC_VIEW_CONTAINER_ID = 'workbench.view.sync';
40
40
  const SYNC_CONFLICTS_VIEW_ID = 'workbench.views.sync.conflicts';
41
41
  const DOWNLOAD_ACTIVITY_ACTION_DESCRIPTOR = {
42
42
  id: 'workbench.userDataSync.actions.downloadSyncActivity',
43
- title: ( localize2(13729, "Download Settings Sync Activity")),
43
+ title: ( localize2(13928, "Download Settings Sync Activity")),
44
44
  category: Categories.Developer,
45
45
  f1: true,
46
46
  precondition: ( ContextKeyExpr.and(( CONTEXT_ACCOUNT_STATE.isEqualTo(AccountStatus.Available)), ( CONTEXT_SYNC_STATE.notEqualsTo(SyncStatus.Uninitialized))))
@@ -4,7 +4,7 @@ import { IDisposable } from "../../../../base/common/lifecycle.js";
4
4
  import { URI } from "../../../../base/common/uri.js";
5
5
  import { IFileStatWithMetadata } from "../../../../platform/files/common/files.js";
6
6
  import { IProgress, IProgressStep } from "../../../../platform/progress/common/progress.js";
7
- import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
7
+ import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
8
8
  import { IWorkingCopy } from "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
9
9
  import { WorkingCopyFileEvent, IWorkingCopyFileOperationParticipant, IStoredFileWorkingCopySaveParticipant, IStoredFileWorkingCopySaveParticipantContext, ICreateFileOperation, IFileOperationUndoRedoInfo, ICreateOperation, IMoveOperation, ICopyOperation, IDeleteOperation, WorkingCopyProvider } from "@codingame/monaco-vscode-base-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService";
10
10
  export declare const IWorkingCopyFileService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkingCopyFileService>;
@@ -12464,6 +12464,20 @@ declare module 'vscode' {
12464
12464
  * This will only take effect when `terminal.integrated.enablePersistentSessions` is enabled.
12465
12465
  */
12466
12466
  isTransient?: boolean;
12467
+
12468
+ /**
12469
+ * The nonce to use to verify shell integration sequences are coming from a trusted source.
12470
+ * An example impact of UX of this is if the command line is reported with a nonce, it will
12471
+ * not need to verify with the user that the command line is correct before rerunning it
12472
+ * via the [shell integration command decoration](https://code.visualstudio.com/docs/terminal/shell-integration#_command-decorations-and-the-overview-ruler).
12473
+ *
12474
+ * This should be used if the terminal includes [custom shell integration support](https://code.visualstudio.com/docs/terminal/shell-integration#_supported-escape-sequences).
12475
+ * It should be set to a random GUID which will then set the `VSCODE_NONCE` environment
12476
+ * variable. Inside the shell, this should then be removed from the environment so as to
12477
+ * protect it from general access. Once that is done it can be passed through in the
12478
+ * relevant sequences to make them trusted.
12479
+ */
12480
+ shellIntegrationNonce?: string;
12467
12481
  }
12468
12482
 
12469
12483
  /**
@@ -12503,6 +12517,18 @@ declare module 'vscode' {
12503
12517
  * This will only take effect when `terminal.integrated.enablePersistentSessions` is enabled.
12504
12518
  */
12505
12519
  isTransient?: boolean;
12520
+
12521
+ /**
12522
+ * The nonce to use to verify shell integration sequences are coming from a trusted source.
12523
+ * An example impact of UX of this is if the command line is reported with a nonce, it will
12524
+ * not need to verify with the user that the command line is correct before rerunning it
12525
+ * via the [shell integration command decoration](https://code.visualstudio.com/docs/terminal/shell-integration#_command-decorations-and-the-overview-ruler).
12526
+ *
12527
+ * This should be used if the terminal includes [custom shell integration support](https://code.visualstudio.com/docs/terminal/shell-integration#_supported-escape-sequences).
12528
+ * It should be set to a random GUID. Inside the {@link Pseudoterminal} implementation, this value
12529
+ * can be passed through in the relevant sequences to make them trusted.
12530
+ */
12531
+ shellIntegrationNonce?: string;
12506
12532
  }
12507
12533
 
12508
12534
  /**
@@ -13857,6 +13883,9 @@ declare module 'vscode' {
13857
13883
  * In the same way, symbolic links are preserved, i.e. the file event will report the path of the
13858
13884
  * symbolic link as it was provided for watching and not the target.
13859
13885
  *
13886
+ * *Note* that file events from deleting a folder may not include events for contained files. If possible
13887
+ * events will be aggregated to reduce the overal number of emitted events.
13888
+ *
13860
13889
  * ### Examples
13861
13890
  *
13862
13891
  * The basic anatomy of a file watcher is as follows:
@@ -19966,7 +19995,7 @@ declare module 'vscode' {
19966
19995
  * A string or heterogeneous array of things that a message can contain as content. Some parts may be message-type
19967
19996
  * specific for some models.
19968
19997
  */
19969
- content: Array<LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart>;
19998
+ content: Array<LanguageModelInputPart>;
19970
19999
 
19971
20000
  /**
19972
20001
  * The optional name of a user for this message.
@@ -19980,7 +20009,7 @@ declare module 'vscode' {
19980
20009
  * @param content The content of the message.
19981
20010
  * @param name The optional name of a user for the message.
19982
20011
  */
19983
- constructor(role: LanguageModelChatMessageRole, content: string | Array<LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart>, name?: string);
20012
+ constructor(role: LanguageModelChatMessageRole, content: string | Array<LanguageModelInputPart>, name?: string);
19984
20013
  }
19985
20014
 
19986
20015
  /**
@@ -20346,6 +20375,184 @@ declare module 'vscode' {
20346
20375
  resolveMcpServerDefinition?(server: T, token: CancellationToken): ProviderResult<T>;
20347
20376
  }
20348
20377
 
20378
+ /**
20379
+ * The provider version of {@linkcode LanguageModelChatRequestOptions}
20380
+ */
20381
+ export interface ProvideLanguageModelChatResponseOptions {
20382
+ /**
20383
+ * A set of options that control the behavior of the language model. These options are specific to the language model.
20384
+ */
20385
+ readonly modelOptions?: { readonly [name: string]: any };
20386
+
20387
+ /**
20388
+ * An optional list of tools that are available to the language model. These could be registered tools available via
20389
+ * {@link lm.tools}, or private tools that are just implemented within the calling extension.
20390
+ *
20391
+ * If the LLM requests to call one of these tools, it will return a {@link LanguageModelToolCallPart} in
20392
+ * {@link LanguageModelChatResponse.stream}. It's the caller's responsibility to invoke the tool. If it's a tool
20393
+ * registered in {@link lm.tools}, that means calling {@link lm.invokeTool}.
20394
+ *
20395
+ * Then, the tool result can be provided to the LLM by creating an Assistant-type {@link LanguageModelChatMessage} with a
20396
+ * {@link LanguageModelToolCallPart}, followed by a User-type message with a {@link LanguageModelToolResultPart}.
20397
+ */
20398
+ readonly tools?: readonly LanguageModelChatTool[];
20399
+
20400
+ /**
20401
+ * The tool-selecting mode to use. The provider must implement respecting this.
20402
+ */
20403
+ readonly toolMode: LanguageModelChatToolMode;
20404
+ }
20405
+
20406
+ /**
20407
+ * Represents a language model provided by a {@linkcode LanguageModelChatProvider}.
20408
+ */
20409
+ export interface LanguageModelChatInformation {
20410
+
20411
+ /**
20412
+ * Unique identifier for the language model. Must be unique per provider, but not required to be globally unique.
20413
+ */
20414
+ readonly id: string;
20415
+
20416
+ /**
20417
+ * Human-readable name of the language model.
20418
+ */
20419
+ readonly name: string;
20420
+
20421
+ /**
20422
+ * Opaque family-name of the language model. Values might be `gpt-3.5-turbo`, `gpt4`, `phi2`, or `llama`
20423
+ */
20424
+ readonly family: string;
20425
+
20426
+ /**
20427
+ * The tooltip to render when hovering the model. Used to provide more information about the model.
20428
+ */
20429
+ readonly tooltip?: string;
20430
+
20431
+ /**
20432
+ * An optional, human-readable string which will be rendered alongside the model.
20433
+ * Useful for distinguishing models of the same name in the UI.
20434
+ */
20435
+ readonly detail?: string;
20436
+
20437
+ /**
20438
+ * Opaque version string of the model.
20439
+ * This is used as a lookup value in {@linkcode LanguageModelChatSelector.version}
20440
+ * An example is how GPT 4o has multiple versions like 2024-11-20 and 2024-08-06
20441
+ */
20442
+ readonly version: string;
20443
+
20444
+ /**
20445
+ * The maximum number of tokens the model can accept as input.
20446
+ */
20447
+ readonly maxInputTokens: number;
20448
+
20449
+ /**
20450
+ * The maximum number of tokens the model is capable of producing.
20451
+ */
20452
+ readonly maxOutputTokens: number;
20453
+
20454
+ /**
20455
+ * Various features that the model supports such as tool calling or image input.
20456
+ */
20457
+ readonly capabilities: {
20458
+
20459
+ /**
20460
+ * Whether image input is supported by the model.
20461
+ * Common supported images are jpg and png, but each model will vary in supported mimetypes.
20462
+ */
20463
+ readonly imageInput?: boolean;
20464
+
20465
+ /**
20466
+ * Whether tool calling is supported by the model.
20467
+ * If a number is provided, that is the maximum number of tools that can be provided in a request to the model.
20468
+ */
20469
+ readonly toolCalling?: boolean | number;
20470
+ };
20471
+ }
20472
+
20473
+ /**
20474
+ * The provider version of {@linkcode LanguageModelChatMessage}.
20475
+ */
20476
+ export interface LanguageModelChatRequestMessage {
20477
+ /**
20478
+ * The role of this message.
20479
+ */
20480
+ readonly role: LanguageModelChatMessageRole;
20481
+
20482
+ /**
20483
+ * A heterogeneous array of things that a message can contain as content. Some parts may be message-type
20484
+ * specific for some models.
20485
+ */
20486
+ readonly content: ReadonlyArray<LanguageModelInputPart | unknown>;
20487
+
20488
+ /**
20489
+ * The optional name of a user for this message.
20490
+ */
20491
+ readonly name: string | undefined;
20492
+ }
20493
+
20494
+ /**
20495
+ * The various message types which a {@linkcode LanguageModelChatProvider} can emit in the chat response stream
20496
+ */
20497
+ export type LanguageModelResponsePart = LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart;
20498
+
20499
+ /**
20500
+ * The various message types which can be sent via {@linkcode LanguageModelChat.sendRequest } and processed by a {@linkcode LanguageModelChatProvider}
20501
+ */
20502
+ export type LanguageModelInputPart = LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart;
20503
+
20504
+ /**
20505
+ * A LanguageModelChatProvider implements access to language models, which users can then use through the chat view, or through extension API by acquiring a LanguageModelChat.
20506
+ * An example of this would be an OpenAI provider that provides models like gpt-5, o3, etc.
20507
+ */
20508
+ export interface LanguageModelChatProvider<T extends LanguageModelChatInformation = LanguageModelChatInformation> {
20509
+
20510
+ /**
20511
+ * An optional event fired when the available set of language models changes.
20512
+ */
20513
+ readonly onDidChangeLanguageModelChatInformation?: Event<void>;
20514
+
20515
+ /**
20516
+ * Get the list of available language models provided by this provider
20517
+ * @param options Options which specify the calling context of this function
20518
+ * @param token A cancellation token
20519
+ * @returns The list of available language models
20520
+ */
20521
+ provideLanguageModelChatInformation(options: PrepareLanguageModelChatModelOptions, token: CancellationToken): ProviderResult<T[]>;
20522
+
20523
+ /**
20524
+ * Returns the response for a chat request, passing the results to the progress callback.
20525
+ * The {@linkcode LanguageModelChatProvider} must emit the response parts to the progress callback as they are received from the language model.
20526
+ * @param model The language model to use
20527
+ * @param messages The messages to include in the request
20528
+ * @param options Options for the request
20529
+ * @param progress The progress to emit the streamed response chunks to
20530
+ * @param token A cancellation token
20531
+ * @returns A promise that resolves when the response is complete. Results are actually passed to the progress callback.
20532
+ */
20533
+ provideLanguageModelChatResponse(model: T, messages: readonly LanguageModelChatRequestMessage[], options: ProvideLanguageModelChatResponseOptions, progress: Progress<LanguageModelResponsePart>, token: CancellationToken): Thenable<void>;
20534
+
20535
+ /**
20536
+ * Returns the number of tokens for a given text using the model-specific tokenizer logic
20537
+ * @param model The language model to use
20538
+ * @param text The text to count tokens for
20539
+ * @param token A cancellation token
20540
+ * @returns The number of tokens
20541
+ */
20542
+ provideTokenCount(model: T, text: string | LanguageModelChatRequestMessage, token: CancellationToken): Thenable<number>;
20543
+ }
20544
+
20545
+ /**
20546
+ * The list of options passed into {@linkcode LanguageModelChatProvider.provideLanguageModelChatInformation}
20547
+ */
20548
+ export interface PrepareLanguageModelChatModelOptions {
20549
+ /**
20550
+ * Whether or not the user should be prompted via some UI flow, or if models should be attempted to be resolved silently.
20551
+ * If silent is true, all models may not be resolved due to lack of info such as API keys.
20552
+ */
20553
+ readonly silent: boolean;
20554
+ }
20555
+
20349
20556
  /**
20350
20557
  * Namespace for language model related functionality.
20351
20558
  */
@@ -20452,6 +20659,15 @@ declare module 'vscode' {
20452
20659
  * @returns A disposable that unregisters the provider when disposed.
20453
20660
  */
20454
20661
  export function registerMcpServerDefinitionProvider(id: string, provider: McpServerDefinitionProvider): Disposable;
20662
+
20663
+ /**
20664
+ * Registers a {@linkcode LanguageModelChatProvider}
20665
+ * Note: You must also define the language model chat provider via the `languageModelChatProviders` contribution point in package.json
20666
+ * @param vendor The vendor for this provider. Must be globally unique. An example is `copilot` or `openai`.
20667
+ * @param provider The provider to register
20668
+ * @returns A disposable that unregisters the provider when disposed
20669
+ */
20670
+ export function registerLanguageModelChatProvider(vendor: string, provider: LanguageModelChatProvider): Disposable;
20455
20671
  }
20456
20672
 
20457
20673
  /**
@@ -0,0 +1,161 @@
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
+
8
+ // https://github.com/microsoft/vscode/issues/260156
9
+
10
+ /**********
11
+ * "Extension asking for auth" API
12
+ *******/
13
+
14
+ /**
15
+ * Represents parameters for creating a session based on a WWW-Authenticate header value.
16
+ * This is used when an API returns a 401 with a WWW-Authenticate header indicating
17
+ * that additional authentication is required. The details of which will be passed down
18
+ * to the authentication provider to create a session.
19
+ */
20
+ export interface AuthenticationWWWAuthenticateRequest {
21
+ /**
22
+ * The raw WWW-Authenticate header value that triggered this challenge.
23
+ * This will be parsed by the authentication provider to extract the necessary
24
+ * challenge information.
25
+ */
26
+ readonly wwwAuthenticate: string;
27
+
28
+ /**
29
+ * @deprecated Use `wwwAuthenticate` instead.
30
+ */
31
+ readonly challenge?: string;
32
+
33
+ /**
34
+ * Optional scopes for the session. If not provided, the authentication provider
35
+ * may use default scopes or extract them from the challenge.
36
+ */
37
+ readonly scopes?: readonly string[];
38
+ }
39
+
40
+ export namespace authentication {
41
+ /**
42
+ * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
43
+ * registered, or if the user does not consent to sharing authentication information with
44
+ * the extension. If there are multiple sessions with the same scopes, the user will be shown a
45
+ * quickpick to select which account they would like to use.
46
+ *
47
+ * Currently, there are only two authentication providers that are contributed from built in extensions
48
+ * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
49
+ * @param providerId The id of the provider to use
50
+ * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
51
+ * @param options The {@link AuthenticationGetSessionOptions} to use
52
+ * @returns A thenable that resolves to an authentication session
53
+ */
54
+ export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWWWAuthenticateRequest, options: AuthenticationGetSessionOptions & { /** */createIfNone: true | AuthenticationGetSessionPresentationOptions }): Thenable<AuthenticationSession>;
55
+
56
+ /**
57
+ * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
58
+ * registered, or if the user does not consent to sharing authentication information with
59
+ * the extension. If there are multiple sessions with the same scopes, the user will be shown a
60
+ * quickpick to select which account they would like to use.
61
+ *
62
+ * Currently, there are only two authentication providers that are contributed from built in extensions
63
+ * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
64
+ * @param providerId The id of the provider to use
65
+ * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
66
+ * @param options The {@link AuthenticationGetSessionOptions} to use
67
+ * @returns A thenable that resolves to an authentication session
68
+ */
69
+ export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWWWAuthenticateRequest, options: AuthenticationGetSessionOptions & { /** literal-type defines return type */forceNewSession: true | AuthenticationGetSessionPresentationOptions | AuthenticationForceNewSessionOptions }): Thenable<AuthenticationSession>;
70
+
71
+ /**
72
+ * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
73
+ * registered, or if the user does not consent to sharing authentication information with
74
+ * the extension. If there are multiple sessions with the same scopes, the user will be shown a
75
+ * quickpick to select which account they would like to use.
76
+ *
77
+ * Currently, there are only two authentication providers that are contributed from built in extensions
78
+ * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
79
+ * @param providerId The id of the provider to use
80
+ * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
81
+ * @param options The {@link AuthenticationGetSessionOptions} to use
82
+ * @returns A thenable that resolves to an authentication session if available, or undefined if there are no sessions
83
+ */
84
+ export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWWWAuthenticateRequest, options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>;
85
+ }
86
+
87
+
88
+ /**********
89
+ * "Extension providing auth" API
90
+ * NOTE: This doesn't need to be finalized with the above
91
+ *******/
92
+
93
+ /**
94
+ * Represents an authentication challenge from a WWW-Authenticate header.
95
+ * This is used to handle cases where additional authentication steps are required,
96
+ * such as when mandatory multi-factor authentication (MFA) is enforced.
97
+ */
98
+ export interface AuthenticationChallenge {
99
+ /**
100
+ * The authentication scheme (e.g., 'Bearer').
101
+ */
102
+ readonly scheme: string;
103
+
104
+ /**
105
+ * Parameters for the authentication challenge.
106
+ * For Bearer challenges, this may include 'claims', 'scope', 'realm', etc.
107
+ */
108
+ readonly params: Record<string, string>;
109
+ }
110
+
111
+ /**
112
+ * Represents constraints for authentication, including challenges and optional scopes.
113
+ * This is used when creating or retrieving sessions that must satisfy specific authentication
114
+ * requirements from WWW-Authenticate headers.
115
+ */
116
+ export interface AuthenticationConstraint {
117
+ /**
118
+ * Array of authentication challenges parsed from WWW-Authenticate headers.
119
+ */
120
+ readonly challenges: readonly AuthenticationChallenge[];
121
+
122
+ /**
123
+ * Optional scopes for the session. If not provided, the authentication provider
124
+ * may extract scopes from the challenges or use default scopes.
125
+ */
126
+ readonly scopes?: readonly string[];
127
+ }
128
+
129
+ /**
130
+ * An authentication provider that supports challenge-based authentication.
131
+ * This extends the base AuthenticationProvider with methods to handle authentication
132
+ * challenges from WWW-Authenticate headers.
133
+ *
134
+ * TODO: Enforce that both of these functions should be defined by creating a new AuthenticationProviderWithChallenges interface.
135
+ * But this can be done later since this part doesn't need finalization.
136
+ */
137
+ export interface AuthenticationProvider {
138
+ /**
139
+ * Get existing sessions that match the given authentication constraints.
140
+ *
141
+ * @param constraint The authentication constraint containing challenges and optional scopes
142
+ * @param options Options for the session request
143
+ * @returns A thenable that resolves to an array of existing authentication sessions
144
+ */
145
+ getSessionsFromChallenges?(constraint: AuthenticationConstraint, options: AuthenticationProviderSessionOptions): Thenable<readonly AuthenticationSession[]>;
146
+
147
+ /**
148
+ * Create a new session based on authentication constraints.
149
+ * This is called when no existing session matches the constraint requirements.
150
+ *
151
+ * @param constraint The authentication constraint containing challenges and optional scopes
152
+ * @param options Options for the session creation
153
+ * @returns A thenable that resolves to a new authentication session
154
+ */
155
+ createSessionFromChallenges?(constraint: AuthenticationConstraint, options: AuthenticationProviderSessionOptions): Thenable<AuthenticationSession>;
156
+ }
157
+
158
+ export interface AuthenticationProviderOptions {
159
+ supportsChallenges?: boolean;
160
+ }
161
+ }
@@ -125,6 +125,16 @@ declare module 'vscode' {
125
125
  * Optional URI to navigate to when clicking on the file.
126
126
  */
127
127
  goToFileUri?: Uri;
128
+
129
+ /**
130
+ * Added data (e.g. line numbers) to show in the UI
131
+ */
132
+ added?: number;
133
+
134
+ /**
135
+ * Removed data (e.g. line numbers) to show in the UI
136
+ */
137
+ removed?: number;
128
138
  }
129
139
 
130
140
  /**
@@ -149,7 +159,7 @@ declare module 'vscode' {
149
159
  constructor(value: ChatResponseDiffEntry[], title: string);
150
160
  }
151
161
 
152
- export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseNotebookEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart | ChatResponseExtensionsPart | ChatResponsePullRequestPart | ChatPrepareToolInvocationPart | ChatToolInvocationPart | ChatResponseMultiDiffPart;
162
+ export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseNotebookEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart | ChatResponseExtensionsPart | ChatResponsePullRequestPart | ChatPrepareToolInvocationPart | ChatToolInvocationPart | ChatResponseMultiDiffPart | ChatResponseThinkingProgressPart;
153
163
  export class ChatResponseWarningPart {
154
164
  value: MarkdownString;
155
165
  constructor(value: string | MarkdownString);
@@ -161,6 +171,23 @@ declare module 'vscode' {
161
171
  constructor(value: string, task?: (progress: Progress<ChatResponseWarningPart | ChatResponseReferencePart>) => Thenable<string | void>);
162
172
  }
163
173
 
174
+ /**
175
+ * A specialized progress part for displaying thinking/reasoning steps.
176
+ */
177
+ export class ChatResponseThinkingProgressPart {
178
+ value: string | string[];
179
+ id?: string;
180
+ metadata?: { readonly [key: string]: any };
181
+ task?: (progress: Progress<LanguageModelThinkingPart>) => Thenable<string | void>;
182
+
183
+ /**
184
+ * Creates a new thinking progress part.
185
+ * @param value An initial progress message
186
+ * @param task A task that will emit thinking parts during its execution
187
+ */
188
+ constructor(value: string | string[], id?: string, metadata?: { readonly [key: string]: any }, task?: (progress: Progress<LanguageModelThinkingPart>) => Thenable<string | void>);
189
+ }
190
+
164
191
  export class ChatResponseReferencePart2 {
165
192
  /**
166
193
  * The reference target.
@@ -256,6 +283,8 @@ declare module 'vscode' {
256
283
  */
257
284
  progress(value: string, task?: (progress: Progress<ChatResponseWarningPart | ChatResponseReferencePart>) => Thenable<string | void>): void;
258
285
 
286
+ thinkingProgress(thinkingDelta: ThinkingDelta): void;
287
+
259
288
  textEdit(target: Uri, edits: TextEdit | TextEdit[]): void;
260
289
 
261
290
  textEdit(target: Uri, isDone: true): void;
@@ -308,6 +337,21 @@ declare module 'vscode' {
308
337
  Omitted = 3
309
338
  }
310
339
 
340
+ export type ThinkingDelta = {
341
+ text?: string | string[];
342
+ id: string;
343
+ metadata?: { readonly [key: string]: any };
344
+ } | {
345
+ text?: string | string[];
346
+ id?: string;
347
+ metadata: { readonly [key: string]: any };
348
+ } |
349
+ {
350
+ text: string | string[];
351
+ id?: string;
352
+ metadata?: { readonly [key: string]: any };
353
+ };
354
+
311
355
  export enum ChatResponseClearToPreviousToolInvocationReason {
312
356
  NoReason = 0,
313
357
  FilteredContentRetry = 1,
@@ -534,6 +578,8 @@ declare module 'vscode' {
534
578
  kind: 'chatEditingHunkAction';
535
579
  uri: Uri;
536
580
  lineCount: number;
581
+ linesAdded: number;
582
+ linesRemoved: number;
537
583
  outcome: ChatEditingSessionActionOutcome;
538
584
  hasRemainingEdits: boolean;
539
585
  }
@@ -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: 9
6
+ // version: 10
7
7
 
8
8
  declare module 'vscode' {
9
9
 
@@ -183,6 +183,8 @@ declare module 'vscode' {
183
183
  isQuotaExceeded?: boolean;
184
184
 
185
185
  level?: ChatErrorLevel;
186
+
187
+ code?: string;
186
188
  }
187
189
 
188
190
  export namespace chat {