@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
@@ -40,7 +40,7 @@ class AccessibleViewNextAction extends Action2 {
40
40
  }
41
41
  ],
42
42
  icon: Codicon.arrowDown,
43
- title: ( localize(4315, "Show Next in Accessible View"))
43
+ title: ( localize(4323, "Show Next in Accessible View"))
44
44
  });
45
45
  }
46
46
  run(accessor) {
@@ -63,7 +63,7 @@ class AccessibleViewNextCodeBlockAction extends Action2 {
63
63
  ...accessibleViewMenu,
64
64
  when: ( ContextKeyExpr.and(accessibleViewIsShown, accessibleViewContainsCodeBlocks)),
65
65
  },
66
- title: ( localize(4316, "Accessible View: Next Code Block"))
66
+ title: ( localize(4324, "Accessible View: Next Code Block"))
67
67
  });
68
68
  }
69
69
  run(accessor) {
@@ -86,7 +86,7 @@ class AccessibleViewPreviousCodeBlockAction extends Action2 {
86
86
  ...accessibleViewMenu,
87
87
  when: ( ContextKeyExpr.and(accessibleViewIsShown, accessibleViewContainsCodeBlocks)),
88
88
  },
89
- title: ( localize(4317, "Accessible View: Previous Code Block"))
89
+ title: ( localize(4325, "Accessible View: Previous Code Block"))
90
90
  });
91
91
  }
92
92
  run(accessor) {
@@ -111,7 +111,7 @@ class AccessibleViewPreviousAction extends Action2 {
111
111
  when: ( ContextKeyExpr.and(accessibleViewIsShown, accessibleViewSupportsNavigation)),
112
112
  }
113
113
  ],
114
- title: ( localize(4318, "Show Previous in Accessible View"))
114
+ title: ( localize(4326, "Show Previous in Accessible View"))
115
115
  });
116
116
  }
117
117
  run(accessor) {
@@ -137,7 +137,7 @@ class AccessibleViewGoToSymbolAction extends Action2 {
137
137
  when: ( ContextKeyExpr.and(( ContextKeyExpr.or(accessibleViewIsShown, accessibilityHelpIsShown)), accessibleViewGoToSymbolSupported)),
138
138
  }
139
139
  ],
140
- title: ( localize(4319, "Go To Symbol in Accessible View"))
140
+ title: ( localize(4327, "Go To Symbol in Accessible View"))
141
141
  });
142
142
  }
143
143
  run(accessor) {
@@ -164,7 +164,7 @@ const AccessibilityHelpAction = registerCommand(( new MultiCommand({
164
164
  menuOpts: [{
165
165
  menuId: MenuId.CommandPalette,
166
166
  group: '',
167
- title: ( localize(4320, "Open Accessibility Help")),
167
+ title: ( localize(4328, "Open Accessibility Help")),
168
168
  order: 1
169
169
  }],
170
170
  })));
@@ -182,7 +182,7 @@ const AccessibleViewAction = registerCommand(( new MultiCommand({
182
182
  menuOpts: [{
183
183
  menuId: MenuId.CommandPalette,
184
184
  group: '',
185
- title: ( localize(4321, "Open Accessible View")),
185
+ title: ( localize(4329, "Open Accessible View")),
186
186
  order: 1
187
187
  }],
188
188
  })));
@@ -204,7 +204,7 @@ class AccessibleViewDisableHintAction extends Action2 {
204
204
  when: ( ContextKeyExpr.and(( ContextKeyExpr.or(accessibleViewIsShown, accessibilityHelpIsShown)), accessibleViewVerbosityEnabled)),
205
205
  }
206
206
  ],
207
- title: ( localize(4322, "Disable Accessible View Hint"))
207
+ title: ( localize(4330, "Disable Accessible View Hint"))
208
208
  });
209
209
  }
210
210
  run(accessor) {
@@ -230,7 +230,7 @@ class AccessibilityHelpConfigureKeybindingsAction extends Action2 {
230
230
  when: accessibleViewHasUnassignedKeybindings,
231
231
  }
232
232
  ],
233
- title: ( localize(4323, "Accessibility Help Configure Unassigned Keybindings"))
233
+ title: ( localize(4331, "Accessibility Help Configure Unassigned Keybindings"))
234
234
  });
235
235
  }
236
236
  async run(accessor) {
@@ -256,7 +256,7 @@ class AccessibilityHelpConfigureAssignedKeybindingsAction extends Action2 {
256
256
  when: accessibleViewHasAssignedKeybindings,
257
257
  }
258
258
  ],
259
- title: ( localize(4324, "Accessibility Help Configure Assigned Keybindings"))
259
+ title: ( localize(4332, "Accessibility Help Configure Assigned Keybindings"))
260
260
  });
261
261
  }
262
262
  async run(accessor) {
@@ -273,7 +273,7 @@ class AccessibilityHelpOpenHelpLinkAction extends Action2 {
273
273
  primary: KeyMod$1.Alt | KeyCode.KeyH,
274
274
  weight: KeybindingWeight.WorkbenchContrib
275
275
  },
276
- title: ( localize(4325, "Accessibility Help Open Help Link"))
276
+ title: ( localize(4333, "Accessibility Help Open Help Link"))
277
277
  });
278
278
  }
279
279
  run(accessor) {
@@ -307,7 +307,7 @@ class AccessibleViewAcceptInlineCompletionAction extends Action2 {
307
307
  ))))
308
308
  }
309
309
  ],
310
- title: ( localize(4326, "Accept Inline Completion"))
310
+ title: ( localize(4334, "Accept Inline Completion"))
311
311
  });
312
312
  }
313
313
  async run(accessor) {
@@ -5,6 +5,7 @@ import { IChatElicitationRequest } from "../common/chatService.js";
5
5
  import { IChatResponseViewModel } from "@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common/vscode/vs/workbench/contrib/chat/common/chatViewModel";
6
6
  import { ChatAgentLocation } from "../common/constants.js";
7
7
  import { IChatWidget, type ICodeBlockActionContextProvider, type IQuickChatOpenOptions } from "@codingame/monaco-vscode-b994942c-360d-5b68-8a33-77d4bde6b714-common/vscode/vs/workbench/contrib/chat/browser/chat";
8
+ import { ChatWidget } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/chat/browser/chatWidget";
8
9
  export declare const IChatWidgetService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatWidgetService>;
9
10
  export interface IChatWidgetService {
10
11
  readonly _serviceBrand: undefined;
@@ -34,7 +35,7 @@ export declare const IChatAccessibilityService: import("../../../../platform/ins
34
35
  export interface IChatAccessibilityService {
35
36
  readonly _serviceBrand: undefined;
36
37
  acceptRequest(): number;
37
- acceptResponse(response: IChatResponseViewModel | string | undefined, requestId: number, isVoiceInput?: boolean): void;
38
+ acceptResponse(widget: ChatWidget, container: HTMLElement, response: IChatResponseViewModel | string | undefined, requestId: number, isVoiceInput?: boolean): void;
38
39
  acceptElicitation(message: IChatElicitationRequest): void;
39
40
  }
40
41
  export declare const IChatCodeBlockContextProviderService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatCodeBlockContextProviderService>;
@@ -2,7 +2,7 @@ import { VSBuffer } from "../../../../base/common/buffer.js";
2
2
  import { URI } from "../../../../base/common/uri.js";
3
3
  import { IDraggedResourceEditorInput, MarkerTransferData, DocumentSymbolTransferData, NotebookCellOutputTransferData } from "../../../../platform/dnd/browser/dnd.js";
4
4
  import { EditorInput } from "../../../common/editor/editorInput.js";
5
- import { SCMHistoryItemTransferData } from "@codingame/monaco-vscode-d0569cfb-4706-5ad6-b0b0-5115ad8685db-common/vscode/vs/workbench/contrib/scm/browser/scmHistoryChatContext";
5
+ import { SCMHistoryItemTransferData } from "@codingame/monaco-vscode-c2deffc4-ad68-5e63-8f95-9b89e0fc6898-common/vscode/vs/workbench/contrib/scm/browser/scmHistoryChatContext";
6
6
  import { IChatRequestVariableEntry, IDiagnosticVariableEntry, ISymbolVariableEntry, ISCMHistoryItemVariableEntry } from "../common/chatVariableEntries.js";
7
7
  import { ImageTransferData } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/chatAttachmentResolveService";
8
8
  export declare const IChatAttachmentResolveService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatAttachmentResolveService>;
@@ -1,5 +1,5 @@
1
1
  import { IDisposable } from "../../../../base/common/lifecycle.js";
2
- import { IChatContextValueItem, IChatContextPickerItem } from "@codingame/monaco-vscode-d0569cfb-4706-5ad6-b0b0-5115ad8685db-common/vscode/vs/workbench/contrib/chat/browser/chatContextPickService";
2
+ import { IChatContextValueItem, IChatContextPickerItem } from "@codingame/monaco-vscode-51e7513d-a395-525d-b226-639aa8c6cc2d-common/vscode/vs/workbench/contrib/chat/browser/chatContextPickService";
3
3
  export interface IChatContextPickService {
4
4
  _serviceBrand: undefined;
5
5
  items: Iterable<IChatContextValueItem | IChatContextPickerItem>;
@@ -9,6 +9,7 @@ import { IChatEditingSession, IModifiedFileEntry } from "../../common/chatEditin
9
9
  import { IChatEditingService } from "../../common/chatEditingService.service.js";
10
10
  export declare const ctxIsGlobalEditingSession: RawContextKey<boolean>;
11
11
  export declare const ctxHasEditorModification: RawContextKey<boolean>;
12
+ export declare const ctxIsCurrentlyBeingModified: RawContextKey<boolean>;
12
13
  export declare const ctxReviewModeEnabled: RawContextKey<boolean>;
13
14
  export declare const ctxHasRequestInProgress: RawContextKey<boolean>;
14
15
  export declare const ctxRequestCount: RawContextKey<number>;
@@ -14,17 +14,18 @@ import { IChatEditingService } from '../../common/chatEditingService.service.js'
14
14
  import { IChatService } from '../../common/chatService.service.js';
15
15
  import { observableFromEvent } from '../../../../../base/common/observableInternal/observables/observableFromEvent.js';
16
16
  import { autorun } from '../../../../../base/common/observableInternal/reactions/autorun.js';
17
- import { constObservable } from '../../../../../base/common/observableInternal/observables/constObservable.js';
18
17
  import { derived } from '../../../../../base/common/observableInternal/observables/derived.js';
18
+ import { constObservable } from '../../../../../base/common/observableInternal/observables/constObservable.js';
19
19
 
20
- const ctxIsGlobalEditingSession = ( new RawContextKey('chatEdits.isGlobalEditingSession', undefined, ( localize(5033, "The current editor is part of the global edit session"))));
21
- const ctxHasEditorModification = ( new RawContextKey('chatEdits.hasEditorModifications', undefined, ( localize(5034, "The current editor contains chat modifications"))));
22
- const ctxReviewModeEnabled = ( new RawContextKey('chatEdits.isReviewModeEnabled', true, ( localize(5035, "Review mode for chat changes is enabled"))));
20
+ const ctxIsGlobalEditingSession = ( new RawContextKey('chatEdits.isGlobalEditingSession', undefined, ( localize(5083, "The current editor is part of the global edit session"))));
21
+ const ctxHasEditorModification = ( new RawContextKey('chatEdits.hasEditorModifications', undefined, ( localize(5084, "The current editor contains chat modifications"))));
22
+ const ctxIsCurrentlyBeingModified = ( new RawContextKey('chatEdits.isCurrentlyBeingModified', undefined, ( localize(5085, "The current editor is currently being modified"))));
23
+ const ctxReviewModeEnabled = ( new RawContextKey('chatEdits.isReviewModeEnabled', true, ( localize(5086, "Review mode for chat changes is enabled"))));
23
24
  const ctxHasRequestInProgress = ( new RawContextKey('chatEdits.isRequestInProgress', false, ( localize(
24
- 5036,
25
+ 5087,
25
26
  "The current editor shows a file from an edit session which is still in progress"
26
27
  ))));
27
- const ctxRequestCount = ( new RawContextKey('chatEdits.requestCount', 0, ( localize(5037, "The number of turns the editing session in this editor has"))));
28
+ const ctxRequestCount = ( new RawContextKey('chatEdits.requestCount', 0, ( localize(5088, "The number of turns the editing session in this editor has"))));
28
29
  let ChatEditingEditorContextKeys = class ChatEditingEditorContextKeys {
29
30
  static { this.ID = 'chat.edits.editorContextKeys'; }
30
31
  constructor(instaService, editorGroupsService) {
@@ -58,18 +59,22 @@ let ContextKeyGroup = class ContextKeyGroup {
58
59
  this._store = ( new DisposableStore());
59
60
  this._ctxIsGlobalEditingSession = ctxIsGlobalEditingSession.bindTo(group.scopedContextKeyService);
60
61
  this._ctxHasEditorModification = ctxHasEditorModification.bindTo(group.scopedContextKeyService);
62
+ this._ctxIsCurrentlyBeingModified = ctxIsCurrentlyBeingModified.bindTo(group.scopedContextKeyService);
61
63
  this._ctxHasRequestInProgress = ctxHasRequestInProgress.bindTo(group.scopedContextKeyService);
62
64
  this._ctxReviewModeEnabled = ctxReviewModeEnabled.bindTo(group.scopedContextKeyService);
63
65
  this._ctxRequestCount = ctxRequestCount.bindTo(group.scopedContextKeyService);
64
66
  const editorObs = observableFromEvent(this, group.onDidModelChange, () => group.activeEditor);
65
- this._store.add(autorun(r => {
67
+ const tupleObs = derived(r => {
66
68
  const editor = editorObs.read(r);
67
69
  const uri = EditorResourceAccessor.getOriginalUri(editor, { supportSideBySide: SideBySideEditor.PRIMARY });
68
70
  if (!uri) {
69
71
  this._reset();
70
72
  return;
71
73
  }
72
- const tuple = ( new ObservableEditorSession(uri, chatEditingService, inlineChatSessionService)).value.read(r);
74
+ return ( new ObservableEditorSession(uri, chatEditingService, inlineChatSessionService)).value.read(r);
75
+ });
76
+ this._store.add(autorun(r => {
77
+ const tuple = tupleObs.read(r);
73
78
  if (!tuple) {
74
79
  this._reset();
75
80
  return;
@@ -80,6 +85,7 @@ let ContextKeyGroup = class ContextKeyGroup {
80
85
  this._ctxIsGlobalEditingSession.set(session.isGlobalEditingSession);
81
86
  this._ctxReviewModeEnabled.set(entry ? entry.reviewMode.read(r) : false);
82
87
  this._ctxHasRequestInProgress.set(chatModel?.requestInProgressObs.read(r) ?? false);
88
+ this._ctxIsCurrentlyBeingModified.set(!!entry?.isCurrentlyBeingModifiedBy.read(r));
83
89
  const requestCount = chatModel
84
90
  ? observableFromEvent(this, chatModel.onDidChange, () => chatModel.getRequests().length)
85
91
  : constObservable(0);
@@ -129,4 +135,4 @@ ObservableEditorSession = ( __decorate([
129
135
  ( __param(2, IInlineChatSessionService))
130
136
  ], ObservableEditorSession));
131
137
 
132
- export { ChatEditingEditorContextKeys, ObservableEditorSession, ctxHasEditorModification, ctxHasRequestInProgress, ctxIsGlobalEditingSession, ctxRequestCount, ctxReviewModeEnabled };
138
+ export { ChatEditingEditorContextKeys, ObservableEditorSession, ctxHasEditorModification, ctxHasRequestInProgress, ctxIsCurrentlyBeingModified, ctxIsGlobalEditingSession, ctxRequestCount, ctxReviewModeEnabled };
@@ -30,6 +30,8 @@ export declare namespace ChatContextKeys {
30
30
  * True when the chat widget is locked to the coding agent session.
31
31
  */
32
32
  const lockedToCodingAgent: RawContextKey<boolean>;
33
+ const withinEditSessionDiff: RawContextKey<boolean>;
34
+ const filePartOfEditSession: RawContextKey<boolean>;
33
35
  const extensionParticipantRegistered: RawContextKey<boolean>;
34
36
  const panelParticipantRegistered: RawContextKey<boolean>;
35
37
  const chatEditingCanUndo: RawContextKey<boolean>;
@@ -52,6 +54,7 @@ export declare namespace ChatContextKeys {
52
54
  disabled: RawContextKey<boolean>;
53
55
  untrusted: RawContextKey<boolean>;
54
56
  later: RawContextKey<boolean>;
57
+ registered: RawContextKey<boolean>;
55
58
  };
56
59
  const Entitlement: {
57
60
  signedOut: RawContextKey<boolean>;
@@ -84,4 +87,8 @@ export declare namespace ChatContextKeys {
84
87
  }
85
88
  export declare namespace ChatContextKeyExprs {
86
89
  const inEditingMode: import("../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined;
90
+ /**
91
+ * Context expression that indicates when the welcome/setup view should be shown
92
+ */
93
+ const chatSetupTriggerContext: import("../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined;
87
94
  }
@@ -3,6 +3,7 @@ import { localize } from '../../../../nls.js';
3
3
  import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
4
4
  import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys.js';
5
5
  import { RemoteNameContext } from '../../../common/contextkeys.js';
6
+ import { ChatEntitlementContextKeys } from '../../../services/chat/common/chatEntitlementService.js';
6
7
  import { ChatModeKind } from './constants.js';
7
8
 
8
9
  var ChatContextKeys;
@@ -11,99 +12,109 @@ var ChatContextKeys;
11
12
  'chatSessionResponseVote',
12
13
  '',
13
14
  { type: 'string', description: ( localize(
14
- 5480,
15
+ 5542,
15
16
  "When the response has been voted up, is set to 'up'. When voted down, is set to 'down'. Otherwise an empty string."
16
17
  )) }
17
18
  ));
18
19
  ChatContextKeys.responseDetectedAgentCommand = ( new RawContextKey(
19
20
  'chatSessionResponseDetectedAgentOrCommand',
20
21
  false,
21
- { type: 'boolean', description: ( localize(5481, "When the agent or command was automatically detected")) }
22
+ { type: 'boolean', description: ( localize(5543, "When the agent or command was automatically detected")) }
22
23
  ));
23
24
  ChatContextKeys.responseSupportsIssueReporting = ( new RawContextKey(
24
25
  'chatResponseSupportsIssueReporting',
25
26
  false,
26
- { type: 'boolean', description: ( localize(5482, "True when the current chat response supports issue reporting.")) }
27
+ { type: 'boolean', description: ( localize(5544, "True when the current chat response supports issue reporting.")) }
27
28
  ));
28
29
  ChatContextKeys.responseIsFiltered = ( new RawContextKey(
29
30
  'chatSessionResponseFiltered',
30
31
  false,
31
- { type: 'boolean', description: ( localize(5483, "True when the chat response was filtered out by the server.")) }
32
+ { type: 'boolean', description: ( localize(5545, "True when the chat response was filtered out by the server.")) }
32
33
  ));
33
34
  ChatContextKeys.responseHasError = ( new RawContextKey(
34
35
  'chatSessionResponseError',
35
36
  false,
36
- { type: 'boolean', description: ( localize(5484, "True when the chat response resulted in an error.")) }
37
+ { type: 'boolean', description: ( localize(5546, "True when the chat response resulted in an error.")) }
37
38
  ));
38
39
  ChatContextKeys.requestInProgress = ( new RawContextKey(
39
40
  'chatSessionRequestInProgress',
40
41
  false,
41
- { type: 'boolean', description: ( localize(5485, "True when the current request is still in progress.")) }
42
+ { type: 'boolean', description: ( localize(5547, "True when the current request is still in progress.")) }
42
43
  ));
43
44
  ChatContextKeys.currentlyEditing = ( new RawContextKey(
44
45
  'chatSessionCurrentlyEditing',
45
46
  false,
46
- { type: 'boolean', description: ( localize(5486, "True when the current request is being edited.")) }
47
+ { type: 'boolean', description: ( localize(5548, "True when the current request is being edited.")) }
47
48
  ));
48
49
  ChatContextKeys.currentlyEditingInput = ( new RawContextKey(
49
50
  'chatSessionCurrentlyEditingInput',
50
51
  false,
51
- { type: 'boolean', description: ( localize(5487, "True when the current request input at the bottom is being edited.")) }
52
- ));
53
- ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(5488, "The chat item is a response.")) }));
54
- ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(5489, "The chat item is a request")) }));
55
- ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(5490, "The id of the chat item.")) }));
56
- ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(5491, "The id of the last chat item.")) }));
57
- ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(5492, "True when the chat text edits have been applied.")) }));
58
- ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(5493, "True when the chat input has text.")) }));
59
- ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(5494, "True when the chat input has focus.")) }));
60
- ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(5495, "True when focus is in the chat input, false otherwise.")) }));
61
- ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(5496, "True when focus is in the chat widget, false otherwise.")) }));
62
- ChatContextKeys.inChatEditor = ( new RawContextKey('inChatEditor', false, { type: 'boolean', description: ( localize(5497, "Whether focus is in a chat editor.")) }));
52
+ { type: 'boolean', description: ( localize(5549, "True when the current request input at the bottom is being edited.")) }
53
+ ));
54
+ ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(5550, "The chat item is a response.")) }));
55
+ ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(5551, "The chat item is a request")) }));
56
+ ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(5552, "The id of the chat item.")) }));
57
+ ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(5553, "The id of the last chat item.")) }));
58
+ ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(5554, "True when the chat text edits have been applied.")) }));
59
+ ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(5555, "True when the chat input has text.")) }));
60
+ ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(5556, "True when the chat input has focus.")) }));
61
+ ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(5557, "True when focus is in the chat input, false otherwise.")) }));
62
+ ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(5558, "True when focus is in the chat widget, false otherwise.")) }));
63
+ ChatContextKeys.inChatEditor = ( new RawContextKey('inChatEditor', false, { type: 'boolean', description: ( localize(5559, "Whether focus is in a chat editor.")) }));
63
64
  ChatContextKeys.hasPromptFile = ( new RawContextKey(
64
65
  'chatPromptFileAttached',
65
66
  false,
66
- { type: 'boolean', description: ( localize(5498, "True when the chat has a prompt file attached.")) }
67
+ { type: 'boolean', description: ( localize(5560, "True when the chat has a prompt file attached.")) }
67
68
  ));
68
69
  ChatContextKeys.chatModeKind = ( new RawContextKey(
69
70
  'chatMode',
70
71
  ChatModeKind.Ask,
71
- { type: 'string', description: ( localize(5499, "The 'kind' of the current chat mode- Agent for custom modes.")) }
72
+ { type: 'string', description: ( localize(5561, "The 'kind' of the current chat mode- Agent for custom modes.")) }
72
73
  ));
73
- ChatContextKeys.chatToolCount = ( new RawContextKey('chatToolCount', 0, { type: 'number', description: ( localize(5500, "The number of tools available in the current chat mode.")) }));
74
+ ChatContextKeys.chatToolCount = ( new RawContextKey('chatToolCount', 0, { type: 'number', description: ( localize(5562, "The number of tools available in the current chat mode.")) }));
74
75
  ChatContextKeys.chatToolGroupingThreshold = ( new RawContextKey(
75
76
  'chat.toolGroupingThreshold',
76
77
  0,
77
- { type: 'number', description: ( localize(5501, "The number of tools at which we start doing virtual grouping.")) }
78
+ { type: 'number', description: ( localize(5563, "The number of tools at which we start doing virtual grouping.")) }
78
79
  ));
79
80
  ChatContextKeys.supported = ( ContextKeyExpr.or(( IsWebContext.negate()), ( RemoteNameContext.notEqualsTo('')), ( ContextKeyExpr.has('config.chat.experimental.serverlessWebEnabled'))));
80
81
  ChatContextKeys.enabled = ( new RawContextKey('chatIsEnabled', false, { type: 'boolean', description: ( localize(
81
- 5502,
82
+ 5564,
82
83
  "True when chat is enabled because a default chat participant is activated with an implementation."
83
84
  )) }));
84
85
  ChatContextKeys.lockedToCodingAgent = ( new RawContextKey(
85
86
  'lockedToCodingAgent',
86
87
  false,
87
- { type: 'boolean', description: ( localize(5503, "True when the chat widget is locked to the coding agent session.")) }
88
+ { type: 'boolean', description: ( localize(5565, "True when the chat widget is locked to the coding agent session.")) }
89
+ ));
90
+ ChatContextKeys.withinEditSessionDiff = ( new RawContextKey(
91
+ 'withinEditSessionDiff',
92
+ false,
93
+ { type: 'boolean', description: ( localize(5566, "True when the chat widget dispatches to the edit session chat.")) }
94
+ ));
95
+ ChatContextKeys.filePartOfEditSession = ( new RawContextKey(
96
+ 'filePartOfEditSession',
97
+ false,
98
+ { type: 'boolean', description: ( localize(5567, "True when the chat widget is within a file with an edit session.")) }
88
99
  ));
89
100
  ChatContextKeys.extensionParticipantRegistered = ( new RawContextKey(
90
101
  'chatPanelExtensionParticipantRegistered',
91
102
  false,
92
103
  { type: 'boolean', description: ( localize(
93
- 5504,
104
+ 5568,
94
105
  "True when a default chat participant is registered for the panel from an extension."
95
106
  )) }
96
107
  ));
97
108
  ChatContextKeys.panelParticipantRegistered = ( new RawContextKey(
98
109
  'chatPanelParticipantRegistered',
99
110
  false,
100
- { type: 'boolean', description: ( localize(5505, "True when a default chat participant is registered for the panel.")) }
111
+ { type: 'boolean', description: ( localize(5569, "True when a default chat participant is registered for the panel.")) }
101
112
  ));
102
113
  ChatContextKeys.chatEditingCanUndo = ( new RawContextKey(
103
114
  'chatEditingCanUndo',
104
115
  false,
105
116
  { type: 'boolean', description: ( localize(
106
- 5506,
117
+ 5570,
107
118
  "True when it is possible to undo an interaction in the editing panel."
108
119
  )) }
109
120
  ));
@@ -111,109 +122,93 @@ var ChatContextKeys;
111
122
  'chatEditingCanRedo',
112
123
  false,
113
124
  { type: 'boolean', description: ( localize(
114
- 5507,
125
+ 5571,
115
126
  "True when it is possible to redo an interaction in the editing panel."
116
127
  )) }
117
128
  ));
118
129
  ChatContextKeys.languageModelsAreUserSelectable = ( new RawContextKey(
119
130
  'chatModelsAreUserSelectable',
120
131
  false,
121
- { type: 'boolean', description: ( localize(5508, "True when the chat model can be selected manually by the user.")) }
132
+ { type: 'boolean', description: ( localize(5572, "True when the chat model can be selected manually by the user.")) }
122
133
  ));
123
134
  ChatContextKeys.extensionInvalid = ( new RawContextKey(
124
135
  'chatExtensionInvalid',
125
136
  false,
126
137
  { type: 'boolean', description: ( localize(
127
- 5509,
138
+ 5573,
128
139
  "True when the installed chat extension is invalid and needs to be updated."
129
140
  )) }
130
141
  ));
131
142
  ChatContextKeys.inputCursorAtTop = ( new RawContextKey('chatCursorAtTop', false));
132
143
  ChatContextKeys.inputHasAgent = ( new RawContextKey('chatInputHasAgent', false));
133
144
  ChatContextKeys.location = ( new RawContextKey('chatLocation', undefined));
134
- ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(5510, "True when the quick chat UI has focus, false otherwise.")) }));
145
+ ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(5574, "True when the quick chat UI has focus, false otherwise.")) }));
135
146
  ChatContextKeys.hasFileAttachments = ( new RawContextKey(
136
147
  'chatHasFileAttachments',
137
148
  false,
138
- { type: 'boolean', description: ( localize(5511, "True when the chat has file attachments.")) }
149
+ { type: 'boolean', description: ( localize(5575, "True when the chat has file attachments.")) }
139
150
  ));
140
151
  ChatContextKeys.remoteJobCreating = ( new RawContextKey(
141
152
  'chatRemoteJobCreating',
142
153
  false,
143
- { type: 'boolean', description: ( localize(5512, "True when a remote coding agent job is being created.")) }
154
+ { type: 'boolean', description: ( localize(5576, "True when a remote coding agent job is being created.")) }
144
155
  ));
145
- ChatContextKeys.hasRemoteCodingAgent = ( new RawContextKey('hasRemoteCodingAgent', false, ( localize(5513, "Whether any remote coding agent is available"))));
156
+ ChatContextKeys.hasRemoteCodingAgent = ( new RawContextKey('hasRemoteCodingAgent', false, ( localize(5577, "Whether any remote coding agent is available"))));
146
157
  ChatContextKeys.enableRemoteCodingAgentPromptFileOverlay = ( new RawContextKey('enableRemoteCodingAgentPromptFileOverlay', false, ( localize(
147
- 5514,
158
+ 5578,
148
159
  "Whether the remote coding agent prompt file overlay feature is enabled"
149
160
  ))));
150
161
  ChatContextKeys.skipChatRequestInProgressMessage = ( new RawContextKey(
151
162
  'chatSkipRequestInProgressMessage',
152
163
  false,
153
- { type: 'boolean', description: ( localize(5515, "True when the chat request in progress message should be skipped.")) }
164
+ { type: 'boolean', description: ( localize(5579, "True when the chat request in progress message should be skipped.")) }
154
165
  ));
155
- ChatContextKeys.Setup = {
156
- hidden: ( new RawContextKey('chatSetupHidden', false, true)),
157
- installed: ( new RawContextKey('chatSetupInstalled', false, true)),
158
- disabled: ( new RawContextKey('chatSetupDisabled', false, true)),
159
- untrusted: ( new RawContextKey('chatSetupUntrusted', false, true)),
160
- later: ( new RawContextKey('chatSetupLater', false, true))
161
- };
162
- ChatContextKeys.Entitlement = {
163
- signedOut: ( new RawContextKey('chatEntitlementSignedOut', false, true)),
164
- canSignUp: ( new RawContextKey('chatPlanCanSignUp', false, true)),
165
- planFree: ( new RawContextKey('chatPlanFree', false, true)),
166
- planPro: ( new RawContextKey('chatPlanPro', false, true)),
167
- planProPlus: ( new RawContextKey('chatPlanProPlus', false, true)),
168
- planBusiness: ( new RawContextKey('chatPlanBusiness', false, true)),
169
- planEnterprise: ( new RawContextKey('chatPlanEnterprise', false, true)),
170
- organisations: ( new RawContextKey('chatEntitlementOrganisations', undefined, true)),
171
- internal: ( new RawContextKey('chatEntitlementInternal', false, true)),
172
- sku: ( new RawContextKey('chatEntitlementSku', undefined, true)),
173
- };
174
- ChatContextKeys.chatQuotaExceeded = ( new RawContextKey('chatQuotaExceeded', false, true));
175
- ChatContextKeys.completionsQuotaExceeded = ( new RawContextKey('completionsQuotaExceeded', false, true));
166
+ ChatContextKeys.Setup = ChatEntitlementContextKeys.Setup;
167
+ ChatContextKeys.Entitlement = ChatEntitlementContextKeys.Entitlement;
168
+ ChatContextKeys.chatQuotaExceeded = ChatEntitlementContextKeys.chatQuotaExceeded;
169
+ ChatContextKeys.completionsQuotaExceeded = ChatEntitlementContextKeys.completionsQuotaExceeded;
176
170
  ChatContextKeys.Editing = {
177
171
  hasToolConfirmation: ( new RawContextKey(
178
172
  'chatHasToolConfirmation',
179
173
  false,
180
- { type: 'boolean', description: ( localize(5516, "True when a tool confirmation is present.")) }
174
+ { type: 'boolean', description: ( localize(5580, "True when a tool confirmation is present.")) }
181
175
  )),
182
176
  };
183
177
  ChatContextKeys.Tools = {
184
- toolsCount: ( new RawContextKey('toolsCount', 0, { type: 'number', description: ( localize(5517, "The count of tools available in the chat.")) }))
178
+ toolsCount: ( new RawContextKey('toolsCount', 0, { type: 'number', description: ( localize(5581, "The count of tools available in the chat.")) }))
185
179
  };
186
180
  ChatContextKeys.Modes = {
187
181
  hasCustomChatModes: ( new RawContextKey(
188
182
  'chatHasCustomChatModes',
189
183
  false,
190
- { type: 'boolean', description: ( localize(5518, "True when the chat has custom chat modes available.")) }
184
+ { type: 'boolean', description: ( localize(5582, "True when the chat has custom chat modes available.")) }
191
185
  )),
192
186
  };
193
187
  ChatContextKeys.panelLocation = ( new RawContextKey(
194
188
  'chatPanelLocation',
195
189
  undefined,
196
- { type: 'number', description: ( localize(5519, "The location of the chat panel.")) }
190
+ { type: 'number', description: ( localize(5583, "The location of the chat panel.")) }
197
191
  ));
198
192
  ChatContextKeys.inEmptyStateWithHistoryEnabled = ( new RawContextKey(
199
193
  'chatInEmptyStateWithHistoryEnabled',
200
194
  false,
201
195
  { type: 'boolean', description: ( localize(
202
- 5520,
196
+ 5584,
203
197
  "True when chat empty state history is enabled AND chat is in empty state."
204
198
  )) }
205
199
  ));
206
- ChatContextKeys.sessionType = ( new RawContextKey('chatSessionType', '', { type: 'string', description: ( localize(5521, "The type of the current chat session item.")) }));
207
- ChatContextKeys.isHistoryItem = ( new RawContextKey('chatIsHistoryItem', false, { type: 'boolean', description: ( localize(5522, "True when the chat session item is from history.")) }));
200
+ ChatContextKeys.sessionType = ( new RawContextKey('chatSessionType', '', { type: 'string', description: ( localize(5585, "The type of the current chat session item.")) }));
201
+ ChatContextKeys.isHistoryItem = ( new RawContextKey('chatIsHistoryItem', false, { type: 'boolean', description: ( localize(5586, "True when the chat session item is from history.")) }));
208
202
  ChatContextKeys.isActiveSession = ( new RawContextKey(
209
203
  'chatIsActiveSession',
210
204
  false,
211
- { type: 'boolean', description: ( localize(5523, "True when the chat session is currently active (not deletable).")) }
205
+ { type: 'boolean', description: ( localize(5587, "True when the chat session is currently active (not deletable).")) }
212
206
  ));
213
207
  })(ChatContextKeys || (ChatContextKeys = {}));
214
208
  var ChatContextKeyExprs;
215
209
  (function (ChatContextKeyExprs) {
216
210
  ChatContextKeyExprs.inEditingMode = ( ContextKeyExpr.or(( ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Edit)), ( ChatContextKeys.chatModeKind.isEqualTo(ChatModeKind.Agent))));
211
+ ChatContextKeyExprs.chatSetupTriggerContext = ( ContextKeyExpr.or(( ChatContextKeys.Setup.installed.negate()), ChatContextKeys.Entitlement.canSignUp));
217
212
  })(ChatContextKeyExprs || (ChatContextKeyExprs = {}));
218
213
 
219
214
  export { ChatContextKeyExprs, ChatContextKeys };
@@ -3,7 +3,7 @@ import { Event } from "../../../../base/common/event.js";
3
3
  import { IDisposable } from "../../../../base/common/lifecycle.js";
4
4
  import { IObservable, IReader } from "../../../../base/common/observable.js";
5
5
  import { URI } from "../../../../base/common/uri.js";
6
- import { TextEdit } from "../../../../editor/common/languages.js";
6
+ import { Location, TextEdit } from "../../../../editor/common/languages.js";
7
7
  import { ITextModel } from "../../../../editor/common/model.js";
8
8
  import { RawContextKey } from "../../../../platform/contextkey/common/contextkey.js";
9
9
  import { IEditorPane } from "../../../common/editor.js";
@@ -198,6 +198,7 @@ export interface IModifiedFileEntry {
198
198
  */
199
199
  readonly linesRemoved?: IObservable<number>;
200
200
  getEditorIntegration(editor: IEditorPane): IModifiedFileEntryEditorIntegration;
201
+ hasModificationAt(location: Location): boolean;
201
202
  }
202
203
  export interface IChatEditingSessionStream {
203
204
  textEdits(resource: URI, textEdits: TextEdit[], isLastEdits: boolean, responseModel: IChatResponseModel): void;
@@ -17,9 +17,9 @@ var ChatEditingSessionState;
17
17
  ChatEditingSessionState[ChatEditingSessionState["Disposed"] = 3] = "Disposed";
18
18
  })(ChatEditingSessionState || (ChatEditingSessionState = {}));
19
19
  const CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME = 'chat-editing-multi-diff-source';
20
- const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(5524, "The current state of the file in the chat editing widget"))));
20
+ const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(5588, "The current state of the file in the chat editing widget"))));
21
21
  const chatEditingAgentSupportsReadonlyReferencesContextKey = ( new RawContextKey('chatEditingAgentSupportsReadonlyReferences', undefined, ( localize(
22
- 5525,
22
+ 5589,
23
23
  "Whether the chat editing agent supports readonly references (temporary)"
24
24
  ))));
25
25
  const decidedChatEditingResourceContextKey = ( new RawContextKey('decidedChatEditingResource', []));
@@ -1,8 +1,7 @@
1
1
  import { IObservable } from "../../../../base/common/observable.js";
2
- import { ChatFontSize } from "./chatLayoutService.js";
3
2
  export declare const IChatLayoutService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatLayoutService>;
4
3
  export interface IChatLayoutService {
5
4
  readonly _serviceBrand: undefined;
6
5
  readonly fontFamily: IObservable<string | null>;
7
- readonly fontSize: IObservable<ChatFontSize>;
6
+ readonly fontSize: IObservable<number>;
8
7
  }