@codingame/monaco-vscode-api 20.4.1 → 21.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 (650) 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 +113 -18
  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/workers/editor.worker.d.ts +2 -5
  645. package/workers/editor.worker.js +16 -18
  646. package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +0 -114
  647. package/vscode/src/vs/base/common/hotReload.js +0 -80
  648. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +0 -6
  649. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +0 -6
  650. package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +0 -7
@@ -222,7 +222,6 @@ import { IBannerService } from './vscode/src/vs/workbench/services/banner/browse
222
222
  import { IBrowserElementsService } from './vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.js';
223
223
  import { IJSONEditingService } from './vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.js';
224
224
  import { IConfigurationResolverService } from './vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.js';
225
- import { ICoreExperimentationService } from './vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js';
226
225
  import { IDecorationsService } from './vscode/src/vs/workbench/services/decorations/common/decorations.service.js';
227
226
  import { CodeEditorService } from './vscode/src/vs/workbench/services/editor/browser/codeEditorService.js';
228
227
  import { ICustomEditorLabelService } from './vscode/src/vs/workbench/services/editor/common/customEditorLabelService.service.js';
@@ -289,10 +288,17 @@ import { IWorkingCopyService } from './vscode/src/vs/workbench/services/workingC
289
288
  import { IWorkspaceEditingService } from './vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.js';
290
289
  import { IWorkspaceIdentityService } from './vscode/src/vs/workbench/services/workspaces/common/workspaceIdentityService.service.js';
291
290
  import { IAiSettingsSearchService } from './vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.js';
291
+ import { NullDataChannelService } from './vscode/src/vs/platform/dataChannel/common/dataChannel.js';
292
+ import { IDataChannelService } from './vscode/src/vs/platform/dataChannel/common/dataChannel.service.js';
292
293
  import { IImageResizeService } from './vscode/src/vs/platform/imageResize/common/imageResizeService.service.js';
293
- import { IDataChannelService } from './vscode/src/vs/workbench/services/dataChannel/common/dataChannel.service.js';
294
+ import { McpGalleryManifestStatus } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js';
295
+ import { IMcpGalleryManifestService } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js';
296
+ import { IChatLayoutService } from './vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js';
297
+ import { IAiEditTelemetryService } from './vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js';
298
+ import { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js';
294
299
  import { getBuiltInExtensionTranslationsUris, getExtensionIdProvidingCurrentLocale } from './l10n.js';
295
300
  import { unsupported } from './tools.js';
301
+ import { IChatModeService } from './vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js';
296
302
  import { constObservable } from './vscode/src/vs/base/common/observableInternal/observables/constObservable.js';
297
303
 
298
304
  function Unsupported(target, propertyKey, descriptor) {
@@ -1780,6 +1786,7 @@ class ExtensionHostDebugService {
1780
1786
  this.terminateSession = unsupported;
1781
1787
  this.onTerminateSession = Event.None;
1782
1788
  this.openExtensionDevelopmentHostWindow = unsupported;
1789
+ this.attachToCurrentWindowRenderer = unsupported;
1783
1790
  }
1784
1791
  }
1785
1792
  __decorate([
@@ -1797,6 +1804,9 @@ __decorate([
1797
1804
  __decorate([
1798
1805
  Unsupported
1799
1806
  ], ExtensionHostDebugService.prototype, "openExtensionDevelopmentHostWindow", void 0);
1807
+ __decorate([
1808
+ Unsupported
1809
+ ], ExtensionHostDebugService.prototype, "attachToCurrentWindowRenderer", void 0);
1800
1810
  registerSingleton(IExtensionHostDebugService, ExtensionHostDebugService, InstantiationType.Eager);
1801
1811
  class ViewsService {
1802
1812
  constructor() {
@@ -1964,7 +1974,8 @@ class TaskService {
1964
1974
  this.extensionCallbackTaskComplete = unsupported;
1965
1975
  this.isReconnected = false;
1966
1976
  this.onDidReconnectToTasks = Event.None;
1967
- this.getTerminalForTask = () => undefined;
1977
+ this.getTerminalsForTasks = () => undefined;
1978
+ this.getTaskProblems = () => undefined;
1968
1979
  }
1969
1980
  }
1970
1981
  __decorate([
@@ -3280,6 +3291,7 @@ class TerminalService {
3280
3291
  this.setActiveInstance = unsupported;
3281
3292
  this.focusActiveInstance = unsupported;
3282
3293
  this.getInstanceFromResource = unsupported;
3294
+ this.createAndFocusTerminal = unsupported;
3283
3295
  }
3284
3296
  get configHelper() {
3285
3297
  return unsupported();
@@ -3378,6 +3390,9 @@ __decorate([
3378
3390
  __decorate([
3379
3391
  Unsupported
3380
3392
  ], TerminalService.prototype, "getInstanceFromResource", void 0);
3393
+ __decorate([
3394
+ Unsupported
3395
+ ], TerminalService.prototype, "createAndFocusTerminal", void 0);
3381
3396
  registerSingleton(ITerminalService, TerminalService, InstantiationType.Delayed);
3382
3397
  class TerminalConfigurationService {
3383
3398
  constructor() {
@@ -4086,6 +4101,7 @@ class ExtensionStatusBarItemService {
4086
4101
  registerSingleton(IExtensionStatusBarItemService, ExtensionStatusBarItemService, InstantiationType.Delayed);
4087
4102
  class WorkbenchAssignmentService {
4088
4103
  constructor() {
4104
+ this.onDidRefetchAssignments = Event.None;
4089
4105
  this.getCurrentExperiments = async () => [];
4090
4106
  this.getTreatment = async () => undefined;
4091
4107
  }
@@ -4123,6 +4139,7 @@ class ChatService {
4123
4139
  this.loadSessionForResource = unsupported;
4124
4140
  this.requestInProgressObs = constObservable(false);
4125
4141
  this.edits2Enabled = false;
4142
+ this.getPersistedSessionTitle = () => undefined;
4126
4143
  }
4127
4144
  }
4128
4145
  __decorate([
@@ -4228,7 +4245,6 @@ class QuickChatAgentService {
4228
4245
  constructor() {
4229
4246
  this._serviceBrand = undefined;
4230
4247
  this.hasToolsAgent = false;
4231
- this.setRequestPaused = unsupported;
4232
4248
  this.registerChatParticipantDetectionProvider = unsupported;
4233
4249
  this.detectAgentOrCommand = unsupported;
4234
4250
  this.hasChatParticipantDetectionProviders = () => false;
@@ -4254,9 +4270,6 @@ class QuickChatAgentService {
4254
4270
  this.setRequestTools = unsupported;
4255
4271
  }
4256
4272
  }
4257
- __decorate([
4258
- Unsupported
4259
- ], QuickChatAgentService.prototype, "setRequestPaused", void 0);
4260
4273
  __decorate([
4261
4274
  Unsupported
4262
4275
  ], QuickChatAgentService.prototype, "registerChatParticipantDetectionProvider", void 0);
@@ -5262,6 +5275,7 @@ class AuthenticationExtensionsService {
5262
5275
  this.selectSession = unsupported;
5263
5276
  this.requestSessionAccess = unsupported;
5264
5277
  this.requestNewSession = unsupported;
5278
+ this.updateNewSessionRequests = unsupported;
5265
5279
  }
5266
5280
  }
5267
5281
  __decorate([
@@ -5285,6 +5299,9 @@ __decorate([
5285
5299
  __decorate([
5286
5300
  Unsupported
5287
5301
  ], AuthenticationExtensionsService.prototype, "requestNewSession", void 0);
5302
+ __decorate([
5303
+ Unsupported
5304
+ ], AuthenticationExtensionsService.prototype, "updateNewSessionRequests", void 0);
5288
5305
  registerSingleton(IAuthenticationExtensionsService, AuthenticationExtensionsService, InstantiationType.Delayed);
5289
5306
  class AuthenticationUsageService {
5290
5307
  constructor() {
@@ -5736,8 +5753,7 @@ registerSingleton(IChatSlashCommandService, ChatSlashCommandService, Instantiati
5736
5753
  class ChatVariablesService {
5737
5754
  constructor() {
5738
5755
  this.getDynamicVariables = unsupported;
5739
- this.getSelectedTools = unsupported;
5740
- this.getSelectedToolSets = unsupported;
5756
+ this.getSelectedToolAndToolSets = unsupported;
5741
5757
  }
5742
5758
  }
5743
5759
  __decorate([
@@ -5745,10 +5761,7 @@ __decorate([
5745
5761
  ], ChatVariablesService.prototype, "getDynamicVariables", void 0);
5746
5762
  __decorate([
5747
5763
  Unsupported
5748
- ], ChatVariablesService.prototype, "getSelectedTools", void 0);
5749
- __decorate([
5750
- Unsupported
5751
- ], ChatVariablesService.prototype, "getSelectedToolSets", void 0);
5764
+ ], ChatVariablesService.prototype, "getSelectedToolAndToolSets", void 0);
5752
5765
  registerSingleton(IChatVariablesService, ChatVariablesService, InstantiationType.Delayed);
5753
5766
  class AiRelatedInformationService {
5754
5767
  constructor() {
@@ -6806,9 +6819,8 @@ class LanguageModelToolsService {
6806
6819
  this.toolSets = constObservable([]);
6807
6820
  this.toToolEnablementMap = unsupported;
6808
6821
  this.toToolAndToolSetEnablementMap = unsupported;
6809
- this.flushToolChanges = () => {
6810
- unsupported();
6811
- };
6822
+ this.registerTool = unsupported;
6823
+ this.getToolAutoConfirmation = unsupported;
6812
6824
  this.getToolSet = () => undefined;
6813
6825
  }
6814
6826
  }
@@ -6835,7 +6847,10 @@ __decorate([
6835
6847
  ], LanguageModelToolsService.prototype, "toToolAndToolSetEnablementMap", void 0);
6836
6848
  __decorate([
6837
6849
  Unsupported
6838
- ], LanguageModelToolsService.prototype, "flushToolChanges", void 0);
6850
+ ], LanguageModelToolsService.prototype, "registerTool", void 0);
6851
+ __decorate([
6852
+ Unsupported
6853
+ ], LanguageModelToolsService.prototype, "getToolAutoConfirmation", void 0);
6839
6854
  registerSingleton(ILanguageModelToolsService, LanguageModelToolsService, InstantiationType.Delayed);
6840
6855
  class IssueFormService {
6841
6856
  constructor() {
@@ -7005,6 +7020,9 @@ __decorate([
7005
7020
  registerSingleton(ITerminalCompletionService, TerminalCompletionService, InstantiationType.Delayed);
7006
7021
  class ChatEntitlementsService {
7007
7022
  constructor() {
7023
+ this.organisations = undefined;
7024
+ this.isInternal = false;
7025
+ this.sku = undefined;
7008
7026
  this.onDidChangeEntitlement = Event.None;
7009
7027
  this.onDidChangeQuotaExceeded = Event.None;
7010
7028
  this.onDidChangeQuotaRemaining = Event.None;
@@ -7220,7 +7238,7 @@ class McpWorkbenchService {
7220
7238
  this.onChange = Event.None;
7221
7239
  this.local = [];
7222
7240
  this.queryLocal = async () => [];
7223
- this.queryGallery = async () => [];
7241
+ this.queryGallery = unsupported;
7224
7242
  this.install = unsupported;
7225
7243
  this.uninstall = async () => undefined;
7226
7244
  this.open = async () => undefined;
@@ -7230,6 +7248,9 @@ class McpWorkbenchService {
7230
7248
  this.canInstall = unsupported;
7231
7249
  }
7232
7250
  }
7251
+ __decorate([
7252
+ Unsupported
7253
+ ], McpWorkbenchService.prototype, "queryGallery", void 0);
7233
7254
  __decorate([
7234
7255
  Unsupported
7235
7256
  ], McpWorkbenchService.prototype, "install", void 0);
@@ -7243,18 +7264,23 @@ registerSingleton(IMcpWorkbenchService, McpWorkbenchService, InstantiationType.E
7243
7264
  class McpGalleryService {
7244
7265
  constructor() {
7245
7266
  this.isEnabled = () => false;
7246
- this.query = async () => [];
7247
- this.getManifest = unsupported;
7267
+ this.query = unsupported;
7248
7268
  this.getReadme = unsupported;
7249
- this.getMcpServers = async () => [];
7269
+ this.getMcpServersFromVSCodeGallery = async () => [];
7270
+ this.getMcpServersFromGallery = async () => [];
7271
+ this.getMcpServer = async () => undefined;
7272
+ this.getMcpServerConfiguration = unsupported;
7250
7273
  }
7251
7274
  }
7252
7275
  __decorate([
7253
7276
  Unsupported
7254
- ], McpGalleryService.prototype, "getManifest", void 0);
7277
+ ], McpGalleryService.prototype, "query", void 0);
7255
7278
  __decorate([
7256
7279
  Unsupported
7257
7280
  ], McpGalleryService.prototype, "getReadme", void 0);
7281
+ __decorate([
7282
+ Unsupported
7283
+ ], McpGalleryService.prototype, "getMcpServerConfiguration", void 0);
7258
7284
  registerSingleton(IMcpGalleryService, McpGalleryService, InstantiationType.Eager);
7259
7285
  class McpSamplingService {
7260
7286
  constructor() {
@@ -7420,15 +7446,6 @@ __decorate([
7420
7446
  Unsupported
7421
7447
  ], AuthenticationQueryService.prototype, "clearAllData", void 0);
7422
7448
  registerSingleton(IAuthenticationQueryService, AuthenticationQueryService, InstantiationType.Eager);
7423
- class CoreExperimentationService {
7424
- constructor() {
7425
- this.getExperiment = () => undefined;
7426
- }
7427
- }
7428
- __decorate([
7429
- Unsupported
7430
- ], CoreExperimentationService.prototype, "getExperiment", void 0);
7431
- registerSingleton(ICoreExperimentationService, CoreExperimentationService, InstantiationType.Eager);
7432
7449
  class WorkbenchMcpManagementService {
7433
7450
  constructor() {
7434
7451
  this.onDidInstallMcpServers = Event.None;
@@ -7448,6 +7465,7 @@ class WorkbenchMcpManagementService {
7448
7465
  this.updateMetadata = unsupported;
7449
7466
  this.uninstall = unsupported;
7450
7467
  this.canInstall = unsupported;
7468
+ this.getMcpServerConfigurationFromManifest = unsupported;
7451
7469
  }
7452
7470
  }
7453
7471
  __decorate([
@@ -7465,15 +7483,19 @@ __decorate([
7465
7483
  __decorate([
7466
7484
  Unsupported
7467
7485
  ], WorkbenchMcpManagementService.prototype, "canInstall", void 0);
7486
+ __decorate([
7487
+ Unsupported
7488
+ ], WorkbenchMcpManagementService.prototype, "getMcpServerConfigurationFromManifest", void 0);
7468
7489
  registerSingleton(IWorkbenchMcpManagementService, WorkbenchMcpManagementService, InstantiationType.Eager);
7469
7490
  class ChatTodoListService {
7470
7491
  constructor() {
7471
- this.getChatTodoListStorage = unsupported;
7492
+ this.setTodos = unsupported;
7493
+ this.getTodos = () => [];
7472
7494
  }
7473
7495
  }
7474
7496
  __decorate([
7475
7497
  Unsupported
7476
- ], ChatTodoListService.prototype, "getChatTodoListStorage", void 0);
7498
+ ], ChatTodoListService.prototype, "setTodos", void 0);
7477
7499
  registerSingleton(IChatTodoListService, ChatTodoListService, InstantiationType.Delayed);
7478
7500
  class ChatOutputRendererService {
7479
7501
  constructor() {
@@ -7487,22 +7509,39 @@ __decorate([
7487
7509
  registerSingleton(IChatOutputRendererService, ChatOutputRendererService, InstantiationType.Delayed);
7488
7510
  class ChatSessionsService {
7489
7511
  constructor() {
7512
+ this.onDidChangeInProgress = Event.None;
7513
+ this.getAllChatSessionContributions = () => [];
7514
+ this.getAllChatSessionItemProviders = () => [];
7515
+ this.provideNewChatSessionItem = unsupported;
7516
+ this.reportInProgress = unsupported;
7517
+ this.setEditableSession = unsupported;
7518
+ this.notifySessionItemsChanged = unsupported;
7519
+ this.getInProgress = () => [];
7520
+ this.getEditableData = () => undefined;
7521
+ this.isEditable = () => false;
7490
7522
  this.onDidChangeItemsProviders = Event.None;
7491
7523
  this.onDidChangeSessionItems = Event.None;
7492
7524
  this.onDidChangeAvailability = Event.None;
7493
- this.registerContribution = () => Disposable.None;
7494
- this.getChatSessionContributions = () => [];
7495
7525
  this.canResolveItemProvider = async () => false;
7496
7526
  this.canResolveContentProvider = async () => false;
7497
- this.getChatSessionItemProviders = () => [];
7498
7527
  this.registerChatSessionItemProvider = () => Disposable.None;
7499
7528
  this.registerChatSessionContentProvider = () => Disposable.None;
7500
- this.hasChatSessionItemProviders = false;
7501
7529
  this.provideChatSessionItems = async () => [];
7502
- this.notifySessionItemsChange = () => { };
7503
7530
  this.provideChatSessionContent = unsupported;
7504
7531
  }
7505
7532
  }
7533
+ __decorate([
7534
+ Unsupported
7535
+ ], ChatSessionsService.prototype, "provideNewChatSessionItem", void 0);
7536
+ __decorate([
7537
+ Unsupported
7538
+ ], ChatSessionsService.prototype, "reportInProgress", void 0);
7539
+ __decorate([
7540
+ Unsupported
7541
+ ], ChatSessionsService.prototype, "setEditableSession", void 0);
7542
+ __decorate([
7543
+ Unsupported
7544
+ ], ChatSessionsService.prototype, "notifySessionItemsChanged", void 0);
7506
7545
  __decorate([
7507
7546
  Unsupported
7508
7547
  ], ChatSessionsService.prototype, "provideChatSessionContent", void 0);
@@ -7516,18 +7555,7 @@ __decorate([
7516
7555
  Unsupported
7517
7556
  ], ImageResizeService.prototype, "resizeImage", void 0);
7518
7557
  registerSingleton(IImageResizeService, ImageResizeService, InstantiationType.Delayed);
7519
- class DataChannelService {
7520
- constructor() {
7521
- this.onDidSendData = Event.None;
7522
- this.getDataChannel = () => ({
7523
- sendData() { }
7524
- });
7525
- }
7526
- }
7527
- __decorate([
7528
- Unsupported
7529
- ], DataChannelService.prototype, "getDataChannel", void 0);
7530
- registerSingleton(IDataChannelService, DataChannelService, InstantiationType.Delayed);
7558
+ registerSingleton(IDataChannelService, NullDataChannelService, InstantiationType.Delayed);
7531
7559
  class AllowedMcpServersService {
7532
7560
  constructor() {
7533
7561
  this.onDidChangeAllowedMcpServers = Event.None;
@@ -7538,3 +7566,61 @@ __decorate([
7538
7566
  Unsupported
7539
7567
  ], AllowedMcpServersService.prototype, "isAllowed", void 0);
7540
7568
  registerSingleton(IAllowedMcpServersService, AllowedMcpServersService, InstantiationType.Delayed);
7569
+ class ChatLayoutService {
7570
+ get fontFamily() {
7571
+ return unsupported();
7572
+ }
7573
+ get fontSize() {
7574
+ return unsupported();
7575
+ }
7576
+ }
7577
+ __decorate([
7578
+ Unsupported
7579
+ ], ChatLayoutService.prototype, "fontFamily", null);
7580
+ __decorate([
7581
+ Unsupported
7582
+ ], ChatLayoutService.prototype, "fontSize", null);
7583
+ registerSingleton(IChatLayoutService, ChatLayoutService, InstantiationType.Delayed);
7584
+ class AiEditTelemetryService {
7585
+ constructor() {
7586
+ this.createSuggestionId = unsupported;
7587
+ this.handleCodeAccepted = () => { };
7588
+ }
7589
+ }
7590
+ __decorate([
7591
+ Unsupported
7592
+ ], AiEditTelemetryService.prototype, "createSuggestionId", void 0);
7593
+ registerSingleton(IAiEditTelemetryService, AiEditTelemetryService, InstantiationType.Delayed);
7594
+ class InlineCompletionsUnificationService {
7595
+ constructor() {
7596
+ this.onDidStateChange = Event.None;
7597
+ }
7598
+ get state() {
7599
+ return unsupported();
7600
+ }
7601
+ }
7602
+ __decorate([
7603
+ Unsupported
7604
+ ], InlineCompletionsUnificationService.prototype, "state", null);
7605
+ registerSingleton(IInlineCompletionsUnificationService, InlineCompletionsUnificationService, InstantiationType.Delayed);
7606
+ class McpGalleryManifestService {
7607
+ constructor() {
7608
+ this.mcpGalleryManifestStatus = McpGalleryManifestStatus.Unavailable;
7609
+ this.onDidChangeMcpGalleryManifestStatus = Event.None;
7610
+ this.onDidChangeMcpGalleryManifest = Event.None;
7611
+ this.getMcpGalleryManifest = async () => null;
7612
+ }
7613
+ }
7614
+ registerSingleton(IMcpGalleryManifestService, McpGalleryManifestService, InstantiationType.Delayed);
7615
+ class ChatModeService {
7616
+ constructor() {
7617
+ this.onDidChangeChatModes = Event.None;
7618
+ this.getModes = unsupported;
7619
+ this.findModeById = () => undefined;
7620
+ this.findModeByName = () => undefined;
7621
+ }
7622
+ }
7623
+ __decorate([
7624
+ Unsupported
7625
+ ], ChatModeService.prototype, "getModes", void 0);
7626
+ registerSingleton(IChatModeService, ChatModeService, InstantiationType.Delayed);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-api",
3
- "version": "20.4.1",
3
+ "version": "21.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor",
6
6
  "keywords": [],
@@ -15,13 +15,13 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-base-service-override": "20.4.1",
19
- "@codingame/monaco-vscode-environment-service-override": "20.4.1",
20
- "@codingame/monaco-vscode-extensions-service-override": "20.4.1",
21
- "@codingame/monaco-vscode-files-service-override": "20.4.1",
22
- "@codingame/monaco-vscode-host-service-override": "20.4.1",
23
- "@codingame/monaco-vscode-layout-service-override": "20.4.1",
24
- "@codingame/monaco-vscode-quickaccess-service-override": "20.4.1",
18
+ "@codingame/monaco-vscode-base-service-override": "21.0.0",
19
+ "@codingame/monaco-vscode-environment-service-override": "21.0.0",
20
+ "@codingame/monaco-vscode-extensions-service-override": "21.0.0",
21
+ "@codingame/monaco-vscode-files-service-override": "21.0.0",
22
+ "@codingame/monaco-vscode-host-service-override": "21.0.0",
23
+ "@codingame/monaco-vscode-layout-service-override": "21.0.0",
24
+ "@codingame/monaco-vscode-quickaccess-service-override": "21.0.0",
25
25
  "@vscode/iconv-lite-umd": "0.7.0",
26
26
  "dompurify": "3.2.6",
27
27
  "jschardet": "3.1.4",
package/services.d.ts CHANGED
@@ -97,11 +97,11 @@ export { ILocaleService } from "./vscode/src/vs/workbench/services/localization/
97
97
  export { NoOpNotification, NoOpProgress } from "./vscode/src/vs/platform/notification/common/notification.js";
98
98
  export { NotificationsFilter, NotificationPriority, NeverShowAgainScope } from "./vscode/src/vs/platform/notification/common/notification.js";
99
99
  export type { NotificationMessage, INotificationProperties, INeverShowAgainOptions, INotification, INotificationActions, INotificationProgress, INotificationProgressProperties, INotificationHandle, IPromptChoice, IPromptChoiceWithMenu, IPromptOptions, IStatusMessageOptions } from "./vscode/src/vs/platform/notification/common/notification.js";
100
- export type { IDialogArgs, DialogType, IDialogResult, IConfirmDialogArgs, IInputDialogArgs, IPromptDialogArgs, IBaseDialogOptions, ICheckbox, ICheckboxResult, IConfirmation, IConfirmationResult, IInput, IInputResult, IInputElement, IPrompt, IPromptResult, IPromptBaseButton, IPromptButton, IPromptCancelButton, IPromptResultWithCancel, IPromptWithCustomCancel, IPromptWithDefaultCancel } from "@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/platform/dialogs/common/dialogs";
101
- export type { IDialogHandler, ICustomDialogOptions, ICustomDialogMarkdown } from "@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/platform/dialogs/common/dialogs";
100
+ export type { IDialogArgs, DialogType, IDialogResult, IConfirmDialogArgs, IInputDialogArgs, IPromptDialogArgs, IBaseDialogOptions, ICheckbox, ICheckboxResult, IConfirmation, IConfirmationResult, IInput, IInputResult, IInputElement, IPrompt, IPromptResult, IPromptBaseButton, IPromptButton, IPromptCancelButton, IPromptResultWithCancel, IPromptWithCustomCancel, IPromptWithDefaultCancel } from "@codingame/monaco-vscode-23b6fb38-5e58-5886-b34b-27abc4f5df02-common/vscode/vs/platform/dialogs/common/dialogs";
101
+ export type { IDialogHandler, ICustomDialogOptions, ICustomDialogMarkdown } from "@codingame/monaco-vscode-23b6fb38-5e58-5886-b34b-27abc4f5df02-common/vscode/vs/platform/dialogs/common/dialogs";
102
102
  export type { IMarkdownString, MarkdownStringTrustedOptions } from "./vscode/src/vs/base/common/htmlContent.js";
103
103
  export { IActivityService } from "./vscode/src/vs/workbench/services/activity/common/activity.service.js";
104
- export type { IBadge } from "@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/workbench/services/activity/common/activity";
104
+ export type { IBadge } from "@codingame/monaco-vscode-9a5ab9e7-d838-5831-9eb4-e79ea3764dcb-common/vscode/vs/workbench/services/activity/common/activity";
105
105
  export { IHoverService } from "./vscode/src/vs/platform/hover/browser/hover.service.js";
106
106
  export { IExplorerService } from "./vscode/src/vs/workbench/contrib/files/browser/files.service.js";
107
107
  export { IStatusbarService } from "./vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.js";
@@ -324,5 +324,9 @@ export { ITreeSitterLibraryService } from "./vscode/src/vs/editor/common/service
324
324
  export { IChatAttachmentResolveService } from "./vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.js";
325
325
  export { IRemoteCodingAgentsService } from "./vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.service.js";
326
326
  export { IAuthenticationQueryService } from "./vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.js";
327
- export { ICoreExperimentationService } from "./vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js";
328
327
  export { IWorkbenchMcpManagementService } from "./vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.js";
328
+ export { IChatLayoutService } from "./vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js";
329
+ export { IAiEditTelemetryService } from "./vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js";
330
+ export { IInlineCompletionsUnificationService } from "./vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js";
331
+ export { IMcpGalleryManifestService } from "./vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js";
332
+ export { IDataChannelService } from "./vscode/src/vs/platform/dataChannel/common/dataChannel.service.js";
package/services.js CHANGED
@@ -389,13 +389,17 @@ export { ITreeSitterLibraryService } from './vscode/src/vs/editor/common/service
389
389
  export { IChatAttachmentResolveService } from './vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.js';
390
390
  export { IRemoteCodingAgentsService } from './vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.service.js';
391
391
  export { IAuthenticationQueryService } from './vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.js';
392
- export { ICoreExperimentationService } from './vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js';
393
392
  export { IWorkbenchMcpManagementService } from './vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.js';
393
+ export { IChatLayoutService } from './vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js';
394
+ export { IAiEditTelemetryService } from './vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js';
395
+ export { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js';
396
+ export { IMcpGalleryManifestService } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js';
397
+ export { IDataChannelService } from './vscode/src/vs/platform/dataChannel/common/dataChannel.service.js';
394
398
 
395
- if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.103.2-bfb85f23-786b-4551-84f7-c6ef19e47aad") {
396
- throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.103.2-bfb85f23-786b-4551-84f7-c6ef19e47aad"}, ${window.monacoVscodeApiBuildId} is already loaded`);
399
+ if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.104.0-87c2369d-d7c8-4026-8869-cac220b0f4db") {
400
+ throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.104.0-87c2369d-d7c8-4026-8869-cac220b0f4db"}, ${window.monacoVscodeApiBuildId} is already loaded`);
397
401
  }
398
- window.monacoVscodeApiBuildId = "1.103.2-bfb85f23-786b-4551-84f7-c6ef19e47aad";
402
+ window.monacoVscodeApiBuildId = "1.104.0-87c2369d-d7c8-4026-8869-cac220b0f4db";
399
403
  async function initialize(overrides, container = document.body, configuration = {}, env) {
400
404
  checkServicesNotInitialized();
401
405
  injectCss(container);
@@ -1,3 +1,3 @@
1
- var productJson = {nameShort:"Code - OSS",nameLong:"Code - OSS",applicationName:"code-oss",dataFolderName:".vscode-oss",win32MutexName:"vscodeoss",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverLicenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverGreeting:[],serverLicense:[],serverLicensePrompt:"",serverApplicationName:"code-server-oss",serverDataFolderName:".vscode-server-oss",tunnelApplicationName:"code-tunnel-oss",win32DirName:"Microsoft Code OSS",win32NameVersion:"Microsoft Code OSS",win32RegValueName:"CodeOSS",win32x64AppId:"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}",win32arm64AppId:"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}",win32x64UserAppId:"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}",win32arm64UserAppId:"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}",win32AppUserModelId:"Microsoft.CodeOSS",win32ShellNameShort:"C&ode - OSS",win32TunnelServiceMutex:"vscodeoss-tunnelservice",win32TunnelMutex:"vscodeoss-tunnel",darwinBundleIdentifier:"com.visualstudio.code.oss",darwinProfileUUID:"47827DD9-4734-49A0-AF80-7E19B11495CC",darwinProfilePayloadUUID:"CF808BE7-53F3-46C6-A7E2-7EDB98A5E959",linuxIconName:"code-oss",licenseFileName:"LICENSE.txt",reportIssueUrl:"https://github.com/microsoft/vscode/issues/new",nodejsRepository:"https://nodejs.org",urlProtocol:"code-oss",webviewContentExternalBaseUrlTemplate:"https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/",builtInExtensions:[{name:"ms-vscode.js-debug-companion",version:"1.1.3",sha256:"7380a890787452f14b2db7835dfa94de538caf358ebc263f9d46dd68ac52de93",repo:"https://github.com/microsoft/vscode-js-debug-companion",metadata:{id:"99cb0b7f-7354-4278-b8da-6cc79972169d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.js-debug",version:"1.102.0",sha256:"0e8ed27ba2d707bcfb008e89e490c2d287d9537d84893b0792a4ee418274fa0b",repo:"https://github.com/microsoft/vscode-js-debug",metadata:{id:"25629058-ddac-4e17-abba-74678e126c5d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.vscode-js-profile-table",version:"1.0.10",sha256:"7361748ddf9fd09d8a2ed1f2a2d7376a2cf9aae708692820b799708385c38e08",repo:"https://github.com/microsoft/vscode-js-profile-visualizer",metadata:{id:"7e52b41b-71ad-457b-ab7e-0620f1fc4feb",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}}]};
1
+ var productJson = {nameShort:"Code - OSS",nameLong:"Code - OSS",applicationName:"code-oss",dataFolderName:".vscode-oss",win32MutexName:"vscodeoss",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverLicenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverGreeting:[],serverLicense:[],serverLicensePrompt:"",serverApplicationName:"code-server-oss",serverDataFolderName:".vscode-server-oss",tunnelApplicationName:"code-tunnel-oss",win32DirName:"Microsoft Code OSS",win32NameVersion:"Microsoft Code OSS",win32RegValueName:"CodeOSS",win32x64AppId:"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}",win32arm64AppId:"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}",win32x64UserAppId:"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}",win32arm64UserAppId:"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}",win32AppUserModelId:"Microsoft.CodeOSS",win32ShellNameShort:"C&ode - OSS",win32TunnelServiceMutex:"vscodeoss-tunnelservice",win32TunnelMutex:"vscodeoss-tunnel",darwinBundleIdentifier:"com.visualstudio.code.oss",darwinProfileUUID:"47827DD9-4734-49A0-AF80-7E19B11495CC",darwinProfilePayloadUUID:"CF808BE7-53F3-46C6-A7E2-7EDB98A5E959",linuxIconName:"code-oss",licenseFileName:"LICENSE.txt",reportIssueUrl:"https://github.com/microsoft/vscode/issues/new",nodejsRepository:"https://nodejs.org",urlProtocol:"code-oss",webviewContentExternalBaseUrlTemplate:"https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/",builtInExtensions:[{name:"ms-vscode.js-debug-companion",version:"1.1.3",sha256:"7380a890787452f14b2db7835dfa94de538caf358ebc263f9d46dd68ac52de93",repo:"https://github.com/microsoft/vscode-js-debug-companion",metadata:{id:"99cb0b7f-7354-4278-b8da-6cc79972169d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.js-debug",version:"1.104.0",sha256:"856db934294bd8b78769dd91c86904c7e35e356bb05b223a9e4d8eb38cb17ae3",repo:"https://github.com/microsoft/vscode-js-debug",metadata:{id:"25629058-ddac-4e17-abba-74678e126c5d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.vscode-js-profile-table",version:"1.0.10",sha256:"7361748ddf9fd09d8a2ed1f2a2d7376a2cf9aae708692820b799708385c38e08",repo:"https://github.com/microsoft/vscode-js-profile-visualizer",metadata:{id:"7e52b41b-71ad-457b-ab7e-0620f1fc4feb",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}}]};
2
2
 
3
3
  export { productJson as default };
@@ -786,6 +786,8 @@ function restoreParentsScrollTop(node, state) {
786
786
  }
787
787
  }
788
788
  class FocusTracker extends Disposable {
789
+ get onDidFocus() { return this._onDidFocus.event; }
790
+ get onDidBlur() { return this._onDidBlur.event; }
789
791
  static hasFocusWithin(element) {
790
792
  if (isHTMLElement(element)) {
791
793
  const shadowRoot = getShadowRoot(element);
@@ -800,9 +802,7 @@ class FocusTracker extends Disposable {
800
802
  constructor(element) {
801
803
  super();
802
804
  this._onDidFocus = this._register(new Emitter());
803
- this.onDidFocus = this._onDidFocus.event;
804
805
  this._onDidBlur = this._register(new Emitter());
805
- this.onDidBlur = this._onDidBlur.event;
806
806
  let hasFocus = FocusTracker.hasFocusWithin(element);
807
807
  let loosingFocus = false;
808
808
  const onFocus = () => {
@@ -864,7 +864,7 @@ function prepend(parent, child) {
864
864
  return child;
865
865
  }
866
866
  function reset(parent, ...children) {
867
- parent.innerText = '';
867
+ parent.textContent = '';
868
868
  append(parent, ...children);
869
869
  }
870
870
  const SELECTOR_REGEX = /([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;
@@ -1,11 +1,21 @@
1
- import dompurify from "./dompurify/dompurify.js";
2
1
  /**
3
2
  * List of safe, non-input html tags.
4
3
  */
5
4
  export declare const basicMarkupHtmlTags: readonly string[];
6
5
  export declare const defaultAllowedAttrs: readonly string[];
7
- type UponSanitizeElementCb = (currentNode: Element, data: dompurify.SanitizeElementHookEvent, config: dompurify.Config) => void;
8
- type UponSanitizeAttributeCb = (currentNode: Element, data: dompurify.SanitizeAttributeHookEvent, config: dompurify.Config) => void;
6
+ /**
7
+ * Predicate that checks if an attribute should be kept or removed.
8
+ *
9
+ * @returns A boolean indicating whether the attribute should be kept or a string with the sanitized value (which implicitly keeps the attribute)
10
+ */
11
+ export type SanitizeAttributePredicate = (node: Element, data: {
12
+ readonly attrName: string;
13
+ readonly attrValue: string;
14
+ }) => boolean | string;
15
+ export interface SanitizeAttributeRule {
16
+ readonly attributeName: string;
17
+ shouldKeep: SanitizeAttributePredicate;
18
+ }
9
19
  export interface DomSanitizerConfig {
10
20
  /**
11
21
  * Configured the allowed html tags.
@@ -18,8 +28,8 @@ export interface DomSanitizerConfig {
18
28
  * Configured the allowed html attributes.
19
29
  */
20
30
  readonly allowedAttributes?: {
21
- readonly override?: readonly string[];
22
- readonly augment?: readonly string[];
31
+ readonly override?: ReadonlyArray<string | SanitizeAttributeRule>;
32
+ readonly augment?: ReadonlyArray<string | SanitizeAttributeRule>;
23
33
  };
24
34
  /**
25
35
  * List of allowed protocols for `href` attributes.
@@ -31,12 +41,14 @@ export interface DomSanitizerConfig {
31
41
  * List of allowed protocols for `src` attributes.
32
42
  */
33
43
  readonly allowedMediaProtocols?: {
34
- readonly override?: readonly string[];
35
- };
36
- readonly _do_not_use_hooks?: {
37
- readonly uponSanitizeElement?: UponSanitizeElementCb;
38
- readonly uponSanitizeAttribute?: UponSanitizeAttributeCb;
44
+ readonly override?: readonly string[] | "*";
39
45
  };
46
+ /**
47
+ * If set, replaces unsupported tags with their plaintext representation instead of removing them.
48
+ *
49
+ * For example, <p><bad>"text"</bad></p> becomes <p>"<bad>text</bad>"</p>.
50
+ */
51
+ readonly replaceWithPlaintext?: boolean;
40
52
  }
41
53
  /**
42
54
  * Sanitizes an html string.
@@ -47,8 +59,8 @@ export interface DomSanitizerConfig {
47
59
  * @returns A sanitized string of html.
48
60
  */
49
61
  export declare function sanitizeHtml(untrusted: string, config?: DomSanitizerConfig): TrustedHTML;
62
+ export declare function convertTagToPlaintext(element: Element): DocumentFragment;
50
63
  /**
51
64
  * Sanitizes the given `value` and reset the given `node` with it.
52
65
  */
53
66
  export declare function safeSetInnerHtml(node: HTMLElement, untrusted: string, config?: DomSanitizerConfig): void;
54
- export {};