@codingame/monaco-vscode-api 21.6.0 → 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 (446) hide show
  1. package/missing-services.js +68 -78
  2. package/package.json +8 -8
  3. package/services.d.ts +4 -4
  4. package/services.js +5 -4
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/dom.js +6 -3
  7. package/vscode/src/vs/base/browser/domSanitize.d.ts +8 -0
  8. package/vscode/src/vs/base/browser/domSanitize.js +49 -27
  9. package/vscode/src/vs/base/browser/domStylesheets.js +5 -1
  10. package/vscode/src/vs/base/browser/markdownRenderer.js +7 -5
  11. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  12. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +2 -2
  13. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
  14. package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
  15. package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -1
  16. package/vscode/src/vs/base/common/async.js +6 -0
  17. package/vscode/src/vs/base/common/cancellation.d.ts +21 -0
  18. package/vscode/src/vs/base/common/cancellation.js +42 -1
  19. package/vscode/src/vs/base/common/codicons.d.ts +3 -0
  20. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  21. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  22. package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +84 -0
  23. package/vscode/src/vs/base/common/decorators.d.ts +1 -1
  24. package/vscode/src/vs/base/common/htmlContent.d.ts +2 -0
  25. package/vscode/src/vs/base/common/htmlContent.js +9 -6
  26. package/vscode/src/vs/base/common/lifecycle.js +21 -7
  27. package/vscode/src/vs/base/common/numbers.d.ts +0 -45
  28. package/vscode/src/vs/base/common/oauth.d.ts +33 -0
  29. package/vscode/src/vs/base/common/oauth.js +79 -3
  30. package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
  31. package/vscode/src/vs/base/common/observableInternal/index.js +3 -0
  32. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +4 -0
  33. package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +98 -0
  34. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +4 -0
  35. package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +8 -1
  36. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
  37. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
  38. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -0
  39. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
  40. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +1 -0
  41. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
  42. package/vscode/src/vs/base/common/product.d.ts +7 -1
  43. package/vscode/src/vs/base/common/strings.d.ts +0 -1
  44. package/vscode/src/vs/base/common/strings.js +9 -4
  45. package/vscode/src/vs/base/common/uriIpc.js +24 -1
  46. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +26 -16
  47. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +3 -3
  48. package/vscode/src/vs/editor/browser/services/hoverService/hover.css +1 -1
  49. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +3 -1
  50. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -1
  51. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
  52. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -4
  53. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -0
  54. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -1
  55. package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
  56. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +1 -1
  57. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +93 -85
  58. package/vscode/src/vs/editor/common/config/editorOptions.js +386 -351
  59. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
  60. package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +3 -3
  61. package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
  62. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  63. package/vscode/src/vs/editor/common/languages.d.ts +5 -1
  64. package/vscode/src/vs/editor/common/languages.js +56 -56
  65. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  66. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +86 -85
  67. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +86 -85
  68. package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
  69. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +1 -0
  70. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  71. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +9 -7
  72. package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +1 -0
  73. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  74. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  75. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  76. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  77. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  78. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  79. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  80. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  81. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  82. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  83. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  84. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  85. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  86. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  87. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  88. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  89. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  90. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  91. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  92. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  93. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  94. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  95. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  96. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  97. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  98. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  99. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  100. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.d.ts +1 -0
  101. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +8 -0
  102. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +44 -0
  103. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.d.ts +10 -0
  104. package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +81 -0
  105. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -20
  106. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  107. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  108. package/vscode/src/vs/editor/contrib/format/browser/format.js +3 -0
  109. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  110. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  111. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
  112. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  113. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.d.ts +4 -1
  114. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +20 -11
  115. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  116. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  117. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  118. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  119. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  120. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  121. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  122. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +2 -1
  123. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  124. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  125. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  126. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  127. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
  128. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  129. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  130. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  131. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +2 -7
  132. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  133. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
  134. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
  135. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +18 -13
  136. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  137. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  138. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +3 -1
  139. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +14 -6
  140. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -1
  141. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +154 -5
  142. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +1 -0
  143. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +3 -0
  144. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +7 -3
  145. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
  146. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +45 -0
  147. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.js +7 -0
  148. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +16 -15
  149. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +5 -2
  150. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  151. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -2
  152. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +24 -21
  153. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
  154. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  155. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  156. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +2 -1
  157. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +36 -35
  158. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  159. package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
  160. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  161. package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +3 -3
  162. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  163. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  164. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  165. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  166. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  167. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  168. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  169. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  170. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  171. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +3 -0
  172. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -4
  173. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  174. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  175. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +12 -19
  176. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +10 -1
  177. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
  178. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
  179. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
  180. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  181. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  182. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  183. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  184. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  185. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  186. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  187. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
  188. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  189. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  190. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  191. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
  192. package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
  193. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +0 -1
  194. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -0
  195. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
  196. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  197. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  198. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +9 -6
  199. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +13 -14
  200. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  201. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  202. package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
  203. package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -5
  204. package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -0
  205. package/vscode/src/vs/platform/actions/common/actions.js +2 -0
  206. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  207. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  208. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +6 -1
  209. package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
  210. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  211. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +2 -0
  212. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +32 -3
  213. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  214. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +0 -1
  215. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -11
  216. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  217. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +32 -0
  218. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +86 -0
  219. package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
  220. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  221. package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
  222. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
  223. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
  224. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  225. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  226. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.d.ts +1 -3
  227. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -1
  228. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  229. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -1
  230. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -3
  231. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +4 -3
  232. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  233. package/vscode/src/vs/platform/files/common/files.js +6 -6
  234. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  235. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  236. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  237. package/vscode/src/vs/platform/log/common/log.js +6 -6
  238. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  239. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  240. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +10 -2
  241. package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +10 -2
  242. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +3 -3
  243. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  244. package/vscode/src/vs/platform/product/common/product.js +3 -3
  245. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +1 -0
  246. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +23 -15
  247. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +47 -13
  248. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -61
  249. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  250. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  251. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  252. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +6 -0
  253. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +10 -0
  254. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +10 -5
  255. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -1
  256. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +10 -1
  257. package/vscode/src/vs/platform/request/common/request.js +34 -18
  258. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  259. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -3
  260. package/vscode/src/vs/platform/terminal/common/terminal.js +6 -7
  261. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  262. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
  263. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  264. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  265. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  266. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  267. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  268. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  269. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
  270. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  271. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  272. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  273. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  274. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  275. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  276. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  277. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +11 -10
  278. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
  279. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -4
  280. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +10 -18
  281. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -0
  282. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +16 -4
  283. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -3
  284. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +9 -5
  285. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
  286. package/vscode/src/vs/workbench/api/common/extHostDebugService.js +0 -3
  287. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  288. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  289. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  290. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +9 -4
  291. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -2
  292. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  293. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +97 -9
  294. package/vscode/src/vs/workbench/api/common/extHostMcp.js +66 -62
  295. package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
  296. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  297. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +2 -0
  298. package/vscode/src/vs/workbench/api/common/extHostSCM.js +22 -0
  299. package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +0 -1
  300. package/vscode/src/vs/workbench/api/common/extHostSecrets.js +0 -3
  301. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  302. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  303. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
  304. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -8
  305. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +53 -3
  306. package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +2 -0
  307. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
  308. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -2
  309. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +60 -9
  310. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +18 -14
  311. package/vscode/src/vs/workbench/api/common/extHostTypes.js +7 -7
  312. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
  313. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  314. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  315. package/vscode/src/vs/workbench/browser/actions/developerActions.js +262 -31
  316. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  317. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -7
  318. package/vscode/src/vs/workbench/browser/contextkeys.js +15 -43
  319. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  320. package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
  321. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  322. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
  323. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  324. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  325. package/vscode/src/vs/workbench/common/editor.js +4 -4
  326. package/vscode/src/vs/workbench/common/theme.js +167 -167
  327. package/vscode/src/vs/workbench/common/views.js +4 -4
  328. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +3 -2
  329. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +175 -158
  330. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  331. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
  332. package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
  333. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
  334. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
  335. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -9
  336. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -0
  337. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -66
  338. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -1
  339. package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
  340. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +1 -2
  341. package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +24 -8
  342. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +8 -1
  343. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -2
  344. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +0 -2
  345. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +28 -3
  346. package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +35 -6
  347. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -6
  348. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -8
  349. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +9 -2
  350. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
  351. package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -3
  352. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +8 -4
  353. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +50 -42
  354. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
  355. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +23 -8
  356. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +4 -3
  357. package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +29 -29
  358. package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -3
  359. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  360. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  361. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  362. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  363. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  364. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +7 -6
  365. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  366. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  367. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  368. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  369. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  370. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  371. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  372. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  373. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  374. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  375. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  376. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +3 -1
  377. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  378. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  379. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  380. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  381. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  382. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  383. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  384. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  385. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  386. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  387. package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +6 -1
  388. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -0
  389. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +16 -5
  390. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -2
  391. package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +217 -60
  392. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
  393. package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +2 -0
  394. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  395. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  396. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  397. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  398. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  399. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -7
  400. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
  401. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +16 -3
  402. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -6
  403. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +42 -8
  404. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
  405. package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +1 -0
  406. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +12 -11
  407. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  408. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +2 -2
  409. package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
  410. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -4
  411. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -2
  412. package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +6 -6
  413. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +286 -0
  414. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +861 -0
  415. package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.d.ts +8 -2
  416. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  417. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  418. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
  419. package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -30
  420. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  421. package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
  422. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  423. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  424. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  425. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
  426. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  427. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  428. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  429. package/vscode-dts/vscode.d.ts +92 -47
  430. package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +7 -80
  431. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -1
  432. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +12 -0
  433. package/vscode-dts/vscode.proposed.chatProvider.d.ts +19 -0
  434. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +19 -11
  435. package/vscode-dts/vscode.proposed.d.ts +1 -1
  436. package/vscode-dts/{vscode.proposed.secretStorageKeys.d.ts → vscode.proposed.devDeviceId.d.ts} +3 -4
  437. package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +5 -0
  438. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
  439. package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +70 -16
  440. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +0 -8
  441. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +0 -5
  442. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +0 -20
  443. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +0 -55
  444. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +0 -91
  445. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -125
  446. /package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.js +0 -0
@@ -8,16 +8,16 @@ import { Categories } from '../../../../platform/action/common/actionCommonCateg
8
8
 
9
9
  function getSyncAreaLabel(source) {
10
10
  switch (source) {
11
- case SyncResource.Settings: return localize(13929, "Settings");
12
- case SyncResource.Keybindings: return localize(13930, "Keyboard Shortcuts");
13
- case SyncResource.Snippets: return localize(13931, "Snippets");
14
- case SyncResource.Prompts: return localize(13932, "Prompts and Instructions");
15
- case SyncResource.Tasks: return localize(13933, "Tasks");
16
- case SyncResource.Mcp: return localize(13934, "MCP Servers");
17
- case SyncResource.Extensions: return localize(13935, "Extensions");
18
- case SyncResource.GlobalState: return localize(13936, "UI State");
19
- case SyncResource.Profiles: return localize(13937, "Profiles");
20
- case SyncResource.WorkspaceState: return localize(13938, "Workspace State");
11
+ case SyncResource.Settings: return localize(14060, "Settings");
12
+ case SyncResource.Keybindings: return localize(14061, "Keyboard Shortcuts");
13
+ case SyncResource.Snippets: return localize(14062, "Snippets");
14
+ case SyncResource.Prompts: return localize(14063, "Prompts and Instructions");
15
+ case SyncResource.Tasks: return localize(14064, "Tasks");
16
+ case SyncResource.Mcp: return localize(14065, "MCP Servers");
17
+ case SyncResource.Extensions: return localize(14066, "Extensions");
18
+ case SyncResource.GlobalState: return localize(14067, "UI State");
19
+ case SyncResource.Profiles: return localize(14068, "Profiles");
20
+ case SyncResource.WorkspaceState: return localize(14069, "Workspace State");
21
21
  }
22
22
  }
23
23
  var AccountStatus;
@@ -26,8 +26,8 @@ var AccountStatus;
26
26
  AccountStatus["Unavailable"] = "unavailable";
27
27
  AccountStatus["Available"] = "available";
28
28
  })(AccountStatus || (AccountStatus = {}));
29
- const SYNC_TITLE = ( localize2(13939, "Settings Sync"));
30
- const SYNC_VIEW_ICON = registerIcon('settings-sync-view-icon', Codicon.sync, ( localize(13940, 'View icon of the Settings Sync view.')));
29
+ const SYNC_TITLE = ( localize2(14070, "Settings Sync"));
30
+ const SYNC_VIEW_ICON = registerIcon('settings-sync-view-icon', Codicon.sync, ( localize(14071, 'View icon of the Settings Sync view.')));
31
31
  const CONTEXT_SYNC_STATE = ( new RawContextKey('syncStatus', SyncStatus.Uninitialized));
32
32
  const CONTEXT_SYNC_ENABLEMENT = ( new RawContextKey('syncEnabled', false));
33
33
  const CONTEXT_ACCOUNT_STATE = ( new RawContextKey('userDataSyncAccountStatus', AccountStatus.Uninitialized));
@@ -40,7 +40,7 @@ const SYNC_VIEW_CONTAINER_ID = 'workbench.view.sync';
40
40
  const SYNC_CONFLICTS_VIEW_ID = 'workbench.views.sync.conflicts';
41
41
  const DOWNLOAD_ACTIVITY_ACTION_DESCRIPTOR = {
42
42
  id: 'workbench.userDataSync.actions.downloadSyncActivity',
43
- title: ( localize2(13941, "Download Settings Sync Activity")),
43
+ title: ( localize2(14072, "Download Settings Sync Activity")),
44
44
  category: Categories.Developer,
45
45
  f1: true,
46
46
  precondition: ( ContextKeyExpr.and(( CONTEXT_ACCOUNT_STATE.isEqualTo(AccountStatus.Available)), ( CONTEXT_SYNC_STATE.notEqualsTo(SyncStatus.Uninitialized))))
@@ -1666,7 +1666,7 @@ declare module 'vscode' {
1666
1666
  /**
1667
1667
  * An {@link Event} which fires upon cancellation.
1668
1668
  */
1669
- onCancellationRequested: Event<any>;
1669
+ readonly onCancellationRequested: Event<any>;
1670
1670
  }
1671
1671
 
1672
1672
  /**
@@ -8579,6 +8579,11 @@ declare module 'vscode' {
8579
8579
  * machines.
8580
8580
  */
8581
8581
  export interface SecretStorage {
8582
+ /**
8583
+ * Retrieve the keys of all the secrets stored by this extension.
8584
+ */
8585
+ keys(): Thenable<string[]>;
8586
+
8582
8587
  /**
8583
8588
  * Retrieve a secret that was stored with key. Returns undefined if there
8584
8589
  * is no password matching that key.
@@ -8603,7 +8608,7 @@ declare module 'vscode' {
8603
8608
  /**
8604
8609
  * Fires when a secret is stored or deleted.
8605
8610
  */
8606
- onDidChange: Event<SecretStorageChangeEvent>;
8611
+ readonly onDidChange: Event<SecretStorageChangeEvent>;
8607
8612
  }
8608
8613
 
8609
8614
  /**
@@ -13069,7 +13074,7 @@ declare module 'vscode' {
13069
13074
  * (Examples include: an explicit call to {@link QuickInput.hide},
13070
13075
  * the user pressing Esc, some other input UI opening, etc.)
13071
13076
  */
13072
- onDidHide: Event<void>;
13077
+ readonly onDidHide: Event<void>;
13073
13078
 
13074
13079
  /**
13075
13080
  * Dispose of this input UI and any associated resources. If it is still
@@ -13883,8 +13888,10 @@ declare module 'vscode' {
13883
13888
  * In the same way, symbolic links are preserved, i.e. the file event will report the path of the
13884
13889
  * symbolic link as it was provided for watching and not the target.
13885
13890
  *
13886
- * *Note* that file events from deleting a folder may not include events for contained files. If possible
13887
- * events will be aggregated to reduce the overal number of emitted events.
13891
+ * *Note* that file events from deleting a folder may not include events for contained files but
13892
+ * only the most top level folder that was deleted. This is a performance optimisation to reduce
13893
+ * the overhead of file events being sent. If you need to know about all deleted files, you have
13894
+ * to watch with `**` and deal with all file events yourself.
13888
13895
  *
13889
13896
  * ### Examples
13890
13897
  *
@@ -17809,6 +17816,30 @@ declare module 'vscode' {
17809
17816
  account?: AuthenticationSessionAccountInformation;
17810
17817
  }
17811
17818
 
17819
+ /**
17820
+ * Represents parameters for creating a session based on a WWW-Authenticate header value.
17821
+ * This is used when an API returns a 401 with a WWW-Authenticate header indicating
17822
+ * that additional authentication is required. The details of which will be passed down
17823
+ * to the authentication provider to create a session.
17824
+ *
17825
+ * @note The authorization provider must support handling challenges and specifically
17826
+ * the challenges in this WWW-Authenticate value.
17827
+ * @note For more information on WWW-Authenticate please see https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/WWW-Authenticate
17828
+ */
17829
+ export interface AuthenticationWwwAuthenticateRequest {
17830
+ /**
17831
+ * The raw WWW-Authenticate header value that triggered this challenge.
17832
+ * This will be parsed by the authentication provider to extract the necessary
17833
+ * challenge information.
17834
+ */
17835
+ readonly wwwAuthenticate: string;
17836
+
17837
+ /**
17838
+ * The fallback scopes to use if no scopes are found in the WWW-Authenticate header.
17839
+ */
17840
+ readonly fallbackScopes?: readonly string[];
17841
+ }
17842
+
17812
17843
  /**
17813
17844
  * Basic information about an {@link AuthenticationProvider}
17814
17845
  */
@@ -17931,49 +17962,59 @@ declare module 'vscode' {
17931
17962
  */
17932
17963
  export namespace authentication {
17933
17964
  /**
17934
- * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
17935
- * registered, or if the user does not consent to sharing authentication information with
17936
- * the extension. If there are multiple sessions with the same scopes, the user will be shown a
17937
- * quickpick to select which account they would like to use.
17965
+ * Get an authentication session matching the desired scopes or satisfying the WWW-Authenticate request. Rejects if
17966
+ * a provider with providerId is not registered, or if the user does not consent to sharing authentication information
17967
+ * with the extension. If there are multiple sessions with the same scopes, the user will be shown a quickpick to
17968
+ * select which account they would like to use.
17969
+ *
17970
+ * Built-in auth providers include:
17971
+ * * 'github' - For GitHub.com
17972
+ * * 'microsoft' For both personal & organizational Microsoft accounts
17973
+ * * (less common) 'github-enterprise' - for alternative GitHub hostings, GHE.com, GitHub Enterprise Server
17974
+ * * (less common) 'microsoft-sovereign-cloud' - for alternative Microsoft clouds
17938
17975
  *
17939
- * Currently, there are only two authentication providers that are contributed from built in extensions
17940
- * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
17941
17976
  * @param providerId The id of the provider to use
17942
- * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
17977
+ * @param scopeListOrRequest A scope list of permissions requested or a WWW-Authenticate request. These are dependent on the authentication provider.
17943
17978
  * @param options The {@link AuthenticationGetSessionOptions} to use
17944
17979
  * @returns A thenable that resolves to an authentication session
17945
17980
  */
17946
- export function getSession(providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { /** */createIfNone: true | AuthenticationGetSessionPresentationOptions }): Thenable<AuthenticationSession>;
17981
+ export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWwwAuthenticateRequest, options: AuthenticationGetSessionOptions & { /** */createIfNone: true | AuthenticationGetSessionPresentationOptions }): Thenable<AuthenticationSession>;
17947
17982
 
17948
17983
  /**
17949
- * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
17950
- * registered, or if the user does not consent to sharing authentication information with
17951
- * the extension. If there are multiple sessions with the same scopes, the user will be shown a
17952
- * quickpick to select which account they would like to use.
17984
+ * Get an authentication session matching the desired scopes or request. Rejects if a provider with providerId is not
17985
+ * registered, or if the user does not consent to sharing authentication information with the extension. If there
17986
+ * are multiple sessions with the same scopes, the user will be shown a quickpick to select which account they would like to use.
17987
+ *
17988
+ * Built-in auth providers include:
17989
+ * * 'github' - For GitHub.com
17990
+ * * 'microsoft' For both personal & organizational Microsoft accounts
17991
+ * * (less common) 'github-enterprise' - for alternative GitHub hostings, GHE.com, GitHub Enterprise Server
17992
+ * * (less common) 'microsoft-sovereign-cloud' - for alternative Microsoft clouds
17953
17993
  *
17954
- * Currently, there are only two authentication providers that are contributed from built in extensions
17955
- * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
17956
17994
  * @param providerId The id of the provider to use
17957
- * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
17995
+ * @param scopeListOrRequest A scope list of permissions requested or a WWW-Authenticate request. These are dependent on the authentication provider.
17958
17996
  * @param options The {@link AuthenticationGetSessionOptions} to use
17959
17997
  * @returns A thenable that resolves to an authentication session
17960
17998
  */
17961
- export function getSession(providerId: string, scopes: readonly string[], options: AuthenticationGetSessionOptions & { /** literal-type defines return type */forceNewSession: true | AuthenticationGetSessionPresentationOptions | AuthenticationForceNewSessionOptions }): Thenable<AuthenticationSession>;
17999
+ export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWwwAuthenticateRequest, options: AuthenticationGetSessionOptions & { /** literal-type defines return type */forceNewSession: true | AuthenticationGetSessionPresentationOptions | AuthenticationForceNewSessionOptions }): Thenable<AuthenticationSession>;
17962
18000
 
17963
18001
  /**
17964
- * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
17965
- * registered, or if the user does not consent to sharing authentication information with
17966
- * the extension. If there are multiple sessions with the same scopes, the user will be shown a
17967
- * quickpick to select which account they would like to use.
18002
+ * Get an authentication session matching the desired scopes or request. Rejects if a provider with providerId is not
18003
+ * registered, or if the user does not consent to sharing authentication information with the extension. If there
18004
+ * are multiple sessions with the same scopes, the user will be shown a quickpick to select which account they would like to use.
18005
+ *
18006
+ * Built-in auth providers include:
18007
+ * * 'github' - For GitHub.com
18008
+ * * 'microsoft' For both personal & organizational Microsoft accounts
18009
+ * * (less common) 'github-enterprise' - for alternative GitHub hostings, GHE.com, GitHub Enterprise Server
18010
+ * * (less common) 'microsoft-sovereign-cloud' - for alternative Microsoft clouds
17968
18011
  *
17969
- * Currently, there are only two authentication providers that are contributed from built in extensions
17970
- * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
17971
18012
  * @param providerId The id of the provider to use
17972
- * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
18013
+ * @param scopeListOrRequest A scope list of permissions requested or a WWW-Authenticate request. These are dependent on the authentication provider.
17973
18014
  * @param options The {@link AuthenticationGetSessionOptions} to use
17974
- * @returns A thenable that resolves to an authentication session if available, or undefined if there are no sessions
18015
+ * @returns A thenable that resolves to an authentication session or undefined if a silent flow was used and no session was found
17975
18016
  */
17976
- export function getSession(providerId: string, scopes: readonly string[], options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>;
18017
+ export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWwwAuthenticateRequest, options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>;
17977
18018
 
17978
18019
  /**
17979
18020
  * Get all accounts that the user is logged in to for the specified provider.
@@ -18184,7 +18225,7 @@ declare module 'vscode' {
18184
18225
  * Fired when a user has changed whether this is a default profile. The
18185
18226
  * event contains the new value of {@link isDefault}
18186
18227
  */
18187
- onDidChangeDefault: Event<boolean>;
18228
+ readonly onDidChangeDefault: Event<boolean>;
18188
18229
 
18189
18230
  /**
18190
18231
  * Whether this profile supports continuous running of requests. If so,
@@ -18563,7 +18604,7 @@ declare module 'vscode' {
18563
18604
  * An event fired when the editor is no longer interested in data
18564
18605
  * associated with the test run.
18565
18606
  */
18566
- onDidDispose: Event<void>;
18607
+ readonly onDidDispose: Event<void>;
18567
18608
  }
18568
18609
 
18569
18610
  /**
@@ -19639,7 +19680,7 @@ declare module 'vscode' {
19639
19680
  * The passed {@link ChatResultFeedback.result result} is guaranteed to have the same properties as the result that was
19640
19681
  * previously returned from this chat participant's handler.
19641
19682
  */
19642
- onDidReceiveFeedback: Event<ChatResultFeedback>;
19683
+ readonly onDidReceiveFeedback: Event<ChatResultFeedback>;
19643
19684
 
19644
19685
  /**
19645
19686
  * Dispose this participant and free resources.
@@ -20454,20 +20495,24 @@ declare module 'vscode' {
20454
20495
  /**
20455
20496
  * Various features that the model supports such as tool calling or image input.
20456
20497
  */
20457
- readonly capabilities: {
20498
+ readonly capabilities: LanguageModelChatCapabilities;
20499
+ }
20458
20500
 
20459
- /**
20460
- * Whether image input is supported by the model.
20461
- * Common supported images are jpg and png, but each model will vary in supported mimetypes.
20462
- */
20463
- readonly imageInput?: boolean;
20501
+ /**
20502
+ * Various features that the {@link LanguageModelChatInformation} supports such as tool calling or image input.
20503
+ */
20504
+ export interface LanguageModelChatCapabilities {
20505
+ /**
20506
+ * Whether image input is supported by the model.
20507
+ * Common supported images are jpg and png, but each model will vary in supported mimetypes.
20508
+ */
20509
+ readonly imageInput?: boolean;
20464
20510
 
20465
- /**
20466
- * Whether tool calling is supported by the model.
20467
- * If a number is provided, that is the maximum number of tools that can be provided in a request to the model.
20468
- */
20469
- readonly toolCalling?: boolean | number;
20470
- };
20511
+ /**
20512
+ * Whether tool calling is supported by the model.
20513
+ * If a number is provided, that is the maximum number of tools that can be provided in a request to the model.
20514
+ */
20515
+ readonly toolCalling?: boolean | number;
20471
20516
  }
20472
20517
 
20473
20518
  /**
@@ -20666,7 +20711,7 @@ declare module 'vscode' {
20666
20711
  * @param vendor The vendor for this provider. Must be globally unique. An example is `copilot` or `openai`.
20667
20712
  * @param provider The provider to register
20668
20713
  * @returns A disposable that unregisters the provider when disposed
20669
- */
20714
+ */
20670
20715
  export function registerLanguageModelChatProvider(vendor: string, provider: LanguageModelChatProvider): Disposable;
20671
20716
  }
20672
20717
 
@@ -20678,7 +20723,7 @@ declare module 'vscode' {
20678
20723
  /**
20679
20724
  * An event that fires when access information changes.
20680
20725
  */
20681
- onDidChange: Event<void>;
20726
+ readonly onDidChange: Event<void>;
20682
20727
 
20683
20728
  /**
20684
20729
  * Checks if a request can be made to a language model.
@@ -5,85 +5,8 @@
5
5
 
6
6
  declare module 'vscode' {
7
7
 
8
- // https://github.com/microsoft/vscode/issues/260156
9
-
10
- /**********
11
- * "Extension asking for auth" API
12
- *******/
13
-
14
- /**
15
- * Represents parameters for creating a session based on a WWW-Authenticate header value.
16
- * This is used when an API returns a 401 with a WWW-Authenticate header indicating
17
- * that additional authentication is required. The details of which will be passed down
18
- * to the authentication provider to create a session.
19
- */
20
- export interface AuthenticationWWWAuthenticateRequest {
21
- /**
22
- * The raw WWW-Authenticate header value that triggered this challenge.
23
- * This will be parsed by the authentication provider to extract the necessary
24
- * challenge information.
25
- */
26
- readonly wwwAuthenticate: string;
27
-
28
- /**
29
- * @deprecated Use `wwwAuthenticate` instead.
30
- */
31
- readonly challenge?: string;
32
-
33
- /**
34
- * Optional scopes for the session. If not provided, the authentication provider
35
- * may use default scopes or extract them from the challenge.
36
- */
37
- readonly scopes?: readonly string[];
38
- }
39
-
40
- export namespace authentication {
41
- /**
42
- * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
43
- * registered, or if the user does not consent to sharing authentication information with
44
- * the extension. If there are multiple sessions with the same scopes, the user will be shown a
45
- * quickpick to select which account they would like to use.
46
- *
47
- * Currently, there are only two authentication providers that are contributed from built in extensions
48
- * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
49
- * @param providerId The id of the provider to use
50
- * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
51
- * @param options The {@link AuthenticationGetSessionOptions} to use
52
- * @returns A thenable that resolves to an authentication session
53
- */
54
- export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWWWAuthenticateRequest, options: AuthenticationGetSessionOptions & { /** */createIfNone: true | AuthenticationGetSessionPresentationOptions }): Thenable<AuthenticationSession>;
55
-
56
- /**
57
- * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
58
- * registered, or if the user does not consent to sharing authentication information with
59
- * the extension. If there are multiple sessions with the same scopes, the user will be shown a
60
- * quickpick to select which account they would like to use.
61
- *
62
- * Currently, there are only two authentication providers that are contributed from built in extensions
63
- * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
64
- * @param providerId The id of the provider to use
65
- * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
66
- * @param options The {@link AuthenticationGetSessionOptions} to use
67
- * @returns A thenable that resolves to an authentication session
68
- */
69
- export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWWWAuthenticateRequest, options: AuthenticationGetSessionOptions & { /** literal-type defines return type */forceNewSession: true | AuthenticationGetSessionPresentationOptions | AuthenticationForceNewSessionOptions }): Thenable<AuthenticationSession>;
70
-
71
- /**
72
- * Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
73
- * registered, or if the user does not consent to sharing authentication information with
74
- * the extension. If there are multiple sessions with the same scopes, the user will be shown a
75
- * quickpick to select which account they would like to use.
76
- *
77
- * Currently, there are only two authentication providers that are contributed from built in extensions
78
- * to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
79
- * @param providerId The id of the provider to use
80
- * @param scopes A list of scopes representing the permissions requested. These are dependent on the authentication provider
81
- * @param options The {@link AuthenticationGetSessionOptions} to use
82
- * @returns A thenable that resolves to an authentication session if available, or undefined if there are no sessions
83
- */
84
- export function getSession(providerId: string, scopeListOrRequest: ReadonlyArray<string> | AuthenticationWWWAuthenticateRequest, options?: AuthenticationGetSessionOptions): Thenable<AuthenticationSession | undefined>;
85
- }
86
-
8
+ // https://github.com/microsoft/vscode/issues/267992
9
+ // and historically: https://github.com/microsoft/vscode/issues/260156
87
10
 
88
11
  /**********
89
12
  * "Extension providing auth" API
@@ -94,6 +17,8 @@ declare module 'vscode' {
94
17
  * Represents an authentication challenge from a WWW-Authenticate header.
95
18
  * This is used to handle cases where additional authentication steps are required,
96
19
  * such as when mandatory multi-factor authentication (MFA) is enforced.
20
+ *
21
+ * @note For more information on WWW-Authenticate please see https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/WWW-Authenticate
97
22
  */
98
23
  export interface AuthenticationChallenge {
99
24
  /**
@@ -112,6 +37,8 @@ declare module 'vscode' {
112
37
  * Represents constraints for authentication, including challenges and optional scopes.
113
38
  * This is used when creating or retrieving sessions that must satisfy specific authentication
114
39
  * requirements from WWW-Authenticate headers.
40
+ *
41
+ * @note For more information on WWW-Authenticate please see https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/WWW-Authenticate
115
42
  */
116
43
  export interface AuthenticationConstraint {
117
44
  /**
@@ -123,7 +50,7 @@ declare module 'vscode' {
123
50
  * Optional scopes for the session. If not provided, the authentication provider
124
51
  * may extract scopes from the challenges or use default scopes.
125
52
  */
126
- readonly scopes?: readonly string[];
53
+ readonly fallbackScopes?: readonly string[];
127
54
  }
128
55
 
129
56
  /**
@@ -103,6 +103,7 @@ declare module 'vscode' {
103
103
  isConfirmed?: boolean;
104
104
  isComplete?: boolean;
105
105
  toolSpecificData?: ChatTerminalToolInvocationData;
106
+ fromSubAgent?: boolean;
106
107
 
107
108
  constructor(toolName: string, toolCallId: string, isError?: boolean);
108
109
  }
@@ -600,6 +601,11 @@ declare module 'vscode' {
600
601
  * TODO Needed for now to drive the variableName-type reference, but probably both of these should go away in the future.
601
602
  */
602
603
  readonly name: string;
604
+
605
+ /**
606
+ * The list of tools were referenced in the value of the reference
607
+ */
608
+ readonly toolReferences?: readonly ChatLanguageModelToolReference[];
603
609
  }
604
610
 
605
611
  export interface ChatResultFeedback {
@@ -641,6 +647,13 @@ declare module 'vscode' {
641
647
  }
642
648
 
643
649
  export interface ChatRequest {
644
- modeInstructions?: string;
650
+ readonly modeInstructions?: string;
651
+ readonly modeInstructions2?: ChatRequestModeInstructions;
652
+ }
653
+
654
+ export interface ChatRequestModeInstructions {
655
+ readonly content: string;
656
+ readonly toolReferences?: readonly ChatLanguageModelToolReference[];
657
+ readonly metadata?: Record<string, boolean | string | number>;
645
658
  }
646
659
  }
@@ -55,6 +55,11 @@ declare module 'vscode' {
55
55
  */
56
56
  readonly attempt: number;
57
57
 
58
+ /**
59
+ * The session identifier for this chat request
60
+ */
61
+ readonly sessionId: string;
62
+
58
63
  /**
59
64
  * If automatic command detection is enabled.
60
65
  */
@@ -182,6 +187,8 @@ declare module 'vscode' {
182
187
 
183
188
  isQuotaExceeded?: boolean;
184
189
 
190
+ isRateLimited?: boolean;
191
+
185
192
  level?: ChatErrorLevel;
186
193
 
187
194
  code?: string;
@@ -214,6 +221,10 @@ declare module 'vscode' {
214
221
  chatSessionId?: string;
215
222
  chatInteractionId?: string;
216
223
  terminalCommand?: string;
224
+ /**
225
+ * Lets us add some nicer UI to toolcalls that came from a sub-agent, but in the long run, this should probably just be rendered in a similar way to thinking text + tool call groups
226
+ */
227
+ fromSubAgent?: boolean;
217
228
  }
218
229
 
219
230
  export interface LanguageModelToolInvocationPrepareOptions<T> {
@@ -234,6 +245,7 @@ declare module 'vscode' {
234
245
  export class ExtendedLanguageModelToolResult extends LanguageModelToolResult {
235
246
  toolResultMessage?: string | MarkdownString;
236
247
  toolResultDetails?: Array<Uri | Location>;
248
+ toolMetadata?: unknown;
237
249
  }
238
250
 
239
251
  // #region Chat participant detection
@@ -56,6 +56,25 @@ declare module 'vscode' {
56
56
  readonly statusIcon?: ThemeIcon;
57
57
  }
58
58
 
59
+ export interface LanguageModelChatCapabilities {
60
+ /**
61
+ * The tools the model prefers for making file edits. If not provided or if none of the tools,
62
+ * are recognized, the editor will try multiple edit tools and pick the best one. The available
63
+ * edit tools WILL change over time and this capability only serves as a hint to the editor.
64
+ *
65
+ * Edit tools currently recognized include:
66
+ * - 'find-replace': Find and replace text in a document.
67
+ * - 'multi-find-replace': Find and replace multiple text snippets across documents.
68
+ * - 'apply-patch': A file-oriented diff format used by some OpenAI models
69
+ * - 'code-rewrite': A general but slower editing tool that allows the model
70
+ * to rewrite and code snippet and provide only the replacement to the editor.
71
+ *
72
+ * The order of edit tools in this array has no significance; all of the recognized edit
73
+ * tools will be made available to the model.
74
+ */
75
+ readonly editTools?: string[];
76
+ }
77
+
59
78
  export type LanguageModelResponsePart2 = LanguageModelResponsePart | LanguageModelDataPart | LanguageModelThinkingPart;
60
79
 
61
80
  export interface LanguageModelChatProvider<T extends LanguageModelChatInformation = LanguageModelChatInformation> {
@@ -3,6 +3,8 @@
3
3
  * Licensed under the MIT License. See License.txt in the project root for license information.
4
4
  *--------------------------------------------------------------------------------------------*/
5
5
 
6
+ // version: 2
7
+
6
8
  declare module 'vscode' {
7
9
  /**
8
10
  * Represents the status of a chat session.
@@ -34,6 +36,13 @@ declare module 'vscode' {
34
36
  readonly onDidChangeChatSessionItems: Event<void>;
35
37
 
36
38
  /**
39
+ * Event that the provider can fire to signal that the current (original) chat session should be replaced with a new (modified) chat session.
40
+ * The UI can use this information to gracefully migrate the user to the new session.
41
+ */
42
+ readonly onDidCommitChatSessionItem: Event<{ original: ChatSessionItem /** untitled */; modified: ChatSessionItem /** newly created */ }>;
43
+
44
+ /**
45
+ * DEPRECATED: Will be removed!
37
46
  * Creates a new chat session.
38
47
  *
39
48
  * @param options Options for the new session including an optional initial prompt and history
@@ -46,16 +55,6 @@ declare module 'vscode' {
46
55
  */
47
56
  readonly request: ChatRequest;
48
57
 
49
- /**
50
- * Initial prompt to initiate the session
51
- */
52
- readonly prompt?: string;
53
-
54
- /**
55
- * History to initialize the session with
56
- */
57
- readonly history?: ReadonlyArray<ChatRequestTurn | ChatResponseTurn>;
58
-
59
58
  /**
60
59
  * Additional metadata to use for session creation
61
60
  */
@@ -190,7 +189,16 @@ declare module 'vscode' {
190
189
  *
191
190
  * @returns A disposable that unregisters the provider when disposed.
192
191
  */
193
- export function registerChatSessionContentProvider(chatSessionType: string, provider: ChatSessionContentProvider, capabilities?: ChatSessionCapabilities): Disposable;
192
+ export function registerChatSessionContentProvider(chatSessionType: string, provider: ChatSessionContentProvider, chatParticipant: ChatParticipant, capabilities?: ChatSessionCapabilities): Disposable;
193
+ }
194
+
195
+ export interface ChatContext {
196
+ readonly chatSessionContext?: ChatSessionContext;
197
+ }
198
+
199
+ export interface ChatSessionContext {
200
+ readonly chatSessionItem: ChatSessionItem; // Maps to URI of chat session editor (could be 'untitled-1', etc..)
201
+ readonly isUntitled: boolean;
194
202
  }
195
203
 
196
204
  export interface ChatSessionCapabilities {
@@ -57,6 +57,7 @@ import "./vscode.proposed.customEditorMove.d.ts"
57
57
  import "./vscode.proposed.dataChannels.d.ts"
58
58
  import "./vscode.proposed.debugVisualization.d.ts"
59
59
  import "./vscode.proposed.defaultChatParticipant.d.ts"
60
+ import "./vscode.proposed.devDeviceId.d.ts"
60
61
  import "./vscode.proposed.diffCommand.d.ts"
61
62
  import "./vscode.proposed.diffContentOptions.d.ts"
62
63
  import "./vscode.proposed.documentFiltersExclusive.d.ts"
@@ -113,7 +114,6 @@ import "./vscode.proposed.scmProviderOptions.d.ts"
113
114
  import "./vscode.proposed.scmSelectedProvider.d.ts"
114
115
  import "./vscode.proposed.scmTextDocument.d.ts"
115
116
  import "./vscode.proposed.scmValidation.d.ts"
116
- import "./vscode.proposed.secretStorageKeys.d.ts"
117
117
  import "./vscode.proposed.shareProvider.d.ts"
118
118
  import "./vscode.proposed.speech.d.ts"
119
119
  import "./vscode.proposed.statusBarItemTooltip.d.ts"
@@ -5,12 +5,11 @@
5
5
 
6
6
  declare module 'vscode' {
7
7
 
8
- // https://github.com/microsoft/vscode/issues/196616
8
+ export namespace env {
9
9
 
10
- export interface SecretStorage {
11
10
  /**
12
- * Retrieve the keys of all the secrets stored by this extension.
11
+ * An alternative unique identifier for the computer.
13
12
  */
14
- keys(): Thenable<string[]>;
13
+ export const devDeviceId: string;
15
14
  }
16
15
  }
@@ -20,6 +20,11 @@ declare module 'vscode' {
20
20
  * Whether the language model supports image to text. This means it can take an image as input and produce a text response.
21
21
  */
22
22
  readonly supportsImageToText: boolean;
23
+
24
+ /**
25
+ * The tools the model prefers for making file edits. See {@link LanguageModelChatCapabilities.editTools}.
26
+ */
27
+ readonly editToolsHint?: readonly string[];
23
28
  };
24
29
  }
25
30
  }
@@ -30,7 +30,9 @@ declare module 'vscode' {
30
30
  provideHistoryItems(options: SourceControlHistoryOptions, token: CancellationToken): ProviderResult<SourceControlHistoryItem[]>;
31
31
  provideHistoryItemChanges(historyItemId: string, historyItemParentId: string | undefined, token: CancellationToken): ProviderResult<SourceControlHistoryItemChange[]>;
32
32
 
33
+ resolveHistoryItem(historyItemId: string, token: CancellationToken): ProviderResult<SourceControlHistoryItem>;
33
34
  resolveHistoryItemChatContext(historyItemId: string, token: CancellationToken): ProviderResult<string>;
35
+ resolveHistoryItemChangeRangeChatContext(historyItemId: string, historyItemParentId: string, path: string, token: CancellationToken): ProviderResult<string>;
34
36
  resolveHistoryItemRefsCommonAncestor(historyItemRefs: string[], token: CancellationToken): ProviderResult<string>;
35
37
  }
36
38