@codingame/monaco-vscode-api 17.2.1 → 18.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 (803) hide show
  1. package/missing-services.js +282 -81
  2. package/package.json +8 -8
  3. package/services.d.ts +3 -4
  4. package/services.js +3 -3
  5. package/vscode/src/vs/base/browser/dnd.js +3 -2
  6. package/vscode/src/vs/base/browser/domImpl/domObservable.js +1 -1
  7. package/vscode/src/vs/base/browser/domImpl/n.js +5 -5
  8. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +3 -3
  9. package/vscode/src/vs/base/browser/markdownRenderer.js +12 -10
  10. package/vscode/src/vs/base/browser/touch.js +1 -0
  11. package/vscode/src/vs/base/browser/ui/button/button.d.ts +10 -1
  12. package/vscode/src/vs/base/browser/ui/button/button.js +12 -4
  13. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  14. package/vscode/src/vs/base/browser/ui/list/list.d.ts +5 -2
  15. package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +1 -1
  16. package/vscode/src/vs/base/browser/ui/list/listPaging.js +3 -3
  17. package/vscode/src/vs/base/browser/ui/list/listView.js +5 -5
  18. package/vscode/src/vs/base/browser/ui/list/listWidget.js +7 -7
  19. package/vscode/src/vs/base/browser/ui/table/tableWidget.js +4 -4
  20. package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +6 -6
  21. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +14 -6
  22. package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +4 -3
  23. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +16 -15
  24. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +12 -12
  25. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +1 -1
  26. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +1 -1
  27. package/vscode/src/vs/base/browser/ui/tree/media/tree.css +2 -1
  28. package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +3 -3
  29. package/vscode/src/vs/base/browser/ui/tree/objectTree.js +7 -10
  30. package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +6 -1
  31. package/vscode/src/vs/base/browser/webWorkerFactory.js +1 -4
  32. package/vscode/src/vs/base/common/arrays.d.ts +3 -1
  33. package/vscode/src/vs/base/common/arrays.js +5 -1
  34. package/vscode/src/vs/base/common/async.d.ts +18 -3
  35. package/vscode/src/vs/base/common/async.js +105 -39
  36. package/vscode/src/vs/base/common/buffer.d.ts +2 -0
  37. package/vscode/src/vs/base/common/buffer.js +36 -1
  38. package/vscode/src/vs/base/common/codicons.d.ts +5 -0
  39. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -0
  40. package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
  41. package/vscode/src/vs/base/common/comparers.js +4 -3
  42. package/vscode/src/vs/base/common/date.d.ts +6 -4
  43. package/vscode/src/vs/base/common/date.js +43 -24
  44. package/vscode/src/vs/base/common/decorators.js +1 -0
  45. package/vscode/src/vs/base/common/errors.d.ts +6 -0
  46. package/vscode/src/vs/base/common/errors.js +11 -1
  47. package/vscode/src/vs/base/common/event.d.ts +2 -1
  48. package/vscode/src/vs/base/common/event.js +11 -3
  49. package/vscode/src/vs/base/common/hash.d.ts +1 -1
  50. package/vscode/src/vs/base/common/hash.js +2 -2
  51. package/vscode/src/vs/base/common/hotReloadHelpers.js +3 -2
  52. package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
  53. package/vscode/src/vs/base/common/iterator.d.ts +3 -1
  54. package/vscode/src/vs/base/common/iterator.js +20 -2
  55. package/vscode/src/vs/base/common/json.d.ts +1 -1
  56. package/vscode/src/vs/base/common/marshalling.d.ts +1 -1
  57. package/vscode/src/vs/base/common/marshallingIds.d.ts +1 -2
  58. package/vscode/src/vs/base/common/marshallingIds.js +0 -1
  59. package/vscode/src/vs/base/common/numbers.d.ts +1 -1
  60. package/vscode/src/vs/base/common/oauth.d.ts +143 -0
  61. package/vscode/src/vs/base/common/oauth.js +124 -0
  62. package/vscode/src/vs/base/common/observableInternal/base.d.ts +5 -75
  63. package/vscode/src/vs/base/common/observableInternal/base.js +2 -279
  64. package/vscode/src/vs/base/common/observableInternal/changeTracker.js +3 -0
  65. package/vscode/src/vs/base/common/observableInternal/commonFacade/cancellation.d.ts +1 -1
  66. package/vscode/src/vs/base/common/observableInternal/commonFacade/deps.d.ts +1 -1
  67. package/vscode/src/vs/base/common/observableInternal/{reducer.d.ts → experimental/reducer.d.ts} +5 -5
  68. package/vscode/src/vs/base/common/observableInternal/{reducer.js → experimental/reducer.js} +7 -5
  69. package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +4 -0
  70. package/vscode/src/vs/base/common/observableInternal/experimental/utils.js +47 -0
  71. package/vscode/src/vs/base/common/observableInternal/index.d.ts +21 -7
  72. package/vscode/src/vs/base/common/observableInternal/index.js +6 -3
  73. package/vscode/src/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts +5 -4
  74. package/vscode/src/vs/base/common/observableInternal/logging/consoleObservableLogger.js +1 -1
  75. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +4 -3
  76. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +4 -4
  77. package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +4 -3
  78. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +38 -0
  79. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +111 -0
  80. package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +2 -0
  81. package/vscode/src/vs/base/common/observableInternal/observables/constObservable.js +30 -0
  82. package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +20 -0
  83. package/vscode/src/vs/base/common/observableInternal/observables/derived.js +58 -0
  84. package/vscode/src/vs/base/common/observableInternal/{derived.d.ts → observables/derivedImpl.d.ts} +14 -22
  85. package/vscode/src/vs/base/common/observableInternal/{derived.js → observables/derivedImpl.js} +63 -94
  86. package/vscode/src/vs/base/common/observableInternal/{lazyObservableValue.d.ts → observables/lazyObservableValue.d.ts} +4 -3
  87. package/vscode/src/vs/base/common/observableInternal/{lazyObservableValue.js → observables/lazyObservableValue.js} +3 -2
  88. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +32 -0
  89. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +114 -0
  90. package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +6 -0
  91. package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.js +42 -0
  92. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +4 -0
  93. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +36 -0
  94. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +26 -0
  95. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.js +98 -0
  96. package/vscode/src/vs/base/common/observableInternal/{api.d.ts → observables/observableValueOpts.d.ts} +3 -3
  97. package/vscode/src/vs/base/common/observableInternal/{api.js → observables/observableValueOpts.js} +6 -5
  98. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +21 -0
  99. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +82 -0
  100. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +44 -0
  101. package/vscode/src/vs/base/common/observableInternal/{autorun.js → reactions/autorunImpl.js} +50 -84
  102. package/vscode/src/vs/base/common/observableInternal/set.d.ts +20 -0
  103. package/vscode/src/vs/base/common/observableInternal/set.js +62 -0
  104. package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +18 -0
  105. package/vscode/src/vs/base/common/observableInternal/transaction.js +91 -0
  106. package/vscode/src/vs/base/common/observableInternal/{promise.d.ts → utils/promise.d.ts} +3 -2
  107. package/vscode/src/vs/base/common/observableInternal/{promise.js → utils/promise.js} +10 -2
  108. package/vscode/src/vs/base/common/observableInternal/utils/runOnChange.d.ts +7 -0
  109. package/vscode/src/vs/base/common/observableInternal/utils/runOnChange.js +58 -0
  110. package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +28 -0
  111. package/vscode/src/vs/base/common/observableInternal/utils/utils.js +200 -0
  112. package/vscode/src/vs/base/common/observableInternal/{utilsCancellation.d.ts → utils/utilsCancellation.d.ts} +2 -2
  113. package/vscode/src/vs/base/common/observableInternal/{utilsCancellation.js → utils/utilsCancellation.js} +7 -7
  114. package/vscode/src/vs/base/common/observableInternal/utils/valueWithChangeEvent.d.ts +10 -0
  115. package/vscode/src/vs/base/common/observableInternal/utils/valueWithChangeEvent.js +26 -0
  116. package/vscode/src/vs/base/common/product.d.ts +5 -2
  117. package/vscode/src/vs/base/common/strings.d.ts +1 -0
  118. package/vscode/src/vs/base/common/strings.js +4 -10
  119. package/vscode/src/vs/base/common/themables.d.ts +2 -2
  120. package/vscode/src/vs/base/common/themables.js +2 -2
  121. package/vscode/src/vs/base/common/types.d.ts +2 -1
  122. package/vscode/src/vs/base/common/types.js +4 -4
  123. package/vscode/src/vs/base/common/uri.d.ts +2 -2
  124. package/vscode/src/vs/base/common/uri.js +1 -1
  125. package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +1 -1
  126. package/vscode/src/vs/editor/browser/config/editorConfiguration.js +1 -1
  127. package/vscode/src/vs/editor/browser/config/elementSizeObserver.d.ts +1 -1
  128. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +1 -1
  129. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +3 -2
  130. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
  131. package/vscode/src/vs/editor/browser/gpu/contentSegmenter.js +1 -1
  132. package/vscode/src/vs/editor/browser/gpu/gpuDisposable.js +1 -1
  133. package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +2 -2
  134. package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +7 -5
  135. package/vscode/src/vs/editor/browser/observableCodeEditor.js +11 -7
  136. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
  137. package/vscode/src/vs/editor/browser/services/hoverService/hover.css +4 -0
  138. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +1 -1
  139. package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +5 -4
  140. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +1 -1
  141. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +1 -1
  142. package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRenderer.d.ts +1 -1
  143. package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
  144. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +3 -2
  145. package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +2 -2
  146. package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
  147. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +2 -2
  148. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -5
  149. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +9 -8
  150. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +1 -1
  151. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +1 -1
  152. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +4 -3
  153. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +3 -3
  154. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
  155. package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.d.ts +1 -1
  156. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +26 -26
  157. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +4 -3
  158. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +2 -2
  159. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +8 -6
  160. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -1
  161. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +6 -4
  162. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -1
  163. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +1 -1
  164. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +7 -7
  165. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +1 -1
  166. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +12 -11
  167. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +10 -7
  168. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +4 -3
  169. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -3
  170. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.d.ts +2 -2
  171. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +8 -5
  172. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.d.ts +1 -1
  173. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +4 -3
  174. package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +1 -1
  175. package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +1 -1
  176. package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +1 -1
  177. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +1 -1
  178. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +159 -153
  179. package/vscode/src/vs/editor/common/config/editorOptions.js +543 -517
  180. package/vscode/src/vs/editor/{browser → common/core/2d}/rect.d.ts +1 -1
  181. package/vscode/src/vs/editor/{browser → common/core/2d}/rect.js +1 -1
  182. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  183. package/vscode/src/vs/editor/common/core/edits/edit.d.ts +48 -0
  184. package/vscode/src/vs/editor/common/core/edits/edit.js +227 -0
  185. package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +25 -0
  186. package/vscode/src/vs/editor/common/core/edits/lengthEdit.js +92 -0
  187. package/vscode/src/vs/editor/common/core/{lineEdit.d.ts → edits/lineEdit.d.ts} +9 -8
  188. package/vscode/src/vs/editor/common/core/{lineEdit.js → edits/lineEdit.js} +17 -17
  189. package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +43 -0
  190. package/vscode/src/vs/editor/common/core/edits/stringEdit.js +215 -0
  191. package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +39 -0
  192. package/vscode/src/vs/editor/common/core/{textEdit.js → edits/textEdit.js} +75 -149
  193. package/vscode/src/vs/editor/common/core/{eolCounter.js → misc/eolCounter.js} +1 -1
  194. package/vscode/src/vs/editor/common/core/{indentation.js → misc/indentation.js} +2 -2
  195. package/vscode/src/vs/editor/common/core/{columnRange.d.ts → ranges/columnRange.d.ts} +1 -1
  196. package/vscode/src/vs/editor/common/core/{columnRange.js → ranges/columnRange.js} +2 -2
  197. package/vscode/src/vs/editor/common/core/{lineRange.d.ts → ranges/lineRange.d.ts} +6 -4
  198. package/vscode/src/vs/editor/common/core/{lineRange.js → ranges/lineRange.js} +12 -10
  199. package/vscode/src/vs/editor/common/core/{offsetRange.d.ts → ranges/offsetRange.d.ts} +2 -1
  200. package/vscode/src/vs/editor/common/core/{offsetRange.js → ranges/offsetRange.js} +7 -1
  201. package/vscode/src/vs/editor/common/core/{rangeSingleLine.d.ts → ranges/rangeSingleLine.d.ts} +1 -1
  202. package/vscode/src/vs/editor/common/core/{rangeSingleLine.js → ranges/rangeSingleLine.js} +1 -1
  203. package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +35 -0
  204. package/vscode/src/vs/editor/common/core/text/abstractText.js +84 -0
  205. package/vscode/src/vs/editor/common/core/text/getPositionOffsetTransformerFromTextModel.d.ts +3 -0
  206. package/vscode/src/vs/editor/common/core/text/getPositionOffsetTransformerFromTextModel.js +20 -0
  207. package/vscode/src/vs/editor/common/core/{positionToOffset.d.ts → text/positionToOffset.d.ts} +9 -11
  208. package/vscode/src/vs/editor/common/core/{positionToOffset.js → text/positionToOffset.js} +14 -29
  209. package/vscode/src/vs/editor/common/core/{textLength.d.ts → text/textLength.d.ts} +3 -3
  210. package/vscode/src/vs/editor/common/core/{textLength.js → text/textLength.js} +3 -3
  211. package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +1 -1
  212. package/vscode/src/vs/editor/common/cursorCommon.js +1 -1
  213. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +1 -1
  214. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
  215. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +1 -1
  216. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js +1 -1
  217. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +1 -1
  218. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +3 -3
  219. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +1 -1
  220. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +1 -1
  221. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.d.ts +1 -1
  222. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +1 -1
  223. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +1 -1
  224. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/utils.d.ts +1 -1
  225. package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
  226. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +4 -3
  227. package/vscode/src/vs/editor/common/diff/rangeMapping.js +7 -7
  228. package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -1
  229. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  230. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  231. package/vscode/src/vs/editor/common/languages.d.ts +4 -28
  232. package/vscode/src/vs/editor/common/languages.js +65 -59
  233. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +1 -1
  234. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +1 -1
  235. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  236. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +1 -1
  237. package/vscode/src/vs/editor/common/model/textModel.d.ts +2 -0
  238. package/vscode/src/vs/editor/common/model/textModel.js +11 -6
  239. package/vscode/src/vs/editor/common/model/textModelStringEdit.d.ts +9 -0
  240. package/vscode/src/vs/editor/common/model/textModelStringEdit.js +45 -0
  241. package/vscode/src/vs/editor/common/model/textModelText.d.ts +2 -2
  242. package/vscode/src/vs/editor/common/model/textModelText.js +2 -2
  243. package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +2 -2
  244. package/vscode/src/vs/editor/common/model/textModelTokens.js +3 -3
  245. package/vscode/src/vs/editor/common/model/{tokens.d.ts → tokens/abstractSyntaxTokenBackend.d.ts} +22 -17
  246. package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +118 -0
  247. package/vscode/src/vs/editor/common/model/{tokenizationTextModelPart.d.ts → tokens/tokenizationTextModelPart.d.ts} +25 -25
  248. package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.js +255 -0
  249. package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +37 -0
  250. package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.js +257 -0
  251. package/vscode/src/vs/editor/common/model/tokens/treeSitter/cursorUtils.d.ts +6 -0
  252. package/vscode/src/vs/editor/common/model/tokens/treeSitter/cursorUtils.js +76 -0
  253. package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +65 -0
  254. package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.js +412 -0
  255. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.d.ts +40 -0
  256. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +172 -0
  257. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +73 -0
  258. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.js +682 -0
  259. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +53 -0
  260. package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.js +381 -0
  261. package/vscode/src/vs/editor/common/model.d.ts +1 -0
  262. package/vscode/src/vs/editor/common/services/languageService.js +1 -1
  263. package/vscode/src/vs/editor/common/services/modelService.js +1 -1
  264. package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +11 -0
  265. package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.js +6 -0
  266. package/vscode/src/vs/editor/common/services/treeSitter/treeSitterThemeService.service.d.ts +7 -0
  267. package/vscode/src/vs/editor/common/services/treeSitter/treeSitterThemeService.service.js +6 -0
  268. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +156 -154
  269. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +156 -154
  270. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  271. package/vscode/src/vs/editor/common/textModelEditReason.d.ts +16 -0
  272. package/vscode/src/vs/editor/common/textModelEditReason.js +29 -0
  273. package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +1 -1
  274. package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
  275. package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -1
  276. package/vscode/src/vs/editor/common/tokens/lineTokens.js +1 -1
  277. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
  278. package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +1 -1
  279. package/vscode/src/vs/editor/common/tokens/tokenArray.js +1 -1
  280. package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +1 -1
  281. package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.js +1 -1
  282. package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +4 -2
  283. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +3 -8
  284. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +6 -16
  285. package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.d.ts +1 -1
  286. package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.js +1 -1
  287. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +24 -17
  288. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  289. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  290. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  291. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  292. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  293. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -2
  294. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  295. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  296. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  297. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  298. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  299. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  300. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  301. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  302. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  303. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  304. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  305. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  306. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  307. package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +3 -3
  308. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  309. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +1 -1
  310. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -12
  311. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  312. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -4
  313. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  314. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  315. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  316. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +33 -28
  317. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
  318. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  319. package/vscode/src/vs/editor/contrib/folding/browser/hiddenRangeModel.js +1 -1
  320. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  321. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  322. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  323. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  324. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  325. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  326. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  327. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  328. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  329. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  330. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  331. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  332. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  333. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  334. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  335. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  336. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  337. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  338. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  339. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  340. package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +1 -1
  341. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.d.ts +1 -1
  342. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -1
  343. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  344. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
  345. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
  346. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +10 -6
  347. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +4 -4
  348. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.d.ts +2 -2
  349. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +15 -14
  350. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +2 -2
  351. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.js +2 -2
  352. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +0 -4
  353. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +5 -26
  354. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +2 -2
  355. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +2 -2
  356. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
  357. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +6 -6
  358. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +21 -20
  359. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +59 -23
  360. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +8 -8
  361. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +10 -9
  362. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +3 -3
  363. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +2 -2
  364. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -11
  365. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +46 -31
  366. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -4
  367. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +7 -7
  368. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.d.ts +3 -3
  369. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.js +3 -3
  370. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +4 -4
  371. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +3 -3
  372. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +2 -1
  373. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +6 -2
  374. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +5 -3
  375. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +14 -5
  376. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +2 -2
  377. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +9 -9
  378. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +3 -2
  379. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +18 -22
  380. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +1 -1
  381. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +53 -43
  382. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +4 -3
  383. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +3 -3
  384. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +1 -1
  385. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +4 -3
  386. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +4 -4
  387. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +1 -1
  388. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +68 -22
  389. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +5 -5
  390. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +6 -9
  391. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +6 -6
  392. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.d.ts +1 -1
  393. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +5 -4
  394. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +1 -1
  395. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +8 -8
  396. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +1 -1
  397. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +8 -13
  398. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +7 -5
  399. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +2 -2
  400. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +12 -16
  401. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.d.ts +1 -1
  402. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +4 -4
  403. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +21 -21
  404. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +9 -8
  405. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +31 -9
  406. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  407. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  408. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
  409. package/vscode/src/vs/editor/contrib/linesOperations/browser/sortLinesCommand.d.ts +2 -2
  410. package/vscode/src/vs/editor/contrib/linesOperations/browser/sortLinesCommand.js +3 -8
  411. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  412. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  413. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  414. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  415. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  416. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  417. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  418. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  419. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +9 -8
  420. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  421. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  422. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +1 -1
  423. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  424. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  425. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  426. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  427. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  428. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -1
  429. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
  430. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  431. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  432. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  433. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  434. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  435. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  436. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  437. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  438. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  439. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  440. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -25
  441. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  442. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  443. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +11 -11
  444. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  445. package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +0 -2
  446. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +4 -5
  447. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +11 -0
  448. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +21 -0
  449. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  450. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +6 -0
  451. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +81 -68
  452. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  453. package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +2 -1
  454. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +15 -11
  455. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -1
  456. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +9 -9
  457. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +2 -1
  458. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +11 -8
  459. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  460. package/vscode/src/vs/platform/actions/common/actions.d.ts +9 -0
  461. package/vscode/src/vs/platform/actions/common/actions.js +9 -0
  462. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  463. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  464. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  465. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  466. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  467. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  468. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  469. package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -2
  470. package/vscode/src/vs/platform/diagnostics/common/diagnostics.js +2 -1
  471. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  472. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  473. package/vscode/src/vs/platform/editor/common/editor.d.ts +6 -1
  474. package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
  475. package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.d.ts +1 -1
  476. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -3
  477. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +20 -21
  478. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +2 -1
  479. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  480. package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.d.ts +1 -1
  481. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +15 -7
  482. package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
  483. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  484. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +10 -0
  485. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +6 -6
  486. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +7 -7
  487. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  488. package/vscode/src/vs/platform/files/common/files.js +6 -6
  489. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  490. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  491. package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
  492. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  493. package/vscode/src/vs/platform/log/common/log.js +6 -6
  494. package/vscode/src/vs/platform/markers/common/markerService.js +3 -2
  495. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  496. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +22 -0
  497. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.js +7 -0
  498. package/vscode/src/vs/platform/notification/common/notification.service.d.ts +1 -3
  499. package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -2
  500. package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +1 -1
  501. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +1 -1
  502. package/vscode/src/vs/platform/product/common/product.js +3 -3
  503. package/vscode/src/vs/platform/progress/common/progress.js +1 -0
  504. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +7 -0
  505. package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +9 -1
  506. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  507. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  508. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +8 -8
  509. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +4 -3
  510. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  511. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
  512. package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
  513. package/vscode/src/vs/platform/request/common/request.js +18 -18
  514. package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
  515. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -1
  516. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +1 -1
  517. package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
  518. package/vscode/src/vs/platform/terminal/common/terminalDataBuffering.js +1 -1
  519. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +2 -2
  520. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  521. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  522. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  523. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
  524. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  525. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  526. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  527. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  528. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  529. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  530. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  531. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  532. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  533. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  534. package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +1 -1
  535. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  536. package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -2
  537. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.service.d.ts +1 -1
  538. package/vscode/src/vs/platform/window/common/window.d.ts +12 -4
  539. package/vscode/src/vs/platform/window/common/window.js +41 -6
  540. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  541. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +14 -12
  542. package/vscode/src/vs/workbench/api/common/extHost.common.services.js +4 -2
  543. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +42 -15
  544. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +4 -0
  545. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +64 -3
  546. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +495 -5
  547. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +0 -2
  548. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +84 -75
  549. package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -0
  550. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  551. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -3
  552. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -3
  553. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +4 -3
  554. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +1 -1
  555. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +52 -20
  556. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  557. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +3 -1
  558. package/vscode/src/vs/workbench/api/common/extHostMcp.js +199 -29
  559. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
  560. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  561. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +3 -3
  562. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.d.ts +1 -4
  563. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +2 -17
  564. package/vscode/src/vs/workbench/api/common/extHostProgress.d.ts +9 -2
  565. package/vscode/src/vs/workbench/api/common/extHostProgress.js +19 -6
  566. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -0
  567. package/vscode/src/vs/workbench/api/common/extHostSCM.js +11 -0
  568. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  569. package/vscode/src/vs/workbench/api/common/extHostStorage.d.ts +1 -1
  570. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  571. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  572. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +6 -4
  573. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  574. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +9 -8
  575. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +70 -45
  576. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +14 -19
  577. package/vscode/src/vs/workbench/api/common/extHostTypes.js +12 -19
  578. package/vscode/src/vs/workbench/api/common/extHostUrls.d.ts +7 -2
  579. package/vscode/src/vs/workbench/api/common/extHostUrls.js +15 -6
  580. package/vscode/src/vs/workbench/api/common/extHostWindow.d.ts +1 -0
  581. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  582. package/vscode/src/vs/workbench/api/common/extensionHostMain.js +19 -5
  583. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  584. package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +2 -0
  585. package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -1
  586. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  587. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  588. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  589. package/vscode/src/vs/workbench/common/contextkeys.d.ts +4 -5
  590. package/vscode/src/vs/workbench/common/contextkeys.js +72 -73
  591. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  592. package/vscode/src/vs/workbench/common/editor.js +4 -4
  593. package/vscode/src/vs/workbench/common/theme.js +160 -160
  594. package/vscode/src/vs/workbench/common/views.js +4 -4
  595. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +184 -150
  596. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  597. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -2
  598. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +4 -2
  599. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +8 -0
  600. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.js +6 -0
  601. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +10 -15
  602. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +7 -9
  603. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +3 -12
  604. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
  605. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -1
  606. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +50 -37
  607. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +4 -3
  608. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
  609. package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +2 -2
  610. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +42 -26
  611. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +102 -96
  612. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +17 -3
  613. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +26 -2
  614. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +21 -6
  615. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +1 -1
  616. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
  617. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -1
  618. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +1 -0
  619. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +4 -1
  620. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +38 -13
  621. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +67 -1
  622. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +11 -2
  623. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +6 -6
  624. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
  625. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  626. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +6 -2
  627. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +6 -12
  628. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +12 -5
  629. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +11 -6
  630. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +3 -9
  631. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  632. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +6 -5
  633. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  634. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +5 -5
  635. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  636. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  637. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  638. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  639. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  640. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  641. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  642. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
  643. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  644. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  645. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  646. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -0
  647. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
  648. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +6 -2
  649. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +5 -2
  650. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +3 -3
  651. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +10 -6
  652. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  653. package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +2 -2
  654. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  655. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  656. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  657. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  658. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  659. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +1 -1
  660. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
  661. package/vscode/src/vs/workbench/contrib/issue/common/issue.service.d.ts +0 -5
  662. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  663. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  664. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +2 -1
  665. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +6 -3
  666. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +133 -8
  667. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +132 -16
  668. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +26 -1
  669. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.js +3 -1
  670. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +404 -0
  671. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.js +14 -0
  672. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
  673. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +3 -3
  674. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
  675. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
  676. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
  677. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.d.ts +2 -1
  678. package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +14 -4
  679. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
  680. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
  681. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +6 -2
  682. package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +1 -1
  683. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchViewModelWorkbenchService.service.d.ts +1 -1
  684. package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.d.ts +1 -1
  685. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  686. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  687. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  688. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  689. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  690. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +8 -0
  691. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +14 -6
  692. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
  693. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -1
  694. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
  695. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +1 -1
  696. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  697. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  698. package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
  699. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
  700. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.d.ts +6 -0
  701. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.js +6 -0
  702. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +3 -3
  703. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  704. package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.d.ts +1 -0
  705. package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +3 -1
  706. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +14 -0
  707. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.js +6 -0
  708. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +19 -0
  709. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.js +6 -0
  710. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.d.ts +10 -0
  711. package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.js +6 -0
  712. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +15 -0
  713. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +8 -2
  714. package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.d.ts +15 -0
  715. package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +18 -0
  716. package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.js +6 -0
  717. package/vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.d.ts +9 -0
  718. package/vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.js +6 -0
  719. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +2 -1
  720. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +12 -4
  721. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  722. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +7 -5
  723. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +2 -3
  724. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  725. package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +1 -1
  726. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +0 -1
  727. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -3
  728. package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
  729. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
  730. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +1 -1
  731. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
  732. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
  733. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +2 -4
  734. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  735. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +2 -2
  736. package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
  737. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  738. package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
  739. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +2 -1
  740. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  741. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  742. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  743. package/vscode/src/vs/workbench/services/search/common/search.d.ts +11 -1
  744. package/vscode/src/vs/workbench/services/search/common/search.js +10 -1
  745. package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +1 -1
  746. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +2 -1
  747. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
  748. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  749. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  750. package/vscode/src/vs/workbench/services/title/browser/titleService.service.d.ts +2 -1
  751. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
  752. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
  753. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
  754. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
  755. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
  756. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
  757. package/vscode-dts/vscode.d.ts +162 -1
  758. package/vscode-dts/vscode.proposed.aiSettingsSearch.d.ts +1 -0
  759. package/vscode-dts/vscode.proposed.authIssuers.d.ts +30 -0
  760. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +12 -1
  761. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +10 -17
  762. package/vscode-dts/vscode.proposed.chatProvider.d.ts +18 -0
  763. package/vscode-dts/vscode.proposed.contribLanguageModelToolSets.d.ts +6 -0
  764. package/vscode-dts/vscode.proposed.d.ts +2 -2
  765. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
  766. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +1 -3
  767. package/vscode-dts/vscode.proposed.inlineEdit.d.ts +1 -1
  768. package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +7 -32
  769. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  770. package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +0 -59
  771. package/vscode/src/vs/base/common/observableInternal/utils.d.ts +0 -78
  772. package/vscode/src/vs/base/common/observableInternal/utils.js +0 -486
  773. package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +0 -43
  774. package/vscode/src/vs/editor/common/core/offsetEdit.js +0 -335
  775. package/vscode/src/vs/editor/common/core/textEdit.d.ts +0 -71
  776. package/vscode/src/vs/editor/common/model/textModelOffsetEdit.d.ts +0 -10
  777. package/vscode/src/vs/editor/common/model/textModelOffsetEdit.js +0 -39
  778. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +0 -507
  779. package/vscode/src/vs/editor/common/model/tokens.js +0 -81
  780. package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.d.ts +0 -24
  781. package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.js +0 -6
  782. package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +0 -31
  783. package/vscode/src/vs/editor/common/model/treeSitterTokens.js +0 -112
  784. package/vscode/src/vs/editor/common/services/treeSitterParserService.service.d.ts +0 -27
  785. package/vscode/src/vs/editor/common/services/treeSitterParserService.service.js +0 -7
  786. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +0 -19
  787. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +0 -29
  788. package/vscode/src/vs/platform/native/common/native.d.ts +0 -168
  789. package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.d.ts +0 -4
  790. package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.js +0 -6
  791. package/vscode-dts/vscode.proposed.mcpConfigurationProvider.d.ts +0 -139
  792. package/vscode-dts/vscode.proposed.notebookCellExecutionState.d.ts +0 -52
  793. /package/vscode/src/vs/editor/browser/{dnd.d.ts → dataTransfer.d.ts} +0 -0
  794. /package/vscode/src/vs/editor/browser/{dnd.js → dataTransfer.js} +0 -0
  795. /package/vscode/src/vs/editor/common/core/{dimension.d.ts → 2d/dimension.d.ts} +0 -0
  796. /package/vscode/src/vs/editor/{browser → common/core/2d}/point.d.ts +0 -0
  797. /package/vscode/src/vs/editor/{browser → common/core/2d}/point.js +0 -0
  798. /package/vscode/src/vs/editor/common/core/{eolCounter.d.ts → misc/eolCounter.d.ts} +0 -0
  799. /package/vscode/src/vs/editor/common/core/{indentation.d.ts → misc/indentation.d.ts} +0 -0
  800. /package/vscode/src/vs/editor/common/core/{rgba.d.ts → misc/rgba.d.ts} +0 -0
  801. /package/vscode/src/vs/editor/common/core/{rgba.js → misc/rgba.js} +0 -0
  802. /package/vscode/src/vs/editor/common/core/{textModelDefaults.d.ts → misc/textModelDefaults.d.ts} +0 -0
  803. /package/vscode/src/vs/editor/common/core/{textModelDefaults.js → misc/textModelDefaults.js} +0 -0
@@ -28,30 +28,30 @@ const colorIdPattern = '^\\w+[.\\w+]*$';
28
28
  const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
29
29
  extensionPoint: 'colors',
30
30
  jsonSchema: {
31
- description: ( localize(12622, 'Contributes extension defined themable colors')),
31
+ description: ( localize(12906, 'Contributes extension defined themable colors')),
32
32
  type: 'array',
33
33
  items: {
34
34
  type: 'object',
35
35
  properties: {
36
36
  id: {
37
37
  type: 'string',
38
- description: ( localize(12623, 'The identifier of the themable color')),
38
+ description: ( localize(12907, 'The identifier of the themable color')),
39
39
  pattern: colorIdPattern,
40
40
  patternErrorMessage: ( localize(
41
- 12624,
41
+ 12908,
42
42
  'Identifiers must only contain letters, digits and dots and can not start with a dot'
43
43
  )),
44
44
  },
45
45
  description: {
46
46
  type: 'string',
47
- description: ( localize(12625, 'The description of the themable color')),
47
+ description: ( localize(12909, 'The description of the themable color')),
48
48
  },
49
49
  defaults: {
50
50
  type: 'object',
51
51
  properties: {
52
52
  light: {
53
53
  description: ( localize(
54
- 12626,
54
+ 12910,
55
55
  'The default color for light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'
56
56
  )),
57
57
  type: 'string',
@@ -62,7 +62,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
62
62
  },
63
63
  dark: {
64
64
  description: ( localize(
65
- 12627,
65
+ 12911,
66
66
  'The default color for dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default.'
67
67
  )),
68
68
  type: 'string',
@@ -73,7 +73,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
73
73
  },
74
74
  highContrast: {
75
75
  description: ( localize(
76
- 12628,
76
+ 12912,
77
77
  'The default color for high contrast dark themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default. If not provided, the `dark` color is used as default for high contrast dark themes.'
78
78
  )),
79
79
  type: 'string',
@@ -84,7 +84,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
84
84
  },
85
85
  highContrastLight: {
86
86
  description: ( localize(
87
- 12629,
87
+ 12913,
88
88
  'The default color for high contrast light themes. Either a color value in hex (#RRGGBB[AA]) or the identifier of a themable color which provides the default. If not provided, the `light` color is used as default for high contrast light themes.'
89
89
  )),
90
90
  type: 'string',
@@ -107,7 +107,7 @@ class ColorExtensionPoint {
107
107
  const extensionValue = extension.value;
108
108
  const collector = extension.collector;
109
109
  if (!extensionValue || !Array.isArray(extensionValue)) {
110
- collector.error(( localize(12630, "'configuration.colors' must be a array")));
110
+ collector.error(( localize(12914, "'configuration.colors' must be a array")));
111
111
  return;
112
112
  }
113
113
  const parseColorValue = (s, name) => {
@@ -120,7 +120,7 @@ class ColorExtensionPoint {
120
120
  }
121
121
  }
122
122
  collector.error(( localize(
123
- 12631,
123
+ 12915,
124
124
  "{0} must be either a color value in hex (#RRGGBB[AA] or #RGB[A]) or the identifier of a themable color which provides the default.",
125
125
  name
126
126
  )));
@@ -128,19 +128,19 @@ class ColorExtensionPoint {
128
128
  };
129
129
  for (const colorContribution of extensionValue) {
130
130
  if (typeof colorContribution.id !== 'string' || colorContribution.id.length === 0) {
131
- collector.error(( localize(12632, "'configuration.colors.id' must be defined and can not be empty")));
131
+ collector.error(( localize(12916, "'configuration.colors.id' must be defined and can not be empty")));
132
132
  return;
133
133
  }
134
134
  if (!colorContribution.id.match(colorIdPattern)) {
135
135
  collector.error(( localize(
136
- 12633,
136
+ 12917,
137
137
  "'configuration.colors.id' must only contain letters, digits and dots and can not start with a dot"
138
138
  )));
139
139
  return;
140
140
  }
141
141
  if (typeof colorContribution.description !== 'string' || colorContribution.id.length === 0) {
142
142
  collector.error(( localize(
143
- 12634,
143
+ 12918,
144
144
  "'configuration.colors.description' must be defined and can not be empty"
145
145
  )));
146
146
  return;
@@ -148,21 +148,21 @@ class ColorExtensionPoint {
148
148
  const defaults = colorContribution.defaults;
149
149
  if (!defaults || typeof defaults !== 'object' || typeof defaults.light !== 'string' || typeof defaults.dark !== 'string') {
150
150
  collector.error(( localize(
151
- 12635,
151
+ 12919,
152
152
  "'configuration.colors.defaults' must be defined and must contain 'light' and 'dark'"
153
153
  )));
154
154
  return;
155
155
  }
156
156
  if (defaults.highContrast && typeof defaults.highContrast !== 'string') {
157
157
  collector.error(( localize(
158
- 12636,
158
+ 12920,
159
159
  "If defined, 'configuration.colors.defaults.highContrast' must be a string."
160
160
  )));
161
161
  return;
162
162
  }
163
163
  if (defaults.highContrastLight && typeof defaults.highContrastLight !== 'string') {
164
164
  collector.error(( localize(
165
- 12637,
165
+ 12921,
166
166
  "If defined, 'configuration.colors.defaults.highContrastLight' must be a string."
167
167
  )));
168
168
  return;
@@ -198,11 +198,11 @@ class ColorDataRenderer extends Disposable {
198
198
  return { data: { headers: [], rows: [] }, dispose: () => { } };
199
199
  }
200
200
  const headers = [
201
- ( localize(12638, "ID")),
202
- ( localize(12639, "Description")),
203
- ( localize(12640, "Dark Default")),
204
- ( localize(12641, "Light Default")),
205
- ( localize(12642, "High Contrast Default")),
201
+ ( localize(12922, "ID")),
202
+ ( localize(12923, "Description")),
203
+ ( localize(12924, "Dark Default")),
204
+ ( localize(12925, "Light Default")),
205
+ ( localize(12926, "High Contrast Default")),
206
206
  ];
207
207
  const toColor = (colorReference) => colorReference[0] === '#' ? ( Color.fromHex(colorReference)) : undefined;
208
208
  const rows = ( colors.sort((a, b) => a.id.localeCompare(b.id))
@@ -226,7 +226,7 @@ class ColorDataRenderer extends Disposable {
226
226
  }
227
227
  ( Registry.as(Extensions$1.ExtensionFeaturesRegistry)).registerExtensionFeature({
228
228
  id: 'colors',
229
- label: ( localize(12643, "Colors")),
229
+ label: ( localize(12927, "Colors")),
230
230
  access: {
231
231
  canToggle: false
232
232
  },
@@ -16,13 +16,13 @@ const iconIdPattern = `^${ThemeIcon.iconNameSegment}(-${ThemeIcon.iconNameSegmen
16
16
  const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
17
17
  extensionPoint: 'icons',
18
18
  jsonSchema: {
19
- description: ( localize(12702, 'Contributes extension defined themable icons')),
19
+ description: ( localize(12986, 'Contributes extension defined themable icons')),
20
20
  type: 'object',
21
21
  propertyNames: {
22
22
  pattern: iconIdPattern,
23
- description: ( localize(12703, 'The identifier of the themable icon')),
23
+ description: ( localize(12987, 'The identifier of the themable icon')),
24
24
  patternErrorMessage: ( localize(
25
- 12704,
25
+ 12988,
26
26
  'Identifiers can only contain letters, digits and minuses and need to consist of at least two segments in the form `component-iconname`.'
27
27
  )),
28
28
  },
@@ -31,7 +31,7 @@ const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
31
31
  properties: {
32
32
  description: {
33
33
  type: 'string',
34
- description: ( localize(12705, 'The description of the themable icon')),
34
+ description: ( localize(12989, 'The description of the themable icon')),
35
35
  },
36
36
  default: {
37
37
  anyOf: [
@@ -40,11 +40,11 @@ const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
40
40
  type: 'object',
41
41
  properties: {
42
42
  fontPath: {
43
- description: ( localize(12706, 'The path of the icon font that defines the icon.')),
43
+ description: ( localize(12990, 'The path of the icon font that defines the icon.')),
44
44
  type: 'string'
45
45
  },
46
46
  fontCharacter: {
47
- description: ( localize(12707, 'The character for the icon in the icon font.')),
47
+ description: ( localize(12991, 'The character for the icon in the icon font.')),
48
48
  type: 'string'
49
49
  }
50
50
  },
@@ -53,7 +53,7 @@ const iconConfigurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
53
53
  }
54
54
  ],
55
55
  description: ( localize(
56
- 12708,
56
+ 12992,
57
57
  'The default of the icon. Either a reference to an existing ThemeIcon or an icon in an icon font.'
58
58
  )),
59
59
  }
@@ -72,7 +72,7 @@ class IconExtensionPoint {
72
72
  const collector = extension.collector;
73
73
  if (!extensionValue || typeof extensionValue !== 'object') {
74
74
  collector.error(( localize(
75
- 12709,
75
+ 12993,
76
76
  "'configuration.icons' must be an object with the icon names as properties."
77
77
  )));
78
78
  return;
@@ -80,7 +80,7 @@ class IconExtensionPoint {
80
80
  for (const id in extensionValue) {
81
81
  if (!id.match(iconIdPattern)) {
82
82
  collector.error(( localize(
83
- 12710,
83
+ 12994,
84
84
  "'configuration.icons' keys represent the icon id and can only contain letter, digits and minuses. They need to consist of at least two segments in the form `component-iconname`."
85
85
  )));
86
86
  return;
@@ -88,7 +88,7 @@ class IconExtensionPoint {
88
88
  const iconContribution = extensionValue[id];
89
89
  if (typeof iconContribution.description !== 'string' || iconContribution.description.length === 0) {
90
90
  collector.error(( localize(
91
- 12711,
91
+ 12995,
92
92
  "'configuration.icons.description' must be defined and can not be empty"
93
93
  )));
94
94
  return;
@@ -102,7 +102,7 @@ class IconExtensionPoint {
102
102
  const format = formatMap[fileExt];
103
103
  if (!format) {
104
104
  collector.warn(( localize(
105
- 12712,
105
+ 12996,
106
106
  "Expected `contributes.icons.default.fontPath` to have file extension 'woff', woff2' or 'ttf', is '{0}'.",
107
107
  fileExt
108
108
  )));
@@ -114,7 +114,7 @@ class IconExtensionPoint {
114
114
  const definition = iconRegistry.registerIconFont(fontId, { src: [{ location: iconFontLocation, format }] });
115
115
  if (!isEqualOrParent(iconFontLocation, extensionLocation)) {
116
116
  collector.warn(( localize(
117
- 12713,
117
+ 12997,
118
118
  "Expected `contributes.icons.default.fontPath` ({0}) to be included inside extension's folder ({0}).",
119
119
  iconFontLocation.path,
120
120
  extensionLocation.path
@@ -131,7 +131,7 @@ class IconExtensionPoint {
131
131
  }
132
132
  else {
133
133
  collector.error(( localize(
134
- 12714,
134
+ 12998,
135
135
  "'configuration.icons.default' must be either a reference to the id of an other theme icon (string) or a icon definition (object) with properties `fontPath` and `fontCharacter`."
136
136
  )));
137
137
  }
@@ -1,8 +1,9 @@
1
+ import { type IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js";
1
2
  import { ITitlebarPart, IAuxiliaryTitlebarPart } from "@codingame/monaco-vscode-view-title-bar-service-override/vscode/vs/workbench/browser/parts/titlebar/titlebarPart";
2
3
  import { IEditorGroupsContainer } from "../../editor/common/editorGroupsService.js";
3
4
  export declare const ITitleService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITitleService>;
4
5
  export interface ITitleService extends ITitlebarPart {
5
6
  readonly _serviceBrand: undefined;
6
7
  getPart(container: HTMLElement): ITitlebarPart;
7
- createAuxiliaryTitlebarPart(container: HTMLElement, editorGroupsContainer: IEditorGroupsContainer): IAuxiliaryTitlebarPart;
8
+ createAuxiliaryTitlebarPart(container: HTMLElement, editorGroupsContainer: IEditorGroupsContainer, instantiationService: IInstantiationService): IAuxiliaryTitlebarPart;
8
9
  }
@@ -8,15 +8,15 @@ import { Categories } from '../../../../platform/action/common/actionCommonCateg
8
8
 
9
9
  function getSyncAreaLabel(source) {
10
10
  switch (source) {
11
- case SyncResource.Settings: return localize(12885, "Settings");
12
- case SyncResource.Keybindings: return localize(12886, "Keyboard Shortcuts");
13
- case SyncResource.Snippets: return localize(12887, "Snippets");
14
- case SyncResource.Prompts: return localize(12888, "Prompts and Instructions");
15
- case SyncResource.Tasks: return localize(12889, "Tasks");
16
- case SyncResource.Extensions: return localize(12890, "Extensions");
17
- case SyncResource.GlobalState: return localize(12891, "UI State");
18
- case SyncResource.Profiles: return localize(12892, "Profiles");
19
- case SyncResource.WorkspaceState: return localize(12893, "Workspace State");
11
+ case SyncResource.Settings: return localize(13169, "Settings");
12
+ case SyncResource.Keybindings: return localize(13170, "Keyboard Shortcuts");
13
+ case SyncResource.Snippets: return localize(13171, "Snippets");
14
+ case SyncResource.Prompts: return localize(13172, "Prompts and Instructions");
15
+ case SyncResource.Tasks: return localize(13173, "Tasks");
16
+ case SyncResource.Extensions: return localize(13174, "Extensions");
17
+ case SyncResource.GlobalState: return localize(13175, "UI State");
18
+ case SyncResource.Profiles: return localize(13176, "Profiles");
19
+ case SyncResource.WorkspaceState: return localize(13177, "Workspace State");
20
20
  }
21
21
  }
22
22
  var AccountStatus;
@@ -25,8 +25,8 @@ var AccountStatus;
25
25
  AccountStatus["Unavailable"] = "unavailable";
26
26
  AccountStatus["Available"] = "available";
27
27
  })(AccountStatus || (AccountStatus = {}));
28
- const SYNC_TITLE = ( localize2(12894, "Settings Sync"));
29
- const SYNC_VIEW_ICON = registerIcon('settings-sync-view-icon', Codicon.sync, ( localize(12895, 'View icon of the Settings Sync view.')));
28
+ const SYNC_TITLE = ( localize2(13178, "Settings Sync"));
29
+ const SYNC_VIEW_ICON = registerIcon('settings-sync-view-icon', Codicon.sync, ( localize(13179, 'View icon of the Settings Sync view.')));
30
30
  const CONTEXT_SYNC_STATE = ( new RawContextKey('syncStatus', SyncStatus.Uninitialized));
31
31
  const CONTEXT_SYNC_ENABLEMENT = ( new RawContextKey('syncEnabled', false));
32
32
  const CONTEXT_ACCOUNT_STATE = ( new RawContextKey('userDataSyncAccountStatus', AccountStatus.Uninitialized));
@@ -39,7 +39,7 @@ const SYNC_VIEW_CONTAINER_ID = 'workbench.view.sync';
39
39
  const SYNC_CONFLICTS_VIEW_ID = 'workbench.views.sync.conflicts';
40
40
  const DOWNLOAD_ACTIVITY_ACTION_DESCRIPTOR = {
41
41
  id: 'workbench.userDataSync.actions.downloadSyncActivity',
42
- title: ( localize2(12896, "Download Settings Sync Activity")),
42
+ title: ( localize2(13180, "Download Settings Sync Activity")),
43
43
  category: Categories.Developer,
44
44
  f1: true,
45
45
  precondition: ( ContextKeyExpr.and(( CONTEXT_ACCOUNT_STATE.isEqualTo(AccountStatus.Available)), ( CONTEXT_SYNC_STATE.notEqualsTo(SyncStatus.Uninitialized))))
@@ -1,5 +1,5 @@
1
1
  import { VSBufferReadableStream } from "../../../../base/common/buffer.js";
2
- import { IWorkingCopyBackupMeta } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
2
+ import { IWorkingCopyBackupMeta } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
3
3
  export interface IResolvedWorkingCopyBackup<T extends IWorkingCopyBackupMeta> {
4
4
  readonly value: VSBufferReadableStream;
5
5
  readonly meta?: T;
@@ -1,6 +1,6 @@
1
1
  import { VSBufferReadable, VSBufferReadableStream } from "../../../../base/common/buffer.js";
2
2
  import { CancellationToken } from "../../../../base/common/cancellation.js";
3
- import { IWorkingCopyIdentifier, IWorkingCopyBackupMeta } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
3
+ import { IWorkingCopyIdentifier, IWorkingCopyBackupMeta } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
4
  import { IResolvedWorkingCopyBackup } from "./workingCopyBackup.js";
5
5
  export declare const IWorkingCopyBackupService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkingCopyBackupService>;
6
6
  export interface IWorkingCopyBackupService {
@@ -1,7 +1,7 @@
1
1
  import { Event } from "../../../../base/common/event.js";
2
2
  import { IDisposable } from "../../../../base/common/lifecycle.js";
3
3
  import { IEditorIdentifier } from "../../../common/editor.js";
4
- import { IWorkingCopy } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
+ import { IWorkingCopy } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
5
5
  import { IWorkingCopyEditorHandler } from "@codingame/monaco-vscode-working-copy-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService";
6
6
  export declare const IWorkingCopyEditorService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkingCopyEditorService>;
7
7
  export interface IWorkingCopyEditorService {
@@ -5,7 +5,7 @@ import { URI } from "../../../../base/common/uri.js";
5
5
  import { IFileStatWithMetadata } from "../../../../platform/files/common/files.js";
6
6
  import { IProgress, IProgressStep } from "../../../../platform/progress/common/progress.js";
7
7
  import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
8
- import { IWorkingCopy } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
8
+ import { IWorkingCopy } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
9
9
  import { WorkingCopyFileEvent, IWorkingCopyFileOperationParticipant, IStoredFileWorkingCopySaveParticipant, IStoredFileWorkingCopySaveParticipantContext, ICreateFileOperation, IFileOperationUndoRedoInfo, ICreateOperation, IMoveOperation, ICopyOperation, IDeleteOperation, WorkingCopyProvider } from "@codingame/monaco-vscode-base-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService";
10
10
  export declare const IWorkingCopyFileService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkingCopyFileService>;
11
11
  export interface IWorkingCopyFileService {
@@ -1,7 +1,7 @@
1
1
  import { Event } from "../../../../base/common/event.js";
2
2
  import { IDisposable } from "../../../../base/common/lifecycle.js";
3
3
  import { URI } from "../../../../base/common/uri.js";
4
- import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
+ import { IWorkingCopy, IWorkingCopyIdentifier } from "@codingame/monaco-vscode-a4683c2b-a0d2-5112-96ba-eedc605346d2-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
5
5
  import { IWorkingCopySaveEvent } from "@codingame/monaco-vscode-working-copy-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyService";
6
6
  export declare const IWorkingCopyService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IWorkingCopyService>;
7
7
  export interface IWorkingCopyService {
@@ -20190,7 +20190,7 @@ declare module 'vscode' {
20190
20190
 
20191
20191
  /**
20192
20192
  * A set of options that control the behavior of the language model. These options are specific to the language model
20193
- * and need to be lookup in the respective documentation.
20193
+ * and need to be looked up in the respective documentation.
20194
20194
  */
20195
20195
  modelOptions?: { [name: string]: any };
20196
20196
 
@@ -20213,6 +20213,139 @@ declare module 'vscode' {
20213
20213
  toolMode?: LanguageModelChatToolMode;
20214
20214
  }
20215
20215
 
20216
+ /**
20217
+ * McpStdioServerDefinition represents an MCP server available by running
20218
+ * a local process and operating on its stdin and stdout streams. The process
20219
+ * will be spawned as a child process of the extension host and by default
20220
+ * will not run in a shell environment.
20221
+ */
20222
+ export class McpStdioServerDefinition {
20223
+ /**
20224
+ * The human-readable name of the server.
20225
+ */
20226
+ readonly label: string;
20227
+
20228
+ /**
20229
+ * The working directory used to start the server.
20230
+ */
20231
+ cwd?: Uri;
20232
+
20233
+ /**
20234
+ * The command used to start the server. Node.js-based servers may use
20235
+ * `process.execPath` to use the editor's version of Node.js to run the script.
20236
+ */
20237
+ command: string;
20238
+
20239
+ /**
20240
+ * Additional command-line arguments passed to the server.
20241
+ */
20242
+ args: string[];
20243
+
20244
+ /**
20245
+ * Optional additional environment information for the server. Variables
20246
+ * in this environment will overwrite or remove (if null) the default
20247
+ * environment variables of the editor's extension host.
20248
+ */
20249
+ env: Record<string, string | number | null>;
20250
+
20251
+ /**
20252
+ * Optional version identification for the server. If this changes, the
20253
+ * editor will indicate that tools have changed and prompt to refresh them.
20254
+ */
20255
+ version?: string;
20256
+
20257
+ /**
20258
+ * @param label The human-readable name of the server.
20259
+ * @param command The command used to start the server.
20260
+ * @param args Additional command-line arguments passed to the server.
20261
+ * @param env Optional additional environment information for the server.
20262
+ * @param version Optional version identification for the server.
20263
+ */
20264
+ constructor(label: string, command: string, args?: string[], env?: Record<string, string | number | null>, version?: string);
20265
+ }
20266
+
20267
+ /**
20268
+ * McpHttpServerDefinition represents an MCP server available using the
20269
+ * Streamable HTTP transport.
20270
+ */
20271
+ export class McpHttpServerDefinition {
20272
+ /**
20273
+ * The human-readable name of the server.
20274
+ */
20275
+ readonly label: string;
20276
+
20277
+ /**
20278
+ * The URI of the server. The editor will make a POST request to this URI
20279
+ * to begin each session.
20280
+ */
20281
+ uri: Uri;
20282
+
20283
+ /**
20284
+ * Optional additional heads included with each request to the server.
20285
+ */
20286
+ headers: Record<string, string>;
20287
+
20288
+ /**
20289
+ * Optional version identification for the server. If this changes, the
20290
+ * editor will indicate that tools have changed and prompt to refresh them.
20291
+ */
20292
+ version?: string;
20293
+
20294
+ /**
20295
+ * @param label The human-readable name of the server.
20296
+ * @param uri The URI of the server.
20297
+ * @param headers Optional additional heads included with each request to the server.
20298
+ */
20299
+ constructor(label: string, uri: Uri, headers?: Record<string, string>, version?: string);
20300
+ }
20301
+
20302
+ /**
20303
+ * Definitions that describe different types of Model Context Protocol servers,
20304
+ * which can be returned from the {@link McpServerDefinitionProvider}.
20305
+ */
20306
+ export type McpServerDefinition = McpStdioServerDefinition | McpHttpServerDefinition;
20307
+
20308
+ /**
20309
+ * A type that can provide Model Context Protocol server definitions. This
20310
+ * should be registered using {@link lm.registerMcpServerDefinitionProvider}
20311
+ * during extension activation.
20312
+ */
20313
+ export interface McpServerDefinitionProvider<T extends McpServerDefinition = McpServerDefinition> {
20314
+ /**
20315
+ * Optional event fired to signal that the set of available servers has changed.
20316
+ */
20317
+ readonly onDidChangeMcpServerDefinitions?: Event<void>;
20318
+
20319
+ /**
20320
+ * Provides available MCP servers. The editor will call this method eagerly
20321
+ * to ensure the availability of servers for the language model, and so
20322
+ * extensions should not take actions which would require user
20323
+ * interaction, such as authentication.
20324
+ *
20325
+ * @param token A cancellation token.
20326
+ * @returns An array of MCP available MCP servers
20327
+ */
20328
+ provideMcpServerDefinitions(token: CancellationToken): ProviderResult<T[]>;
20329
+
20330
+ /**
20331
+ * This function will be called when the editor needs to start a MCP server.
20332
+ * At this point, the extension may take any actions which may require user
20333
+ * interaction, such as authentication. Any non-`readonly` property of the
20334
+ * server may be modified, and the extension should return the resolved server.
20335
+ *
20336
+ * The extension may return undefined to indicate that the server
20337
+ * should not be started, or throw an error. If there is a pending tool
20338
+ * call, the editor will cancel it and return an error message to the
20339
+ * language model.
20340
+ *
20341
+ * @param server The MCP server to resolve
20342
+ * @param token A cancellation token.
20343
+ * @returns The resolved server or thenable that resolves to such. This may
20344
+ * be the given `server` definition with non-readonly properties filled in.
20345
+ */
20346
+ resolveMcpServerDefinition?(server: T, token: CancellationToken): ProviderResult<T>;
20347
+ }
20348
+
20216
20349
  /**
20217
20350
  * Namespace for language model related functionality.
20218
20351
  */
@@ -20291,6 +20424,34 @@ declare module 'vscode' {
20291
20424
  * @returns The result of the tool invocation.
20292
20425
  */
20293
20426
  export function invokeTool(name: string, options: LanguageModelToolInvocationOptions<object>, token?: CancellationToken): Thenable<LanguageModelToolResult>;
20427
+
20428
+ /**
20429
+ * Registers a provider that publishes Model Context Protocol servers for the editor to
20430
+ * consume. This allows MCP servers to be dynamically provided to the editor in
20431
+ * addition to those the user creates in their configuration files.
20432
+ *
20433
+ * Before calling this method, extensions must register the `contributes.mcpServerDefinitionProviders`
20434
+ * extension point with the corresponding {@link id}, for example:
20435
+ *
20436
+ * ```js
20437
+ * "contributes": {
20438
+ * "mcpServerDefinitionProviders": [
20439
+ * {
20440
+ * "id": "cool-cloud-registry.mcp-servers",
20441
+ * "label": "Cool Cloud Registry",
20442
+ * }
20443
+ * ]
20444
+ * }
20445
+ * ```
20446
+ *
20447
+ * When a new McpServerDefinitionProvider is available, the editor will present a 'refresh'
20448
+ * action to the user to discover new servers. To enable this flow, extensions should
20449
+ * call `registerMcpServerDefinitionProvider` during activation.
20450
+ * @param id The ID of the provider, which is unique to the extension.
20451
+ * @param provider The provider to register
20452
+ * @returns A disposable that unregisters the provider when disposed.
20453
+ */
20454
+ export function registerMcpServerDefinitionProvider(id: string, provider: McpServerDefinitionProvider): Disposable;
20294
20455
  }
20295
20456
 
20296
20457
  /**
@@ -18,6 +18,7 @@ declare module 'vscode' {
18
18
 
19
19
  export interface SettingsSearchProviderOptions {
20
20
  limit: number;
21
+ embeddingsOnly: boolean;
21
22
  }
22
23
 
23
24
  export interface SettingsSearchProvider {
@@ -0,0 +1,30 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ declare module 'vscode' {
7
+ export interface AuthenticationProviderOptions {
8
+ /**
9
+ * When specified, this provider will be associated with these authorization servers. They can still contain globs
10
+ * just like their extension contribution counterparts.
11
+ */
12
+ readonly supportedAuthorizationServers?: Uri[];
13
+ }
14
+
15
+ export interface AuthenticationProviderSessionOptions {
16
+ /**
17
+ * When specified, the authentication provider will use the provided authorization server URL to
18
+ * authenticate the user. This is only used when a provider has `supportsAuthorizationServers` set
19
+ */
20
+ authorizationServer?: Uri;
21
+ }
22
+
23
+ export interface AuthenticationGetSessionOptions {
24
+ /**
25
+ * When specified, the authentication provider will use the provided authorization server URL to
26
+ * authenticate the user. This is only used when a provider has `supportsAuthorizationServers` set
27
+ */
28
+ authorizationServer?: Uri;
29
+ }
30
+ }
@@ -79,7 +79,12 @@ declare module 'vscode' {
79
79
  constructor(value: Uri, license: string, snippet: string);
80
80
  }
81
81
 
82
- export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseNotebookEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart | ChatResponseExtensionsPart;
82
+ export class ChatPrepareToolInvocationPart {
83
+ toolName: string;
84
+ constructor(toolName: string);
85
+ }
86
+
87
+ export type ExtendedChatResponsePart = ChatResponsePart | ChatResponseTextEditPart | ChatResponseNotebookEditPart | ChatResponseConfirmationPart | ChatResponseCodeCitationPart | ChatResponseReferencePart2 | ChatResponseMovePart | ChatResponseExtensionsPart | ChatPrepareToolInvocationPart;
83
88
 
84
89
  export class ChatResponseWarningPart {
85
90
  value: MarkdownString;
@@ -217,6 +222,8 @@ declare module 'vscode' {
217
222
 
218
223
  codeCitation(value: Uri, license: string, snippet: string): void;
219
224
 
225
+ prepareToolInvocation(toolName: string): void;
226
+
220
227
  push(part: ExtendedChatResponsePart): void;
221
228
  }
222
229
 
@@ -439,4 +446,8 @@ declare module 'vscode' {
439
446
  export interface LanguageModelToolInvocationOptions<T> {
440
447
  model?: LanguageModelChat;
441
448
  }
449
+
450
+ export interface ChatRequest {
451
+ modeInstructions?: string;
452
+ }
442
453
  }