@codingame/monaco-vscode-api 24.3.0 → 25.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 (943) hide show
  1. package/debugProtocol.d.ts +1 -1
  2. package/missing-services.js +30 -34
  3. package/package.json +8 -8
  4. package/services.d.ts +16 -16
  5. package/services.js +19 -19
  6. package/vscode/product.json.js +1 -1
  7. package/vscode/src/vs/base/browser/dom.js +14 -2
  8. package/vscode/src/vs/base/browser/ui/button/button.d.ts +3 -1
  9. package/vscode/src/vs/base/browser/ui/button/button.js +16 -8
  10. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +3 -8
  11. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  12. package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +5 -0
  13. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +6 -1
  14. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +3 -0
  15. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +17 -1
  16. package/vscode/src/vs/base/browser/ui/list/list.css +1 -0
  17. package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +12 -2
  18. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +15 -4
  19. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -0
  20. package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +1 -0
  21. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +1 -0
  22. package/vscode/src/vs/base/common/actions.d.ts +1 -1
  23. package/vscode/src/vs/base/common/actions.js +1 -1
  24. package/vscode/src/vs/base/common/codicons.d.ts +5 -2
  25. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -2
  26. package/vscode/src/vs/base/common/codiconsLibrary.js +5 -2
  27. package/vscode/src/vs/base/common/date.js +14 -22
  28. package/vscode/src/vs/base/common/equals.d.ts +46 -15
  29. package/vscode/src/vs/base/common/equals.js +51 -24
  30. package/vscode/src/vs/base/common/errorMessage.js +6 -6
  31. package/vscode/src/vs/base/common/event.d.ts +12 -2
  32. package/vscode/src/vs/base/common/event.js +4 -4
  33. package/vscode/src/vs/base/common/fuzzyScorer.d.ts +1 -1
  34. package/vscode/src/vs/base/common/fuzzyScorer.js +2 -2
  35. package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
  36. package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
  37. package/vscode/src/vs/base/common/marshallingIds.d.ts +1 -1
  38. package/vscode/src/vs/base/common/marshallingIds.js +1 -1
  39. package/vscode/src/vs/base/common/oauth.d.ts +12 -4
  40. package/vscode/src/vs/base/common/oauth.js +63 -60
  41. package/vscode/src/vs/base/common/observableInternal/base.js +1 -1
  42. package/vscode/src/vs/base/common/observableInternal/changeTracker.js +1 -1
  43. package/vscode/src/vs/base/common/observableInternal/experimental/utils.js +1 -1
  44. package/vscode/src/vs/base/common/observableInternal/index.js +1 -1
  45. package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +1 -1
  46. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +1 -0
  47. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +1 -1
  48. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +1 -1
  49. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +2 -0
  50. package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +17 -1
  51. package/vscode/src/vs/base/common/observableInternal/utils/runOnChange.js +1 -1
  52. package/vscode/src/vs/base/common/observableInternal/utils/utils.js +1 -1
  53. package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.js +1 -1
  54. package/vscode/src/vs/base/common/observableInternal/utils/valueWithChangeEvent.js +1 -1
  55. package/vscode/src/vs/base/common/strings.js +2 -1
  56. package/vscode/src/vs/base/parts/ipc/common/ipc.js +1 -0
  57. package/vscode/src/vs/editor/browser/controller/dragScrolling.js +2 -1
  58. package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
  59. package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +1 -2
  60. package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
  61. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
  62. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.js +16 -2
  63. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +5 -2
  64. package/vscode/src/vs/editor/browser/coreCommands.js +5 -4
  65. package/vscode/src/vs/editor/browser/editorExtensions.js +9 -9
  66. package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.d.ts +4 -0
  67. package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.js +7 -1
  68. package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +13 -1
  69. package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.js +7 -4
  70. package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +13 -3
  71. package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.js +36 -1
  72. package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.js +36 -1
  73. package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +29 -3
  74. package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +8 -0
  75. package/vscode/src/vs/editor/browser/observableCodeEditor.js +24 -15
  76. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +7 -2
  77. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +4 -4
  78. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
  79. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  80. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
  81. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  82. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
  83. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  84. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
  85. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
  86. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
  87. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  88. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +7 -6
  89. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  90. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
  91. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +61 -56
  92. package/vscode/src/vs/editor/common/config/editorOptions.js +410 -410
  93. package/vscode/src/vs/editor/common/config/fontInfo.d.ts +1 -1
  94. package/vscode/src/vs/editor/common/config/fontInfo.js +1 -1
  95. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
  96. package/vscode/src/vs/editor/common/core/range.d.ts +3 -0
  97. package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +3 -3
  98. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.d.ts +1 -1
  99. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +6 -3
  100. package/vscode/src/vs/editor/common/editorContextKeys.js +47 -47
  101. package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +5 -5
  102. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  103. package/vscode/src/vs/editor/common/languages/nullTokenize.js +1 -1
  104. package/vscode/src/vs/editor/common/languages/supports/tokenization.d.ts +3 -0
  105. package/vscode/src/vs/editor/common/languages/supports/tokenization.js +29 -1
  106. package/vscode/src/vs/editor/common/languages.d.ts +17 -3
  107. package/vscode/src/vs/editor/common/languages.js +58 -57
  108. package/vscode/src/vs/editor/common/model/decorationProvider.d.ts +15 -2
  109. package/vscode/src/vs/editor/common/model/decorationProvider.js +25 -0
  110. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  111. package/vscode/src/vs/editor/common/model/indentationGuesser.js +2 -2
  112. package/vscode/src/vs/editor/common/model/textModel.d.ts +10 -7
  113. package/vscode/src/vs/editor/common/model/textModel.js +44 -30
  114. package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +4 -1
  115. package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +5 -3
  116. package/vscode/src/vs/editor/common/model/tokens/annotations.d.ts +85 -0
  117. package/vscode/src/vs/editor/common/model/tokens/annotations.js +180 -0
  118. package/vscode/src/vs/editor/common/model/tokens/tokenizationFontDecorationsProvider.d.ts +24 -0
  119. package/vscode/src/vs/editor/common/model/tokens/tokenizationFontDecorationsProvider.js +126 -0
  120. package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.d.ts +3 -1
  121. package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.js +9 -0
  122. package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +1 -0
  123. package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.js +9 -0
  124. package/vscode/src/vs/editor/common/standaloneStrings.d.ts +1 -0
  125. package/vscode/src/vs/editor/common/standaloneStrings.js +53 -48
  126. package/vscode/src/vs/editor/common/textModelEvents.d.ts +37 -0
  127. package/vscode/src/vs/editor/common/textModelEvents.js +19 -1
  128. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  129. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +4 -0
  130. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +21 -14
  131. package/vscode/src/vs/editor/common/viewModel.d.ts +1 -0
  132. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  133. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  134. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  135. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  136. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -27
  137. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  138. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
  139. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  140. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  141. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  142. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  143. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  144. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  145. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  146. package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +4 -5
  147. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  148. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  149. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  150. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
  151. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  152. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  153. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  154. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
  155. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  156. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  157. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  158. package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
  159. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
  160. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
  161. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  162. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  163. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  164. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  165. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +15 -15
  166. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
  167. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  168. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  169. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  170. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  171. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  172. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  173. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  174. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  175. package/vscode/src/vs/editor/contrib/hover/browser/hover.css +1 -1
  176. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  177. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  178. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
  179. package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
  180. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +11 -11
  181. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  182. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  183. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
  184. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -0
  185. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
  186. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
  187. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
  188. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  189. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  190. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
  191. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +24 -7
  192. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +4 -3
  193. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +1 -1
  194. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +2 -2
  195. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.d.ts +3 -1
  196. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +57 -32
  197. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +3 -2
  198. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +24 -22
  199. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  200. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +44 -23
  201. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +2 -1
  202. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
  203. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +17 -19
  204. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +2 -1
  205. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +6 -17
  206. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.d.ts +2 -1
  207. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +7 -15
  208. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +2 -1
  209. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +7 -15
  210. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +3 -2
  211. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +13 -11
  212. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +3 -1
  213. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +15 -19
  214. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +5 -2
  215. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +25 -18
  216. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.d.ts +2 -0
  217. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +62 -91
  218. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistnaceWidgetPlacement.d.ts +54 -0
  219. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistnaceWidgetPlacement.js +105 -0
  220. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.d.ts +2 -1
  221. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +2 -1
  222. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.d.ts +3 -0
  223. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +42 -22
  224. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -5
  225. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  226. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  227. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +35 -35
  228. package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.d.ts +1 -0
  229. package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +29 -78
  230. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  231. package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
  232. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  233. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  234. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  235. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  236. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  237. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  238. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +31 -36
  239. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  240. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  241. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  242. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  243. package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +3 -2
  244. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  245. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  246. package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.d.ts +2 -0
  247. package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +33 -0
  248. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  249. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  250. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +1 -0
  251. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +13 -4
  252. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +4 -3
  253. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +120 -125
  254. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +1 -0
  255. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +9 -8
  256. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +56 -28
  257. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +1 -0
  258. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +24 -19
  259. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +21 -6
  260. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  261. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.d.ts +8 -1
  262. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +11 -6
  263. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  264. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  265. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  266. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  267. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  268. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  269. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  270. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  271. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +6 -9
  272. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +20 -3
  273. package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +3 -0
  274. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +63 -64
  275. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  276. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
  277. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +11 -8
  278. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
  279. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
  280. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  281. package/vscode/src/vs/platform/actions/common/actions.d.ts +1 -6
  282. package/vscode/src/vs/platform/actions/common/actions.js +1 -3
  283. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  284. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  285. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  286. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  287. package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
  288. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  289. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  290. package/vscode/src/vs/platform/dialogs/browser/dialog.js +1 -1
  291. package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
  292. package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +22 -0
  293. package/vscode/src/vs/platform/dnd/browser/dnd.js +15 -1
  294. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
  295. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  296. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +10 -8
  297. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
  298. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +0 -6
  299. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +0 -6
  300. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  301. package/vscode/src/vs/platform/files/common/files.d.ts +12 -1
  302. package/vscode/src/vs/platform/files/common/files.js +7 -6
  303. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  304. package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
  305. package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  306. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
  307. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
  308. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
  309. package/vscode/src/vs/platform/list/browser/listService.js +27 -27
  310. package/vscode/src/vs/platform/log/common/log.js +6 -6
  311. package/vscode/src/vs/platform/markers/common/markerService.js +6 -6
  312. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  313. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  314. package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +1 -1
  315. package/vscode/src/vs/platform/product/common/product.js +3 -3
  316. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +46 -8
  317. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +13 -13
  318. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +81 -78
  319. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +14 -5
  320. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +4 -0
  321. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +13 -1
  322. package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +3 -1
  323. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +59 -27
  324. package/vscode/src/vs/platform/quickinput/browser/quickInputList.d.ts +3 -2
  325. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +44 -47
  326. package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -1
  327. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.d.ts +4 -0
  328. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +65 -9
  329. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
  330. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  331. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +3 -2
  332. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +8 -8
  333. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +7 -4
  334. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +20 -14
  335. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +1 -1
  336. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -5
  337. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +29 -28
  338. package/vscode/src/vs/platform/request/common/request.js +20 -20
  339. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +9 -1
  340. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +11 -6
  341. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -1
  342. package/vscode/src/vs/platform/terminal/common/terminal.js +1 -0
  343. package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +32 -32
  344. package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +0 -5
  345. package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
  346. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  347. package/vscode/src/vs/platform/theme/common/colors/baseColors.d.ts +1 -0
  348. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +18 -17
  349. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  350. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  351. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
  352. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  353. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  354. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +12 -12
  355. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
  356. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
  357. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  358. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  359. package/vscode/src/vs/platform/theme/common/themeService.d.ts +9 -0
  360. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
  361. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +21 -21
  362. package/vscode/src/vs/{workbench/contrib → platform}/url/common/trustedDomains.d.ts +1 -1
  363. package/vscode/src/vs/{workbench/contrib → platform}/url/common/trustedDomains.js +3 -2
  364. package/vscode/src/vs/{workbench/contrib → platform}/url/common/urlGlob.d.ts +1 -1
  365. package/vscode/src/vs/{workbench/contrib → platform}/url/common/urlGlob.js +1 -1
  366. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  367. package/vscode/src/vs/platform/userDataSync/common/abstractJsonSynchronizer.js +3 -0
  368. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
  369. package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
  370. package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
  371. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  372. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
  373. package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +4 -0
  374. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  375. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +3 -3
  376. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +32 -18
  377. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +13 -1
  378. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -0
  379. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
  380. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +4 -4
  381. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +9 -6
  382. package/vscode/src/vs/workbench/api/common/extHostChatContext.d.ts +1 -1
  383. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -5
  384. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +8 -29
  385. package/vscode/src/vs/workbench/api/common/extHostCodeMapper.d.ts +1 -1
  386. package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +1 -1
  387. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  388. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  389. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  390. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +1 -1
  391. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +3 -3
  392. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -2
  393. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  394. package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +5 -2
  395. package/vscode/src/vs/workbench/api/common/extHostMcp.js +47 -21
  396. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +4 -4
  397. package/vscode/src/vs/workbench/api/common/extHostOutput.d.ts +2 -1
  398. package/vscode/src/vs/workbench/api/common/extHostOutput.js +40 -25
  399. package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +2 -20
  400. package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -1
  401. package/vscode/src/vs/workbench/api/common/extHostSCM.js +7 -3
  402. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  403. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -3
  404. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  405. package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +16 -3
  406. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  407. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -6
  408. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +3 -3
  409. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +3 -2
  410. package/vscode/src/vs/workbench/api/common/extHostTypes.js +1 -0
  411. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +2 -7
  412. package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +6 -1
  413. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  414. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
  415. package/vscode/src/vs/workbench/browser/actions/developerActions.js +32 -32
  416. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +139 -136
  417. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  418. package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
  419. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
  420. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
  421. package/vscode/src/vs/workbench/browser/dnd.js +9 -0
  422. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  423. package/vscode/src/vs/workbench/browser/labels.js +4 -4
  424. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +20 -20
  425. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +25 -25
  426. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +4 -4
  427. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
  428. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
  429. package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
  430. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
  431. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
  432. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
  433. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.d.ts +3 -0
  434. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +48 -41
  435. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +57 -10
  436. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +1 -1
  437. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
  438. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -7
  439. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.d.ts +6 -0
  440. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +158 -138
  441. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +35 -22
  442. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
  443. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +8 -8
  444. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
  445. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
  446. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
  447. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
  448. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
  449. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
  450. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
  451. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +1 -1
  452. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
  453. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
  454. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
  455. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  456. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
  457. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
  458. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
  459. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
  460. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +9 -9
  461. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
  462. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
  463. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
  464. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
  465. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
  466. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +3 -3
  467. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +33 -33
  468. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +4 -4
  469. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
  470. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
  471. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
  472. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +14 -14
  473. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.d.ts +1 -0
  474. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +4 -2
  475. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
  476. package/vscode/src/vs/workbench/browser/parts/views/media/views.css +7 -6
  477. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +18 -18
  478. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
  479. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
  480. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  481. package/vscode/src/vs/workbench/browser/quickaccess.d.ts +1 -1
  482. package/vscode/src/vs/workbench/browser/quickaccess.js +9 -9
  483. package/vscode/src/vs/workbench/browser/window.js +16 -16
  484. package/vscode/src/vs/workbench/browser/workbench.contribution.js +251 -238
  485. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  486. package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
  487. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  488. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +7 -0
  489. package/vscode/src/vs/workbench/common/editor/editorInput.js +3 -0
  490. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  491. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  492. package/vscode/src/vs/workbench/common/editor.js +4 -4
  493. package/vscode/src/vs/workbench/common/theme.js +160 -160
  494. package/vscode/src/vs/workbench/common/views.js +4 -4
  495. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +160 -160
  496. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  497. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +2 -1
  498. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +3 -3
  499. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +68 -652
  500. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +6 -4
  501. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +14 -27
  502. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +33 -17
  503. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +39 -12
  504. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentResolveService.service.d.ts → attachments/chatAttachmentResolveService.service.d.ts} +8 -8
  505. package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentResolveService.service.js → attachments/chatAttachmentResolveService.service.js} +1 -1
  506. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextPickService.d.ts → attachments/chatContextPickService.d.ts} +7 -7
  507. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextPickService.js → attachments/chatContextPickService.js} +7 -7
  508. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextPickService.service.d.ts → attachments/chatContextPickService.service.d.ts} +2 -2
  509. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextPickService.service.js → attachments/chatContextPickService.service.js} +1 -1
  510. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatDynamicVariables.d.ts +2 -2
  511. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → attachments}/chatDynamicVariables.js +1 -1
  512. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib/screenshot.d.ts → attachments/chatScreenshotContext.d.ts} +1 -1
  513. package/vscode/src/vs/workbench/contrib/chat/browser/{contrib/screenshot.js → attachments/chatScreenshotContext.js} +1 -1
  514. package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +15 -10
  515. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
  516. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +11 -7
  517. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +2 -2
  518. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +10 -10
  519. package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.service.d.ts +4 -0
  520. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextService.service.js → contextContrib/chatContextService.service.js} +1 -1
  521. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +2 -2
  522. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.js +1 -1
  523. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatContentParts.d.ts +5 -5
  524. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownAnchorService.service.d.ts +3 -3
  525. package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownAnchorService.service.js +1 -1
  526. package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditorInput.d.ts → widgetHosts/editor/chatEditorInput.d.ts} +17 -24
  527. package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditorInput.js → widgetHosts/editor/chatEditorInput.js} +44 -105
  528. package/vscode/src/vs/workbench/contrib/chat/common/{chatActions.d.ts → actions/chatActions.d.ts} +2 -2
  529. package/vscode/src/vs/workbench/contrib/chat/common/{chatActions.js → actions/chatActions.js} +2 -2
  530. package/vscode/src/vs/workbench/contrib/chat/common/{chatContextKeys.d.ts → actions/chatContextKeys.d.ts} +11 -10
  531. package/vscode/src/vs/workbench/contrib/chat/common/{chatContextKeys.js → actions/chatContextKeys.js} +81 -73
  532. package/vscode/src/vs/workbench/contrib/chat/common/{chatVariableEntries.d.ts → attachments/chatVariableEntries.d.ts} +9 -9
  533. package/vscode/src/vs/workbench/contrib/chat/common/{chatVariableEntries.js → attachments/chatVariableEntries.js} +8 -8
  534. package/vscode/src/vs/workbench/contrib/chat/common/{chatVariables.d.ts → attachments/chatVariables.d.ts} +7 -7
  535. package/vscode/src/vs/workbench/contrib/chat/common/{chatVariables.service.d.ts → attachments/chatVariables.service.d.ts} +3 -3
  536. package/vscode/src/vs/workbench/contrib/chat/common/{chatVariables.service.js → attachments/chatVariables.service.js} +1 -1
  537. package/vscode/src/vs/workbench/contrib/chat/common/chat.d.ts +2 -2
  538. package/vscode/src/vs/workbench/contrib/chat/common/chat.js +3 -2
  539. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +2 -2
  540. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +2 -2
  541. package/vscode/src/vs/workbench/contrib/chat/common/{chatService.d.ts → chatService/chatService.d.ts} +31 -41
  542. package/vscode/src/vs/workbench/contrib/chat/common/{chatService.js → chatService/chatService.js} +16 -8
  543. package/vscode/src/vs/workbench/contrib/chat/common/{chatService.service.d.ts → chatService/chatService.service.d.ts} +14 -15
  544. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.js +6 -0
  545. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -10
  546. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +4 -1
  547. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +5 -10
  548. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +0 -4
  549. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +1 -4
  550. package/vscode/src/vs/workbench/contrib/chat/common/{chatContext.d.ts → contextContrib/chatContext.d.ts} +3 -3
  551. package/vscode/src/vs/workbench/contrib/chat/common/{chatCodeMapperService.service.d.ts → editing/chatCodeMapperService.service.d.ts} +4 -4
  552. package/vscode/src/vs/workbench/contrib/chat/common/{chatCodeMapperService.service.js → editing/chatCodeMapperService.service.js} +1 -1
  553. package/vscode/src/vs/workbench/contrib/chat/common/{chatEditingService.d.ts → editing/chatEditingService.d.ts} +15 -15
  554. package/vscode/src/vs/workbench/contrib/chat/common/{chatEditingService.js → editing/chatEditingService.js} +11 -11
  555. package/vscode/src/vs/workbench/contrib/chat/common/{chatEditingService.service.d.ts → editing/chatEditingService.service.d.ts} +6 -6
  556. package/vscode/src/vs/workbench/contrib/chat/common/{chatEditingService.service.js → editing/chatEditingService.service.js} +1 -1
  557. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
  558. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +9 -9
  559. package/vscode/src/vs/workbench/contrib/chat/common/{chatModel.d.ts → model/chatModel.d.ts} +36 -26
  560. package/vscode/src/vs/workbench/contrib/chat/common/{chatModel.js → model/chatModel.js} +82 -64
  561. package/vscode/src/vs/workbench/contrib/chat/{browser → common/model/chatProgressTypes}/chatElicitationRequestPart.d.ts +7 -7
  562. package/vscode/src/vs/workbench/contrib/chat/{browser → common/model/chatProgressTypes}/chatElicitationRequestPart.js +4 -4
  563. package/vscode/src/vs/workbench/contrib/chat/common/model/chatTransferService.service.d.ts +7 -0
  564. package/vscode/src/vs/workbench/contrib/chat/common/{chatTransferService.service.js → model/chatTransferService.service.js} +1 -1
  565. package/vscode/src/vs/workbench/contrib/chat/common/{chatUri.d.ts → model/chatUri.d.ts} +2 -1
  566. package/vscode/src/vs/workbench/contrib/chat/common/{chatUri.js → model/chatUri.js} +8 -4
  567. package/vscode/src/vs/workbench/contrib/chat/common/{chatViewModel.d.ts → model/chatViewModel.d.ts} +15 -14
  568. package/vscode/src/vs/workbench/contrib/chat/common/{chatViewModel.js → model/chatViewModel.js} +10 -10
  569. package/vscode/src/vs/workbench/contrib/chat/common/{chatWordCounter.js → model/chatWordCounter.js} +1 -1
  570. package/vscode/src/vs/workbench/contrib/chat/common/{chatAgents.d.ts → participants/chatAgents.d.ts} +19 -19
  571. package/vscode/src/vs/workbench/contrib/chat/common/{chatAgents.js → participants/chatAgents.js} +27 -24
  572. package/vscode/src/vs/workbench/contrib/chat/common/{chatAgents.service.d.ts → participants/chatAgents.service.d.ts} +7 -7
  573. package/vscode/src/vs/workbench/contrib/chat/common/{chatAgents.service.js → participants/chatAgents.service.js} +1 -1
  574. package/vscode/src/vs/workbench/contrib/chat/common/{chatParticipantContribTypes.d.ts → participants/chatParticipantContribTypes.d.ts} +1 -1
  575. package/vscode/src/vs/workbench/contrib/chat/common/{chatSlashCommands.service.d.ts → participants/chatSlashCommands.service.d.ts} +10 -10
  576. package/vscode/src/vs/workbench/contrib/chat/common/{chatSlashCommands.service.js → participants/chatSlashCommands.service.js} +1 -1
  577. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +48 -0
  578. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +376 -0
  579. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +2 -2
  580. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +1 -1
  581. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +26 -0
  582. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +9 -1
  583. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +3 -3
  584. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +4 -4
  585. package/vscode/src/vs/workbench/contrib/chat/common/{chatParserTypes.d.ts → requestParser/chatParserTypes.d.ts} +10 -10
  586. package/vscode/src/vs/workbench/contrib/chat/common/{chatParserTypes.js → requestParser/chatParserTypes.js} +5 -5
  587. package/vscode/src/vs/workbench/contrib/chat/common/{chatRequestParser.d.ts → requestParser/chatRequestParser.d.ts} +7 -7
  588. package/vscode/src/vs/workbench/contrib/chat/common/{chatRequestParser.js → requestParser/chatRequestParser.js} +10 -10
  589. package/vscode/src/vs/workbench/contrib/chat/common/tools/{confirmationTool.d.ts → builtinTools/confirmationTool.d.ts} +1 -1
  590. package/vscode/src/vs/workbench/contrib/chat/common/tools/{confirmationTool.js → builtinTools/confirmationTool.js} +1 -1
  591. package/vscode/src/vs/workbench/contrib/chat/common/tools/{editFileTool.d.ts → builtinTools/editFileTool.d.ts} +5 -5
  592. package/vscode/src/vs/workbench/contrib/chat/common/tools/{editFileTool.js → builtinTools/editFileTool.js} +10 -10
  593. package/vscode/src/vs/workbench/contrib/chat/common/tools/{manageTodoListTool.d.ts → builtinTools/manageTodoListTool.d.ts} +4 -4
  594. package/vscode/src/vs/workbench/contrib/chat/common/tools/{manageTodoListTool.js → builtinTools/manageTodoListTool.js} +20 -20
  595. package/vscode/src/vs/workbench/contrib/chat/common/tools/{runSubagentTool.d.ts → builtinTools/runSubagentTool.d.ts} +14 -11
  596. package/vscode/src/vs/workbench/contrib/chat/common/tools/{runSubagentTool.js → builtinTools/runSubagentTool.js} +41 -20
  597. package/vscode/src/vs/workbench/contrib/chat/common/tools/{tools.d.ts → builtinTools/tools.d.ts} +4 -4
  598. package/vscode/src/vs/workbench/contrib/chat/common/tools/{tools.js → builtinTools/tools.js} +8 -8
  599. package/vscode/src/vs/workbench/contrib/chat/common/tools/chatTodoListService.service.d.ts +10 -0
  600. package/vscode/src/vs/workbench/contrib/chat/common/{chatTodoListService.service.js → tools/chatTodoListService.service.js} +1 -1
  601. package/vscode/src/vs/workbench/contrib/chat/common/{languageModelToolsConfirmationService.d.ts → tools/languageModelToolsConfirmationService.d.ts} +2 -2
  602. package/vscode/src/vs/workbench/contrib/chat/common/{languageModelToolsConfirmationService.service.d.ts → tools/languageModelToolsConfirmationService.service.d.ts} +2 -2
  603. package/vscode/src/vs/workbench/contrib/chat/common/{languageModelToolsConfirmationService.service.js → tools/languageModelToolsConfirmationService.service.js} +1 -1
  604. package/vscode/src/vs/workbench/contrib/chat/common/{languageModelToolsService.d.ts → tools/languageModelToolsService.d.ts} +20 -16
  605. package/vscode/src/vs/workbench/contrib/chat/common/{languageModelToolsService.js → tools/languageModelToolsService.js} +13 -13
  606. package/vscode/src/vs/workbench/contrib/chat/common/{languageModelToolsService.service.d.ts → tools/languageModelToolsService.service.d.ts} +8 -8
  607. package/vscode/src/vs/workbench/contrib/chat/common/{languageModelToolsService.service.js → tools/languageModelToolsService.service.js} +1 -1
  608. package/vscode/src/vs/workbench/contrib/chat/common/{annotations.d.ts → widget/annotations.d.ts} +4 -4
  609. package/vscode/src/vs/workbench/contrib/chat/common/{annotations.js → widget/annotations.js} +9 -8
  610. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatLayoutService.service.d.ts +7 -0
  611. package/vscode/src/vs/workbench/contrib/chat/common/{chatLayoutService.service.js → widget/chatLayoutService.service.js} +1 -1
  612. package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.service.d.ts → widget/chatWidgetHistoryService.service.d.ts} +5 -5
  613. package/vscode/src/vs/workbench/contrib/chat/common/{chatWidgetHistoryService.service.js → widget/chatWidgetHistoryService.service.js} +1 -1
  614. package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +6 -0
  615. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
  616. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  617. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  618. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  619. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
  620. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  621. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  622. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
  623. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  624. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  625. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
  626. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  627. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
  628. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  629. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
  630. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
  631. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +7 -7
  632. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
  633. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
  634. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
  635. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
  636. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
  637. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  638. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
  639. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
  640. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
  641. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
  642. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
  643. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
  644. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
  645. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.d.ts +2 -2
  646. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
  647. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
  648. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +30 -30
  649. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
  650. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.d.ts +20 -4
  651. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +524 -146
  652. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
  653. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
  654. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
  655. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +39 -39
  656. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
  657. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
  658. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
  659. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
  660. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
  661. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +12 -10
  662. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
  663. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  664. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
  665. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  666. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  667. package/vscode/src/vs/workbench/contrib/debug/common/debug.service.d.ts +1 -1
  668. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +1 -0
  669. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +30 -13
  670. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  671. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  672. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
  673. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  674. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  675. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  676. package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +18 -18
  677. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
  678. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
  679. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +93 -81
  680. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
  681. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
  682. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +15 -15
  683. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +154 -153
  684. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.d.ts +0 -1
  685. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +182 -183
  686. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
  687. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  688. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
  689. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
  690. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
  691. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
  692. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.d.ts +3 -1
  693. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +53 -50
  694. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +11 -18
  695. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.d.ts +1 -0
  696. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +36 -31
  697. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +76 -76
  698. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
  699. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css +31 -12
  700. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css +32 -31
  701. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsWidgets.css +15 -0
  702. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
  703. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  704. package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +9 -2
  705. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  706. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
  707. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  708. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
  709. package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
  710. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.d.ts +1 -1
  711. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
  712. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
  713. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +5 -5
  714. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
  715. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
  716. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
  717. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
  718. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
  719. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +90 -90
  720. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
  721. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
  722. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  723. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +32 -32
  724. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +56 -53
  725. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  726. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  727. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
  728. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.d.ts +3 -1
  729. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +22 -10
  730. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +26 -24
  731. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
  732. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
  733. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
  734. package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
  735. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  736. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  737. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  738. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  739. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  740. package/vscode/src/vs/workbench/contrib/interactive/browser/replInputHintContentWidget.js +4 -4
  741. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  742. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  743. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +48 -48
  744. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +31 -31
  745. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +1 -1
  746. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
  747. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypesUtils.d.ts +1 -1
  748. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
  749. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +31 -40
  750. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
  751. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +21 -21
  752. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
  753. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
  754. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
  755. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
  756. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
  757. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
  758. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
  759. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
  760. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  761. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
  762. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.service.d.ts +1 -1
  763. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookCellChat.css +1 -0
  764. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
  765. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +1 -0
  766. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookCellLayoutManager.js +3 -1
  767. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
  768. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
  769. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
  770. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -4
  771. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +8 -8
  772. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +18 -0
  773. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +57 -12
  774. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
  775. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
  776. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
  777. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +2 -2
  778. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
  779. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
  780. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
  781. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +5 -9
  782. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +1 -1
  783. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +1 -0
  784. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +15 -15
  785. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
  786. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  787. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
  788. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
  789. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +14 -14
  790. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
  791. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
  792. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -1
  793. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -5
  794. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
  795. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
  796. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
  797. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
  798. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
  799. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
  800. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +15 -15
  801. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.d.ts +1 -1
  802. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +9 -9
  803. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
  804. package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +2 -1
  805. package/vscode/src/vs/workbench/contrib/scm/common/scm.d.ts +1 -0
  806. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -10
  807. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
  808. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
  809. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
  810. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
  811. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.d.ts +1 -1
  812. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +7 -7
  813. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
  814. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  815. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
  816. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
  817. package/vscode/src/vs/workbench/contrib/search/browser/searchView.d.ts +1 -0
  818. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +69 -59
  819. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +8 -8
  820. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
  821. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
  822. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  823. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  824. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  825. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  826. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  827. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  828. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
  829. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
  830. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  831. package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +3 -1
  832. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +10 -2
  833. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +19 -0
  834. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.d.ts +1 -0
  835. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +7 -4
  836. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
  837. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +51 -45
  838. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
  839. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +9 -9
  840. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
  841. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +19 -18
  842. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
  843. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +4 -0
  844. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +7 -2
  845. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
  846. package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
  847. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +2 -0
  848. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +93 -48
  849. package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
  850. package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
  851. package/vscode/src/vs/workbench/contrib/terminalContrib/{chat → inlineHint}/common/terminalInitialHintConfiguration.js +1 -1
  852. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +2 -2
  853. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.d.ts +6 -1
  854. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +5 -0
  855. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.d.ts +13 -1
  856. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +79 -73
  857. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +7 -7
  858. package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
  859. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  860. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  861. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  862. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.d.ts +1 -0
  863. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.js +4 -1
  864. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.d.ts +1 -0
  865. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +46 -13
  866. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  867. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
  868. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.d.ts +7 -6
  869. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +4 -0
  870. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.d.ts +3 -3
  871. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +3 -3
  872. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  873. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +1 -1
  874. package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +29 -28
  875. package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +1 -1
  876. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +15 -15
  877. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
  878. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +13 -12
  879. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  880. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  881. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  882. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
  883. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
  884. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
  885. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
  886. package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +7 -1
  887. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +86 -86
  888. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
  889. package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
  890. package/vscode/src/vs/workbench/{contrib/logs → services/log}/common/defaultLogLevels.service.d.ts +4 -7
  891. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  892. package/vscode/src/vs/workbench/services/outline/browser/outline.d.ts +5 -1
  893. package/vscode/src/vs/workbench/services/output/common/output.d.ts +2 -0
  894. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
  895. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
  896. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -0
  897. package/vscode/src/vs/workbench/services/preferences/common/preferences.js +2 -1
  898. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
  899. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  900. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  901. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  902. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
  903. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +8 -5
  904. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
  905. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.d.ts +13 -1
  906. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +63 -10
  907. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  908. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.d.ts +3 -0
  909. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
  910. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
  911. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  912. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
  913. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +22 -19
  914. package/vscode-dts/vscode.d.ts +33 -14
  915. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +13 -20
  916. package/vscode-dts/vscode.proposed.d.ts +0 -2
  917. package/vscode-dts/vscode.proposed.interactive.d.ts +1 -1
  918. package/vscode-dts/vscode.proposed.scmProviderOptions.d.ts +1 -1
  919. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +0 -3
  920. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +0 -25
  921. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCloseNotification.d.ts +0 -8
  922. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCloseNotification.js +0 -38
  923. package/vscode/src/vs/workbench/contrib/chat/browser/chatContextService.service.d.ts +0 -4
  924. package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +0 -7
  925. package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.js +0 -6
  926. package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +0 -10
  927. package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.service.d.ts +0 -7
  928. package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +0 -6
  929. package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.d.ts +0 -9
  930. package/vscode/src/vs/workbench/contrib/localHistory/browser/localHistory.js +0 -25
  931. package/vscode-dts/vscode.proposed.quickPickItemResource.d.ts +0 -22
  932. package/vscode-dts/vscode.proposed.quickPickPrompt.d.ts +0 -27
  933. /package/vscode/src/vs/workbench/contrib/chat/browser/{imageUtils.d.ts → chatImageUtils.d.ts} +0 -0
  934. /package/vscode/src/vs/workbench/contrib/chat/browser/{imageUtils.js → chatImageUtils.js} +0 -0
  935. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatDynamicVariablesConstant.d.ts +0 -0
  936. /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatDynamicVariablesConstant.js +0 -0
  937. /package/vscode/src/vs/workbench/contrib/chat/common/{chatWordCounter.d.ts → model/chatWordCounter.d.ts} +0 -0
  938. /package/vscode/src/vs/workbench/contrib/chat/common/{chatParticipantContribTypes.js → participants/chatParticipantContribTypes.js} +0 -0
  939. /package/vscode/src/vs/workbench/contrib/chat/common/tools/{toolHelpers.d.ts → builtinTools/toolHelpers.d.ts} +0 -0
  940. /package/vscode/src/vs/workbench/contrib/chat/common/tools/{toolHelpers.js → builtinTools/toolHelpers.js} +0 -0
  941. /package/vscode/src/vs/workbench/contrib/chat/common/{modelPicker → widget/input}/modelPickerWidget.d.ts +0 -0
  942. /package/vscode/src/vs/workbench/contrib/terminalContrib/{chat → inlineHint}/common/terminalInitialHintConfiguration.d.ts +0 -0
  943. /package/vscode/src/vs/workbench/{contrib/logs → services/log}/common/defaultLogLevels.service.js +0 -0
@@ -1,25 +1,25 @@
1
- import { Event } from "../../../../base/common/event.js";
2
- import { IMarkdownString } from "../../../../base/common/htmlContent.js";
3
- import { Disposable, IDisposable } from "../../../../base/common/lifecycle.js";
4
- import { IObservable } from "../../../../base/common/observable.js";
5
- import { ThemeIcon } from "../../../../base/common/themables.js";
6
- import { URI, UriComponents, UriDto } from "../../../../base/common/uri.js";
7
- import { IRange } from "../../../../editor/common/core/range.js";
8
- import { ISelection } from "../../../../editor/common/core/selection.js";
9
- import { TextEdit } from "../../../../editor/common/languages.js";
10
- import { EditSuggestionId } from "../../../../editor/common/textModelEditSource.js";
11
- import { ILogService } from "../../../../platform/log/common/log.service.js";
12
- import { ICellEditOperation } from "../../notebook/common/notebookCommon.js";
13
- import { IChatAgentCommand, IChatAgentData, IChatAgentResult, UserSelectedTools } from "./chatAgents.js";
14
- import { IChatAgentService } from "./chatAgents.service.js";
15
- import { IChatEditingSession } from "./chatEditingService.js";
16
- import { IChatEditingService } from "./chatEditingService.service.js";
17
- import { IParsedChatRequest } from "./chatParserTypes.js";
18
- import { ChatAgentVoteDirection, ChatAgentVoteDownReason, IChatAgentMarkdownContentWithVulnerability, IChatClearToPreviousToolInvocation, IChatCodeCitation, IChatCommandButton, IChatConfirmation, IChatContentInlineReference, IChatContentReference, IChatEditingSessionAction, IChatElicitationRequest, IChatElicitationRequestSerialized, IChatExtensionsContent, IChatFollowup, IChatLocationData, IChatMarkdownContent, IChatMcpServersStarting, IChatMultiDiffData, IChatMultiDiffDataSerialized, IChatNotebookEdit, IChatPrepareToolInvocationPart, IChatProgress, IChatProgressMessage, IChatPullRequestContent, IChatResponseCodeblockUriPart, IChatResponseProgressFileTreeData, IChatSessionContext, IChatSessionTiming, IChatTask, IChatTaskSerialized, IChatTextEdit, IChatThinkingPart, IChatToolInvocation, IChatToolInvocationSerialized, IChatTreeData, IChatUndoStop, IChatUsedContext, IChatWarningMessage, ResponseModelState } from "./chatService.js";
19
- import { IChatService } from "./chatService.service.js";
20
- import { ChatRequestToolReferenceEntry, IChatRequestVariableEntry } from "./chatVariableEntries.js";
21
- import { ChatAgentLocation, ChatModeKind } from "./constants.js";
22
- import { ILanguageModelChatMetadata, ILanguageModelChatMetadataAndIdentifier } from "./languageModels.js";
1
+ import { Event } from "../../../../../base/common/event.js";
2
+ import { IMarkdownString } from "../../../../../base/common/htmlContent.js";
3
+ import { Disposable, IDisposable } from "../../../../../base/common/lifecycle.js";
4
+ import { IObservable } from "../../../../../base/common/observable.js";
5
+ import { ThemeIcon } from "../../../../../base/common/themables.js";
6
+ import { URI, UriComponents, UriDto } from "../../../../../base/common/uri.js";
7
+ import { IRange } from "../../../../../editor/common/core/range.js";
8
+ import { ISelection } from "../../../../../editor/common/core/selection.js";
9
+ import { TextEdit } from "../../../../../editor/common/languages.js";
10
+ import { EditSuggestionId } from "../../../../../editor/common/textModelEditSource.js";
11
+ import { ILogService } from "../../../../../platform/log/common/log.service.js";
12
+ import { ICellEditOperation } from "../../../notebook/common/notebookCommon.js";
13
+ import { IChatAgentCommand, IChatAgentData, IChatAgentResult, UserSelectedTools } from "../participants/chatAgents.js";
14
+ import { IChatAgentService } from "../participants/chatAgents.service.js";
15
+ import { IChatEditingSession } from "../editing/chatEditingService.js";
16
+ import { IChatEditingService } from "../editing/chatEditingService.service.js";
17
+ import { IParsedChatRequest } from "../requestParser/chatParserTypes.js";
18
+ import { ChatAgentVoteDirection, ChatAgentVoteDownReason, IChatAgentMarkdownContentWithVulnerability, IChatClearToPreviousToolInvocation, IChatCodeCitation, IChatCommandButton, IChatConfirmation, IChatContentInlineReference, IChatContentReference, IChatEditingSessionAction, IChatElicitationRequest, IChatElicitationRequestSerialized, IChatExtensionsContent, IChatFollowup, IChatLocationData, IChatMarkdownContent, IChatMcpServersStarting, IChatMultiDiffData, IChatMultiDiffDataSerialized, IChatNotebookEdit, IChatPrepareToolInvocationPart, IChatProgress, IChatProgressMessage, IChatPullRequestContent, IChatResponseCodeblockUriPart, IChatResponseProgressFileTreeData, IChatSessionContext, IChatSessionTiming, IChatTask, IChatTaskSerialized, IChatTextEdit, IChatThinkingPart, IChatToolInvocation, IChatToolInvocationSerialized, IChatTreeData, IChatUndoStop, IChatUsedContext, IChatWarningMessage, ResponseModelState } from "../chatService/chatService.js";
19
+ import { IChatService } from "../chatService/chatService.service.js";
20
+ import { ChatRequestToolReferenceEntry, IChatRequestVariableEntry } from "../attachments/chatVariableEntries.js";
21
+ import { ChatAgentLocation, ChatModeKind } from "../constants.js";
22
+ import { ILanguageModelChatMetadata, ILanguageModelChatMetadataAndIdentifier } from "../languageModels.js";
23
23
  export declare const CHAT_ATTACHABLE_IMAGE_MIME_TYPES: Record<string, string>;
24
24
  export declare function getAttachableImageExtension(mimeType: string): string | undefined;
25
25
  export interface IChatRequestVariableData {
@@ -125,6 +125,7 @@ export interface IChatResponseModel {
125
125
  readonly isCanceled: boolean;
126
126
  readonly isPendingConfirmation: IObservable<{
127
127
  startedWaitingAt: number;
128
+ detail?: string;
128
129
  } | undefined>;
129
130
  readonly isInProgress: IObservable<boolean>;
130
131
  readonly shouldBeRemovedOnSend: IChatRequestDisablement | undefined;
@@ -337,6 +338,7 @@ export declare class ChatResponseModel extends Disposable implements IChatRespon
337
338
  get isStale(): boolean;
338
339
  readonly isPendingConfirmation: IObservable<{
339
340
  startedWaitingAt: number;
341
+ detail?: string;
340
342
  } | undefined>;
341
343
  readonly isInProgress: IObservable<boolean>;
342
344
  private _responseView?;
@@ -361,7 +363,6 @@ export declare class ChatResponseModel extends Disposable implements IChatRespon
361
363
  setAgent(agent: IChatAgentData, slashCommand?: IChatAgentCommand): void;
362
364
  setResult(result: IChatAgentResult): void;
363
365
  complete(): void;
364
- completeResponseIfNeeded(): void;
365
366
  cancel(): void;
366
367
  setFollowups(followups: IChatFollowup[] | undefined): void;
367
368
  setVote(vote: ChatAgentVoteDirection): void;
@@ -375,6 +376,15 @@ export interface IChatRequestDisablement {
375
376
  requestId: string;
376
377
  afterUndoStop?: string;
377
378
  }
379
+ /**
380
+ * Information about a chat request that needs user input to continue.
381
+ */
382
+ export interface IChatRequestNeedsInputInfo {
383
+ /** The chat session title */
384
+ readonly title: string;
385
+ /** Optional detail message, e.g., "<toolname> needs approval to run." */
386
+ readonly detail?: string;
387
+ }
378
388
  export interface IChatModel extends IDisposable {
379
389
  readonly onDidDispose: Event<void>;
380
390
  readonly onDidChange: Event<IChatChangeEvent>;
@@ -389,8 +399,8 @@ export interface IChatModel extends IDisposable {
389
399
  readonly hasCustomTitle: boolean;
390
400
  /** True whenever a request is currently running */
391
401
  readonly requestInProgress: IObservable<boolean>;
392
- /** True whenever a request needs user interaction to continue */
393
- readonly requestNeedsInput: IObservable<boolean>;
402
+ /** Provides session information when a request needs user interaction to continue */
403
+ readonly requestNeedsInput: IObservable<IChatRequestNeedsInputInfo | undefined>;
394
404
  readonly inputPlaceholder?: string;
395
405
  readonly editingSession?: IChatEditingSession | undefined;
396
406
  readonly checkpoint: IChatRequestModel | undefined;
@@ -653,7 +663,7 @@ export declare class ChatModel extends Disposable implements IChatModel {
653
663
  private readonly _sessionResource;
654
664
  get sessionResource(): URI;
655
665
  readonly requestInProgress: IObservable<boolean>;
656
- readonly requestNeedsInput: IObservable<boolean>;
666
+ readonly requestNeedsInput: IObservable<IChatRequestNeedsInputInfo | undefined>;
657
667
  /** Input model for managing input state */
658
668
  readonly inputModel: InputModel;
659
669
  get hasRequests(): boolean;
@@ -1,40 +1,40 @@
1
1
 
2
- import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
3
- import { asArray } from '../../../../base/common/arrays.js';
4
- import { BugIndicatingError } from '../../../../base/common/errors.js';
5
- import { encodeHex, VSBuffer, decodeHex } from '../../../../base/common/buffer.js';
6
- import { Emitter } from '../../../../base/common/event.js';
7
- import { MarkdownString, isMarkdownString } from '../../../../base/common/htmlContent.js';
8
- import { Disposable, MutableDisposable } from '../../../../base/common/lifecycle.js';
9
- import { ResourceMap } from '../../../../base/common/map.js';
10
- import { revive } from '../../../../base/common/marshalling.js';
11
- import { Schemas } from '../../../../base/common/network.js';
12
- import { equals } from '../../../../base/common/objects.js';
13
- import '../../../../base/common/observableInternal/index.js';
14
- import { basename, isEqual } from '../../../../base/common/resources.js';
15
- import { URI, isUriComponents } from '../../../../base/common/uri.js';
16
- import { generateUuid } from '../../../../base/common/uuid.js';
17
- import { OffsetRange } from '../../../../editor/common/core/ranges/offsetRange.js';
18
- import { TextEdit } from '../../../../editor/common/languages.js';
19
- import { localize } from '../../../../nls.js';
20
- import { ILogService } from '../../../../platform/log/common/log.service.js';
21
- import { CellUri } from '../../notebook/common/notebookCommon.js';
22
- import { migrateLegacyTerminalToolSpecificData } from './chat.js';
23
- import { reviveSerializedAgent } from './chatAgents.js';
24
- import { IChatAgentService } from './chatAgents.service.js';
25
- import { editEntriesToMultiDiffData, ModifiedFileEntryState } from './chatEditingService.js';
26
- import { IChatEditingService } from './chatEditingService.service.js';
27
- import { reviveParsedChatRequest, ChatRequestTextPart } from './chatParserTypes.js';
28
- import { IChatToolInvocation, ChatResponseClearToPreviousToolInvocationReason, ResponseModelState, ElicitationState, isIUsedContext } from './chatService.js';
29
- import { IChatService } from './chatService.service.js';
2
+ import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
3
+ import { asArray } from '../../../../../base/common/arrays.js';
4
+ import { BugIndicatingError } from '../../../../../base/common/errors.js';
5
+ import { encodeHex, VSBuffer, decodeHex } from '../../../../../base/common/buffer.js';
6
+ import { Emitter } from '../../../../../base/common/event.js';
7
+ import { MarkdownString, isMarkdownString } from '../../../../../base/common/htmlContent.js';
8
+ import { Disposable, MutableDisposable } from '../../../../../base/common/lifecycle.js';
9
+ import { ResourceMap } from '../../../../../base/common/map.js';
10
+ import { revive } from '../../../../../base/common/marshalling.js';
11
+ import { Schemas } from '../../../../../base/common/network.js';
12
+ import { equals } from '../../../../../base/common/objects.js';
13
+ import '../../../../../base/common/observableInternal/index.js';
14
+ import { basename, isEqual } from '../../../../../base/common/resources.js';
15
+ import { URI, isUriComponents } from '../../../../../base/common/uri.js';
16
+ import { generateUuid } from '../../../../../base/common/uuid.js';
17
+ import { OffsetRange } from '../../../../../editor/common/core/ranges/offsetRange.js';
18
+ import { TextEdit } from '../../../../../editor/common/languages.js';
19
+ import { localize } from '../../../../../nls.js';
20
+ import { ILogService } from '../../../../../platform/log/common/log.service.js';
21
+ import { CellUri } from '../../../notebook/common/notebookCommon.js';
22
+ import { migrateLegacyTerminalToolSpecificData } from '../chat.js';
23
+ import { reviveSerializedAgent } from '../participants/chatAgents.js';
24
+ import { IChatAgentService } from '../participants/chatAgents.service.js';
25
+ import { editEntriesToMultiDiffData, ModifiedFileEntryState } from '../editing/chatEditingService.js';
26
+ import { IChatEditingService } from '../editing/chatEditingService.service.js';
27
+ import { reviveParsedChatRequest, ChatRequestTextPart } from '../requestParser/chatParserTypes.js';
28
+ import { IChatToolInvocation, ChatResponseClearToPreviousToolInvocationReason, ResponseModelState, ElicitationState, isIUsedContext } from '../chatService/chatService.js';
29
+ import { IChatService } from '../chatService/chatService.service.js';
30
30
  import { LocalChatSessionUri } from './chatUri.js';
31
- import { ChatAgentLocation, ChatModeKind } from './constants.js';
32
- import { observableFromEvent } from '../../../../base/common/observableInternal/observables/observableFromEvent.js';
33
- import { autorunSelfDisposable, autorun } from '../../../../base/common/observableInternal/reactions/autorun.js';
34
- import { observableValueOpts } from '../../../../base/common/observableInternal/observables/observableValueOpts.js';
35
- import { observableValue } from '../../../../base/common/observableInternal/observables/observableValue.js';
36
- import { observableSignalFromEvent } from '../../../../base/common/observableInternal/observables/observableSignalFromEvent.js';
37
- import { derived } from '../../../../base/common/observableInternal/observables/derived.js';
31
+ import { ChatAgentLocation, ChatModeKind } from '../constants.js';
32
+ import { observableFromEvent } from '../../../../../base/common/observableInternal/observables/observableFromEvent.js';
33
+ import { autorunSelfDisposable, autorun } from '../../../../../base/common/observableInternal/reactions/autorun.js';
34
+ import { observableValueOpts } from '../../../../../base/common/observableInternal/observables/observableValueOpts.js';
35
+ import { observableValue } from '../../../../../base/common/observableInternal/observables/observableValue.js';
36
+ import { observableSignalFromEvent } from '../../../../../base/common/observableInternal/observables/observableSignalFromEvent.js';
37
+ import { derived } from '../../../../../base/common/observableInternal/observables/derived.js';
38
38
 
39
39
  var ChatModel_1;
40
40
  const CHAT_ATTACHABLE_IMAGE_MIME_TYPES = {
@@ -213,7 +213,7 @@ class AbstractResponse {
213
213
  blocks.push(currentBlockSegments.join(''));
214
214
  }
215
215
  if (hasEditGroupsAfterLastClear) {
216
- blocks.push(( localize(5936, "Made changes.")));
216
+ blocks.push(( localize(5960, "Made changes.")));
217
217
  }
218
218
  return blocks.join('\n\n');
219
219
  }
@@ -317,13 +317,13 @@ class Response extends AbstractResponse {
317
317
  if (progress.kind === 'clearToPreviousToolInvocation') {
318
318
  if (progress.reason === ChatResponseClearToPreviousToolInvocationReason.CopyrightContentRetry) {
319
319
  this.clearToPreviousToolInvocation(( localize(
320
- 5937,
320
+ 5961,
321
321
  "Response cleared due to possible match to public code, retrying with modified prompt."
322
322
  )));
323
323
  }
324
324
  else if (progress.reason === ChatResponseClearToPreviousToolInvocationReason.FilteredContentRetry) {
325
325
  this.clearToPreviousToolInvocation(( localize(
326
- 5938,
326
+ 5962,
327
327
  "Response cleared due to content safety filters, retrying with modified prompt."
328
328
  )));
329
329
  }
@@ -371,12 +371,16 @@ class Response extends AbstractResponse {
371
371
  this._updateRepr(quiet);
372
372
  }
373
373
  else if (progress.kind === 'textEdit' || progress.kind === 'notebookEdit') {
374
- const useOldApproachForInlineNotebook = progress.uri.scheme === Schemas.vscodeNotebookCell && !this._responseParts.find(part => part.kind === 'notebookEditGroup');
375
- const notebookUri = useOldApproachForInlineNotebook ? undefined : CellUri.parse(progress.uri)?.notebook;
374
+ const notebookUri = CellUri.parse(progress.uri)?.notebook;
376
375
  const uri = notebookUri ?? progress.uri;
377
376
  let found = false;
378
377
  const groupKind = progress.kind === 'textEdit' && !notebookUri ? 'textEditGroup' : 'notebookEditGroup';
379
- const edits = groupKind === 'textEditGroup' ? progress.edits : ( progress.edits.map(edit => TextEdit.isTextEdit(edit) ? { uri: progress.uri, edit } : edit));
378
+ const edits =
379
+ groupKind === 'textEditGroup' ?
380
+ progress.edits :
381
+ ( progress.edits.map(edit => TextEdit.isTextEdit(edit) ?
382
+ { uri: progress.uri, edit }
383
+ : edit));
380
384
  const isExternalEdit = progress.isExternalEdit;
381
385
  for (let i = 0; !found && i < this._responseParts.length; i++) {
382
386
  const candidate = this._responseParts[i];
@@ -390,7 +394,7 @@ class Response extends AbstractResponse {
390
394
  this._responseParts.push({
391
395
  kind: groupKind,
392
396
  uri,
393
- edits: groupKind === 'textEditGroup' ? [edits] : edits,
397
+ edits: [edits],
394
398
  done: progress.done,
395
399
  isExternalEdit,
396
400
  });
@@ -570,18 +574,30 @@ class ChatResponseModel extends Disposable {
570
574
  this._response = this._register(( new Response(params.responseContent)));
571
575
  this._codeBlockInfos = params.codeBlockInfos ? [...params.codeBlockInfos] : undefined;
572
576
  const signal = observableSignalFromEvent(this, this.onDidChange);
573
- const _isPendingBool = ( signal.map((_value, r) => {
577
+ const _pendingInfo = ( signal.map((_value, r) => {
574
578
  signal.read(r);
575
- return ( this._response.value.some(
576
- part => part.kind === 'toolInvocation' && part.state.read(r).type === IChatToolInvocation.StateKind.WaitingForConfirmation
577
- || part.kind === 'confirmation' && !part.isUsed
578
- || part.kind === 'elicitation2' && part.state.read(r) === ElicitationState.Pending
579
- ));
579
+ for (const part of this._response.value) {
580
+ if (part.kind === 'toolInvocation' && part.state.read(r).type === IChatToolInvocation.StateKind.WaitingForConfirmation) {
581
+ const title = part.confirmationMessages?.title;
582
+ return title ? (isMarkdownString(title) ? title.value : title) : undefined;
583
+ }
584
+ if (part.kind === 'confirmation' && !part.isUsed) {
585
+ return part.title;
586
+ }
587
+ if (part.kind === 'elicitation2' && part.state.read(r) === ElicitationState.Pending) {
588
+ const title = part.title;
589
+ return isMarkdownString(title) ? title.value : title;
590
+ }
591
+ }
592
+ return undefined;
580
593
  }));
581
- this.isPendingConfirmation = ( _isPendingBool.map(pending => pending ? { startedWaitingAt: Date.now() } : undefined));
594
+ const _startedWaitingAt = ( ( _pendingInfo.map(p => !!p)).map(p => p ? Date.now() : undefined));
595
+ this.isPendingConfirmation = ( _startedWaitingAt.map(
596
+ (waiting, r) => waiting ? { startedWaitingAt: waiting, detail: _pendingInfo.read(r) } : undefined
597
+ ));
582
598
  this.isInProgress = ( signal.map((_value, r) => {
583
599
  signal.read(r);
584
- return !_isPendingBool.read(r)
600
+ return !_pendingInfo.read(r)
585
601
  && !this.shouldBeRemovedOnSend
586
602
  && (this._modelState.read(r).value === ResponseModelState.Pending || this._modelState.read(r).value === ResponseModelState.NeedsInput);
587
603
  }));
@@ -654,6 +670,9 @@ class ChatResponseModel extends Disposable {
654
670
  this._onDidChange.fire(defaultChatResponseModelChangeReason);
655
671
  }
656
672
  complete() {
673
+ if (this.isComplete) {
674
+ return;
675
+ }
657
676
  if (this._result?.errorDetails?.responseIsRedacted) {
658
677
  this._response.clear();
659
678
  }
@@ -661,11 +680,6 @@ class ChatResponseModel extends Disposable {
661
680
  this._modelState.set({ value: state, completedAt: Date.now() }, undefined);
662
681
  this._onDidChange.fire({ reason: 'completedRequest' });
663
682
  }
664
- completeResponseIfNeeded() {
665
- if (!this.isComplete) {
666
- this.complete();
667
- }
668
- }
669
683
  cancel() {
670
684
  this._modelState.set({ value: ResponseModelState.Cancelled, completedAt: Date.now() }, undefined);
671
685
  this._onDidChange.fire({ reason: 'completedRequest' });
@@ -958,14 +972,21 @@ let ChatModel = ChatModel_1 = class ChatModel extends Disposable {
958
972
  return request?.response?.isInProgress.read(r) ?? false;
959
973
  }));
960
974
  this.requestNeedsInput = ( this.lastRequestObs.map((request, r) => {
961
- return !!request?.response?.isPendingConfirmation.read(r);
975
+ const pendingInfo = request?.response?.isPendingConfirmation.read(r);
976
+ if (!pendingInfo) {
977
+ return undefined;
978
+ }
979
+ return {
980
+ title: this.title,
981
+ detail: pendingInfo.detail,
982
+ };
962
983
  }));
963
984
  if (this.initialLocation === ChatAgentLocation.Chat && !initialModelProps.disableBackgroundKeepAlive) {
964
985
  const selfRef = this._register(( new MutableDisposable()));
965
986
  this._register(autorun(r => {
966
987
  const inProgress = this.requestInProgress.read(r);
967
- const isWaitingForConfirmation = this.requestNeedsInput.read(r);
968
- const shouldStayAlive = inProgress || isWaitingForConfirmation;
988
+ const needsInput = this.requestNeedsInput.read(r);
989
+ const shouldStayAlive = inProgress || !!needsInput;
969
990
  if (shouldStayAlive && !selfRef.value) {
970
991
  selfRef.value = chatService.getActiveSessionReference(this._sessionResource);
971
992
  }
@@ -1304,9 +1325,6 @@ let ChatModel = ChatModel_1 = class ChatModel extends Disposable {
1304
1325
  else if (item.kind === 'markdownContent') {
1305
1326
  return item.content;
1306
1327
  }
1307
- else if (item.kind === 'confirmation') {
1308
- return { ...item, isLive: false };
1309
- }
1310
1328
  else {
1311
1329
  return item;
1312
1330
  }
@@ -1332,7 +1350,7 @@ let ChatModel = ChatModel_1 = class ChatModel extends Disposable {
1332
1350
  lastMessageDate: this._lastMessageDate,
1333
1351
  customTitle: this._customTitle,
1334
1352
  hasPendingEdits: !!(this._editingSession?.entries.get().some(e => e.state.get() === ModifiedFileEntryState.Modified)),
1335
- ...this.inputModel.toJSON(),
1353
+ inputState: this.inputModel.toJSON(),
1336
1354
  };
1337
1355
  }
1338
1356
  dispose() {
@@ -1392,8 +1410,8 @@ function getCodeCitationsMessage(citations) {
1392
1410
  }
1393
1411
  const licenseTypes = citations.reduce((set, c) => set.add(c.license), ( new Set()));
1394
1412
  const label = licenseTypes.size === 1 ?
1395
- ( localize(5939, "Similar code found with 1 license type", licenseTypes.size)) :
1396
- ( localize(5940, "Similar code found with {0} license types", licenseTypes.size));
1413
+ ( localize(5963, "Similar code found with 1 license type", licenseTypes.size)) :
1414
+ ( localize(5964, "Similar code found with {0} license types", licenseTypes.size));
1397
1415
  return label;
1398
1416
  }
1399
1417
  var ChatRequestEditedFileEventKind;
@@ -1,9 +1,9 @@
1
- import { IAction } from "../../../../base/common/actions.js";
2
- import { IMarkdownString } from "../../../../base/common/htmlContent.js";
3
- import { Disposable } from "../../../../base/common/lifecycle.js";
4
- import { IObservable } from "../../../../base/common/observable.js";
5
- import { ElicitationState, IChatElicitationRequest } from "../common/chatService.js";
6
- import { ToolDataSource } from "../common/languageModelToolsService.js";
1
+ import { IAction } from "../../../../../../base/common/actions.js";
2
+ import { IMarkdownString } from "../../../../../../base/common/htmlContent.js";
3
+ import { Disposable } from "../../../../../../base/common/lifecycle.js";
4
+ import { IObservable } from "../../../../../../base/common/observable.js";
5
+ import { ElicitationState, IChatElicitationRequest } from "../../chatService/chatService.js";
6
+ import { ToolDataSource } from "../../tools/languageModelToolsService.js";
7
7
  export declare class ChatElicitationRequestPart extends Disposable implements IChatElicitationRequest {
8
8
  readonly title: string | IMarkdownString;
9
9
  readonly message: string | IMarkdownString;
@@ -15,7 +15,7 @@ export declare class ChatElicitationRequestPart extends Disposable implements IC
15
15
  readonly moreActions?: IAction[] | undefined;
16
16
  readonly onHide?: (() => void) | undefined;
17
17
  readonly kind = "elicitation2";
18
- state: import("../../../../base/common/observable.js").ISettableObservable<ElicitationState, void>;
18
+ state: import("../../../../../../base/common/observable.js").ISettableObservable<ElicitationState, void>;
19
19
  acceptedResult?: Record<string, unknown>;
20
20
  private readonly _isHiddenValue;
21
21
  readonly isHidden: IObservable<boolean>;
@@ -1,8 +1,8 @@
1
1
 
2
- import { Disposable } from '../../../../base/common/lifecycle.js';
3
- import '../../../../base/common/observableInternal/index.js';
4
- import { ElicitationState } from '../common/chatService.js';
5
- import { observableValue } from '../../../../base/common/observableInternal/observables/observableValue.js';
2
+ import { Disposable } from '../../../../../../base/common/lifecycle.js';
3
+ import '../../../../../../base/common/observableInternal/index.js';
4
+ import { ElicitationState } from '../../chatService/chatService.js';
5
+ import { observableValue } from '../../../../../../base/common/observableInternal/observables/observableValue.js';
6
6
 
7
7
  class ChatElicitationRequestPart extends Disposable {
8
8
  constructor(title, message, subtitle, acceptButtonLabel, rejectButtonLabel,
@@ -0,0 +1,7 @@
1
+ import { URI } from "../../../../../base/common/uri.js";
2
+ export declare const IChatTransferService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatTransferService>;
3
+ export interface IChatTransferService {
4
+ readonly _serviceBrand: undefined;
5
+ checkAndSetTransferredWorkspaceTrust(): Promise<void>;
6
+ addWorkspaceToTransferred(workspace: URI): void;
7
+ }
@@ -1,5 +1,5 @@
1
1
 
2
- import { createDecorator } from '../../../../platform/instantiation/common/instantiation.js';
2
+ import { createDecorator } from '../../../../../platform/instantiation/common/instantiation.js';
3
3
 
4
4
  const IChatTransferService = ( createDecorator('chatTransferService'));
5
5
 
@@ -1,8 +1,9 @@
1
- import { URI } from "../../../../base/common/uri.js";
1
+ import { URI } from "../../../../../base/common/uri.js";
2
2
  export declare namespace LocalChatSessionUri {
3
3
  const scheme = "vscode-chat-session";
4
4
  function forSession(sessionId: string): URI;
5
5
  function parseLocalSessionId(resource: URI): string | undefined;
6
+ function isLocalSession(resource: URI): boolean;
6
7
  }
7
8
  /**
8
9
  * Converts a chat session resource URI to a string ID.
@@ -1,8 +1,8 @@
1
1
 
2
- import { encodeBase64, VSBuffer, decodeBase64 } from '../../../../base/common/buffer.js';
3
- import { Schemas } from '../../../../base/common/network.js';
4
- import { URI } from '../../../../base/common/uri.js';
5
- import { localChatSessionType } from './chatSessionsService.js';
2
+ import { encodeBase64, VSBuffer, decodeBase64 } from '../../../../../base/common/buffer.js';
3
+ import { Schemas } from '../../../../../base/common/network.js';
4
+ import { URI } from '../../../../../base/common/uri.js';
5
+ import { localChatSessionType } from '../chatSessionsService.js';
6
6
 
7
7
  var LocalChatSessionUri;
8
8
  (function (LocalChatSessionUri) {
@@ -19,6 +19,10 @@ var LocalChatSessionUri;
19
19
  return parsed?.chatSessionType === localChatSessionType ? parsed.sessionId : undefined;
20
20
  }
21
21
  LocalChatSessionUri.parseLocalSessionId = parseLocalSessionId;
22
+ function isLocalSession(resource) {
23
+ return !!parseLocalSessionId(resource);
24
+ }
25
+ LocalChatSessionUri.isLocalSession = isLocalSession;
22
26
  function parse(resource) {
23
27
  if (resource.scheme !== LocalChatSessionUri.scheme) {
24
28
  return undefined;
@@ -1,17 +1,17 @@
1
- import { Event } from "../../../../base/common/event.js";
2
- import { IMarkdownString } from "../../../../base/common/htmlContent.js";
3
- import { Disposable } from "../../../../base/common/lifecycle.js";
4
- import { ThemeIcon } from "../../../../base/common/themables.js";
5
- import { URI } from "../../../../base/common/uri.js";
6
- import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js";
7
- import { IChatAgentCommand, IChatAgentData, IChatAgentResult } from "./chatAgents.js";
8
- import { IChatAgentNameService } from "./chatAgents.service.js";
1
+ import { Event } from "../../../../../base/common/event.js";
2
+ import { IMarkdownString } from "../../../../../base/common/htmlContent.js";
3
+ import { Disposable } from "../../../../../base/common/lifecycle.js";
4
+ import { ThemeIcon } from "../../../../../base/common/themables.js";
5
+ import { URI } from "../../../../../base/common/uri.js";
6
+ import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js";
7
+ import { IChatAgentCommand, IChatAgentData, IChatAgentResult } from "../participants/chatAgents.js";
8
+ import { IChatAgentNameService } from "../participants/chatAgents.service.js";
9
9
  import { IChatModel, IChatProgressRenderableResponseContent, IChatRequestDisablement, IChatRequestModel, IChatResponseModel, IChatTextEditGroup, IResponse } from "./chatModel.js";
10
- import { IParsedChatRequest } from "./chatParserTypes.js";
11
- import { ChatAgentVoteDirection, ChatAgentVoteDownReason, IChatChangesSummary, IChatCodeCitation, IChatContentReference, IChatFollowup, IChatMcpServersStarting, IChatProgressMessage, IChatResponseErrorDetails, IChatTask, IChatUsedContext } from "./chatService.js";
12
- import { IChatRequestVariableEntry } from "./chatVariableEntries.js";
13
- import { CodeBlockModelCollection } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/codeBlockModelCollection";
14
- import { IChatStreamStats } from "./model/chatStreamStats.js";
10
+ import { IParsedChatRequest } from "../requestParser/chatParserTypes.js";
11
+ import { ChatAgentVoteDirection, ChatAgentVoteDownReason, IChatCodeCitation, IChatContentReference, IChatFollowup, IChatMcpServersStarting, IChatProgressMessage, IChatResponseErrorDetails, IChatTask, IChatUsedContext } from "../chatService/chatService.js";
12
+ import { IChatRequestVariableEntry } from "../attachments/chatVariableEntries.js";
13
+ import { CodeBlockModelCollection } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/codeBlockModelCollection";
14
+ import { IChatStreamStats } from "./chatStreamStats.js";
15
15
  export declare function isRequestVM(item: unknown): item is IChatRequestViewModel;
16
16
  export declare function isResponseVM(item: unknown): item is IChatResponseViewModel;
17
17
  export declare function isChatTreeItem(item: unknown): item is IChatRequestViewModel | IChatResponseViewModel;
@@ -131,7 +131,8 @@ export interface IChatErrorDetailsPart {
131
131
  }
132
132
  export interface IChatChangesSummaryPart {
133
133
  readonly kind: "changesSummary";
134
- readonly fileChanges: ReadonlyArray<IChatChangesSummary>;
134
+ readonly requestId: string;
135
+ readonly sessionResource: URI;
135
136
  }
136
137
  /**
137
138
  * Type for content parts rendered by IChatListRenderer (not necessarily in the model)
@@ -1,16 +1,16 @@
1
1
 
2
- import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
3
- import { Codicon } from '../../../../base/common/codicons.js';
4
- import { Emitter } from '../../../../base/common/event.js';
5
- import { hash } from '../../../../base/common/hash.js';
6
- import { Disposable, dispose } from '../../../../base/common/lifecycle.js';
2
+ import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
3
+ import { Codicon } from '../../../../../base/common/codicons.js';
4
+ import { Emitter } from '../../../../../base/common/event.js';
5
+ import { hash } from '../../../../../base/common/hash.js';
6
+ import { Disposable, dispose } from '../../../../../base/common/lifecycle.js';
7
7
  import { walkTokens, lexer } from 'marked';
8
- import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
9
- import { annotateVulnerabilitiesInText } from './annotations.js';
10
- import { getFullyQualifiedId } from './chatAgents.js';
11
- import { IChatAgentNameService } from './chatAgents.service.js';
8
+ import { IInstantiationService } from '../../../../../platform/instantiation/common/instantiation.js';
9
+ import { annotateVulnerabilitiesInText } from '../widget/annotations.js';
10
+ import { getFullyQualifiedId } from '../participants/chatAgents.js';
11
+ import { IChatAgentNameService } from '../participants/chatAgents.service.js';
12
12
  import { countWords } from './chatWordCounter.js';
13
- import { ChatStreamStatsTracker } from './model/chatStreamStats.js';
13
+ import { ChatStreamStatsTracker } from './chatStreamStats.js';
14
14
 
15
15
  function isRequestVM(item) {
16
16
  return !!item && typeof item === 'object' && 'message' in item;
@@ -1,5 +1,5 @@
1
1
 
2
- import { mathInlineRegExp } from '../../markdown/common/markedKatexExtension.js';
2
+ import { mathInlineRegExp } from '../../../markdown/common/markedKatexExtension.js';
3
3
 
4
4
  const r = String.raw;
5
5
  const linkPattern = r `(?<!\\)` +
@@ -1,23 +1,23 @@
1
- import { CancellationToken } from "../../../../base/common/cancellation.js";
2
- import { Event } from "../../../../base/common/event.js";
3
- import { IMarkdownString } from "../../../../base/common/htmlContent.js";
4
- import { Disposable, IDisposable } from "../../../../base/common/lifecycle.js";
5
- import { Revived } from "../../../../base/common/marshalling.js";
6
- import { ThemeIcon } from "../../../../base/common/themables.js";
7
- import { URI } from "../../../../base/common/uri.js";
8
- import { Command } from "../../../../editor/common/languages.js";
9
- import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
10
- import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
11
- import { ExtensionIdentifier } from "../../../../platform/extensions/common/extensions.js";
12
- import { ILogService } from "../../../../platform/log/common/log.service.js";
13
- import { IProductService } from "../../../../platform/product/common/productService.service.js";
14
- import { IRequestService } from "../../../../platform/request/common/request.service.js";
15
- import { IStorageService } from "../../../../platform/storage/common/storage.service.js";
16
- import { IChatAgentService, type IChatAgentNameService } from "./chatAgents.service.js";
17
- import { IChatAgentEditedFileEvent, IChatProgressHistoryResponseContent, IChatRequestModeInstructions, IChatRequestVariableData, ISerializableChatAgentData } from "./chatModel.js";
1
+ import { CancellationToken } from "../../../../../base/common/cancellation.js";
2
+ import { Event } from "../../../../../base/common/event.js";
3
+ import { IMarkdownString } from "../../../../../base/common/htmlContent.js";
4
+ import { Disposable, IDisposable } from "../../../../../base/common/lifecycle.js";
5
+ import { Revived } from "../../../../../base/common/marshalling.js";
6
+ import { ThemeIcon } from "../../../../../base/common/themables.js";
7
+ import { URI } from "../../../../../base/common/uri.js";
8
+ import { Command } from "../../../../../editor/common/languages.js";
9
+ import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js";
10
+ import { IContextKeyService } from "../../../../../platform/contextkey/common/contextkey.service.js";
11
+ import { ExtensionIdentifier } from "../../../../../platform/extensions/common/extensions.js";
12
+ import { ILogService } from "../../../../../platform/log/common/log.service.js";
13
+ import { IProductService } from "../../../../../platform/product/common/productService.service.js";
14
+ import { IRequestService } from "../../../../../platform/request/common/request.service.js";
15
+ import { IStorageService } from "../../../../../platform/storage/common/storage.service.js";
16
+ import { IChatAgentEditedFileEvent, IChatProgressHistoryResponseContent, IChatRequestModeInstructions, IChatRequestVariableData, ISerializableChatAgentData } from "../model/chatModel.js";
18
17
  import { IRawChatCommandContribution } from "./chatParticipantContribTypes.js";
19
- import { IChatFollowup, IChatLocationData, IChatProgress, IChatResponseErrorDetails, IChatTaskDto } from "./chatService.js";
20
- import { ChatAgentLocation, ChatModeKind } from "./constants.js";
18
+ import { IChatFollowup, IChatLocationData, IChatProgress, IChatResponseErrorDetails, IChatTaskDto } from "../chatService/chatService.js";
19
+ import { ChatAgentLocation, ChatModeKind } from "../constants.js";
20
+ import { IChatAgentService, type IChatAgentNameService } from "./chatAgents.service.js";
21
21
  export interface IChatAgentHistoryEntry {
22
22
  request: IChatAgentRequest;
23
23
  response: ReadonlyArray<IChatProgressHistoryResponseContent | IChatTaskDto>;