@codingame/monaco-vscode-api 20.4.1 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (650) hide show
  1. package/missing-services.js +136 -50
  2. package/package.json +8 -8
  3. package/services.d.ts +8 -4
  4. package/services.js +8 -4
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/dom.js +3 -3
  7. package/vscode/src/vs/base/browser/domSanitize.d.ts +23 -11
  8. package/vscode/src/vs/base/browser/domSanitize.js +86 -7
  9. package/vscode/src/vs/base/browser/domStylesheets.js +2 -2
  10. package/vscode/src/vs/base/browser/event.d.ts +1 -1
  11. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +8 -4
  12. package/vscode/src/vs/base/browser/markdownRenderer.js +72 -126
  13. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +10 -10
  14. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -2
  15. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +2 -2
  16. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +4 -4
  17. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +32 -7
  18. package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -2
  19. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  20. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +4 -2
  21. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +1 -1
  22. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
  23. package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +7 -7
  24. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +7 -7
  25. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +6 -6
  26. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +6 -6
  27. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +5 -0
  28. package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -1
  29. package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +4 -4
  30. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +2 -2
  31. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +2 -2
  32. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +3 -3
  33. package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -3
  34. package/vscode/src/vs/base/browser/ui/menu/menu.d.ts +1 -0
  35. package/vscode/src/vs/base/browser/ui/menu/menu.js +21 -16
  36. package/vscode/src/vs/base/browser/ui/resizable/resizable.d.ts +2 -2
  37. package/vscode/src/vs/base/browser/ui/resizable/resizable.js +2 -2
  38. package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +4 -4
  39. package/vscode/src/vs/base/browser/ui/sash/sash.js +16 -22
  40. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +2 -2
  41. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +2 -2
  42. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +2 -1
  43. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +4 -4
  44. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +3 -3
  45. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +2 -2
  46. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -12
  47. package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +2 -2
  48. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +2 -2
  49. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
  50. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
  51. package/vscode/src/vs/base/common/actions.d.ts +3 -3
  52. package/vscode/src/vs/base/common/actions.js +3 -3
  53. package/vscode/src/vs/base/common/async.d.ts +18 -7
  54. package/vscode/src/vs/base/common/async.js +71 -14
  55. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  56. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  57. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  58. package/vscode/src/vs/base/common/defaultAccount.d.ts +23 -0
  59. package/vscode/src/vs/base/common/event.d.ts +0 -5
  60. package/vscode/src/vs/base/common/event.js +0 -12
  61. package/vscode/src/vs/base/common/hotReloadHelpers.js +2 -33
  62. package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
  63. package/vscode/src/vs/base/common/htmlContent.js +2 -2
  64. package/vscode/src/vs/base/common/lazy.d.ts +1 -1
  65. package/vscode/src/vs/base/common/lazy.js +14 -4
  66. package/vscode/src/vs/base/common/lifecycle.d.ts +7 -11
  67. package/vscode/src/vs/base/common/lifecycle.js +19 -2
  68. package/vscode/src/vs/base/common/marshallingIds.d.ts +5 -4
  69. package/vscode/src/vs/base/common/marshallingIds.js +5 -4
  70. package/vscode/src/vs/base/common/mime.d.ts +4 -0
  71. package/vscode/src/vs/base/common/mime.js +4 -1
  72. package/vscode/src/vs/base/common/network.d.ts +5 -0
  73. package/vscode/src/vs/base/common/network.js +2 -0
  74. package/vscode/src/vs/base/common/oauth.d.ts +18 -2
  75. package/vscode/src/vs/base/common/oauth.js +113 -18
  76. package/vscode/src/vs/base/common/observableInternal/debugLocation.d.ts +20 -0
  77. package/vscode/src/vs/base/common/observableInternal/debugLocation.js +63 -0
  78. package/vscode/src/vs/base/common/observableInternal/experimental/reducer.js +2 -1
  79. package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -1
  80. package/vscode/src/vs/base/common/observableInternal/index.js +2 -1
  81. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +3 -2
  82. package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +15 -33
  83. package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.d.ts +0 -7
  84. package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +1 -42
  85. package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +3 -2
  86. package/vscode/src/vs/base/common/observableInternal/logging/logging.js +4 -4
  87. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +2 -1
  88. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +6 -5
  89. package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +4 -3
  90. package/vscode/src/vs/base/common/observableInternal/observables/derived.js +12 -11
  91. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +3 -2
  92. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +4 -4
  93. package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +2 -1
  94. package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.js +2 -2
  95. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -3
  96. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +10 -8
  97. package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.js +6 -5
  98. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +2 -1
  99. package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +5 -4
  100. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +3 -2
  101. package/vscode/src/vs/base/common/observableInternal/observables/observableValue.js +7 -6
  102. package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.d.ts +2 -1
  103. package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.js +4 -3
  104. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +11 -3
  105. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +27 -7
  106. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +2 -1
  107. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +2 -2
  108. package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.js +1 -0
  109. package/vscode/src/vs/base/common/policy.d.ts +29 -0
  110. package/vscode/src/vs/base/common/product.d.ts +15 -1
  111. package/vscode/src/vs/base/common/strings.d.ts +0 -6
  112. package/vscode/src/vs/base/common/strings.js +1 -8
  113. package/vscode/src/vs/base/common/types.js +1 -4
  114. package/vscode/src/vs/base/common/uuid.d.ts +2 -0
  115. package/vscode/src/vs/base/common/uuid.js +4 -1
  116. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +1 -0
  117. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +9 -2
  118. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +2 -1
  119. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +10 -3
  120. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -0
  121. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -3
  122. package/vscode/src/vs/editor/browser/editorDom.d.ts +1 -0
  123. package/vscode/src/vs/editor/browser/editorDom.js +7 -4
  124. package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +2 -2
  125. package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -2
  126. package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -4
  127. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +3 -0
  128. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +14 -1
  129. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +4 -0
  130. package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +1 -0
  131. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -7
  132. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +8 -8
  133. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
  134. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -1
  135. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
  136. package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +31 -44
  137. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -10
  138. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +6 -4
  139. package/vscode/src/vs/editor/common/config/editorOptions.js +302 -275
  140. package/vscode/src/vs/editor/common/core/2d/rect.js +5 -2
  141. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  142. package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
  143. package/vscode/src/vs/editor/common/core/edits/lineEdit.js +1 -1
  144. package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +1 -1
  145. package/vscode/src/vs/editor/common/core/edits/stringEdit.js +9 -3
  146. package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +2 -2
  147. package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
  148. package/vscode/src/vs/editor/common/core/text/textLength.js +6 -0
  149. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  150. package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
  151. package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -1
  152. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  153. package/vscode/src/vs/editor/common/languages.d.ts +19 -1
  154. package/vscode/src/vs/editor/common/languages.js +77 -57
  155. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +1 -1
  156. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  157. package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +19 -1
  158. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +1 -1
  159. package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +1 -1
  160. package/vscode/src/vs/editor/common/model/textModel.d.ts +4 -4
  161. package/vscode/src/vs/editor/common/model/textModel.js +4 -4
  162. package/vscode/src/vs/editor/common/model/textModelStringEdit.d.ts +1 -1
  163. package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +1 -1
  164. package/vscode/src/vs/editor/common/model.d.ts +2 -1
  165. package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +7 -1
  166. package/vscode/src/vs/editor/common/services/editorWebWorker.js +13 -10
  167. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -0
  168. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -1
  169. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  170. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +48 -2
  171. package/vscode/src/vs/editor/common/textModelEditSource.js +54 -1
  172. package/vscode/src/vs/editor/common/textModelEvents.d.ts +1 -18
  173. package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +6 -1
  174. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  175. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  176. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  177. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  178. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  179. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -17
  180. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  181. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  182. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  183. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  184. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  185. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  186. package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +2 -2
  187. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -2
  188. package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.d.ts +5 -5
  189. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -1
  190. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  191. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  192. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +2 -2
  193. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -3
  194. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  195. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  196. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  197. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  198. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  199. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  200. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  201. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  202. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  203. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  204. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  205. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  206. package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
  207. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -21
  208. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  209. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  210. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  211. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  212. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  213. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  214. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  215. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  216. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  217. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  218. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  219. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  220. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  221. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.d.ts +2 -2
  222. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +4 -4
  223. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  224. package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +2 -2
  225. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  226. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  227. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  228. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +2 -2
  229. package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +2 -2
  230. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -12
  231. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +9 -5
  232. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  233. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  234. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -1
  235. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -2
  236. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -11
  237. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  238. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  239. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +56 -8
  240. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  241. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  242. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +7 -0
  243. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +76 -18
  244. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
  245. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +7 -3
  246. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +6 -4
  247. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +9 -7
  248. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +18 -4
  249. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +31 -9
  250. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -0
  251. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +4 -2
  252. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +0 -1
  253. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +6 -10
  254. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +5 -5
  255. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +11 -15
  256. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +8 -8
  257. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +3 -3
  258. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  259. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +36 -7
  260. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +1 -0
  261. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
  262. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +17 -5
  263. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +4 -4
  264. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +3 -3
  265. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +1 -0
  266. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +10 -3
  267. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +7 -7
  268. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +1 -0
  269. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +15 -8
  270. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  271. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +1 -1
  272. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +49 -13
  273. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  274. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  275. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  276. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +8 -3
  277. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  278. package/vscode/src/vs/editor/contrib/message/browser/messageController.d.ts +0 -1
  279. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +11 -14
  280. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  281. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  282. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  283. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  284. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  285. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  286. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  287. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +10 -10
  288. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  289. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  290. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  291. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  292. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  293. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +2 -1
  294. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +26 -15
  295. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  296. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  297. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  298. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  299. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  300. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  301. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  302. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  303. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  304. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  305. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  306. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  307. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  308. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +4 -0
  309. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  310. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  311. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  312. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
  313. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  314. package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +1 -1
  315. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
  316. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +11 -11
  317. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  318. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -6
  319. package/vscode/src/vs/platform/actions/browser/toolbar.js +3 -6
  320. package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -1
  321. package/vscode/src/vs/platform/actions/common/actions.js +2 -1
  322. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  323. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  324. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +70 -0
  325. package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -8
  326. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +1 -1
  327. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  328. package/vscode/src/vs/platform/configuration/common/configurations.js +2 -3
  329. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +1 -1
  330. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -2
  331. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  332. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +1 -0
  333. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +11 -10
  334. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  335. package/vscode/src/vs/platform/dataChannel/common/dataChannel.d.ts +14 -0
  336. package/vscode/src/vs/platform/dataChannel/common/dataChannel.js +15 -0
  337. package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.d.ts +2 -2
  338. package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.js +1 -1
  339. package/vscode/src/vs/platform/debug/common/extensionHostDebug.d.ts +1 -1
  340. package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.d.ts +1 -0
  341. package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
  342. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  343. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  344. package/vscode/src/vs/platform/environment/common/argv.d.ts +0 -1
  345. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
  346. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -0
  347. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +21 -19
  348. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  349. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  350. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  351. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -0
  352. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -1
  353. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  354. package/vscode/src/vs/platform/files/common/files.js +6 -6
  355. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  356. package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +1 -0
  357. package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -0
  358. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  359. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  360. package/vscode/src/vs/platform/log/common/log.d.ts +1 -1
  361. package/vscode/src/vs/platform/log/common/log.js +7 -7
  362. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  363. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  364. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +18 -0
  365. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +28 -0
  366. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.d.ts +10 -0
  367. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js +6 -0
  368. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -4
  369. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  370. package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +4 -4
  371. package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +15 -20
  372. package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +2 -28
  373. package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +3 -42
  374. package/vscode/src/vs/platform/policy/common/policy.d.ts +3 -3
  375. package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
  376. package/vscode/src/vs/platform/product/common/product.js +3 -3
  377. package/vscode/src/vs/platform/progress/common/progress.d.ts +0 -12
  378. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +13 -12
  379. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  380. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
  381. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -7
  382. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -2
  383. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +2 -1
  384. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  385. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +1 -1
  386. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +2 -2
  387. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +0 -1
  388. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
  389. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +0 -1
  390. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +5 -17
  391. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +0 -1
  392. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +3 -6
  393. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +1 -2
  394. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +5 -30
  395. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +0 -3
  396. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +2 -6
  397. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +53 -26
  398. package/vscode/src/vs/platform/request/common/request.d.ts +2 -0
  399. package/vscode/src/vs/platform/request/common/request.js +25 -19
  400. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -1
  401. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -0
  402. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  403. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  404. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  405. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  406. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  407. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  408. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  409. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  410. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  411. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  412. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  413. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  414. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  415. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  416. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  417. package/vscode/src/vs/platform/window/common/window.d.ts +6 -2
  418. package/vscode/src/vs/platform/window/common/window.js +3 -2
  419. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  420. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -9
  421. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +53 -26
  422. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +7 -1
  423. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +6 -4
  424. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +67 -13
  425. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -3
  426. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +23 -30
  427. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +12 -4
  428. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +73 -12
  429. package/vscode/src/vs/workbench/api/common/extHostCommands.js +6 -1
  430. package/vscode/src/vs/workbench/api/common/extHostComments.js +2 -1
  431. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  432. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +3 -1
  433. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +3 -2
  434. package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +7 -4
  435. package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +27 -6
  436. package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
  437. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  438. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +2 -1
  439. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +8 -1
  440. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +39 -14
  441. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +5 -5
  442. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +52 -84
  443. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -1
  444. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  445. package/vscode/src/vs/workbench/api/common/extHostMcp.js +36 -33
  446. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +5 -2
  447. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +69 -53
  448. package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +4 -2
  449. package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +2 -1
  450. package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +2 -1
  451. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +2 -1
  452. package/vscode/src/vs/workbench/api/common/extHostSCM.js +14 -12
  453. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  454. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  455. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
  456. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -4
  457. package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -1
  458. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -1
  459. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +3 -2
  460. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  461. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +16 -8
  462. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +93 -20
  463. package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.d.ts +19 -0
  464. package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.js +37 -0
  465. package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +31 -0
  466. package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.js +91 -0
  467. package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts +7 -0
  468. package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.js +27 -0
  469. package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +11 -0
  470. package/vscode/src/vs/workbench/api/common/extHostTypes/location.js +44 -0
  471. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +20 -0
  472. package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +65 -0
  473. package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +84 -0
  474. package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.js +229 -0
  475. package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +29 -0
  476. package/vscode/src/vs/workbench/api/common/extHostTypes/position.js +169 -0
  477. package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +26 -0
  478. package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +137 -0
  479. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +20 -0
  480. package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +76 -0
  481. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +12 -0
  482. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +84 -0
  483. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +13 -0
  484. package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.js +28 -0
  485. package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +45 -0
  486. package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.js +75 -0
  487. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +24 -0
  488. package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +82 -0
  489. package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +99 -0
  490. package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.js +146 -0
  491. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +86 -420
  492. package/vscode/src/vs/workbench/api/common/extHostTypes.js +65 -1186
  493. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  494. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
  495. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  496. package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
  497. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  498. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +1 -0
  499. package/vscode/src/vs/workbench/browser/contextkeys.js +13 -9
  500. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +7 -0
  501. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  502. package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
  503. package/vscode/src/vs/workbench/common/contextkeys.js +74 -73
  504. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  505. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  506. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  507. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  508. package/vscode/src/vs/workbench/common/editor.d.ts +2 -0
  509. package/vscode/src/vs/workbench/common/editor.js +4 -4
  510. package/vscode/src/vs/workbench/common/theme.js +160 -160
  511. package/vscode/src/vs/workbench/common/views.js +4 -4
  512. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +157 -157
  513. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  514. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
  515. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -3
  516. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +13 -7
  517. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -56
  518. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +18 -1
  519. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -4
  520. package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +3 -0
  521. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +8 -0
  522. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +8 -0
  523. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js +6 -0
  524. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +13 -0
  525. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js +6 -0
  526. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +71 -15
  527. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +10 -1
  528. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +2 -1
  529. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +49 -22
  530. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +10 -0
  531. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +24 -9
  532. package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +3 -2
  533. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +2 -1
  534. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +13 -8
  535. package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -3
  536. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -1
  537. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +18 -1
  538. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +25 -7
  539. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +15 -8
  540. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +4 -3
  541. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +36 -18
  542. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +46 -36
  543. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  544. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
  545. package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.d.ts +14 -0
  546. package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +76 -0
  547. package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -2
  548. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +10 -1
  549. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +205 -107
  550. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +3 -1
  551. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +14 -8
  552. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  553. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  554. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  555. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  556. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  557. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  558. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  559. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  560. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  561. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  562. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  563. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  564. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
  565. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  566. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  567. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  568. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +16 -0
  569. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.d.ts +8 -0
  570. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js +6 -0
  571. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  572. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
  573. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -7
  574. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  575. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  576. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  577. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  578. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  579. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  580. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  581. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  582. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +10 -7
  583. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -6
  584. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -1
  585. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -5
  586. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -4
  587. package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
  588. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  589. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  590. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  591. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  592. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  593. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  594. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +7 -2
  595. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  596. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -1
  597. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +10 -3
  598. package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +1 -1
  599. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
  600. package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
  601. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
  602. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
  603. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  604. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -21
  605. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +34 -6
  606. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.d.ts +1 -1
  607. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  608. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
  609. package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +1 -1
  610. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +48 -1
  611. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +7 -1
  612. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +7 -6
  613. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  614. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  615. package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
  616. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +94 -86
  617. package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
  618. package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +8 -0
  619. package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js +6 -0
  620. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  621. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  622. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  623. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  624. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  625. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +4 -0
  626. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  627. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  628. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  629. package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
  630. package/vscode-dts/vscode.d.ts +218 -2
  631. package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +161 -0
  632. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +47 -1
  633. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +3 -1
  634. package/vscode-dts/vscode.proposed.chatProvider.d.ts +28 -108
  635. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +101 -12
  636. package/vscode-dts/vscode.proposed.contribSecondarySidebar.d.ts +6 -0
  637. package/vscode-dts/vscode.proposed.d.ts +3 -0
  638. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
  639. package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +31 -0
  640. package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +2 -2
  641. package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +49 -0
  642. package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +16 -5
  643. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +7 -0
  644. package/workers/editor.worker.d.ts +2 -5
  645. package/workers/editor.worker.js +16 -18
  646. package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +0 -114
  647. package/vscode/src/vs/base/common/hotReload.js +0 -80
  648. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +0 -6
  649. package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +0 -6
  650. package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +0 -7
@@ -3,112 +3,113 @@ import { __decorate, __param } from '../../../../../../../../external/tslib/tsli
3
3
  import { Disposable } from '../../../../../base/common/lifecycle.js';
4
4
  import { Codicon } from '../../../../../base/common/codicons.js';
5
5
  import { ThemeIcon } from '../../../../../base/common/themables.js';
6
- import { MarkdownString } from '../../../../../base/common/htmlContent.js';
7
6
  import { ToolDataSource } from '../languageModelToolsService.js';
8
7
  import { ILogService } from '../../../../../platform/log/common/log.service.js';
8
+ import { ITelemetryService } from '../../../../../platform/telemetry/common/telemetry.service.js';
9
9
  import { IChatTodoListService } from '../chatTodoListService.service.js';
10
10
  import { ContextKeyExpr } from '../../../../../platform/contextkey/common/contextkey.js';
11
+ import { IsSimulationContext } from '../../../../../platform/contextkey/common/contextkeys.js';
12
+ import { localize } from '../../../../../nls.js';
13
+ import { MarkdownString } from '../../../../../base/common/htmlContent.js';
11
14
 
12
15
  const TodoListToolSettingId = 'chat.todoListTool.enabled';
16
+ const TodoListToolWriteOnlySettingId = 'chat.todoListTool.writeOnly';
13
17
  const ManageTodoListToolToolId = 'manage_todo_list';
14
- const ManageTodoListToolData = {
15
- id: ManageTodoListToolToolId,
16
- toolReferenceName: 'todos',
17
- when: ( ContextKeyExpr.equals(`config.${TodoListToolSettingId}`, true)),
18
- canBeReferencedInPrompt: true,
19
- icon: ThemeIcon.fromId(Codicon.checklist.id),
20
- displayName: 'Update Todo List',
21
- userDescription: 'Manage and track todo items for task planning',
22
- modelDescription: 'Manage a structured todo list to track progress and plan tasks throughout your coding session. Use this tool VERY frequently to ensure task visibility and proper planning.\n\nWhen to use this tool:\n- Complex multi-step work requiring planning and tracking\n- When user provides multiple tasks or requests (numbered/comma-separated)\n- After receiving new instructions that require multiple steps\n- BEFORE starting work on any todo (mark as in-progress)\n- IMMEDIATELY after completing each todo (mark completed individually)\n- When breaking down larger tasks into smaller actionable steps\n- To give users visibility into your progress and planning\n\nWhen NOT to use:\n- Single, trivial tasks that can be completed in one step\n- Purely conversational/informational requests\n- When just reading files or performing simple searches\n\nCRITICAL workflow:\n1. Plan tasks by writing todo list with specific, actionable items\n2. Mark ONE todo as in-progress before starting work\n3. Complete the work for that specific todo\n4. Mark that todo as completed IMMEDIATELY\n5. Move to next todo and repeat\n\nTodo states:\n- not-started: Todo not yet begun\n- in-progress: Currently working (limit ONE at a time)\n- completed: Finished successfully\n\nIMPORTANT: Mark todos completed as soon as they are done. Do not batch completions.',
23
- source: ToolDataSource.Internal,
24
- inputSchema: {
25
- type: 'object',
26
- properties: {
27
- operation: {
28
- type: 'string',
29
- enum: ['write', 'read'],
30
- description: 'write: Replace entire todo list with new content. read: Retrieve current todo list. ALWAYS provide complete list when writing - partial updates not supported.'
31
- },
32
- todoList: {
33
- type: 'array',
34
- description: 'Complete array of all todo items (required for write operation, ignored for read). Must include ALL items - both existing and new.',
35
- items: {
36
- type: 'object',
37
- properties: {
38
- id: {
39
- type: 'number',
40
- description: 'Unique identifier for the todo. Use sequential numbers starting from 1.'
41
- },
42
- title: {
43
- type: 'string',
44
- description: 'Concise action-oriented todo label (3-7 words). Displayed in UI.'
45
- },
46
- description: {
47
- type: 'string',
48
- description: 'Detailed context, requirements, or implementation notes. Include file paths, specific methods, or acceptance criteria.'
49
- },
50
- status: {
51
- type: 'string',
52
- enum: ['not-started', 'in-progress', 'completed'],
53
- description: 'not-started: Not begun | in-progress: Currently working (max 1) | completed: Fully finished with no blockers'
54
- },
18
+ function createManageTodoListToolData(writeOnly) {
19
+ const baseProperties = {
20
+ todoList: {
21
+ type: 'array',
22
+ description: writeOnly
23
+ ? 'Complete array of all todo items. Must include ALL items - both existing and new.'
24
+ : 'Complete array of all todo items (required for write operation, ignored for read). Must include ALL items - both existing and new.',
25
+ items: {
26
+ type: 'object',
27
+ properties: {
28
+ id: {
29
+ type: 'number',
30
+ description: 'Unique identifier for the todo. Use sequential numbers starting from 1.'
55
31
  },
56
- required: ['id', 'title', 'description', 'status']
57
- }
32
+ title: {
33
+ type: 'string',
34
+ description: 'Concise action-oriented todo label (3-7 words). Displayed in UI.'
35
+ },
36
+ description: {
37
+ type: 'string',
38
+ description: 'Detailed context, requirements, or implementation notes. Include file paths, specific methods, or acceptance criteria.'
39
+ },
40
+ status: {
41
+ type: 'string',
42
+ enum: ['not-started', 'in-progress', 'completed'],
43
+ description: 'not-started: Not begun | in-progress: Currently working (max 1) | completed: Fully finished with no blockers'
44
+ },
45
+ },
46
+ required: ['id', 'title', 'description', 'status']
58
47
  }
59
- },
60
- required: ['operation']
48
+ }
49
+ };
50
+ const requiredFields = writeOnly ? ['todoList'] : [];
51
+ if (!writeOnly) {
52
+ baseProperties.operation = {
53
+ type: 'string',
54
+ enum: ['write', 'read'],
55
+ description: 'write: Replace entire todo list with new content. read: Retrieve current todo list. ALWAYS provide complete list when writing - partial updates not supported.'
56
+ };
57
+ requiredFields.unshift('operation');
61
58
  }
62
- };
59
+ return {
60
+ id: ManageTodoListToolToolId,
61
+ toolReferenceName: 'todos',
62
+ when: ( ContextKeyExpr.or(( ContextKeyExpr.equals(`config.${TodoListToolSettingId}`, true)), IsSimulationContext)),
63
+ canBeReferencedInPrompt: true,
64
+ icon: ThemeIcon.fromId(Codicon.checklist.id),
65
+ displayName: ( localize(5642, 'Manage and track todo items for task planning')),
66
+ userDescription: ( localize(5643, 'Tool for managing and tracking todo items for task planning')),
67
+ modelDescription: 'Manage a structured todo list to track progress and plan tasks throughout your coding session. Use this tool VERY frequently to ensure task visibility and proper planning.\n\nWhen to use this tool:\n- Complex multi-step work requiring planning and tracking\n- When user provides multiple tasks or requests (numbered/comma-separated)\n- After receiving new instructions that require multiple steps\n- BEFORE starting work on any todo (mark as in-progress)\n- IMMEDIATELY after completing each todo (mark completed individually)\n- When breaking down larger tasks into smaller actionable steps\n- To give users visibility into your progress and planning\n\nWhen NOT to use:\n- Single, trivial tasks that can be completed in one step\n- Purely conversational/informational requests\n- When just reading files or performing simple searches\n\nCRITICAL workflow:\n1. Plan tasks by writing todo list with specific, actionable items\n2. Mark ONE todo as in-progress before starting work\n3. Complete the work for that specific todo\n4. Mark that todo as completed IMMEDIATELY\n5. Move to next todo and repeat\n\nTodo states:\n- not-started: Todo not yet begun\n- in-progress: Currently working (limit ONE at a time)\n- completed: Finished successfully\n\nIMPORTANT: Mark todos completed as soon as they are done. Do not batch completions.',
68
+ source: ToolDataSource.Internal,
69
+ inputSchema: {
70
+ type: 'object',
71
+ properties: baseProperties,
72
+ required: requiredFields
73
+ }
74
+ };
75
+ }
76
+ createManageTodoListToolData(false);
63
77
  let ManageTodoListTool = class ManageTodoListTool extends Disposable {
64
- constructor(chatTodoListService, logService) {
78
+ constructor(writeOnly, chatTodoListService, logService, telemetryService) {
65
79
  super();
80
+ this.writeOnly = writeOnly;
66
81
  this.chatTodoListService = chatTodoListService;
67
82
  this.logService = logService;
83
+ this.telemetryService = telemetryService;
68
84
  }
69
85
  async invoke(invocation, _countTokens, _progress, _token) {
70
- const chatSessionId = invocation.context?.sessionId;
71
- if (chatSessionId === undefined) {
72
- throw ( new Error('A chat session ID is required for this tool'));
73
- }
74
86
  const args = invocation.parameters;
87
+ const DEFAULT_TODO_SESSION_ID = 'default';
88
+ const chatSessionId = invocation.context?.sessionId ?? args.chatSessionId ?? DEFAULT_TODO_SESSION_ID;
75
89
  this.logService.debug(`ManageTodoListTool: Invoking with options ${JSON.stringify(args)}`);
76
90
  try {
77
- const storage = this.chatTodoListService.getChatTodoListStorage();
78
- switch (args.operation) {
79
- case 'read': {
80
- const readResult = this.handleRead(storage, chatSessionId);
81
- return {
82
- content: [{
83
- kind: 'text',
84
- value: readResult
85
- }]
86
- };
87
- }
88
- case 'write': {
89
- const todoList = ( args.todoList.map((parsedTodo) => ({
90
- id: parsedTodo.id,
91
- title: parsedTodo.title,
92
- description: parsedTodo.description,
93
- status: parsedTodo.status
94
- })));
95
- storage.setTodoList(chatSessionId, todoList);
96
- return {
97
- content: [{
98
- kind: 'text',
99
- value: 'Successfully wrote todo list'
100
- }]
101
- };
102
- }
103
- default: {
104
- const errorResult = 'Error: Unknown operation';
105
- return {
106
- content: [{
107
- kind: 'text',
108
- value: errorResult
109
- }]
110
- };
111
- }
91
+ const operation = this.writeOnly ? 'write' : args.operation;
92
+ if (!operation) {
93
+ return {
94
+ content: [{
95
+ kind: 'text',
96
+ value: 'Error: operation parameter is required'
97
+ }]
98
+ };
99
+ }
100
+ if (operation === 'read') {
101
+ return this.handleReadOperation(chatSessionId);
102
+ }
103
+ else if (operation === 'write') {
104
+ return this.handleWriteOperation(args, chatSessionId);
105
+ }
106
+ else {
107
+ return {
108
+ content: [{
109
+ kind: 'text',
110
+ value: 'Error: Unknown operation'
111
+ }]
112
+ };
112
113
  }
113
114
  }
114
115
  catch (error) {
@@ -122,14 +123,13 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
122
123
  }
123
124
  }
124
125
  async prepareToolInvocation(context, _token) {
125
- if (!context.chatSessionId) {
126
- throw ( new Error('chatSessionId undefined'));
127
- }
128
- const storage = this.chatTodoListService.getChatTodoListStorage();
129
- const currentTodoItems = storage.getTodoList(context.chatSessionId);
130
126
  const args = context.parameters;
127
+ const DEFAULT_TODO_SESSION_ID = 'default';
128
+ const chatSessionId = context.chatSessionId ?? args.chatSessionId ?? DEFAULT_TODO_SESSION_ID;
129
+ const currentTodoItems = this.chatTodoListService.getTodos(chatSessionId);
131
130
  let message;
132
- switch (args.operation) {
131
+ const operation = this.writeOnly ? 'write' : args.operation;
132
+ switch (operation) {
133
133
  case 'write': {
134
134
  if (args.todoList) {
135
135
  message = this.generatePastTenseMessage(currentTodoItems, args.todoList);
@@ -137,7 +137,7 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
137
137
  break;
138
138
  }
139
139
  case 'read': {
140
- message = 'Read todo list';
140
+ message = ( localize(5644, "Read todo list"));
141
141
  break;
142
142
  }
143
143
  }
@@ -149,17 +149,19 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
149
149
  status: todo.status
150
150
  })));
151
151
  return {
152
- pastTenseMessage: ( new MarkdownString(message ?? 'Updated todo list')),
152
+ pastTenseMessage: ( new MarkdownString(message ?? ( localize(5645, "Updated todo list")))),
153
153
  toolSpecificData: {
154
154
  kind: 'todoList',
155
- sessionId: context.chatSessionId,
155
+ sessionId: chatSessionId,
156
156
  todoList: todoList
157
157
  }
158
158
  };
159
159
  }
160
160
  generatePastTenseMessage(currentTodos, newTodos) {
161
161
  if (currentTodos.length === 0) {
162
- return `Created ${newTodos.length} todo${newTodos.length === 1 ? '' : 's'}`;
162
+ return newTodos.length === 1
163
+ ? ( localize(5646, "Created 1 todo"))
164
+ : ( localize(5647, "Created {0} todos", newTodos.length));
163
165
  }
164
166
  const currentTodoMap = ( new Map(( currentTodos.map(todo => [todo.id, todo]))));
165
167
  const startedTodos = newTodos.filter(newTodo => {
@@ -170,7 +172,13 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
170
172
  const startedTodo = startedTodos[0];
171
173
  const totalTodos = newTodos.length;
172
174
  const currentPosition = newTodos.findIndex(todo => todo.id === startedTodo.id) + 1;
173
- return `Starting (${currentPosition}/${totalTodos}) *${startedTodo.title}*`;
175
+ return localize(
176
+ 5648,
177
+ "Starting ({0}/{1}) *{2}*",
178
+ currentPosition,
179
+ totalTodos,
180
+ startedTodo.title
181
+ );
174
182
  }
175
183
  const completedTodos = newTodos.filter(newTodo => {
176
184
  const currentTodo = currentTodoMap.get(newTodo.id);
@@ -180,21 +188,95 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
180
188
  const completedTodo = completedTodos[0];
181
189
  const totalTodos = newTodos.length;
182
190
  const currentPosition = newTodos.findIndex(todo => todo.id === completedTodo.id) + 1;
183
- return `Completed (${currentPosition}/${totalTodos}) *${completedTodo.title}*`;
191
+ return localize(
192
+ 5649,
193
+ "Completed ({0}/{1}) *{2}*",
194
+ currentPosition,
195
+ totalTodos,
196
+ completedTodo.title
197
+ );
184
198
  }
185
199
  const addedTodos = newTodos.filter(newTodo => !( currentTodoMap.has(newTodo.id)));
186
200
  if (addedTodos.length > 0) {
187
- return `Added ${addedTodos.length} todo${addedTodos.length === 1 ? '' : 's'}`;
201
+ return addedTodos.length === 1
202
+ ? ( localize(5650, "Added 1 todo"))
203
+ : ( localize(5651, "Added {0} todos", addedTodos.length));
188
204
  }
189
- return 'Updated todo list';
205
+ return localize(5652, "Updated todo list");
190
206
  }
191
- handleRead(storage, sessionId) {
192
- const todoItems = storage.getTodoList(sessionId);
207
+ handleRead(todoItems, sessionId) {
193
208
  if (todoItems.length === 0) {
194
209
  return 'No todo list found.';
195
210
  }
196
211
  const markdownTaskList = this.formatTodoListAsMarkdownTaskList(todoItems);
197
- return `# Task List\n\n${markdownTaskList}`;
212
+ return `# Todo List\n\n${markdownTaskList}`;
213
+ }
214
+ handleReadOperation(chatSessionId) {
215
+ const todoItems = this.chatTodoListService.getTodos(chatSessionId);
216
+ const readResult = this.handleRead(todoItems, chatSessionId);
217
+ const statusCounts = this.calculateStatusCounts(todoItems);
218
+ this.telemetryService.publicLog2('todoListToolInvoked', {
219
+ operation: 'read',
220
+ notStartedCount: statusCounts.notStartedCount,
221
+ inProgressCount: statusCounts.inProgressCount,
222
+ completedCount: statusCounts.completedCount,
223
+ chatSessionId: chatSessionId
224
+ });
225
+ return {
226
+ content: [{
227
+ kind: 'text',
228
+ value: readResult
229
+ }]
230
+ };
231
+ }
232
+ handleWriteOperation(args, chatSessionId) {
233
+ if (!args.todoList) {
234
+ return {
235
+ content: [{
236
+ kind: 'text',
237
+ value: 'Error: todoList is required for write operation'
238
+ }]
239
+ };
240
+ }
241
+ const todoList = ( args.todoList.map((parsedTodo) => ({
242
+ id: parsedTodo.id,
243
+ title: parsedTodo.title,
244
+ description: parsedTodo.description,
245
+ status: parsedTodo.status
246
+ })));
247
+ const existingTodos = this.chatTodoListService.getTodos(chatSessionId);
248
+ const changes = this.calculateTodoChanges(existingTodos, todoList);
249
+ this.chatTodoListService.setTodos(chatSessionId, todoList);
250
+ const statusCounts = this.calculateStatusCounts(todoList);
251
+ const warnings = [];
252
+ if (todoList.length < 3) {
253
+ warnings.push('Warning: Small todo list (<3 items). This task might not need a todo list.');
254
+ }
255
+ else if (todoList.length > 10) {
256
+ warnings.push('Warning: Large todo list (>10 items). Consider keeping the list focused and actionable.');
257
+ }
258
+ if (changes > 3) {
259
+ warnings.push('Warning: Did you mean to update so many todos at the same time? Consider working on them one by one.');
260
+ }
261
+ this.telemetryService.publicLog2('todoListToolInvoked', {
262
+ operation: 'write',
263
+ notStartedCount: statusCounts.notStartedCount,
264
+ inProgressCount: statusCounts.inProgressCount,
265
+ completedCount: statusCounts.completedCount,
266
+ chatSessionId: chatSessionId
267
+ });
268
+ return {
269
+ content: [{
270
+ kind: 'text',
271
+ value: `Successfully wrote todo list${warnings.length ? '\n\n' + warnings.join('\n') : ''}`
272
+ }]
273
+ };
274
+ }
275
+ calculateStatusCounts(todos) {
276
+ const notStartedCount = todos.filter(todo => todo.status === 'not-started').length;
277
+ const inProgressCount = todos.filter(todo => todo.status === 'in-progress').length;
278
+ const completedCount = todos.filter(todo => todo.status === 'completed').length;
279
+ return { notStartedCount, inProgressCount, completedCount };
198
280
  }
199
281
  formatTodoListAsMarkdownTaskList(todoList) {
200
282
  if (todoList.length === 0) {
@@ -221,10 +303,26 @@ let ManageTodoListTool = class ManageTodoListTool extends Disposable {
221
303
  return lines.join('\n');
222
304
  })).join('\n');
223
305
  }
306
+ calculateTodoChanges(oldList, newList) {
307
+ let modified = 0;
308
+ const minLen = Math.min(oldList.length, newList.length);
309
+ for (let i = 0; i < minLen; i++) {
310
+ const o = oldList[i];
311
+ const n = newList[i];
312
+ if (o.title !== n.title || (o.description ?? '') !== (n.description ?? '') || o.status !== n.status) {
313
+ modified++;
314
+ }
315
+ }
316
+ const added = Math.max(0, newList.length - oldList.length);
317
+ const removed = Math.max(0, oldList.length - newList.length);
318
+ const totalChanges = added + removed + modified;
319
+ return totalChanges;
320
+ }
224
321
  };
225
322
  ManageTodoListTool = ( __decorate([
226
- ( __param(0, IChatTodoListService)),
227
- ( __param(1, ILogService))
323
+ ( __param(1, IChatTodoListService)),
324
+ ( __param(2, ILogService)),
325
+ ( __param(3, ITelemetryService))
228
326
  ], ManageTodoListTool));
229
327
 
230
- export { ManageTodoListTool, ManageTodoListToolData, ManageTodoListToolToolId, TodoListToolSettingId };
328
+ export { ManageTodoListTool, ManageTodoListToolToolId, TodoListToolSettingId, TodoListToolWriteOnlySettingId, createManageTodoListToolData };
@@ -1,9 +1,11 @@
1
1
  import { Disposable } from "../../../../../base/common/lifecycle.js";
2
+ import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js";
2
3
  import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js";
3
4
  import { IWorkbenchContribution } from "../../../../common/contributions.js";
4
5
  import { ILanguageModelToolsService } from "../languageModelToolsService.service.js";
5
6
  export declare class BuiltinToolsContribution extends Disposable implements IWorkbenchContribution {
7
+ private readonly configurationService;
6
8
  static readonly ID = "chat.builtinTools";
7
- constructor(toolsService: ILanguageModelToolsService, instantiationService: IInstantiationService);
9
+ constructor(toolsService: ILanguageModelToolsService, instantiationService: IInstantiationService, configurationService: IConfigurationService);
8
10
  }
9
11
  export declare const InternalFetchWebPageToolId = "vscode_fetchWebPage_internal";
@@ -1,26 +1,32 @@
1
1
 
2
2
  import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
3
3
  import { Disposable } from '../../../../../base/common/lifecycle.js';
4
+ import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.service.js';
4
5
  import { IInstantiationService } from '../../../../../platform/instantiation/common/instantiation.js';
5
6
  import { ILanguageModelToolsService } from '../languageModelToolsService.service.js';
7
+ import { ConfirmationTool, ConfirmationToolData } from './confirmationTool.js';
6
8
  import { EditTool, EditToolData } from './editFileTool.js';
7
- import { ManageTodoListTool, ManageTodoListToolData } from './manageTodoListTool.js';
9
+ import { TodoListToolWriteOnlySettingId, createManageTodoListToolData, ManageTodoListTool } from './manageTodoListTool.js';
8
10
 
9
11
  let BuiltinToolsContribution = class BuiltinToolsContribution extends Disposable {
10
12
  static { this.ID = 'chat.builtinTools'; }
11
- constructor(toolsService, instantiationService) {
13
+ constructor(toolsService, instantiationService, configurationService) {
12
14
  super();
15
+ this.configurationService = configurationService;
13
16
  const editTool = instantiationService.createInstance(EditTool);
14
- this._register(toolsService.registerToolData(EditToolData));
15
- this._register(toolsService.registerToolImplementation(EditToolData.id, editTool));
16
- const manageTodoListTool = instantiationService.createInstance(ManageTodoListTool);
17
- this._register(toolsService.registerToolData(ManageTodoListToolData));
18
- this._register(toolsService.registerToolImplementation(ManageTodoListToolData.id, manageTodoListTool));
17
+ this._register(toolsService.registerTool(EditToolData, editTool));
18
+ const writeOnlyMode = this.configurationService.getValue(TodoListToolWriteOnlySettingId) === true;
19
+ const todoToolData = createManageTodoListToolData(writeOnlyMode);
20
+ const manageTodoListTool = instantiationService.createInstance(ManageTodoListTool, writeOnlyMode);
21
+ this._register(toolsService.registerTool(todoToolData, manageTodoListTool));
22
+ const confirmationTool = instantiationService.createInstance(ConfirmationTool);
23
+ this._register(toolsService.registerTool(ConfirmationToolData, confirmationTool));
19
24
  }
20
25
  };
21
26
  BuiltinToolsContribution = ( __decorate([
22
27
  ( __param(0, ILanguageModelToolsService)),
23
- ( __param(1, IInstantiationService))
28
+ ( __param(1, IInstantiationService)),
29
+ ( __param(2, IConfigurationService))
24
30
  ], BuiltinToolsContribution));
25
31
  const InternalFetchWebPageToolId = 'vscode_fetchWebPage_internal';
26
32
 
@@ -18,17 +18,17 @@ const createCodeActionsAutoSave = (description) => {
18
18
  enum: ['always', 'explicit', 'never', true, false],
19
19
  enumDescriptions: [
20
20
  ( localize(
21
- 5511,
21
+ 5654,
22
22
  'Triggers Code Actions on explicit saves and auto saves triggered by window or focus changes.'
23
23
  )),
24
- ( localize(5512, 'Triggers Code Actions only when explicitly saved')),
25
- ( localize(5513, 'Never triggers Code Actions on save')),
24
+ ( localize(5655, 'Triggers Code Actions only when explicitly saved')),
25
+ ( localize(5656, 'Never triggers Code Actions on save')),
26
26
  ( localize(
27
- 5514,
27
+ 5657,
28
28
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
29
29
  )),
30
30
  ( localize(
31
- 5515,
31
+ 5658,
32
32
  'Never triggers Code Actions on save. This value will be deprecated in favor of "never".'
33
33
  ))
34
34
  ],
@@ -41,14 +41,14 @@ const createNotebookCodeActionsAutoSave = (description) => {
41
41
  type: ['string', 'boolean'],
42
42
  enum: ['explicit', 'never', true, false],
43
43
  enumDescriptions: [
44
- ( localize(5516, 'Triggers Code Actions only when explicitly saved.')),
45
- ( localize(5517, 'Never triggers Code Actions on save.')),
44
+ ( localize(5659, 'Triggers Code Actions only when explicitly saved.')),
45
+ ( localize(5660, 'Never triggers Code Actions on save.')),
46
46
  ( localize(
47
- 5518,
47
+ 5661,
48
48
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "explicit".'
49
49
  )),
50
50
  ( localize(
51
- 5519,
51
+ 5662,
52
52
  'Triggers Code Actions only when explicitly saved. This value will be deprecated in favor of "never".'
53
53
  ))
54
54
  ],
@@ -70,7 +70,7 @@ const codeActionsOnSaveSchema = {
70
70
  }
71
71
  ],
72
72
  markdownDescription: ( localize(
73
- 5520,
73
+ 5663,
74
74
  'Run Code Actions for the editor on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"source.organizeImports": "explicit" `',
75
75
  '`#files.autoSave#`'
76
76
  )),
@@ -102,7 +102,7 @@ const notebookCodeActionsOnSaveSchema = {
102
102
  }
103
103
  ],
104
104
  markdownDescription: ( localize(
105
- 5521,
105
+ 5664,
106
106
  'Run a series of Code Actions for a notebook on save. Code Actions must be specified and the editor must not be shutting down. When {0} is set to `afterDelay`, Code Actions will only be run when the file is saved explicitly. Example: `"notebook.source.organizeImports": "explicit"`',
107
107
  '`#files.autoSave#`'
108
108
  )),
@@ -150,12 +150,12 @@ let CodeActionsContribution = class CodeActionsContribution extends Disposable {
150
150
  for (const codeActionKind of allProvidedKinds) {
151
151
  if (CodeActionKind.Source.contains(codeActionKind) && !properties[codeActionKind.value]) {
152
152
  properties[codeActionKind.value] = createCodeActionsAutoSave(( localize(
153
- 5522,
153
+ 5665,
154
154
  "Controls whether '{0}' actions should be run on file save.",
155
155
  codeActionKind.value
156
156
  )));
157
157
  notebookProperties[codeActionKind.value] = createNotebookCodeActionsAutoSave(( localize(
158
- 5522,
158
+ 5665,
159
159
  "Controls whether '{0}' actions should be run on file save.",
160
160
  codeActionKind.value
161
161
  )));
@@ -32,12 +32,12 @@ import { isWindows } from '../../../../../base/common/platform.js';
32
32
  var EditorDictation_1;
33
33
  registerCss(editorDictation);
34
34
  const EDITOR_DICTATION_IN_PROGRESS = ( new RawContextKey('editorDictation.inProgress', false));
35
- const VOICE_CATEGORY = ( localize2(5525, "Voice"));
35
+ const VOICE_CATEGORY = ( localize2(5668, "Voice"));
36
36
  class EditorDictationStartAction extends EditorAction2 {
37
37
  constructor() {
38
38
  super({
39
39
  id: 'workbench.action.editorDictation.start',
40
- title: ( localize2(5526, "Start Dictation in Editor")),
40
+ title: ( localize2(5669, "Start Dictation in Editor")),
41
41
  category: VOICE_CATEGORY,
42
42
  precondition: ( ContextKeyExpr.and(HasSpeechProvider, ( SpeechToTextInProgress.toNegated()), (
43
43
  EditorContextKeys.readOnly.toNegated()))),
@@ -74,7 +74,7 @@ class EditorDictationStopAction extends EditorAction2 {
74
74
  constructor() {
75
75
  super({
76
76
  id: EditorDictationStopAction.ID,
77
- title: ( localize2(5527, "Stop Dictation in Editor")),
77
+ title: ( localize2(5670, "Stop Dictation in Editor")),
78
78
  category: VOICE_CATEGORY,
79
79
  precondition: EDITOR_DICTATION_IN_PROGRESS,
80
80
  f1: true,
@@ -99,7 +99,7 @@ class DictationWidget extends Disposable {
99
99
  const stopActionKeybinding = keybindingService.lookupKeybinding(EditorDictationStopAction.ID)?.getLabel();
100
100
  actionBar.push(toAction({
101
101
  id: EditorDictationStopAction.ID,
102
- label: stopActionKeybinding ? ( localize(5528, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(5529, "Stop Dictation")),
102
+ label: stopActionKeybinding ? ( localize(5671, "Stop Dictation ({0})", stopActionKeybinding)) : ( localize(5672, "Stop Dictation")),
103
103
  class: ThemeIcon.asClassName(Codicon.micFilled),
104
104
  run: () => EditorDictation.get(editor)?.stop()
105
105
  }), { icon: true, label: false, keybinding: stopActionKeybinding });
@@ -31,19 +31,19 @@ class DiffEditorAccessibilityHelp {
31
31
  return;
32
32
  }
33
33
  const switchSides = ( localize(
34
- 5530,
34
+ 5673,
35
35
  "Run the command Diff Editor: Switch Side{0} to toggle between the original and modified editors.",
36
36
  '<keybinding:diffEditor.switchSide>'
37
37
  ));
38
38
  const diffEditorActiveAnnouncement = ( localize(
39
- 5531,
39
+ 5674,
40
40
  "The setting, accessibility.verbosity.diffEditorActive, controls if a diff editor announcement is made when it becomes the active editor."
41
41
  ));
42
42
  const keys = ['accessibility.signals.diffLineDeleted', 'accessibility.signals.diffLineInserted', 'accessibility.signals.diffLineModified'];
43
43
  const content = [
44
- ( localize(5532, "You are in a diff editor.")),
44
+ ( localize(5675, "You are in a diff editor.")),
45
45
  ( localize(
46
- 5533,
46
+ 5676,
47
47
  "View the next{0} or previous{1} diff in diff review mode, which is optimized for screen readers.",
48
48
  '<keybinding:' + AccessibleDiffViewerNext.id + '>',
49
49
  '<keybinding:' + AccessibleDiffViewerPrev.id + '>'
@@ -51,7 +51,7 @@ class DiffEditorAccessibilityHelp {
51
51
  switchSides,
52
52
  diffEditorActiveAnnouncement,
53
53
  ( localize(
54
- 5534,
54
+ 5677,
55
55
  "To control which accessibility signals should be played, the following settings can be configured: {0}.",
56
56
  keys.join(', ')
57
57
  )),
@@ -32,7 +32,7 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
32
32
  const onlyWhiteSpaceChange = ( computationResult.map(r => r && !r.identical && r.changes2.length === 0));
33
33
  this._register(autorunWithStore((reader, store) => {
34
34
  if (onlyWhiteSpaceChange.read(reader)) {
35
- const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(5535, "Show Whitespace Differences")), null));
35
+ const helperWidget = store.add(this._instantiationService.createInstance(FloatingEditorClickWidget, this._diffEditor.getModifiedEditor(), ( localize(5678, "Show Whitespace Differences")), null));
36
36
  store.add(helperWidget.onClick(() => {
37
37
  this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.ignoreTrimWhitespace', false);
38
38
  }));
@@ -43,11 +43,11 @@ let DiffEditorHelperContribution = class DiffEditorHelperContribution extends Di
43
43
  const diffComputationResult = this._diffEditor.getDiffComputationResult();
44
44
  if (diffComputationResult && diffComputationResult.quitEarly) {
45
45
  this._notificationService.prompt(Severity$1.Warning, ( localize(
46
- 5536,
46
+ 5679,
47
47
  "The diff algorithm was stopped early (after {0} ms.)",
48
48
  this._diffEditor.maxComputationTime
49
49
  )), [{
50
- label: ( localize(5537, "Remove Limit")),
50
+ label: ( localize(5680, "Remove Limit")),
51
51
  run: () => {
52
52
  this._textResourceConfigurationService.updateValue(this._diffEditor.getModel().modified.uri, 'diffEditor.maxComputationTime', 0);
53
53
  }
@@ -26,16 +26,16 @@ let LargeFileOptimizationsWarner = class LargeFileOptimizationsWarner extends Di
26
26
  }
27
27
  if (model.isTooLargeForTokenization()) {
28
28
  const message = ( localize(
29
- 5556,
29
+ 5699,
30
30
  "{0}: tokenization, wrapping, folding, codelens, word highlighting and sticky scroll have been turned off for this large file in order to reduce memory usage and avoid freezing or crashing.",
31
31
  basename(model.uri.path)
32
32
  ));
33
33
  this._notificationService.prompt(Severity$1.Info, message, [
34
34
  {
35
- label: ( localize(5557, "Forcefully Enable Features")),
35
+ label: ( localize(5700, "Forcefully Enable Features")),
36
36
  run: () => {
37
37
  this._configurationService.updateValue(`editor.largeFileOptimizations`, false).then(() => {
38
- this._notificationService.info(( localize(5558, "Please reopen file in order for this setting to take effect.")));
38
+ this._notificationService.info(( localize(5701, "Please reopen file in order for this setting to take effect.")));
39
39
  }, (err) => {
40
40
  this._notificationService.error(err);
41
41
  });