@codingame/monaco-vscode-api 21.5.1 → 22.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 (450) hide show
  1. package/README.md +0 -5
  2. package/missing-services.js +68 -78
  3. package/package.json +8 -8
  4. package/services.d.ts +4 -4
  5. package/services.js +5 -4
  6. package/vscode/product.json.js +1 -1
  7. package/vscode/src/vs/base/browser/dom.js +6 -3
  8. package/vscode/src/vs/base/browser/domSanitize.d.ts +8 -0
  9. package/vscode/src/vs/base/browser/domSanitize.js +49 -27
  10. package/vscode/src/vs/base/browser/domStylesheets.js +5 -1
  11. package/vscode/src/vs/base/browser/markdownRenderer.js +7 -5
  12. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  13. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +2 -2
  14. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
  15. package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
  16. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -1
  17. package/vscode/src/vs/base/common/async.js +6 -0
  18. package/vscode/src/vs/base/common/cancellation.d.ts +21 -0
  19. package/vscode/src/vs/base/common/cancellation.js +42 -1
  20. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  21. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  22. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  23. package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +84 -0
  24. package/vscode/src/vs/base/common/decorators.d.ts +1 -1
  25. package/vscode/src/vs/base/common/htmlContent.d.ts +2 -0
  26. package/vscode/src/vs/base/common/htmlContent.js +9 -6
  27. package/vscode/src/vs/base/common/lifecycle.js +21 -7
  28. package/vscode/src/vs/base/common/numbers.d.ts +0 -45
  29. package/vscode/src/vs/base/common/oauth.d.ts +33 -0
  30. package/vscode/src/vs/base/common/oauth.js +79 -3
  31. package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
  32. package/vscode/src/vs/base/common/observableInternal/index.js +3 -0
  33. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +4 -0
  34. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +98 -0
  35. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +4 -0
  36. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +8 -1
  37. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
  38. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
  39. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -0
  40. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
  41. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +1 -0
  42. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
  43. package/vscode/src/vs/base/common/product.d.ts +7 -1
  44. package/vscode/src/vs/base/common/strings.d.ts +0 -1
  45. package/vscode/src/vs/base/common/strings.js +9 -4
  46. package/vscode/src/vs/base/common/uriIpc.js +24 -1
  47. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +26 -16
  48. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +3 -3
  49. package/vscode/src/vs/editor/browser/services/hoverService/hover.css +1 -1
  50. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +3 -1
  51. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -1
  52. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
  53. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -4
  54. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -0
  55. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -1
  56. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  57. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +1 -1
  58. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +93 -85
  59. package/vscode/src/vs/editor/common/config/editorOptions.js +386 -351
  60. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  61. package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +3 -3
  62. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  63. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  64. package/vscode/src/vs/editor/common/languages.d.ts +5 -1
  65. package/vscode/src/vs/editor/common/languages.js +56 -56
  66. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  67. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +86 -85
  68. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +86 -85
  69. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  70. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +1 -0
  71. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  72. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +9 -7
  73. package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +1 -0
  74. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  75. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  76. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  77. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  78. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  79. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  80. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  81. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  82. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  83. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  84. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  85. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  86. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  87. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  88. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  89. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  90. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  91. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  92. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  93. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  94. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  95. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  96. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  97. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  98. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  99. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  100. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  101. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.d.ts +1 -0
  102. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +8 -0
  103. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +44 -0
  104. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.d.ts +10 -0
  105. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +81 -0
  106. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -20
  107. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  108. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  109. package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -0
  110. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  111. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  112. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  113. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  114. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +4 -1
  115. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +20 -11
  116. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  117. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  118. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  119. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  120. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  121. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  122. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  123. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +2 -1
  124. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  125. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  126. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  127. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  128. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  129. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  130. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  131. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  132. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +2 -7
  133. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  134. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  135. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  136. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +18 -13
  137. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  138. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  139. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +3 -1
  140. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +14 -6
  141. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -1
  142. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +154 -5
  143. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +1 -0
  144. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +3 -0
  145. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +7 -3
  146. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
  147. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +45 -0
  148. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.js +7 -0
  149. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +16 -15
  150. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +5 -2
  151. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  152. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -2
  153. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +24 -21
  154. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
  155. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  156. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  157. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +2 -1
  158. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +36 -35
  159. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  160. package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
  161. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  162. package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +3 -3
  163. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  164. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  165. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  166. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  167. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  168. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  169. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  170. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  171. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  172. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +3 -0
  173. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -4
  174. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  175. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  176. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +12 -19
  177. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +10 -1
  178. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  179. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  180. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
  181. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  182. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  183. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  184. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  185. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  186. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  187. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  188. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
  189. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  190. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  191. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  192. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  193. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  194. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +0 -1
  195. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -0
  196. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  197. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  198. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  199. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +9 -6
  200. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +13 -14
  201. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  202. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  203. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
  204. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -5
  205. package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -0
  206. package/vscode/src/vs/platform/actions/common/actions.js +2 -0
  207. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  208. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  209. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +6 -1
  210. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
  211. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  212. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +2 -0
  213. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +32 -3
  214. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  215. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +0 -1
  216. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -11
  217. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  218. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +32 -0
  219. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +86 -0
  220. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  221. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  222. package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
  223. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
  224. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
  225. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  226. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  227. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +1 -3
  228. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -1
  229. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  230. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -1
  231. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -3
  232. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +4 -3
  233. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  234. package/vscode/src/vs/platform/files/common/files.js +6 -6
  235. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  236. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  237. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  238. package/vscode/src/vs/platform/log/common/log.js +6 -6
  239. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  240. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  241. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +10 -2
  242. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +10 -2
  243. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +3 -3
  244. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  245. package/vscode/src/vs/platform/product/common/product.js +3 -3
  246. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +1 -0
  247. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +23 -15
  248. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +47 -13
  249. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -61
  250. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  251. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  252. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  253. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +6 -0
  254. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +10 -0
  255. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +10 -5
  256. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -1
  257. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +10 -1
  258. package/vscode/src/vs/platform/request/common/request.js +34 -18
  259. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  260. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -3
  261. package/vscode/src/vs/platform/terminal/common/terminal.js +6 -7
  262. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  263. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  264. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  265. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  266. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  267. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  268. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  269. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  270. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  271. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  272. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  273. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  274. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  275. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  276. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  277. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  278. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +11 -10
  279. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
  280. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -4
  281. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +10 -18
  282. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -0
  283. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +16 -4
  284. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -3
  285. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +9 -5
  286. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  287. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +0 -3
  288. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  289. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  290. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  291. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +9 -4
  292. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -2
  293. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  294. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +97 -9
  295. package/vscode/src/vs/workbench/api/common/extHostMcp.js +66 -62
  296. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
  297. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  298. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +2 -0
  299. package/vscode/src/vs/workbench/api/common/extHostSCM.js +22 -0
  300. package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +0 -1
  301. package/vscode/src/vs/workbench/api/common/extHostSecrets.js +0 -3
  302. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  303. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  304. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
  305. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -8
  306. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +53 -3
  307. package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +2 -0
  308. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
  309. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -2
  310. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +60 -9
  311. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +18 -14
  312. package/vscode/src/vs/workbench/api/common/extHostTypes.js +7 -7
  313. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  314. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  315. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  316. package/vscode/src/vs/workbench/browser/actions/developerActions.js +262 -31
  317. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  318. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -7
  319. package/vscode/src/vs/workbench/browser/contextkeys.js +15 -43
  320. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  321. package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
  322. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  323. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  324. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  325. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  326. package/vscode/src/vs/workbench/common/editor.js +4 -4
  327. package/vscode/src/vs/workbench/common/theme.js +167 -167
  328. package/vscode/src/vs/workbench/common/views.js +4 -4
  329. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +3 -2
  330. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +175 -158
  331. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  332. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
  333. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
  334. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
  335. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
  336. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -9
  337. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -0
  338. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -66
  339. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -1
  340. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
  341. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +1 -2
  342. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +24 -8
  343. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +8 -1
  344. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -2
  345. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +0 -2
  346. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +28 -3
  347. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +35 -6
  348. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -6
  349. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -8
  350. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +9 -2
  351. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
  352. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -3
  353. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +8 -4
  354. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +50 -42
  355. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  356. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +23 -8
  357. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +4 -3
  358. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +29 -29
  359. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -3
  360. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  361. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  362. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  363. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  364. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  365. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +7 -6
  366. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  367. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  368. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  369. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  370. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  371. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  372. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  373. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  374. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  375. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  376. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  377. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +3 -1
  378. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  379. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  380. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  381. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  382. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  383. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  384. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  385. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  386. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  387. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  388. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +6 -1
  389. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -0
  390. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +16 -5
  391. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -2
  392. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +217 -60
  393. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
  394. package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +2 -0
  395. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  396. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  397. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  398. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  399. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  400. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -7
  401. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
  402. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +16 -3
  403. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -6
  404. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +42 -8
  405. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
  406. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +1 -0
  407. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +12 -11
  408. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  409. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +2 -2
  410. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  411. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -4
  412. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -2
  413. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +6 -6
  414. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +286 -0
  415. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +861 -0
  416. package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.d.ts +8 -2
  417. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  418. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  419. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  420. package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -30
  421. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +1 -0
  422. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +1 -0
  423. package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +4 -1
  424. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  425. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
  426. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  427. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  428. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  429. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
  430. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  431. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  432. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  433. package/vscode-dts/vscode.d.ts +92 -47
  434. package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +7 -80
  435. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -1
  436. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +12 -0
  437. package/vscode-dts/vscode.proposed.chatProvider.d.ts +19 -0
  438. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +19 -11
  439. package/vscode-dts/vscode.proposed.d.ts +1 -1
  440. package/vscode-dts/{vscode.proposed.secretStorageKeys.d.ts → vscode.proposed.devDeviceId.d.ts} +3 -4
  441. package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +5 -0
  442. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  443. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +70 -16
  444. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +0 -8
  445. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +0 -5
  446. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +0 -20
  447. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +0 -55
  448. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +0 -91
  449. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -125
  450. /package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.js +0 -0
@@ -1,6 +1,6 @@
1
1
  import { IDisposable } from "../../../../base/common/lifecycle.js";
2
2
  import { URI } from "../../../../base/common/uri.js";
3
- import { IMultiDiffSourceResolver, IResolvedMultiDiffSource } from "@codingame/monaco-vscode-0af61f78-dfc5-57ba-8d32-66268c8de38d-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService";
3
+ import { IMultiDiffSourceResolver, IResolvedMultiDiffSource } from "@codingame/monaco-vscode-7969284a-1a12-5148-9750-fcf9656a693f-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService";
4
4
  export declare const IMultiDiffSourceResolverService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IMultiDiffSourceResolverService>;
5
5
  export interface IMultiDiffSourceResolverService {
6
6
  readonly _serviceBrand: undefined;
@@ -16,7 +16,9 @@ export interface ISCMHistoryProvider {
16
16
  provideHistoryItemRefs(historyItemsRefs?: string[], token?: CancellationToken): Promise<ISCMHistoryItemRef[] | undefined>;
17
17
  provideHistoryItems(options: ISCMHistoryOptions, token?: CancellationToken): Promise<ISCMHistoryItem[] | undefined>;
18
18
  provideHistoryItemChanges(historyItemId: string, historyItemParentId: string | undefined, token?: CancellationToken): Promise<ISCMHistoryItemChange[] | undefined>;
19
+ resolveHistoryItem(historyItemId: string, token?: CancellationToken): Promise<ISCMHistoryItem | undefined>;
19
20
  resolveHistoryItemChatContext(historyItemId: string, token?: CancellationToken): Promise<string | undefined>;
21
+ resolveHistoryItemChangeRangeChatContext(historyItemId: string, historyItemParentId: string, path: string, token?: CancellationToken): Promise<string | undefined>;
20
22
  resolveHistoryItemRefsCommonAncestor(historyItemRefs: string[], token?: CancellationToken): Promise<string | undefined>;
21
23
  }
22
24
  export interface ISCMHistoryOptions {
@@ -27,7 +27,7 @@ class SnippetCompletion {
27
27
  constructor(snippet, range) {
28
28
  this.snippet = snippet;
29
29
  this.label = { label: snippet.prefix, description: snippet.name };
30
- this.detail = ( localize(10445, "{0} ({1})", snippet.description || snippet.name, snippet.source));
30
+ this.detail = ( localize(10536, "{0} ({1})", snippet.description || snippet.name, snippet.source));
31
31
  this.insertText = snippet.codeSnippet;
32
32
  this.extensionId = snippet.extensionId;
33
33
  this.range = range;
@@ -121,14 +121,14 @@ let SnippetCompletionProvider = class SnippetCompletionProvider {
121
121
  let to = i + 1;
122
122
  for (; to < suggestions.length && item.label === suggestions[to].label; to++) {
123
123
  suggestions[to].label.label = ( localize(
124
- 10446,
124
+ 10537,
125
125
  "{0}, {1}",
126
126
  suggestions[to].label.label,
127
127
  suggestions[to].snippet.name
128
128
  ));
129
129
  }
130
130
  if (to > i + 1) {
131
- suggestions[i].label.label = ( localize(10446, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
131
+ suggestions[i].label.label = ( localize(10537, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
132
132
  i = to;
133
133
  }
134
134
  }
@@ -207,14 +207,14 @@ class SnippetFile {
207
207
  source = this._extension.displayName || this._extension.name;
208
208
  }
209
209
  else if (this.source === SnippetSource.Workspace) {
210
- source = ( localize(10462, "Workspace Snippet"));
210
+ source = ( localize(10553, "Workspace Snippet"));
211
211
  }
212
212
  else {
213
213
  if (this.isGlobalSnippets) {
214
- source = ( localize(10463, "Global User Snippet"));
214
+ source = ( localize(10554, "Global User Snippet"));
215
215
  }
216
216
  else {
217
- source = ( localize(10464, "User Snippet"));
217
+ source = ( localize(10555, "User Snippet"));
218
218
  }
219
219
  }
220
220
  for (const _prefix of Iterable.wrap(prefix)) {
@@ -34,7 +34,7 @@ var snippetExt;
34
34
  function toValidSnippet(extension, snippet, languageService) {
35
35
  if (isFalsyOrWhitespace(snippet.path)) {
36
36
  extension.collector.error(( localize(
37
- 10465,
37
+ 10556,
38
38
  "Expected string in `contributes.{0}.path`. Provided value: {1}",
39
39
  extension.description.name,
40
40
  String(snippet.path)
@@ -43,7 +43,7 @@ var snippetExt;
43
43
  }
44
44
  if (isFalsyOrWhitespace(snippet.language) && !snippet.path.endsWith('.code-snippets')) {
45
45
  extension.collector.error(( localize(
46
- 10466,
46
+ 10557,
47
47
  "When omitting the language, the value of `contributes.{0}.path` must be a `.code-snippets`-file. Provided value: {1}",
48
48
  extension.description.name,
49
49
  String(snippet.path)
@@ -52,7 +52,7 @@ var snippetExt;
52
52
  }
53
53
  if (!isFalsyOrWhitespace(snippet.language) && !languageService.isRegisteredLanguageId(snippet.language)) {
54
54
  extension.collector.error(( localize(
55
- 10467,
55
+ 10558,
56
56
  "Unknown language in `contributes.{0}.language`. Provided value: {1}",
57
57
  extension.description.name,
58
58
  String(snippet.language)
@@ -63,7 +63,7 @@ var snippetExt;
63
63
  const snippetLocation = joinPath(extensionLocation, snippet.path);
64
64
  if (!isEqualOrParent(snippetLocation, extensionLocation)) {
65
65
  extension.collector.error(( localize(
66
- 10468,
66
+ 10559,
67
67
  "Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
68
68
  extension.description.name,
69
69
  snippetLocation.path,
@@ -78,7 +78,7 @@ var snippetExt;
78
78
  }
79
79
  snippetExt.toValidSnippet = toValidSnippet;
80
80
  snippetExt.snippetsContribution = {
81
- description: ( localize(10469, 'Contributes snippets.')),
81
+ description: ( localize(10560, 'Contributes snippets.')),
82
82
  type: 'array',
83
83
  defaultSnippets: [{ body: [{ language: '', path: '' }] }],
84
84
  items: {
@@ -86,12 +86,12 @@ var snippetExt;
86
86
  defaultSnippets: [{ body: { language: '${1:id}', path: './snippets/${2:id}.json.' } }],
87
87
  properties: {
88
88
  language: {
89
- description: ( localize(10470, 'Language identifier for which this snippet is contributed to.')),
89
+ description: ( localize(10561, 'Language identifier for which this snippet is contributed to.')),
90
90
  type: 'string'
91
91
  },
92
92
  path: {
93
93
  description: ( localize(
94
- 10471,
94
+ 10562,
95
95
  'Path of the snippets file. The path is relative to the extension folder and typically starts with \'./snippets/\'.'
96
96
  )),
97
97
  type: 'string'
@@ -336,14 +336,14 @@ let SnippetsService = class SnippetsService {
336
336
  file.load().then(file => {
337
337
  if (( file.data.some(snippet => snippet.isBogous))) {
338
338
  extension.collector.warn(( localize(
339
- 10472,
339
+ 10563,
340
340
  "One or more snippets from the extension '{0}' very likely confuse snippet-variables and snippet-placeholders (see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details)",
341
341
  extension.description.name
342
342
  )));
343
343
  }
344
344
  }, err => {
345
345
  extension.collector.warn(( localize(
346
- 10473,
346
+ 10564,
347
347
  "The snippet file \"{0}\" could not be read.",
348
348
  (file.location.toString())
349
349
  )));
@@ -3,16 +3,16 @@ import { localize } from '../../../../nls.js';
3
3
  import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
4
4
  import { language } from '../../../../base/common/platform.js';
5
5
 
6
- const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(10477, "A speech provider is registered to the speech service.")) }));
6
+ const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(10568, "A speech provider is registered to the speech service.")) }));
7
7
  const SpeechToTextInProgress = ( new RawContextKey(
8
8
  'speechToTextInProgress',
9
9
  false,
10
- { type: 'boolean', description: ( localize(10478, "A speech-to-text session is in progress.")) }
10
+ { type: 'boolean', description: ( localize(10569, "A speech-to-text session is in progress.")) }
11
11
  ));
12
12
  const TextToSpeechInProgress = ( new RawContextKey(
13
13
  'textToSpeechInProgress',
14
14
  false,
15
- { type: 'boolean', description: ( localize(10479, "A text-to-speech session is in progress.")) }
15
+ { type: 'boolean', description: ( localize(10570, "A text-to-speech session is in progress.")) }
16
16
  ));
17
17
  var SpeechToTextStatus;
18
18
  (function (SpeechToTextStatus) {
@@ -44,82 +44,82 @@ var AccessibilityVoiceSettingId;
44
44
  const SPEECH_LANGUAGE_CONFIG = AccessibilityVoiceSettingId.SpeechLanguage;
45
45
  const SPEECH_LANGUAGES = {
46
46
  ['da-DK']: {
47
- name: ( localize(10480, "Danish (Denmark)"))
47
+ name: ( localize(10571, "Danish (Denmark)"))
48
48
  },
49
49
  ['de-DE']: {
50
- name: ( localize(10481, "German (Germany)"))
50
+ name: ( localize(10572, "German (Germany)"))
51
51
  },
52
52
  ['en-AU']: {
53
- name: ( localize(10482, "English (Australia)"))
53
+ name: ( localize(10573, "English (Australia)"))
54
54
  },
55
55
  ['en-CA']: {
56
- name: ( localize(10483, "English (Canada)"))
56
+ name: ( localize(10574, "English (Canada)"))
57
57
  },
58
58
  ['en-GB']: {
59
- name: ( localize(10484, "English (United Kingdom)"))
59
+ name: ( localize(10575, "English (United Kingdom)"))
60
60
  },
61
61
  ['en-IE']: {
62
- name: ( localize(10485, "English (Ireland)"))
62
+ name: ( localize(10576, "English (Ireland)"))
63
63
  },
64
64
  ['en-IN']: {
65
- name: ( localize(10486, "English (India)"))
65
+ name: ( localize(10577, "English (India)"))
66
66
  },
67
67
  ['en-NZ']: {
68
- name: ( localize(10487, "English (New Zealand)"))
68
+ name: ( localize(10578, "English (New Zealand)"))
69
69
  },
70
70
  ['en-US']: {
71
- name: ( localize(10488, "English (United States)"))
71
+ name: ( localize(10579, "English (United States)"))
72
72
  },
73
73
  ['es-ES']: {
74
- name: ( localize(10489, "Spanish (Spain)"))
74
+ name: ( localize(10580, "Spanish (Spain)"))
75
75
  },
76
76
  ['es-MX']: {
77
- name: ( localize(10490, "Spanish (Mexico)"))
77
+ name: ( localize(10581, "Spanish (Mexico)"))
78
78
  },
79
79
  ['fr-CA']: {
80
- name: ( localize(10491, "French (Canada)"))
80
+ name: ( localize(10582, "French (Canada)"))
81
81
  },
82
82
  ['fr-FR']: {
83
- name: ( localize(10492, "French (France)"))
83
+ name: ( localize(10583, "French (France)"))
84
84
  },
85
85
  ['hi-IN']: {
86
- name: ( localize(10493, "Hindi (India)"))
86
+ name: ( localize(10584, "Hindi (India)"))
87
87
  },
88
88
  ['it-IT']: {
89
- name: ( localize(10494, "Italian (Italy)"))
89
+ name: ( localize(10585, "Italian (Italy)"))
90
90
  },
91
91
  ['ja-JP']: {
92
- name: ( localize(10495, "Japanese (Japan)"))
92
+ name: ( localize(10586, "Japanese (Japan)"))
93
93
  },
94
94
  ['ko-KR']: {
95
- name: ( localize(10496, "Korean (South Korea)"))
95
+ name: ( localize(10587, "Korean (South Korea)"))
96
96
  },
97
97
  ['nl-NL']: {
98
- name: ( localize(10497, "Dutch (Netherlands)"))
98
+ name: ( localize(10588, "Dutch (Netherlands)"))
99
99
  },
100
100
  ['pt-PT']: {
101
- name: ( localize(10498, "Portuguese (Portugal)"))
101
+ name: ( localize(10589, "Portuguese (Portugal)"))
102
102
  },
103
103
  ['pt-BR']: {
104
- name: ( localize(10499, "Portuguese (Brazil)"))
104
+ name: ( localize(10590, "Portuguese (Brazil)"))
105
105
  },
106
106
  ['ru-RU']: {
107
- name: ( localize(10500, "Russian (Russia)"))
107
+ name: ( localize(10591, "Russian (Russia)"))
108
108
  },
109
109
  ['sv-SE']: {
110
- name: ( localize(10501, "Swedish (Sweden)"))
110
+ name: ( localize(10592, "Swedish (Sweden)"))
111
111
  },
112
112
  ['tr-TR']: {
113
- name: ( localize(10502, "Turkish (Türkiye)"))
113
+ name: ( localize(10593, "Turkish (Türkiye)"))
114
114
  },
115
115
  ['zh-CN']: {
116
- name: ( localize(10503, "Chinese (Simplified, China)"))
116
+ name: ( localize(10594, "Chinese (Simplified, China)"))
117
117
  },
118
118
  ['zh-HK']: {
119
- name: ( localize(10504, "Chinese (Traditional, Hong Kong)"))
119
+ name: ( localize(10595, "Chinese (Traditional, Hong Kong)"))
120
120
  },
121
121
  ['zh-TW']: {
122
- name: ( localize(10505, "Chinese (Traditional, Taiwan)"))
122
+ name: ( localize(10596, "Chinese (Traditional, Taiwan)"))
123
123
  }
124
124
  };
125
125
  function speechLanguageConfigToLanguage(config, lang = language) {
@@ -3,7 +3,7 @@ import { Codicon } from '../../../../base/common/codicons.js';
3
3
  import { localize } from '../../../../nls.js';
4
4
  import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
5
5
 
6
- const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(10708, 'View icon of the rerun task.')));
6
+ const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(10805, 'View icon of the rerun task.')));
7
7
  const RerunForActiveTerminalCommandId = 'workbench.action.tasks.rerunForActiveTerminal';
8
8
  const RerunAllRunningTasksCommandId = 'workbench.action.tasks.rerunAllRunningTasks';
9
9
 
@@ -13,7 +13,7 @@ const taskDefinitionSchema = {
13
13
  type: {
14
14
  type: 'string',
15
15
  description: ( localize(
16
- 10915,
16
+ 11013,
17
17
  'The actual task type. Please note that types starting with a \'$\' are reserved for internal usage.'
18
18
  ))
19
19
  },
@@ -25,7 +25,7 @@ const taskDefinitionSchema = {
25
25
  },
26
26
  properties: {
27
27
  type: 'object',
28
- description: ( localize(10916, 'Additional properties of the task type')),
28
+ description: ( localize(11014, 'Additional properties of the task type')),
29
29
  additionalProperties: {
30
30
  $ref: 'http://json-schema.org/draft-07/schema#'
31
31
  }
@@ -33,7 +33,7 @@ const taskDefinitionSchema = {
33
33
  when: {
34
34
  type: 'string',
35
35
  markdownDescription: ( localize(
36
- 10917,
36
+ 11015,
37
37
  'Condition which must be true to enable this type of task. Consider using `shellExecutionSupported`, `processExecutionSupported`, and `customExecutionSupported` as appropriate for this task definition. See the [API documentation](https://code.visualstudio.com/api/extension-guides/task-provider#when-clause) for more information.'
38
38
  )),
39
39
  default: ''
@@ -49,7 +49,7 @@ var Configuration;
49
49
  const taskType = isString(value.type) ? value.type : undefined;
50
50
  if (!taskType || taskType.length === 0) {
51
51
  messageCollector.error(( localize(
52
- 10918,
52
+ 11016,
53
53
  'The task type configuration is missing the required \'taskType\' property'
54
54
  )));
55
55
  return undefined;
@@ -73,15 +73,15 @@ var Configuration;
73
73
  })(Configuration || (Configuration = {}));
74
74
  const taskDefinitionsExtPoint = ExtensionsRegistry.registerExtensionPoint({
75
75
  extensionPoint: 'taskDefinitions',
76
- activationEventsGenerator: (contributions, result) => {
76
+ activationEventsGenerator: function* (contributions) {
77
77
  for (const task of contributions) {
78
78
  if (task.type) {
79
- result.push(`onTaskType:${task.type}`);
79
+ yield `onTaskType:${task.type}`;
80
80
  }
81
81
  }
82
82
  },
83
83
  jsonSchema: {
84
- description: ( localize(10919, 'Contributes task kinds')),
84
+ description: ( localize(11017, 'Contributes task kinds')),
85
85
  type: 'array',
86
86
  items: taskDefinitionSchema
87
87
  }
@@ -17,7 +17,7 @@ export interface ITaskService {
17
17
  onDidReconnectToTasks: Event<void>;
18
18
  supportsMultipleTaskExecutions: boolean;
19
19
  configureAction(): Action;
20
- run(task: Task | undefined, options?: IProblemMatcherRunOptions): Promise<ITaskSummary | undefined>;
20
+ run(task: Task | undefined, options?: IProblemMatcherRunOptions, runSource?: TaskRunSource): Promise<ITaskSummary | undefined>;
21
21
  inTerminal(): boolean;
22
22
  getActiveTasks(): Promise<Task[]>;
23
23
  getBusyTasks(): Promise<Task[]>;
@@ -180,6 +180,10 @@ export interface IPresentationOptions {
180
180
  * Controls whether the terminal that the task runs in is closed when the task completes.
181
181
  */
182
182
  close?: boolean;
183
+ /**
184
+ * Controls whether to preserve the task name in the terminal after task completion.
185
+ */
186
+ preserveTerminalName?: boolean;
183
187
  }
184
188
  export declare namespace PresentationOptions {
185
189
  const defaults: IPresentationOptions;
@@ -615,6 +619,12 @@ export interface ITaskProcessEndedEvent extends ITaskCommon {
615
619
  kind: TaskEventKind.ProcessEnded;
616
620
  terminalId: number | undefined;
617
621
  exitCode?: number;
622
+ durationMs?: number;
623
+ }
624
+ export interface ITaskInactiveEvent extends ITaskCommon {
625
+ kind: TaskEventKind.Inactive;
626
+ terminalId: number | undefined;
627
+ durationMs: number | undefined;
618
628
  }
619
629
  export interface ITaskTerminatedEvent extends ITaskCommon {
620
630
  kind: TaskEventKind.Terminated;
@@ -640,12 +650,14 @@ export declare enum TaskRunSource {
640
650
  User = 1,
641
651
  FolderOpen = 2,
642
652
  ConfigurationChange = 3,
643
- Reconnect = 4
653
+ Reconnect = 4,
654
+ ChatAgent = 5
644
655
  }
645
656
  export declare namespace TaskEvent {
646
657
  function start(task: Task, terminalId: number, resolvedVariables: Map<string, string>): ITaskStartedEvent;
647
658
  function processStarted(task: Task, terminalId: number, processId: number): ITaskProcessStartedEvent;
648
- function processEnded(task: Task, terminalId: number | undefined, exitCode: number | undefined): ITaskProcessEndedEvent;
659
+ function processEnded(task: Task, terminalId: number | undefined, exitCode: number | undefined, durationMs?: number): ITaskProcessEndedEvent;
660
+ function inactive(task: Task, terminalId?: number, durationMs?: number): ITaskInactiveEvent;
649
661
  function terminated(task: Task, terminalId: number, exitReason: TerminalExitReason | undefined): ITaskTerminatedEvent;
650
662
  function general(kind: TaskEventKind.AcquiredInput | TaskEventKind.DependsOnStarted | TaskEventKind.Active | TaskEventKind.Inactive | TaskEventKind.End | TaskEventKind.ProblemMatcherStarted | TaskEventKind.ProblemMatcherFoundErrors, task: Task, terminalId?: number): ITaskGeneralEvent;
651
663
  function problemMatcherEnded(task: Task, hasErrors: boolean, terminalId?: number): ITaskProblemMatcherEndedEvent;
@@ -666,7 +678,8 @@ export declare enum TaskSettingId {
666
678
  QuickOpenShowAll = "task.quickOpen.showAll",
667
679
  AllowAutomaticTasks = "task.allowAutomaticTasks",
668
680
  Reconnection = "task.reconnection",
669
- VerboseLogging = "task.verboseLogging"
681
+ VerboseLogging = "task.verboseLogging",
682
+ NotifyWindowOnTaskCompletion = "task.notifyWindowOnTaskCompletion"
670
683
  }
671
684
  export declare enum TasksSchemaProperties {
672
685
  Tasks = "tasks",
@@ -9,9 +9,9 @@ import { ConfigurationTarget } from '../../../../platform/configuration/common/c
9
9
  export { RerunAllRunningTasksCommandId, RerunForActiveTerminalCommandId, rerunTaskIcon } from './constants.js';
10
10
 
11
11
  const USER_TASKS_GROUP_KEY = 'settings';
12
- const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(10930, "Whether a task is currently running."))));
13
- const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(10931, "Whether the active terminal is a task terminal."))));
14
- const TASKS_CATEGORY = ( localize2(10932, "Tasks"));
12
+ const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(11028, "Whether a task is currently running."))));
13
+ const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(11029, "Whether the active terminal is a task terminal."))));
14
+ const TASKS_CATEGORY = ( localize2(11030, "Tasks"));
15
15
  var ShellQuoting;
16
16
  (function (ShellQuoting) {
17
17
  ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
@@ -107,7 +107,7 @@ var PanelKind;
107
107
  var PresentationOptions;
108
108
  (function (PresentationOptions) {
109
109
  PresentationOptions.defaults = {
110
- echo: true, reveal: RevealKind.Always, revealProblems: RevealProblemKind.Never, focus: false, panel: PanelKind.Shared, showReuseMessage: true, clear: false
110
+ echo: true, reveal: RevealKind.Always, revealProblems: RevealProblemKind.Never, focus: false, panel: PanelKind.Shared, showReuseMessage: true, clear: false, preserveTerminalName: false
111
111
  };
112
112
  })(PresentationOptions || (PresentationOptions = {}));
113
113
  var RuntimeType;
@@ -624,6 +624,7 @@ var TaskRunSource;
624
624
  TaskRunSource[TaskRunSource["FolderOpen"] = 2] = "FolderOpen";
625
625
  TaskRunSource[TaskRunSource["ConfigurationChange"] = 3] = "ConfigurationChange";
626
626
  TaskRunSource[TaskRunSource["Reconnect"] = 4] = "Reconnect";
627
+ TaskRunSource[TaskRunSource["ChatAgent"] = 5] = "ChatAgent";
627
628
  })(TaskRunSource || (TaskRunSource = {}));
628
629
  var TaskEvent;
629
630
  (function (TaskEvent) {
@@ -654,15 +655,25 @@ var TaskEvent;
654
655
  };
655
656
  }
656
657
  TaskEvent.processStarted = processStarted;
657
- function processEnded(task, terminalId, exitCode) {
658
+ function processEnded(task, terminalId, exitCode, durationMs) {
658
659
  return {
659
660
  ...common(task),
660
661
  kind: TaskEventKind.ProcessEnded,
661
662
  terminalId,
662
663
  exitCode,
664
+ durationMs,
663
665
  };
664
666
  }
665
667
  TaskEvent.processEnded = processEnded;
668
+ function inactive(task, terminalId, durationMs) {
669
+ return {
670
+ ...common(task),
671
+ kind: TaskEventKind.Inactive,
672
+ terminalId,
673
+ durationMs,
674
+ };
675
+ }
676
+ TaskEvent.inactive = inactive;
666
677
  function terminated(task, terminalId, exitReason) {
667
678
  return {
668
679
  ...common(task),
@@ -732,6 +743,7 @@ var TaskSettingId;
732
743
  TaskSettingId["AllowAutomaticTasks"] = "task.allowAutomaticTasks";
733
744
  TaskSettingId["Reconnection"] = "task.reconnection";
734
745
  TaskSettingId["VerboseLogging"] = "task.verboseLogging";
746
+ TaskSettingId["NotifyWindowOnTaskCompletion"] = "task.notifyWindowOnTaskCompletion";
735
747
  })(TaskSettingId || (TaskSettingId = {}));
736
748
  var TasksSchemaProperties;
737
749
  (function (TasksSchemaProperties) {
@@ -782,7 +794,7 @@ var TaskDefinition;
782
794
  break;
783
795
  default:
784
796
  reporter.error(( localize(
785
- 10933,
797
+ 11031,
786
798
  'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
787
799
  JSON.stringify(external, undefined, 0),
788
800
  property
@@ -2,7 +2,7 @@ import { Orientation } from "../../../../base/browser/ui/sash/sash.js";
2
2
  import { Event, DynamicListEventMultiplexer, IDynamicListEventMultiplexer } from "../../../../base/common/event.js";
3
3
  import { URI } from "../../../../base/common/uri.js";
4
4
  import { TerminalCapability, ITerminalCapabilityImplMap } from "@codingame/monaco-vscode-a9da9abe-278d-5ce6-9418-99c7c07c5c37-common/vscode/vs/platform/terminal/common/capabilities/capabilities";
5
- import { TerminalLocation, ITerminalBackend, ITerminalLaunchError, type IShellLaunchConfig, type ITerminalProfile } from "../../../../platform/terminal/common/terminal.js";
5
+ import { ITerminalBackend, ITerminalLaunchError, TerminalLocation, type IShellLaunchConfig, type ITerminalProfile } from "../../../../platform/terminal/common/terminal.js";
6
6
  import { GroupIdentifier } from "../../../common/editor.js";
7
7
  import { EditorInput } from "../../../common/editor/editorInput.js";
8
8
  import { IEditableData } from "../../../common/views.js";
@@ -18,7 +18,6 @@ export interface ITerminalService extends ITerminalInstanceHost {
18
18
  readonly instances: readonly ITerminalInstance[];
19
19
  /** Gets detached terminal instances created via {@link createDetachedXterm}. */
20
20
  readonly detachedInstances: Iterable<IDetachedTerminalInstance>;
21
- readonly defaultLocation: TerminalLocation;
22
21
  readonly isProcessSupportRegistered: boolean;
23
22
  readonly connectionState: TerminalConnectionState;
24
23
  readonly whenConnected: Promise<void>;
@@ -68,7 +67,6 @@ export interface ITerminalService extends ITerminalInstanceHost {
68
67
  * Creates a raw terminal instance, this should not be used outside of the terminal part.
69
68
  */
70
69
  getInstanceFromId(terminalId: number): ITerminalInstance | undefined;
71
- getInstanceFromIndex(terminalIndex: number): ITerminalInstance;
72
70
  /**
73
71
  * An owner of terminals might be created after reconnection has occurred,
74
72
  * so store them to be requested/adopted later
@@ -93,16 +91,11 @@ export interface ITerminalService extends ITerminalInstanceHost {
93
91
  setContainers(panelContainer: HTMLElement, terminalContainer: HTMLElement): void;
94
92
  requestStartExtensionTerminal(proxy: ITerminalProcessExtHostProxy, cols: number, rows: number): Promise<ITerminalLaunchError | undefined>;
95
93
  isAttachedToTerminal(remoteTerm: IRemoteTerminalAttachTarget): boolean;
96
- getEditableData(instance: ITerminalInstance): IEditableData | undefined;
97
- setEditable(instance: ITerminalInstance, data: IEditableData | null): void;
98
- isEditable(instance: ITerminalInstance | undefined): boolean;
99
94
  safeDisposeTerminal(instance: ITerminalInstance): Promise<void>;
100
95
  getDefaultInstanceHost(): ITerminalInstanceHost;
101
96
  getInstanceHost(target: ITerminalLocationOptions | undefined): Promise<ITerminalInstanceHost>;
102
97
  resolveLocation(location?: ITerminalLocationOptions): Promise<TerminalLocation | undefined>;
103
98
  setNativeDelegate(nativeCalls: ITerminalServiceNativeDelegate): void;
104
- getEditingTerminal(): ITerminalInstance | undefined;
105
- setEditingTerminal(instance: ITerminalInstance | undefined): void;
106
99
  /**
107
100
  * Creates an instance event listener that listens to all instances, dynamically adding new
108
101
  * instances and removing old instances as needed.
@@ -131,6 +124,10 @@ export interface ITerminalConfigurationService {
131
124
  */
132
125
  readonly config: Readonly<ITerminalConfiguration>;
133
126
  /**
127
+ * The default location for terminals.
128
+ */
129
+ readonly defaultLocation: TerminalLocation;
130
+ /**
134
131
  * Fires when something within the terminal configuration changes.
135
132
  */
136
133
  readonly onConfigChanged: Event<void>;
@@ -155,6 +152,43 @@ export interface ITerminalEditorService extends ITerminalInstanceHost {
155
152
  reviveInput(deserializedInput: IDeserializedTerminalEditorInput): EditorInput;
156
153
  getInputFromResource(resource: URI): TerminalEditorInput;
157
154
  }
155
+ export declare const ITerminalEditingService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalEditingService>;
156
+ /**
157
+ * A service responsible for managing terminal editing state and functionality. This includes
158
+ * tracking which terminal is currently being edited and managing editable data associated with
159
+ * terminal instances.
160
+ */
161
+ export interface ITerminalEditingService {
162
+ readonly _serviceBrand: undefined;
163
+ /**
164
+ * Get the editable data for a terminal instance.
165
+ * @param instance The terminal instance.
166
+ * @returns The editable data if the instance is editable, undefined otherwise.
167
+ */
168
+ getEditableData(instance: ITerminalInstance): IEditableData | undefined;
169
+ /**
170
+ * Set the editable data for a terminal instance.
171
+ * @param instance The terminal instance.
172
+ * @param data The editable data to set, or null to clear.
173
+ */
174
+ setEditable(instance: ITerminalInstance, data: IEditableData | null): void;
175
+ /**
176
+ * Check if a terminal instance is currently editable.
177
+ * @param instance The terminal instance to check.
178
+ * @returns True if the instance is editable, false otherwise.
179
+ */
180
+ isEditable(instance: ITerminalInstance | undefined): boolean;
181
+ /**
182
+ * Get the terminal instance that is currently being edited.
183
+ * @returns The terminal instance being edited, or undefined if none.
184
+ */
185
+ getEditingTerminal(): ITerminalInstance | undefined;
186
+ /**
187
+ * Set the terminal instance that is currently being edited.
188
+ * @param instance The terminal instance to set as editing, or undefined to clear.
189
+ */
190
+ setEditingTerminal(instance: ITerminalInstance | undefined): void;
191
+ }
158
192
  export declare const ITerminalGroupService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalGroupService>;
159
193
  /**
160
194
  * This service is responsible for managing terminal groups, that is the terminals that are hosted
@@ -4,7 +4,8 @@ import { createDecorator } from '../../../../platform/instantiation/common/insta
4
4
  const ITerminalService = ( createDecorator('terminalService'));
5
5
  const ITerminalConfigurationService = ( createDecorator('terminalConfigurationService'));
6
6
  const ITerminalEditorService = ( createDecorator('terminalEditorService'));
7
+ const ITerminalEditingService = ( createDecorator('terminalEditingService'));
7
8
  const ITerminalGroupService = ( createDecorator('terminalGroupService'));
8
9
  const ITerminalInstanceService = ( createDecorator('terminalInstanceService'));
9
10
 
10
- export { ITerminalConfigurationService, ITerminalEditorService, ITerminalGroupService, ITerminalInstanceService, ITerminalService };
11
+ export { ITerminalConfigurationService, ITerminalEditingService, ITerminalEditorService, ITerminalGroupService, ITerminalInstanceService, ITerminalService };
@@ -86,6 +86,7 @@ export declare enum TestCommandId {
86
86
  TestingViewAsListAction = "testing.viewAsList",
87
87
  TestingViewAsTreeAction = "testing.viewAsTree",
88
88
  ToggleContinousRunForTest = "testing.toggleContinuousRunForTest",
89
+ ToggleResultsViewLayoutAction = "testing.toggleResultsViewLayout",
89
90
  ToggleInlineTestOutput = "testing.toggleInlineTestOutput",
90
91
  UnhideAllTestsAction = "testing.unhideAllTests",
91
92
  UnhideTestAction = "testing.unhideTest"
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
27
27
  TestExplorerViewSorting["ByDuration"] = "duration";
28
28
  })(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
29
29
  const testStateNames = {
30
- [TestResultState.Errored]: ( localize(12065, 'Errored')),
31
- [TestResultState.Failed]: ( localize(12066, 'Failed')),
32
- [TestResultState.Passed]: ( localize(12067, 'Passed')),
33
- [TestResultState.Queued]: ( localize(12068, 'Queued')),
34
- [TestResultState.Running]: ( localize(12069, 'Running')),
35
- [TestResultState.Skipped]: ( localize(12070, 'Skipped')),
36
- [TestResultState.Unset]: ( localize(12071, 'Not yet run')),
30
+ [TestResultState.Errored]: ( localize(12182, 'Errored')),
31
+ [TestResultState.Failed]: ( localize(12183, 'Failed')),
32
+ [TestResultState.Passed]: ( localize(12184, 'Passed')),
33
+ [TestResultState.Queued]: ( localize(12185, 'Queued')),
34
+ [TestResultState.Running]: ( localize(12186, 'Running')),
35
+ [TestResultState.Skipped]: ( localize(12187, 'Skipped')),
36
+ [TestResultState.Unset]: ( localize(12188, 'Not yet run')),
37
37
  };
38
- const labelForTestInState = (label, state) => ( localize(12072, '{0} ({1})', stripIcons(label), testStateNames[state]));
38
+ const labelForTestInState = (label, state) => ( localize(12189, '{0} ({1})', stripIcons(label), testStateNames[state]));
39
39
  const testConfigurationGroupNames = {
40
- [TestRunProfileBitset.Debug]: ( localize(12073, 'Debug')),
41
- [TestRunProfileBitset.Run]: ( localize(12074, 'Run')),
42
- [TestRunProfileBitset.Coverage]: ( localize(12075, 'Coverage')),
40
+ [TestRunProfileBitset.Debug]: ( localize(12190, 'Debug')),
41
+ [TestRunProfileBitset.Run]: ( localize(12191, 'Run')),
42
+ [TestRunProfileBitset.Coverage]: ( localize(12192, 'Coverage')),
43
43
  };
44
44
  var TestCommandId;
45
45
  (function (TestCommandId) {
@@ -107,6 +107,7 @@ var TestCommandId;
107
107
  TestCommandId["TestingViewAsListAction"] = "testing.viewAsList";
108
108
  TestCommandId["TestingViewAsTreeAction"] = "testing.viewAsTree";
109
109
  TestCommandId["ToggleContinousRunForTest"] = "testing.toggleContinuousRunForTest";
110
+ TestCommandId["ToggleResultsViewLayoutAction"] = "testing.toggleResultsViewLayout";
110
111
  TestCommandId["ToggleInlineTestOutput"] = "testing.toggleInlineTestOutput";
111
112
  TestCommandId["UnhideAllTestsAction"] = "testing.unhideAllTests";
112
113
  TestCommandId["UnhideTestAction"] = "testing.unhideTest";
@@ -46,9 +46,9 @@ var TestRunProfileBitset;
46
46
  TestRunProfileBitset[TestRunProfileBitset["SupportsContinuousRun"] = 64] = "SupportsContinuousRun";
47
47
  })(TestRunProfileBitset || (TestRunProfileBitset = {}));
48
48
  const testProfileBitset = {
49
- [TestRunProfileBitset.Run]: ( localize(12080, 'Run')),
50
- [TestRunProfileBitset.Debug]: ( localize(12081, 'Debug')),
51
- [TestRunProfileBitset.Coverage]: ( localize(12082, 'Coverage')),
49
+ [TestRunProfileBitset.Run]: ( localize(12197, 'Run')),
50
+ [TestRunProfileBitset.Debug]: ( localize(12198, 'Debug')),
51
+ [TestRunProfileBitset.Coverage]: ( localize(12199, 'Coverage')),
52
52
  };
53
53
  const testRunProfileBitsetList = [
54
54
  TestRunProfileBitset.Run,