@codingame/monaco-vscode-api 13.1.6 → 14.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 (794) hide show
  1. package/extensions.d.ts +3 -2
  2. package/missing-services.js +177 -63
  3. package/monaco.d.ts +1 -1
  4. package/package.json +8 -8
  5. package/services.d.ts +2 -2
  6. package/services.js +2 -3
  7. package/vscode/src/vs/base/browser/cssValue.js +1 -1
  8. package/vscode/src/vs/base/browser/dom.js +4 -1
  9. package/vscode/src/vs/base/browser/markdownRenderer.js +12 -0
  10. package/vscode/src/vs/base/browser/touch.js +2 -1
  11. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css.js +1 -1
  12. package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -1
  13. package/vscode/src/vs/base/browser/ui/button/button.js +10 -6
  14. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
  15. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +2 -1
  16. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +2 -2
  17. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
  18. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +1 -1
  19. package/vscode/src/vs/base/browser/ui/list/listView.d.ts +10 -0
  20. package/vscode/src/vs/base/browser/ui/list/listView.js +102 -6
  21. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -0
  22. package/vscode/src/vs/base/browser/ui/menu/menu.js +4 -1
  23. package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +1 -1
  24. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +6 -6
  25. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +1 -2
  26. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +18 -8
  27. package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +2 -2
  28. package/vscode/src/vs/base/common/actions.d.ts +1 -1
  29. package/vscode/src/vs/base/common/arrays.d.ts +1 -2
  30. package/vscode/src/vs/base/common/arrays.js +2 -2
  31. package/vscode/src/vs/base/common/assert.d.ts +1 -1
  32. package/vscode/src/vs/base/common/assert.js +5 -2
  33. package/vscode/src/vs/base/common/async.js +16 -2
  34. package/vscode/src/vs/base/common/codicons.d.ts +1 -0
  35. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +1 -0
  36. package/vscode/src/vs/base/common/codiconsLibrary.js +1 -0
  37. package/vscode/src/vs/base/common/color.d.ts +2 -2
  38. package/vscode/src/vs/base/common/color.js +4 -4
  39. package/vscode/src/vs/base/common/decorators.d.ts +1 -0
  40. package/vscode/src/vs/base/common/decorators.js +2 -0
  41. package/vscode/src/vs/base/common/errors.d.ts +2 -0
  42. package/vscode/src/vs/base/common/errors.js +10 -2
  43. package/vscode/src/vs/base/common/event.d.ts +3 -3
  44. package/vscode/src/vs/base/common/event.js +3 -3
  45. package/vscode/src/vs/base/common/filters.js +1 -1
  46. package/vscode/src/vs/base/common/iterator.d.ts +1 -1
  47. package/vscode/src/vs/base/common/iterator.js +8 -2
  48. package/vscode/src/vs/base/common/lifecycle.d.ts +7 -0
  49. package/vscode/src/vs/base/common/map.d.ts +8 -16
  50. package/vscode/src/vs/base/common/map.js +43 -30
  51. package/vscode/src/vs/base/common/network.d.ts +2 -2
  52. package/vscode/src/vs/base/common/network.js +4 -4
  53. package/vscode/src/vs/base/common/numbers.d.ts +1 -0
  54. package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +2 -2
  55. package/vscode/src/vs/base/common/observableInternal/autorun.js +14 -1
  56. package/vscode/src/vs/base/common/observableInternal/base.d.ts +13 -9
  57. package/vscode/src/vs/base/common/observableInternal/base.js +7 -1
  58. package/vscode/src/vs/base/common/observableInternal/derived.d.ts +5 -3
  59. package/vscode/src/vs/base/common/observableInternal/derived.js +31 -4
  60. package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
  61. package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +5 -2
  62. package/vscode/src/vs/base/common/observableInternal/logging.d.ts +10 -4
  63. package/vscode/src/vs/base/common/observableInternal/logging.js +310 -1
  64. package/vscode/src/vs/base/common/observableInternal/utils.d.ts +9 -9
  65. package/vscode/src/vs/base/common/observableInternal/utils.js +13 -4
  66. package/vscode/src/vs/base/common/path.js +1 -2
  67. package/vscode/src/vs/base/common/product.d.ts +5 -0
  68. package/vscode/src/vs/base/common/stream.d.ts +1 -1
  69. package/vscode/src/vs/base/common/stream.js +13 -5
  70. package/vscode/src/vs/base/common/strings.d.ts +1 -0
  71. package/vscode/src/vs/base/common/strings.js +19 -9
  72. package/vscode/src/vs/base/common/types.d.ts +2 -1
  73. package/vscode/src/vs/base/common/types.js +9 -4
  74. package/vscode/src/vs/base/common/uuid.js +1 -50
  75. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +2 -1
  76. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +26 -12
  77. package/vscode/src/vs/editor/browser/editorDom.js +3 -3
  78. package/vscode/src/vs/editor/browser/editorExtensions.js +15 -0
  79. package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +7 -2
  80. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +1 -1
  81. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +34 -27
  82. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +1 -1
  83. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.js +8 -8
  84. package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.js +3 -3
  85. package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +7 -0
  86. package/vscode/src/vs/editor/browser/gpu/contentSegmenter.js +49 -0
  87. package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.d.ts → css/decorationCssRuleExtractor.d.ts} +1 -1
  88. package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.js → css/decorationCssRuleExtractor.js} +2 -2
  89. package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +15 -0
  90. package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.js +37 -0
  91. package/vscode/src/vs/editor/browser/gpu/{media → css/media}/decorationCssRuleExtractor.css.js +1 -1
  92. package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +6 -2
  93. package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +5 -2
  94. package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +57 -14
  95. package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +2 -1
  96. package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.d.ts +4 -1
  97. package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.js +5 -1
  98. package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.d.ts +25 -0
  99. package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.js +16 -0
  100. package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.d.ts → renderStrategy/fullFileRenderStrategy.d.ts} +14 -13
  101. package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.js → renderStrategy/fullFileRenderStrategy.js} +100 -57
  102. package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.js → renderStrategy/fullFileRenderStrategy.wgsl.js} +3 -3
  103. package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +40 -0
  104. package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.js +287 -0
  105. package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +4 -3
  106. package/vscode/src/vs/editor/browser/gpu/taskQueue.js +17 -2
  107. package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +8 -9
  108. package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +45 -34
  109. package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +28 -21
  110. package/vscode/src/vs/editor/browser/observableCodeEditor.js +68 -2
  111. package/vscode/src/vs/editor/browser/point.d.ts +9 -0
  112. package/vscode/src/vs/editor/browser/point.js +22 -0
  113. package/vscode/src/vs/editor/browser/rect.d.ts +30 -0
  114. package/vscode/src/vs/editor/browser/rect.js +131 -0
  115. package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +1 -1
  116. package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +1 -1
  117. package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +1 -1
  118. package/vscode/src/vs/editor/browser/view/viewLayer.js +8 -1
  119. package/vscode/src/vs/editor/browser/view.d.ts +1 -0
  120. package/vscode/src/vs/editor/browser/view.js +9 -5
  121. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +1 -1
  122. package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +7 -3
  123. package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +140 -56
  124. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +1 -0
  125. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +5 -0
  126. package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +2 -1
  127. package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +8 -1
  128. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +1 -0
  129. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +14 -9
  130. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +12 -10
  131. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +12 -5
  132. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -1
  133. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +4 -2
  134. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +29 -7
  135. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +28 -28
  136. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +2 -2
  137. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +0 -1
  138. package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +1 -1
  139. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +2 -2
  140. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.d.ts +2 -2
  141. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +3 -6
  142. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +3 -10
  143. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +8 -6
  144. package/vscode/src/vs/editor/common/config/editorOptions.js +409 -392
  145. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  146. package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +3 -0
  147. package/vscode/src/vs/editor/common/core/offsetEdit.js +9 -0
  148. package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
  149. package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
  150. package/vscode/src/vs/editor/common/core/position.js +1 -1
  151. package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +1 -0
  152. package/vscode/src/vs/editor/common/core/positionToOffset.js +20 -1
  153. package/vscode/src/vs/editor/common/core/range.d.ts +1 -0
  154. package/vscode/src/vs/editor/common/core/range.js +3 -0
  155. package/vscode/src/vs/editor/common/core/textEdit.d.ts +0 -6
  156. package/vscode/src/vs/editor/common/core/textEdit.js +0 -1
  157. package/vscode/src/vs/editor/common/core/textLength.js +1 -1
  158. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +10 -7
  159. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +2 -1
  160. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +6 -6
  161. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +1 -0
  162. package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +20 -0
  163. package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +1 -0
  164. package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +1 -1
  165. package/vscode/src/vs/editor/common/diff/rangeMapping.js +1 -22
  166. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  167. package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +1 -1
  168. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +5 -5
  169. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  170. package/vscode/src/vs/editor/common/languages.d.ts +21 -25
  171. package/vscode/src/vs/editor/common/languages.js +27 -27
  172. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  173. package/vscode/src/vs/editor/common/model/textModel.d.ts +1 -0
  174. package/vscode/src/vs/editor/common/model/textModel.js +6 -3
  175. package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +2 -2
  176. package/vscode/src/vs/editor/common/model/textModelTokens.js +11 -18
  177. package/vscode/src/vs/editor/common/model/tokenStore.d.ts +59 -0
  178. package/vscode/src/vs/editor/common/model/tokenStore.js +384 -0
  179. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.d.ts +5 -5
  180. package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -15
  181. package/vscode/src/vs/editor/common/model/tokens.d.ts +2 -2
  182. package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.d.ts +44 -0
  183. package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.js +114 -0
  184. package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +4 -5
  185. package/vscode/src/vs/editor/common/model/treeSitterTokens.js +18 -10
  186. package/vscode/src/vs/editor/common/services/editorSimpleWorker.d.ts +1 -1
  187. package/vscode/src/vs/editor/common/services/editorWorker.d.ts +1 -1
  188. package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +1 -2
  189. package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -2
  190. package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -1
  191. package/vscode/src/vs/editor/common/services/treeSitterParserService.d.ts +18 -5
  192. package/vscode/src/vs/editor/common/standaloneStrings.d.ts +3 -0
  193. package/vscode/src/vs/editor/common/standaloneStrings.js +54 -38
  194. package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +1 -13
  195. package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +1 -13
  196. package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
  197. package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
  198. package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +5 -0
  199. package/vscode/src/vs/editor/common/tokens/tokenArray.js +24 -0
  200. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  201. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  202. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  203. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  204. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  205. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  206. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  207. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  208. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  209. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  210. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  211. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +1 -0
  212. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  213. package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
  214. package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +1 -1
  215. package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +7 -5
  216. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  217. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css.js +1 -1
  218. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  219. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  220. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPicker.d.ts +2 -0
  221. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPicker.js +12 -0
  222. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.d.ts +1 -2
  223. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +2 -9
  224. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -5
  225. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  226. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +12 -8
  227. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +41 -41
  228. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +2 -0
  229. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +13 -8
  230. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  231. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  232. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  233. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  234. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +32 -33
  235. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  236. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  237. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  238. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  239. package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -0
  240. package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -17
  241. package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +2 -1
  242. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +32 -30
  243. package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.d.ts +21 -0
  244. package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.js +76 -0
  245. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
  246. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  247. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  248. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  249. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.d.ts +1 -1
  250. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +40 -36
  251. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  252. package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +56 -30
  253. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.d.ts +1 -1
  254. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +43 -41
  255. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -2
  256. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -4
  257. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  258. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  259. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  260. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  261. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +5 -5
  262. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +1 -3
  263. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +54 -59
  264. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +1 -0
  265. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +47 -16
  266. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +4 -0
  267. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +27 -15
  268. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -1
  269. package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +2 -1
  270. package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
  271. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.d.ts +4 -4
  272. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  273. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.d.ts +1 -0
  274. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +4 -3
  275. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.d.ts +4 -0
  276. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +38 -25
  277. package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +2 -1
  278. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +1 -0
  279. package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +4 -1
  280. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +3 -1
  281. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +65 -33
  282. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  283. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  284. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  285. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  286. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +2 -2
  287. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +38 -24
  288. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +1 -0
  289. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -10
  290. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +7 -3
  291. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +50 -7
  292. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +8 -7
  293. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  294. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +2 -2
  295. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +2 -0
  296. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +1 -1
  297. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +18 -19
  298. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +55 -27
  299. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +22 -7
  300. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +199 -21
  301. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +3 -0
  302. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -1
  303. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +38 -15
  304. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
  305. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +1 -0
  306. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +10 -10
  307. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +16 -3
  308. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +65 -30
  309. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.d.ts +6 -5
  310. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +7 -6
  311. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.d.ts +29 -0
  312. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.js +141 -0
  313. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.d.ts +19 -0
  314. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.js +143 -0
  315. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.d.ts +37 -0
  316. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.js +259 -0
  317. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.d.ts → indicatorView.d.ts} +1 -2
  318. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.js → indicatorView.js} +9 -8
  319. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.d.ts +5 -2
  320. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.js +39 -19
  321. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.d.ts +32 -0
  322. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.js +204 -0
  323. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.d.ts +71 -0
  324. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.js +584 -0
  325. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.d.ts +123 -12
  326. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +348 -20
  327. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css.js +6 -0
  328. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.d.ts +41 -0
  329. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.js +365 -0
  330. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsViewAndDiffProducer.d.ts → viewAndDiffProducer.d.ts} +7 -13
  331. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.js +92 -0
  332. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.d.ts +58 -0
  333. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.js +520 -0
  334. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  335. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
  336. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  337. package/vscode/src/vs/editor/contrib/links/browser/getLinks.d.ts +1 -0
  338. package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +16 -12
  339. package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +1 -0
  340. package/vscode/src/vs/editor/contrib/links/browser/links.js +13 -10
  341. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  342. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  343. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  344. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +5 -5
  345. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +1 -2
  346. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -26
  347. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  348. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  349. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  350. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  351. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  352. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  353. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  354. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +1 -1
  355. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.d.ts +2 -3
  356. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +19 -15
  357. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +14 -0
  358. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +48 -19
  359. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +7 -0
  360. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +25 -6
  361. package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css.js +1 -1
  362. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  363. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  364. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +20 -20
  365. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +9 -7
  366. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +0 -1
  367. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -7
  368. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +5 -1
  369. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  370. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  371. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  372. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  373. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  374. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  375. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  376. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  377. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +2 -2
  378. package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +8 -3
  379. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +4 -0
  380. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
  381. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -1
  382. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +3 -7
  383. package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +1 -1
  384. package/vscode/src/vs/nls.js +1 -1
  385. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -2
  386. package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +1 -0
  387. package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +4 -4
  388. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +52 -52
  389. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  390. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
  391. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  392. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +39 -0
  393. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +145 -0
  394. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +1 -0
  395. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +6 -6
  396. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  397. package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -1
  398. package/vscode/src/vs/platform/actions/common/actions.js +9 -6
  399. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  400. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  401. package/vscode/src/vs/platform/commands/common/commands.js +2 -2
  402. package/vscode/src/vs/platform/configuration/common/configuration.d.ts +4 -1
  403. package/vscode/src/vs/platform/configuration/common/configuration.js +3 -0
  404. package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +2 -2
  405. package/vscode/src/vs/platform/configuration/common/configurationModels.js +39 -21
  406. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +9 -4
  407. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +25 -15
  408. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  409. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  410. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  411. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  412. package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -2
  413. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  414. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  415. package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
  416. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -1
  417. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +5 -3
  418. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +17 -6
  419. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +5 -5
  420. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +2 -1
  421. package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -1
  422. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  423. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +3 -5
  424. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +8 -13
  425. package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.d.ts +2 -2
  426. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +20 -14
  427. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +127 -125
  428. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +8 -9
  429. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  430. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +56 -25
  431. package/vscode/src/vs/platform/extensions/common/extensions.js +8 -1
  432. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -8
  433. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -9
  434. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  435. package/vscode/src/vs/platform/files/common/files.js +6 -6
  436. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  437. package/vscode/src/vs/platform/instantiation/common/extensions.d.ts +3 -2
  438. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  439. package/vscode/src/vs/platform/label/common/label.service.d.ts +2 -1
  440. package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
  441. package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -0
  442. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  443. package/vscode/src/vs/platform/log/common/log.d.ts +6 -0
  444. package/vscode/src/vs/platform/log/common/log.js +18 -9
  445. package/vscode/src/vs/platform/markers/common/markers.js +3 -3
  446. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
  447. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +5 -0
  448. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +19 -9
  449. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  450. package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +11 -1
  451. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +241 -12
  452. package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +4 -0
  453. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -0
  454. package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
  455. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  456. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +2 -1
  457. package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +4 -0
  458. package/vscode/src/vs/platform/request/common/request.d.ts +2 -2
  459. package/vscode/src/vs/platform/request/common/request.js +171 -112
  460. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +2 -0
  461. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +3 -1
  462. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -2
  463. package/vscode/src/vs/platform/terminal/common/terminal.js +5 -1
  464. package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
  465. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  466. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  467. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  468. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +96 -96
  469. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
  470. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  471. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  472. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  473. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  474. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  475. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  476. package/vscode/src/vs/platform/theme/common/iconRegistry.d.ts +7 -0
  477. package/vscode/src/vs/platform/theme/common/iconRegistry.js +17 -7
  478. package/vscode/src/vs/platform/theme/common/theme.d.ts +6 -0
  479. package/vscode/src/vs/platform/theme/common/theme.js +8 -1
  480. package/vscode/src/vs/platform/theme/common/themeService.d.ts +12 -3
  481. package/vscode/src/vs/platform/theme/common/themeService.js +5 -5
  482. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  483. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  484. package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +7 -5
  485. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  486. package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +3 -3
  487. package/vscode/src/vs/platform/window/common/window.d.ts +6 -1
  488. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  489. package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
  490. package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +3 -2
  491. package/vscode/src/vs/workbench/api/browser/statusBarService.js +3 -2
  492. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +10 -14
  493. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +18 -11
  494. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -20
  495. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -0
  496. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +37 -10
  497. package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +4 -18
  498. package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +2 -2
  499. package/vscode/src/vs/workbench/api/common/extHostCommands.js +1 -1
  500. package/vscode/src/vs/workbench/api/common/extHostComments.js +3 -5
  501. package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +16 -0
  502. package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +4 -0
  503. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +1 -1
  504. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  505. package/vscode/src/vs/workbench/api/common/extHostDialogs.d.ts +1 -2
  506. package/vscode/src/vs/workbench/api/common/extHostDialogs.js +1 -5
  507. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  508. package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
  509. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +0 -2
  510. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +29 -65
  511. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +3 -2
  512. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +33 -13
  513. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +3 -2
  514. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  515. package/vscode/src/vs/workbench/api/common/extHostMemento.js +6 -1
  516. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  517. package/vscode/src/vs/workbench/api/common/extHostSCM.js +2 -1
  518. package/vscode/src/vs/workbench/api/common/extHostStatusBar.d.ts +10 -2
  519. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +47 -7
  520. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +12 -8
  521. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +3 -1
  522. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +67 -6
  523. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +1 -0
  524. package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +18 -1
  525. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -2
  526. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
  527. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  528. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +4 -13
  529. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +7 -61
  530. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +24 -3
  531. package/vscode/src/vs/workbench/api/common/extHostTypes.js +37 -5
  532. package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +22 -2
  533. package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +1 -1
  534. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
  535. package/vscode/src/vs/workbench/api/common/extensionHostMain.js +17 -8
  536. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  537. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  538. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  539. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +12 -0
  540. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +247 -0
  541. package/vscode/src/vs/workbench/common/activity.d.ts +2 -0
  542. package/vscode/src/vs/workbench/common/activity.js +6 -0
  543. package/vscode/src/vs/workbench/common/configuration.js +12 -12
  544. package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
  545. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  546. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
  547. package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +166 -0
  548. package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
  549. package/vscode/src/vs/workbench/common/editor.js +4 -4
  550. package/vscode/src/vs/workbench/common/theme.js +159 -164
  551. package/vscode/src/vs/workbench/common/views.js +4 -4
  552. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
  553. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +152 -142
  554. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +14 -14
  555. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.d.ts +1 -0
  556. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +16 -1
  557. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +28 -0
  558. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +521 -0
  559. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +3 -0
  560. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +20 -0
  561. package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +136 -0
  562. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +51 -0
  563. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -3
  564. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
  565. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +8 -0
  566. package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.js +6 -0
  567. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +4 -0
  568. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +15 -0
  569. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.d.ts +23 -0
  570. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +309 -0
  571. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.d.ts +81 -0
  572. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +681 -0
  573. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.d.ts +57 -0
  574. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +169 -0
  575. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.d.ts +20 -0
  576. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +296 -0
  577. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.d.ts +41 -0
  578. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +198 -0
  579. package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.service.d.ts +1 -1
  580. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.d.ts +3 -0
  581. package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +15 -0
  582. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorController.css.js +6 -0
  583. package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorOverlay.css.js +6 -0
  584. package/vscode/src/vs/workbench/contrib/chat/common/annotations.d.ts +20 -0
  585. package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +134 -0
  586. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +16 -4
  587. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +48 -5
  588. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +4 -0
  589. package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.d.ts +1 -2
  590. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +15 -3
  591. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -29
  592. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -3
  593. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +17 -2
  594. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +3 -4
  595. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +444 -0
  596. package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +991 -0
  597. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +112 -0
  598. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +181 -0
  599. package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.d.ts +35 -0
  600. package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +5 -0
  601. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +6 -1
  602. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +1 -2
  603. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -3
  604. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
  605. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -2
  606. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.d.ts +234 -0
  607. package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +375 -0
  608. package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
  609. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.d.ts +8 -0
  610. package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +38 -0
  611. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.d.ts +12 -0
  612. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +42 -0
  613. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +3 -0
  614. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +1 -0
  615. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +10 -5
  616. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +7 -7
  617. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +9 -0
  618. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +27 -0
  619. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +34 -0
  620. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +168 -0
  621. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  622. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  623. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.d.ts +2 -2
  624. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  625. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  626. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  627. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +1 -1
  628. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  629. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  630. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  631. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  632. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  633. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -19
  634. package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
  635. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.d.ts +2 -2
  636. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  637. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +1 -0
  638. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +14 -10
  639. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  640. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +4 -0
  641. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
  642. package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.d.ts +1 -1
  643. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +167 -0
  644. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
  645. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -2
  646. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  647. package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +2 -2
  648. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  649. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  650. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  651. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +2 -2
  652. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  653. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +10 -0
  654. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +4 -3
  655. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  656. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  657. package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.service.d.ts +0 -1
  658. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
  659. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.d.ts +2 -0
  660. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +7 -0
  661. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.d.ts +1 -1
  662. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +602 -0
  663. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +143 -0
  664. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
  665. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +6 -4
  666. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +2 -0
  667. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +60 -0
  668. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +316 -0
  669. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
  670. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
  671. package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
  672. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.d.ts +13 -0
  673. package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +73 -0
  674. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.d.ts +36 -0
  675. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +11 -0
  676. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +3 -3
  677. package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +1 -1
  678. package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +8 -0
  679. package/vscode/src/vs/workbench/contrib/scm/browser/{diff.service.js → quickDiffModel.service.js} +2 -2
  680. package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +5 -1
  681. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +30 -1
  682. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +95 -0
  683. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +17 -0
  684. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +82 -0
  685. package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +1 -1
  686. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  687. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  688. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  689. package/vscode/src/vs/workbench/contrib/speech/common/speechService.d.ts +2 -1
  690. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -29
  691. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  692. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
  693. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -0
  694. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +3 -2
  695. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +2 -2
  696. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  697. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +1 -1
  698. package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +1 -1
  699. package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +1 -0
  700. package/vscode/src/vs/workbench/contrib/testing/common/testId.js +3 -0
  701. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  702. package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
  703. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
  704. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
  705. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
  706. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +1 -0
  707. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +26 -15
  708. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  709. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +5 -1
  710. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +10 -4
  711. package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
  712. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
  713. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.service.d.ts +1 -1
  714. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +3 -2
  715. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
  716. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
  717. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  718. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +63 -0
  719. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +164 -0
  720. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
  721. package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
  722. package/vscode/src/vs/workbench/services/log/common/logConstants.d.ts +2 -0
  723. package/vscode/src/vs/workbench/services/log/common/logConstants.js +3 -1
  724. package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
  725. package/vscode/src/vs/workbench/services/output/common/output.d.ts +51 -8
  726. package/vscode/src/vs/workbench/services/output/common/output.js +30 -4
  727. package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +8 -1
  728. package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +1 -1
  729. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +2 -2
  730. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  731. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  732. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  733. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +9 -4
  734. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +5 -1
  735. package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +1 -1
  736. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  737. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +15 -21
  738. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +21 -2
  739. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +3 -3
  740. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
  741. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
  742. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
  743. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
  744. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
  745. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
  746. package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
  747. package/vscode-dts/vscode.d.ts +375 -32
  748. package/vscode-dts/vscode.proposed.aiRelatedInformation.d.ts +1 -1
  749. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +11 -0
  750. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +9 -0
  751. package/vscode-dts/vscode.proposed.chatProvider.d.ts +4 -0
  752. package/vscode-dts/vscode.proposed.chatReadonlyPromptReference.d.ts +17 -0
  753. package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +5 -0
  754. package/vscode-dts/vscode.proposed.d.ts +132 -131
  755. package/vscode-dts/vscode.proposed.externalUriOpener.d.ts +3 -3
  756. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +2 -0
  757. package/vscode-dts/vscode.proposed.inlineEdit.d.ts +14 -3
  758. package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +21 -1
  759. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -3
  760. package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +1 -1
  761. package/vscode-dts/vscode.proposed.resolvers.d.ts +3 -3
  762. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -2
  763. package/vscode-dts/vscode.proposed.statusBarItemTooltip.d.ts +19 -0
  764. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +10 -0
  765. package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +2 -2
  766. package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +18 -0
  767. package/vscode-dts/vscode.proposed.terminalShellType.d.ts +40 -0
  768. package/vscode/src/vs/base/common/observableInternal/index.js +0 -8
  769. package/vscode/src/vs/base/common/observableInternal/promise.d.ts +0 -28
  770. package/vscode/src/vs/base/common/observableInternal/promise.js +0 -65
  771. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.css.js +0 -6
  772. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +0 -45
  773. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +0 -426
  774. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewAndDiffProducer.js +0 -116
  775. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.d.ts +0 -6
  776. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.js +0 -6
  777. package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.d.ts +0 -1
  778. package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.js +0 -24
  779. package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.d.ts +0 -8
  780. package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.js +0 -6
  781. package/vscode/src/vs/workbench/contrib/scm/browser/diff.service.d.ts +0 -9
  782. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.d.ts +0 -22
  783. package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +0 -66
  784. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.d.ts +0 -155
  785. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +0 -1454
  786. package/vscode/src/vs/workbench/contrib/scm/browser/media/dirtydiffDecorator.css.js +0 -6
  787. package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +0 -164
  788. package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +0 -74
  789. package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.d.ts +0 -8
  790. package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -93
  791. package/vscode-dts/vscode.proposed.documentPaste.d.ts +0 -316
  792. package/vscode-dts/vscode.proposed.fileComments.d.ts +0 -42
  793. package/vscode-dts/vscode.proposed.showLocal.d.ts +0 -19
  794. /package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.d.ts → renderStrategy/fullFileRenderStrategy.wgsl.d.ts} +0 -0
@@ -0,0 +1,198 @@
1
+
2
+ import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
3
+ import { Codicon } from '../../../../base/common/codicons.js';
4
+ import { safeIntl } from '../../../../base/common/date.js';
5
+ import { language } from '../../../../base/common/platform.js';
6
+ import { Emitter, Event } from '../../../../base/common/event.js';
7
+ import { MarkdownString } from '../../../../base/common/htmlContent.js';
8
+ import { Disposable, DisposableStore } from '../../../../base/common/lifecycle.js';
9
+ import { localize } from '../../../../nls.js';
10
+ import { Action2, registerAction2 } from '../../../../platform/actions/common/actions.js';
11
+ import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
12
+ import { IDialogService } from '../../../../platform/dialogs/common/dialogs.service.js';
13
+ import { StatusbarAlignment } from '../../../services/statusbar/browser/statusbar.js';
14
+ import { IStatusbarService } from '../../../services/statusbar/browser/statusbar.service.js';
15
+ import { ChatContextKeys } from '../common/chatContextKeys.js';
16
+ import { ICommandService } from '../../../../platform/commands/common/commands.service.js';
17
+ import { IChatQuotasService } from './chatQuotasService.service.js';
18
+
19
+ var ChatQuotasStatusBarEntry_1;
20
+ const OPEN_CHAT_QUOTA_EXCEEDED_DIALOG = 'workbench.action.chat.openQuotaExceededDialog';
21
+ let ChatQuotasService = class ChatQuotasService extends Disposable {
22
+ get quotas() { return this._quotas; }
23
+ constructor(contextKeyService) {
24
+ super();
25
+ this.contextKeyService = contextKeyService;
26
+ this._onDidChangeQuotas = this._register(( new Emitter()));
27
+ this.onDidChangeQuotas = this._onDidChangeQuotas.event;
28
+ this._quotas = { chatQuotaExceeded: false, completionsQuotaExceeded: false, quotaResetDate: undefined };
29
+ this.chatQuotaExceededContextKey = ChatContextKeys.chatQuotaExceeded.bindTo(this.contextKeyService);
30
+ this.completionsQuotaExceededContextKey = ChatContextKeys.completionsQuotaExceeded.bindTo(this.contextKeyService);
31
+ this.ExtensionQuotaContextKeys = {
32
+ chatQuotaExceeded: 'github.copilot.chat.quotaExceeded',
33
+ completionsQuotaExceeded: 'github.copilot.completions.quotaExceeded',
34
+ };
35
+ this.registerListeners();
36
+ this.registerActions();
37
+ }
38
+ registerListeners() {
39
+ const chatQuotaExceededSet = ( new Set([this.ExtensionQuotaContextKeys.chatQuotaExceeded]));
40
+ const completionsQuotaExceededSet = ( new Set([this.ExtensionQuotaContextKeys.completionsQuotaExceeded]));
41
+ this._register(this.contextKeyService.onDidChangeContext(e => {
42
+ let changed = false;
43
+ if (e.affectsSome(chatQuotaExceededSet)) {
44
+ const newChatQuotaExceeded = this.contextKeyService.getContextKeyValue(this.ExtensionQuotaContextKeys.chatQuotaExceeded);
45
+ if (typeof newChatQuotaExceeded === 'boolean' && newChatQuotaExceeded !== this._quotas.chatQuotaExceeded) {
46
+ this._quotas.chatQuotaExceeded = newChatQuotaExceeded;
47
+ changed = true;
48
+ }
49
+ }
50
+ if (e.affectsSome(completionsQuotaExceededSet)) {
51
+ const newCompletionsQuotaExceeded = this.contextKeyService.getContextKeyValue(this.ExtensionQuotaContextKeys.completionsQuotaExceeded);
52
+ if (typeof newCompletionsQuotaExceeded === 'boolean' && newCompletionsQuotaExceeded !== this._quotas.completionsQuotaExceeded) {
53
+ this._quotas.completionsQuotaExceeded = newCompletionsQuotaExceeded;
54
+ changed = true;
55
+ }
56
+ }
57
+ if (changed) {
58
+ this.updateContextKeys();
59
+ this._onDidChangeQuotas.fire();
60
+ }
61
+ }));
62
+ }
63
+ registerActions() {
64
+ const that = this;
65
+ class ShowLimitReachedDialogAction extends Action2 {
66
+ constructor() {
67
+ super({
68
+ id: OPEN_CHAT_QUOTA_EXCEEDED_DIALOG,
69
+ title: ( localize(4620, "Upgrade to Copilot Pro")),
70
+ });
71
+ }
72
+ async run(accessor) {
73
+ const commandService = accessor.get(ICommandService);
74
+ const dialogService = accessor.get(IDialogService);
75
+ const dateFormatter = safeIntl.DateTimeFormat(language, { year: 'numeric', month: 'long', day: 'numeric' });
76
+ let message;
77
+ const { chatQuotaExceeded, completionsQuotaExceeded } = that.quotas;
78
+ if (chatQuotaExceeded && !completionsQuotaExceeded) {
79
+ message = ( localize(
80
+ 4621,
81
+ "You've run out of free chat messages. You still have free code completions available in the Copilot Free plan. These limits will reset on {0}.",
82
+ dateFormatter.format(that.quotas.quotaResetDate)
83
+ ));
84
+ }
85
+ else if (completionsQuotaExceeded && !chatQuotaExceeded) {
86
+ message = ( localize(
87
+ 4622,
88
+ "You've run out of free code completions. You still have free chat messages available in the Copilot Free plan. These limits will reset on {0}.",
89
+ dateFormatter.format(that.quotas.quotaResetDate)
90
+ ));
91
+ }
92
+ else {
93
+ message = ( localize(
94
+ 4623,
95
+ "You've reached the limit of the Copilot Free plan. These limits will reset on {0}.",
96
+ dateFormatter.format(that.quotas.quotaResetDate)
97
+ ));
98
+ }
99
+ const upgradeToPro = ( localize(
100
+ 4624,
101
+ "Upgrade to Copilot Pro (your first 30 days are free) for:\n- Unlimited code completions\n- Unlimited chat messages\n- Access to additional models"
102
+ ));
103
+ await dialogService.prompt({
104
+ type: 'none',
105
+ message: ( localize(4625, "Copilot Limit Reached")),
106
+ cancelButton: {
107
+ label: ( localize(4626, "Dismiss")),
108
+ run: () => { }
109
+ },
110
+ buttons: [
111
+ {
112
+ label: ( localize(4627, "Upgrade to Copilot Pro")),
113
+ run: () => commandService.executeCommand('workbench.action.chat.upgradePlan')
114
+ },
115
+ ],
116
+ custom: {
117
+ icon: Codicon.copilotWarningLarge,
118
+ markdownDetails: [
119
+ { markdown: ( new MarkdownString(message, true)) },
120
+ { markdown: ( new MarkdownString(upgradeToPro, true)) }
121
+ ]
122
+ }
123
+ });
124
+ }
125
+ }
126
+ registerAction2(ShowLimitReachedDialogAction);
127
+ }
128
+ acceptQuotas(quotas) {
129
+ this._quotas = quotas;
130
+ this.updateContextKeys();
131
+ this._onDidChangeQuotas.fire();
132
+ }
133
+ clearQuotas() {
134
+ if (this.quotas.chatQuotaExceeded || this.quotas.completionsQuotaExceeded) {
135
+ this.acceptQuotas({ chatQuotaExceeded: false, completionsQuotaExceeded: false, quotaResetDate: undefined });
136
+ }
137
+ }
138
+ updateContextKeys() {
139
+ this.chatQuotaExceededContextKey.set(this._quotas.chatQuotaExceeded);
140
+ this.completionsQuotaExceededContextKey.set(this._quotas.completionsQuotaExceeded);
141
+ }
142
+ };
143
+ ChatQuotasService = ( __decorate([
144
+ ( __param(0, IContextKeyService))
145
+ ], ChatQuotasService));
146
+ let ChatQuotasStatusBarEntry = class ChatQuotasStatusBarEntry extends Disposable {
147
+ static { ChatQuotasStatusBarEntry_1 = this; }
148
+ static { this.ID = 'chat.quotasStatusBarEntry'; }
149
+ constructor(statusbarService, chatQuotasService) {
150
+ super();
151
+ this.statusbarService = statusbarService;
152
+ this.chatQuotasService = chatQuotasService;
153
+ this.entry = this._register(( new DisposableStore()));
154
+ this._register(Event.runAndSubscribe(this.chatQuotasService.onDidChangeQuotas, () => this.updateStatusbarEntry()));
155
+ }
156
+ updateStatusbarEntry() {
157
+ this.entry.clear();
158
+ const { chatQuotaExceeded, completionsQuotaExceeded } = this.chatQuotasService.quotas;
159
+ if (chatQuotaExceeded || completionsQuotaExceeded) {
160
+ let text;
161
+ if (chatQuotaExceeded && !completionsQuotaExceeded) {
162
+ text = ( localize(4628, "Chat limit reached"));
163
+ }
164
+ else if (completionsQuotaExceeded && !chatQuotaExceeded) {
165
+ text = ( localize(4629, "Completions limit reached"));
166
+ }
167
+ else {
168
+ text = ( localize(4630, "Copilot limit reached"));
169
+ }
170
+ this.entry.add(this.statusbarService.addEntry({
171
+ name: ( localize(4631, "Copilot Limit Indicator")),
172
+ text: `$(copilot-warning) ${text}`,
173
+ ariaLabel: text,
174
+ command: OPEN_CHAT_QUOTA_EXCEEDED_DIALOG,
175
+ showInAllWindows: true,
176
+ kind: 'prominent',
177
+ tooltip: quotaToButtonMessage({ chatQuotaExceeded, completionsQuotaExceeded })
178
+ }, ChatQuotasStatusBarEntry_1.ID, StatusbarAlignment.RIGHT, 1));
179
+ }
180
+ }
181
+ };
182
+ ChatQuotasStatusBarEntry = ChatQuotasStatusBarEntry_1 = ( __decorate([
183
+ ( __param(0, IStatusbarService)),
184
+ ( __param(1, IChatQuotasService))
185
+ ], ChatQuotasStatusBarEntry));
186
+ function quotaToButtonMessage({ chatQuotaExceeded, completionsQuotaExceeded }) {
187
+ if (chatQuotaExceeded && !completionsQuotaExceeded) {
188
+ return localize(4632, "Monthly chat messages limit reached. Click for details.");
189
+ }
190
+ else if (completionsQuotaExceeded && !chatQuotaExceeded) {
191
+ return localize(4633, "Monthly code completions limit reached. Click for details.");
192
+ }
193
+ else {
194
+ return localize(4634, "Copilot Free plan limit reached. Click for details.");
195
+ }
196
+ }
197
+
198
+ export { ChatQuotasService, ChatQuotasStatusBarEntry, OPEN_CHAT_QUOTA_EXCEEDED_DIALOG, quotaToButtonMessage };
@@ -1,5 +1,5 @@
1
1
  import { Event } from "../../../../base/common/event.js";
2
- import { IChatQuotas } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/browser/chatQuotasService";
2
+ import { IChatQuotas } from "./chatQuotasService.js";
3
3
  export declare const IChatQuotasService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatQuotasService>;
4
4
  export interface IChatQuotasService {
5
5
  _serviceBrand: undefined;
@@ -0,0 +1,3 @@
1
+ import { IChatRequestVariableEntry } from "../../common/chatModel.js";
2
+ export declare const ScreenshotVariableId = "screenshot-focused-window";
3
+ export declare function convertBufferToScreenshotVariable(buffer: ArrayBufferLike): IChatRequestVariableEntry;
@@ -0,0 +1,15 @@
1
+
2
+ import { localize } from '../../../../../nls.js';
3
+
4
+ const ScreenshotVariableId = 'screenshot-focused-window';
5
+ function convertBufferToScreenshotVariable(buffer) {
6
+ return {
7
+ id: ScreenshotVariableId,
8
+ name: ( localize(4704, 'Screenshot')),
9
+ value: ( new Uint8Array(buffer)),
10
+ isImage: true,
11
+ isDynamic: true
12
+ };
13
+ }
14
+
15
+ export { ScreenshotVariableId, convertBufferToScreenshotVariable };
@@ -0,0 +1,6 @@
1
+ import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
2
+
3
+ var css = ".chat-diff-change-content-widget{box-shadow:0 2px 8px var(--vscode-widget-shadow);display:flex;opacity:0;transition:opacity .2s ease-in-out}.chat-diff-change-content-widget.hover{opacity:1}.chat-diff-change-content-widget .monaco-action-bar{background-color:var(--vscode-button-background);border-radius:2px;color:var(--vscode-button-foreground);padding:0}.chat-diff-change-content-widget .monaco-action-bar .action-item .action-label{border-radius:2px;color:var(--vscode-button-foreground);height:14px}.chat-diff-change-content-widget .monaco-action-bar .action-item .action-label.codicon{color:var(--vscode-button-foreground);font-size:12px;line-height:14px;padding:2px;width:unset}.chat-diff-change-content-widget .monaco-action-bar .action-item .action-label.codicon[class*=codicon-]{font-size:12px}";
4
+ n(css,{});
5
+
6
+ export { css, css as default };
@@ -0,0 +1,6 @@
1
+ import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
2
+
3
+ var css = ".chat-editor-overlay-widget{align-items:center;background-color:var(--vscode-button-background);border:1px solid var(--vscode-contrastBorder);border-radius:5px;box-shadow:0 2px 8px var(--vscode-widget-shadow);color:var(--vscode-button-foreground);display:flex;overflow:hidden;padding:0;z-index:10}@keyframes pulse{0%{box-shadow:0 2px 8px 0 var(--vscode-widget-shadow)}50%{box-shadow:0 2px 8px 4px var(--vscode-widget-shadow)}to{box-shadow:0 2px 8px 0 var(--vscode-widget-shadow)}}.chat-editor-overlay-widget.busy{animation:pulse 2.3s ease-in infinite}.chat-editor-overlay-widget .chat-editor-overlay-progress{align-items:center;display:none;font-size:12px;font-variant-numeric:tabular-nums;overflow:hidden;padding:0 5px;white-space:nowrap}.chat-editor-overlay-widget.busy .chat-editor-overlay-progress{display:inline-flex}.chat-editor-overlay-widget.busy .chat-editor-overlay-progress .busy-label{padding:5px}@keyframes ellipsis{0%{content:\"\"}25%{content:\".\"}50%{content:\"..\"}75%{content:\"...\"}to{content:\"\"}}.chat-editor-overlay-widget.busy .chat-editor-overlay-progress .busy-label:after{animation:ellipsis 1s steps(4) infinite;content:\"\";display:inline-flex;overflow:hidden;white-space:nowrap;width:3ch}.chat-editor-overlay-widget.busy .chat-editor-overlay-toolbar{display:none}.chat-editor-overlay-widget .action-item>.action-label{font-size:12px;padding:5px}.chat-editor-overlay-widget .action-item:first-child>.action-label{padding-left:7px}.chat-editor-overlay-widget .action-item:last-child>.action-label{padding-right:7px}.chat-editor-overlay-widget .action-item>.action-label.codicon,.chat-editor-overlay-widget.busy .chat-editor-overlay-progress .codicon{color:var(--vscode-button-foreground)}.chat-editor-overlay-widget .monaco-action-bar .action-item.disabled>.action-label,.chat-editor-overlay-widget .monaco-action-bar .action-item.disabled>.action-label.codicon,.chat-editor-overlay-widget .monaco-action-bar .action-item.disabled>.action-label.codicon:before,.chat-editor-overlay-widget .monaco-action-bar .action-item.disabled>.action-label:hover{color:var(--vscode-button-foreground);opacity:.7}.chat-editor-overlay-widget .action-item.label-item{font-variant-numeric:tabular-nums}.chat-editor-overlay-widget .monaco-action-bar .action-item.label-item>.action-label,.chat-editor-overlay-widget .monaco-action-bar .action-item.label-item>.action-label:hover{color:var(--vscode-button-foreground);opacity:1}.chat-editor-overlay-widget .action-item.auto{overflow:hidden;position:relative}.chat-editor-overlay-widget .action-item.auto:before{background-color:var(--vscode-toolbar-hoverBackground);content:\"\";height:100%;left:var(--vscode-action-item-auto-timeout,-100%);position:absolute;top:0;transition:left .5s linear;width:100%}";
4
+ n(css,{});
5
+
6
+ export { css, css as default };
@@ -0,0 +1,20 @@
1
+ import { URI } from "../../../../base/common/uri.js";
2
+ import { IRange } from "../../../../editor/common/core/range.js";
3
+ import { IChatProgressRenderableResponseContent, IChatProgressResponseContent } from "./chatModel.js";
4
+ import { IChatMarkdownContent } from "./chatService.js";
5
+ export declare const contentRefUrl = "http://_vscodecontentref_";
6
+ export declare function annotateSpecialMarkdownContent(response: Iterable<IChatProgressResponseContent>): IChatProgressRenderableResponseContent[];
7
+ export interface IMarkdownVulnerability {
8
+ readonly title: string;
9
+ readonly description: string;
10
+ readonly range: IRange;
11
+ }
12
+ export declare function annotateVulnerabilitiesInText(response: ReadonlyArray<IChatProgressResponseContent>): readonly IChatMarkdownContent[];
13
+ export declare function extractCodeblockUrisFromText(text: string): {
14
+ uri: URI;
15
+ textWithoutResult: string;
16
+ } | undefined;
17
+ export declare function extractVulnerabilitiesFromText(text: string): {
18
+ newText: string;
19
+ vulnerabilities: IMarkdownVulnerability[];
20
+ };
@@ -0,0 +1,134 @@
1
+
2
+ import { MarkdownString } from '../../../../base/common/htmlContent.js';
3
+ import { basename } from '../../../../base/common/resources.js';
4
+ import { URI } from '../../../../base/common/uri.js';
5
+ import { appendMarkdownString, canMergeMarkdownStrings } from './chatModel.js';
6
+
7
+ const contentRefUrl = 'http://_vscodecontentref_';
8
+ function annotateSpecialMarkdownContent(response) {
9
+ let refIdPool = 0;
10
+ const result = [];
11
+ for (const item of response) {
12
+ const previousItem = result.filter(p => p.kind !== 'textEditGroup').at(-1);
13
+ const previousItemIndex = result.findIndex(p => p === previousItem);
14
+ if (item.kind === 'inlineReference') {
15
+ let label = item.name;
16
+ if (!label) {
17
+ if (URI.isUri(item.inlineReference)) {
18
+ label = basename(item.inlineReference);
19
+ }
20
+ else if ('name' in item.inlineReference) {
21
+ label = item.inlineReference.name;
22
+ }
23
+ else {
24
+ label = basename(item.inlineReference.uri);
25
+ }
26
+ }
27
+ const refId = refIdPool++;
28
+ const printUri = ( URI.parse(contentRefUrl)).with({ path: String(refId) });
29
+ const markdownText = `[${label}](${( printUri.toString())})`;
30
+ const annotationMetadata = { [refId]: item };
31
+ if (previousItem?.kind === 'markdownContent') {
32
+ const merged = appendMarkdownString(previousItem.content, ( new MarkdownString(markdownText)));
33
+ result[previousItemIndex] = { ...previousItem, content: merged, inlineReferences: { ...annotationMetadata, ...(previousItem.inlineReferences || {}) } };
34
+ }
35
+ else {
36
+ result.push({ content: ( new MarkdownString(markdownText)), inlineReferences: annotationMetadata, kind: 'markdownContent' });
37
+ }
38
+ }
39
+ else if (item.kind === 'markdownContent' && previousItem?.kind === 'markdownContent' && canMergeMarkdownStrings(previousItem.content, item.content)) {
40
+ const merged = appendMarkdownString(previousItem.content, item.content);
41
+ result[previousItemIndex] = { ...previousItem, content: merged };
42
+ }
43
+ else if (item.kind === 'markdownVuln') {
44
+ const vulnText = encodeURIComponent(JSON.stringify(item.vulnerabilities));
45
+ const markdownText = `<vscode_annotation details='${vulnText}'>${item.content.value}</vscode_annotation>`;
46
+ if (previousItem?.kind === 'markdownContent') {
47
+ const merged = appendMarkdownString(previousItem.content, ( new MarkdownString(markdownText)));
48
+ result[previousItemIndex] = { ...previousItem, content: merged };
49
+ }
50
+ else {
51
+ result.push({ content: ( new MarkdownString(markdownText)), kind: 'markdownContent' });
52
+ }
53
+ }
54
+ else if (item.kind === 'codeblockUri') {
55
+ if (previousItem?.kind === 'markdownContent') {
56
+ const markdownText = `<vscode_codeblock_uri>${( item.uri.toString())}</vscode_codeblock_uri>`;
57
+ const merged = appendMarkdownString(previousItem.content, ( new MarkdownString(markdownText)));
58
+ result[previousItemIndex] = { ...previousItem, content: merged };
59
+ }
60
+ }
61
+ else {
62
+ result.push(item);
63
+ }
64
+ }
65
+ return result;
66
+ }
67
+ function annotateVulnerabilitiesInText(response) {
68
+ const result = [];
69
+ for (const item of response) {
70
+ const previousItem = result[result.length - 1];
71
+ if (item.kind === 'markdownContent') {
72
+ if (previousItem?.kind === 'markdownContent') {
73
+ result[result.length - 1] = { content: ( new MarkdownString(
74
+ previousItem.content.value + item.content.value,
75
+ { isTrusted: previousItem.content.isTrusted }
76
+ )), kind: 'markdownContent' };
77
+ }
78
+ else {
79
+ result.push(item);
80
+ }
81
+ }
82
+ else if (item.kind === 'markdownVuln') {
83
+ const vulnText = encodeURIComponent(JSON.stringify(item.vulnerabilities));
84
+ const markdownText = `<vscode_annotation details='${vulnText}'>${item.content.value}</vscode_annotation>`;
85
+ if (previousItem?.kind === 'markdownContent') {
86
+ result[result.length - 1] = { content: ( new MarkdownString(
87
+ previousItem.content.value + markdownText,
88
+ { isTrusted: previousItem.content.isTrusted }
89
+ )), kind: 'markdownContent' };
90
+ }
91
+ else {
92
+ result.push({ content: ( new MarkdownString(markdownText)), kind: 'markdownContent' });
93
+ }
94
+ }
95
+ }
96
+ return result;
97
+ }
98
+ function extractCodeblockUrisFromText(text) {
99
+ const match = /<vscode_codeblock_uri>(.*?)<\/vscode_codeblock_uri>/ms.exec(text);
100
+ if (match && match[1]) {
101
+ const result = ( URI.parse(match[1]));
102
+ const textWithoutResult = text.substring(0, match.index) + text.substring(match.index + match[0].length);
103
+ return { uri: result, textWithoutResult };
104
+ }
105
+ return undefined;
106
+ }
107
+ function extractVulnerabilitiesFromText(text) {
108
+ const vulnerabilities = [];
109
+ let newText = text;
110
+ let match;
111
+ while ((match = /<vscode_annotation details='(.*?)'>(.*?)<\/vscode_annotation>/ms.exec(newText)) !== null) {
112
+ const [full, details, content] = match;
113
+ const start = match.index;
114
+ const textBefore = newText.substring(0, start);
115
+ const linesBefore = textBefore.split('\n').length - 1;
116
+ const linesInside = content.split('\n').length - 1;
117
+ const previousNewlineIdx = textBefore.lastIndexOf('\n');
118
+ const startColumn = start - (previousNewlineIdx + 1) + 1;
119
+ const endPreviousNewlineIdx = (textBefore + content).lastIndexOf('\n');
120
+ const endColumn = start + content.length - (endPreviousNewlineIdx + 1) + 1;
121
+ try {
122
+ const vulnDetails = JSON.parse(decodeURIComponent(details));
123
+ vulnDetails.forEach(({ title, description }) => vulnerabilities.push({
124
+ title, description, range: { startLineNumber: linesBefore + 1, startColumn, endLineNumber: linesBefore + linesInside + 1, endColumn }
125
+ }));
126
+ }
127
+ catch (err) {
128
+ }
129
+ newText = newText.substring(0, start) + content + newText.substring(start + full.length);
130
+ }
131
+ return { newText, vulnerabilities };
132
+ }
133
+
134
+ export { annotateSpecialMarkdownContent, annotateVulnerabilitiesInText, contentRefUrl, extractCodeblockUrisFromText, extractVulnerabilitiesFromText };
@@ -11,10 +11,10 @@ import { ILogService } from "../../../../platform/log/common/log.service.js";
11
11
  import { IProductService } from "../../../../platform/product/common/productService.service.js";
12
12
  import { IRequestService } from "../../../../platform/request/common/request.service.js";
13
13
  import { IStorageService } from "../../../../platform/storage/common/storage.service.js";
14
- import { IChatProgressHistoryResponseContent, IChatRequestVariableData, ISerializableChatAgentData } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel";
15
- import { IRawChatCommandContribution, RawChatParticipantLocation } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatParticipantContribTypes";
16
- import { IChatFollowup, IChatLocationData, IChatProgress, IChatResponseErrorDetails, IChatTaskDto } from "./chatService.js";
17
14
  import { IChatAgentService, type IChatAgentNameService } from "./chatAgents.service.js";
15
+ import { IChatProgressHistoryResponseContent, IChatRequestVariableData, ISerializableChatAgentData } from "./chatModel.js";
16
+ import { IRawChatCommandContribution, RawChatParticipantLocation } from "./chatParticipantContribTypes.js";
17
+ import { IChatFollowup, IChatLocationData, IChatProgress, IChatResponseErrorDetails, IChatTaskDto } from "./chatService.js";
18
18
  export interface IChatAgentHistoryEntry {
19
19
  request: IChatAgentRequest;
20
20
  response: ReadonlyArray<IChatProgressHistoryResponseContent | IChatTaskDto>;
@@ -41,6 +41,7 @@ export interface IChatAgentData {
41
41
  publisherDisplayName?: string;
42
42
  extensionDisplayName: string;
43
43
  isDefault?: boolean;
44
+ isToolsAgent?: boolean;
44
45
  isDynamic?: boolean;
45
46
  metadata: IChatAgentMetadata;
46
47
  slashCommands: IChatAgentCommand[];
@@ -59,6 +60,7 @@ export interface IChatWelcomeMessageContent {
59
60
  export declare function isChatWelcomeMessageContent(obj: any): obj is IChatWelcomeMessageContent;
60
61
  export interface IChatAgentImplementation {
61
62
  invoke(request: IChatAgentRequest, progress: (part: IChatProgress) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
63
+ setRequestPaused?(requestId: string, isPaused: boolean): void;
62
64
  provideFollowups?(request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
63
65
  provideWelcomeMessage?(token: CancellationToken): ProviderResult<IChatWelcomeMessageContent | undefined>;
64
66
  provideChatTitle?: (history: IChatAgentHistoryEntry[], token: CancellationToken) => Promise<string | undefined>;
@@ -149,17 +151,22 @@ export interface IChatAgentCompletionItem {
149
151
  }
150
152
  export declare class ChatAgentService extends Disposable implements IChatAgentService {
151
153
  private readonly contextKeyService;
154
+ private readonly storageService;
152
155
  static readonly AGENT_LEADER = "@";
153
156
  _serviceBrand: undefined;
154
157
  private _agents;
155
158
  private readonly _onDidChangeAgents;
156
159
  readonly onDidChangeAgents: Event<IChatAgent | undefined>;
160
+ private readonly _onDidChangeToolsAgentModeEnabled;
161
+ readonly onDidChangeToolsAgentModeEnabled: Event<void>;
157
162
  private readonly _agentsContextKeys;
158
163
  private readonly _hasDefaultAgent;
159
164
  private readonly _defaultAgentRegistered;
160
165
  private readonly _editingAgentRegistered;
166
+ private readonly _agentModeContextKey;
167
+ private readonly _hasToolsAgentContextKey;
161
168
  private _chatParticipantDetectionProviders;
162
- constructor(contextKeyService: IContextKeyService);
169
+ constructor(contextKeyService: IContextKeyService, storageService: IStorageService);
163
170
  registerAgent(id: string, data: IChatAgentData): IDisposable;
164
171
  private _updateAgentsContextKeys;
165
172
  private _updateContextKeys;
@@ -172,6 +179,8 @@ export declare class ChatAgentService extends Disposable implements IChatAgentSe
172
179
  getAgentCompletionItems(id: string, query: string, token: CancellationToken): Promise<IChatAgentCompletionItem[]>;
173
180
  updateAgent(id: string, updateMetadata: IChatAgentMetadata): void;
174
181
  getDefaultAgent(location: ChatAgentLocation): IChatAgent | undefined;
182
+ get toolsAgentModeEnabled(): boolean;
183
+ toggleToolsAgentMode(enabled?: boolean): void;
175
184
  getContributedDefaultAgent(location: ChatAgentLocation): IChatAgentData | undefined;
176
185
  getSecondaryAgent(): IChatAgentData | undefined;
177
186
  getAgent(id: string, includeDisabled?: boolean): IChatAgentData | undefined;
@@ -182,6 +191,7 @@ export declare class ChatAgentService extends Disposable implements IChatAgentSe
182
191
  getAgentsByName(name: string): IChatAgentData[];
183
192
  agentHasDupeName(id: string): boolean;
184
193
  invokeAgent(id: string, request: IChatAgentRequest, progress: (part: IChatProgress) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
194
+ setRequestPaused(id: string, requestId: string, isPaused: boolean): void;
185
195
  getFollowups(id: string, request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
186
196
  getChatTitle(id: string, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<string | undefined>;
187
197
  registerChatParticipantDetectionProvider(handle: number, provider: IChatParticipantDetectionProvider): IDisposable;
@@ -209,6 +219,7 @@ export declare class MergedChatAgent implements IChatAgent {
209
219
  get extensionPublisherDisplayName(): string | undefined;
210
220
  get extensionDisplayName(): string;
211
221
  get isDefault(): boolean | undefined;
222
+ get isToolsAgent(): boolean | undefined;
212
223
  get metadata(): IChatAgentMetadata;
213
224
  get slashCommands(): IChatAgentCommand[];
214
225
  get locations(): ChatAgentLocation[];
@@ -218,6 +229,7 @@ export declare class MergedChatAgent implements IChatAgent {
218
229
  examples: string[];
219
230
  }[];
220
231
  invoke(request: IChatAgentRequest, progress: (part: IChatProgress) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
232
+ setRequestPaused(requestId: string, isPaused: boolean): void;
221
233
  provideFollowups(request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
222
234
  provideWelcomeMessage(token: CancellationToken): ProviderResult<IChatWelcomeMessageContent | undefined>;
223
235
  provideSampleQuestions(location: ChatAgentLocation, token: CancellationToken): ProviderResult<IChatFollowup[] | undefined>;
@@ -54,14 +54,18 @@ function isChatWelcomeMessageContent(obj) {
54
54
  typeof obj.title === 'string' &&
55
55
  isMarkdownString(obj.message);
56
56
  }
57
+ const ChatToolsAgentModeStorageKey = 'chat.toolsAgentMode';
57
58
  let ChatAgentService = class ChatAgentService extends Disposable {
58
59
  static { this.AGENT_LEADER = '@'; }
59
- constructor(contextKeyService) {
60
+ constructor(contextKeyService, storageService) {
60
61
  super();
61
62
  this.contextKeyService = contextKeyService;
63
+ this.storageService = storageService;
62
64
  this._agents = ( new Map());
63
65
  this._onDidChangeAgents = ( new Emitter());
64
66
  this.onDidChangeAgents = this._onDidChangeAgents.event;
67
+ this._onDidChangeToolsAgentModeEnabled = ( new Emitter());
68
+ this.onDidChangeToolsAgentModeEnabled = this._onDidChangeToolsAgentModeEnabled.event;
65
69
  this._agentsContextKeys = ( new Set());
66
70
  this._chatParticipantDetectionProviders = ( new Map());
67
71
  this._agentCompletionProviders = ( new Map());
@@ -73,6 +77,10 @@ let ChatAgentService = class ChatAgentService extends Disposable {
73
77
  this._updateContextKeys();
74
78
  }
75
79
  }));
80
+ this._agentModeContextKey = ChatContextKeys.Editing.agentMode.bindTo(contextKeyService);
81
+ this._hasToolsAgentContextKey = ChatContextKeys.Editing.hasToolsAgent.bindTo(contextKeyService);
82
+ this._agentModeContextKey.set(this.storageService.getBoolean(ChatToolsAgentModeStorageKey, StorageScope.WORKSPACE, false));
83
+ this._register(this.storageService.onWillSaveState(() => this.storageService.store(ChatToolsAgentModeStorageKey, this._agentModeContextKey.get(), StorageScope.WORKSPACE, StorageTarget.USER)));
76
84
  }
77
85
  registerAgent(id, data) {
78
86
  const existingAgent = this.getAgent(id);
@@ -113,9 +121,13 @@ let ChatAgentService = class ChatAgentService extends Disposable {
113
121
  _updateContextKeys() {
114
122
  let editingAgentRegistered = false;
115
123
  let defaultAgentRegistered = false;
124
+ let toolsAgentRegistered = false;
116
125
  for (const agent of this.getAgents()) {
117
126
  if (agent.isDefault && agent.locations.includes(ChatAgentLocation.EditingSession)) {
118
127
  editingAgentRegistered = true;
128
+ if (agent.isToolsAgent) {
129
+ toolsAgentRegistered = true;
130
+ }
119
131
  }
120
132
  else if (agent.isDefault) {
121
133
  defaultAgentRegistered = true;
@@ -123,6 +135,10 @@ let ChatAgentService = class ChatAgentService extends Disposable {
123
135
  }
124
136
  this._editingAgentRegistered.set(editingAgentRegistered);
125
137
  this._defaultAgentRegistered.set(defaultAgentRegistered);
138
+ if (toolsAgentRegistered !== this._hasToolsAgentContextKey.get()) {
139
+ this._hasToolsAgentContextKey.set(toolsAgentRegistered);
140
+ this._onDidChangeAgents.fire(this.getDefaultAgent(ChatAgentLocation.EditingSession));
141
+ }
126
142
  }
127
143
  registerAgentImplementation(id, agentImpl) {
128
144
  const entry = this._agents.get(id);
@@ -173,7 +189,20 @@ let ChatAgentService = class ChatAgentService extends Disposable {
173
189
  this._onDidChangeAgents.fire(( new MergedChatAgent(agent.data, agent.impl)));
174
190
  }
175
191
  getDefaultAgent(location) {
176
- return findLast(this.getActivatedAgents(), a => !!a.isDefault && a.locations.includes(location));
192
+ return findLast(this.getActivatedAgents(), a => {
193
+ if (location === ChatAgentLocation.EditingSession && this.toolsAgentModeEnabled !== !!a.isToolsAgent) {
194
+ return false;
195
+ }
196
+ return !!a.isDefault && a.locations.includes(location);
197
+ });
198
+ }
199
+ get toolsAgentModeEnabled() {
200
+ return !!this._hasToolsAgentContextKey.get() && !!this._agentModeContextKey.get();
201
+ }
202
+ toggleToolsAgentMode(enabled) {
203
+ this._agentModeContextKey.set(enabled ?? !this._agentModeContextKey.get());
204
+ this._onDidChangeToolsAgentModeEnabled.fire();
205
+ this._onDidChangeAgents.fire(this.getDefaultAgent(ChatAgentLocation.EditingSession));
177
206
  }
178
207
  getContributedDefaultAgent(location) {
179
208
  return this.getAgents().find(a => !!a.isDefault && a.locations.includes(location));
@@ -187,8 +216,8 @@ let ChatAgentService = class ChatAgentService extends Disposable {
187
216
  }
188
217
  return this._agents.get(id)?.data;
189
218
  }
190
- _agentIsEnabled(id) {
191
- const entry = this._agents.get(id);
219
+ _agentIsEnabled(idOrAgent) {
220
+ const entry = typeof idOrAgent === 'string' ? this._agents.get(idOrAgent) : idOrAgent;
192
221
  return !entry?.data.when || this.contextKeyService.contextMatchesRules(ContextKeyExpr.deserialize(entry.data.when));
193
222
  }
194
223
  getAgentByFullyQualifiedId(id) {
@@ -227,6 +256,13 @@ let ChatAgentService = class ChatAgentService extends Disposable {
227
256
  }
228
257
  return await data.impl.invoke(request, progress, history, token);
229
258
  }
259
+ setRequestPaused(id, requestId, isPaused) {
260
+ const data = this._agents.get(id);
261
+ if (!data?.impl) {
262
+ throw ( new Error(`No activated agent with id "${id}"`));
263
+ }
264
+ data.impl.setRequestPaused?.(requestId, isPaused);
265
+ }
230
266
  async getFollowups(id, request, result, history, token) {
231
267
  const data = this._agents.get(id);
232
268
  if (!data?.impl) {
@@ -289,7 +325,8 @@ let ChatAgentService = class ChatAgentService extends Disposable {
289
325
  }
290
326
  };
291
327
  ChatAgentService = ( __decorate([
292
- ( __param(0, IContextKeyService))
328
+ ( __param(0, IContextKeyService)),
329
+ ( __param(1, IStorageService))
293
330
  ], ChatAgentService));
294
331
  class MergedChatAgent {
295
332
  constructor(data, impl) {
@@ -305,6 +342,7 @@ class MergedChatAgent {
305
342
  get extensionPublisherDisplayName() { return this.data.publisherDisplayName; }
306
343
  get extensionDisplayName() { return this.data.extensionDisplayName; }
307
344
  get isDefault() { return this.data.isDefault; }
345
+ get isToolsAgent() { return this.data.isToolsAgent; }
308
346
  get metadata() { return this.data.metadata; }
309
347
  get slashCommands() { return this.data.slashCommands; }
310
348
  get locations() { return this.data.locations; }
@@ -312,6 +350,11 @@ class MergedChatAgent {
312
350
  async invoke(request, progress, history, token) {
313
351
  return this.impl.invoke(request, progress, history, token);
314
352
  }
353
+ setRequestPaused(requestId, isPaused) {
354
+ if (this.impl.setRequestPaused) {
355
+ this.impl.setRequestPaused(requestId, isPaused);
356
+ }
357
+ }
315
358
  async provideFollowups(request, result, history, token) {
316
359
  if (this.impl.provideFollowups) {
317
360
  return this.impl.provideFollowups(request, result, history, token);
@@ -7,6 +7,9 @@ export declare const IChatAgentService: import("../../../../platform/instantiati
7
7
  export interface IChatAgentService {
8
8
  _serviceBrand: undefined;
9
9
  readonly onDidChangeAgents: Event<IChatAgent | undefined>;
10
+ readonly onDidChangeToolsAgentModeEnabled: Event<void>;
11
+ readonly toolsAgentModeEnabled: boolean;
12
+ toggleToolsAgentMode(enabled?: boolean): void;
10
13
  registerAgent(id: string, data: IChatAgentData): IDisposable;
11
14
  registerAgentImplementation(id: string, agent: IChatAgentImplementation): IDisposable;
12
15
  registerDynamicAgent(data: IChatAgentData, agentImpl: IChatAgentImplementation): IDisposable;
@@ -21,6 +24,7 @@ export interface IChatAgentService {
21
24
  } | undefined>;
22
25
  hasChatParticipantDetectionProviders(): boolean;
23
26
  invokeAgent(agent: string, request: IChatAgentRequest, progress: (part: IChatProgress) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
27
+ setRequestPaused(agent: string, requestId: string, isPaused: boolean): void;
24
28
  getFollowups(id: string, request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
25
29
  getChatTitle(id: string, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<string | undefined>;
26
30
  getAgent(id: string, includeDisabled?: boolean): IChatAgentData | undefined;
@@ -1,11 +1,10 @@
1
1
  import { CancellationToken } from "../../../../base/common/cancellation.js";
2
2
  import { IDisposable } from "../../../../base/common/lifecycle.js";
3
3
  import { ICodeMapperProvider, ICodeMapperRequest, ICodeMapperResponse, ICodeMapperResult } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService";
4
- import { IChatResponseModel } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatModel";
5
4
  export declare const ICodeMapperService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ICodeMapperService>;
6
5
  export interface ICodeMapperService {
7
6
  readonly _serviceBrand: undefined;
7
+ readonly providers: ICodeMapperProvider[];
8
8
  registerCodeMapperProvider(handle: number, provider: ICodeMapperProvider): IDisposable;
9
9
  mapCode(request: ICodeMapperRequest, response: ICodeMapperResponse, token: CancellationToken): Promise<ICodeMapperResult | undefined>;
10
- mapCodeFromResponse(responseModel: IChatResponseModel, response: ICodeMapperResponse, token: CancellationToken): Promise<ICodeMapperResult | undefined>;
11
10
  }