@codingame/monaco-vscode-api 36.2.7 → 37.1.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 (1499) hide show
  1. package/missing-services.js +612 -13
  2. package/package.json +9 -9
  3. package/services.d.ts +32 -0
  4. package/services.js +35 -5
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/browser.d.ts +9 -0
  7. package/vscode/src/vs/base/browser/browser.js +5 -1
  8. package/vscode/src/vs/base/browser/contextmenu.d.ts +7 -1
  9. package/vscode/src/vs/base/browser/dom.d.ts +43 -17
  10. package/vscode/src/vs/base/browser/dom.js +98 -19
  11. package/vscode/src/vs/base/browser/domSanitize.d.ts +18 -0
  12. package/vscode/src/vs/base/browser/domSanitize.js +54 -9
  13. package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +443 -0
  14. package/vscode/src/vs/base/browser/indexedDB.d.ts +8 -0
  15. package/vscode/src/vs/base/browser/indexedDB.js +32 -0
  16. package/vscode/src/vs/base/browser/keyboardEvent.js +1 -1
  17. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +10 -0
  18. package/vscode/src/vs/base/browser/markdownRenderer.js +74 -10
  19. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +2 -1
  20. package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -2
  21. package/vscode/src/vs/base/browser/ui/animations/animations.d.ts +1 -2
  22. package/vscode/src/vs/base/browser/ui/animations/animations.js +43 -81
  23. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +4 -1
  24. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +21 -5
  25. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  26. package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +21 -1
  27. package/vscode/src/vs/base/browser/ui/contextview/contextview.js +193 -18
  28. package/vscode/src/vs/base/browser/ui/dialog/dialog.css +4 -2
  29. package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +12 -0
  30. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +23 -4
  31. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +7 -1
  32. package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +25 -7
  33. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +6 -1
  34. package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +14 -2
  35. package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +4 -1
  36. package/vscode/src/vs/base/browser/ui/findinput/findInput.js +14 -28
  37. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.d.ts +9 -0
  38. package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +28 -1
  39. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -24
  40. package/vscode/src/vs/base/browser/ui/grid/grid.d.ts +3 -3
  41. package/vscode/src/vs/base/browser/ui/grid/grid.js +5 -1
  42. package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +6 -0
  43. package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +2 -7
  44. package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +3 -3
  45. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +7 -0
  46. package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +14 -1
  47. package/vscode/src/vs/base/browser/ui/list/listView.d.ts +9 -3
  48. package/vscode/src/vs/base/browser/ui/list/listView.js +310 -120
  49. package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -0
  50. package/vscode/src/vs/base/browser/ui/list/listWidget.js +14 -2
  51. package/vscode/src/vs/base/browser/ui/menu/menu.js +26 -10
  52. package/vscode/src/vs/base/browser/ui/radio/radio.css +117 -8
  53. package/vscode/src/vs/base/browser/ui/radio/radio.d.ts +36 -0
  54. package/vscode/src/vs/base/browser/ui/radio/radio.js +166 -10
  55. package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +4 -1
  56. package/vscode/src/vs/base/browser/ui/sash/sash.js +24 -0
  57. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +9 -0
  58. package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +27 -3
  59. package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +4 -0
  60. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +8 -1
  61. package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +124 -49
  62. package/vscode/src/vs/base/browser/ui/splitview/paneview.css +6 -0
  63. package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +5 -28
  64. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +9 -26
  65. package/vscode/src/vs/base/browser/ui/splitview/splitview.js +7 -1
  66. package/vscode/src/vs/base/browser/ui/toggle/switch.css +60 -0
  67. package/vscode/src/vs/base/browser/ui/toggle/switch.d.ts +33 -0
  68. package/vscode/src/vs/base/browser/ui/toggle/switch.js +64 -0
  69. package/vscode/src/vs/base/browser/ui/toggle/toggle.js +12 -3
  70. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +18 -3
  71. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +224 -42
  72. package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +32 -2
  73. package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +213 -39
  74. package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +1 -0
  75. package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +1 -0
  76. package/vscode/src/vs/base/browser/ui/tree/objectTree.js +7 -1
  77. package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +2 -0
  78. package/vscode/src/vs/base/common/arrays.js +2 -2
  79. package/vscode/src/vs/base/common/assert.js +0 -1
  80. package/vscode/src/vs/base/common/async.js +2 -3
  81. package/vscode/src/vs/base/common/codicons.d.ts +71 -30
  82. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +41 -0
  83. package/vscode/src/vs/base/common/codiconsLibrary.js +41 -0
  84. package/vscode/src/vs/base/common/comparers.d.ts +2 -2
  85. package/vscode/src/vs/base/common/date.d.ts +12 -0
  86. package/vscode/src/vs/base/common/date.js +14 -1
  87. package/vscode/src/vs/base/common/defaultAccount.d.ts +12 -0
  88. package/vscode/src/vs/base/common/errors.d.ts +1 -0
  89. package/vscode/src/vs/base/common/errors.js +11 -1
  90. package/vscode/src/vs/base/common/event.d.ts +5 -1
  91. package/vscode/src/vs/base/common/event.js +54 -36
  92. package/vscode/src/vs/base/common/glob.js +7 -7
  93. package/vscode/src/vs/base/common/hash.d.ts +4 -0
  94. package/vscode/src/vs/base/common/hash.js +9 -1
  95. package/vscode/src/vs/base/common/htmlContent.d.ts +8 -0
  96. package/vscode/src/vs/base/common/htmlContent.js +15 -2
  97. package/vscode/src/vs/base/common/jsonSchema.d.ts +1 -0
  98. package/vscode/src/vs/base/common/managedSettings.d.ts +12 -2
  99. package/vscode/src/vs/base/common/managedSettings.js +2 -1
  100. package/vscode/src/vs/base/common/map.js +4 -0
  101. package/vscode/src/vs/base/common/mime.js +7 -4
  102. package/vscode/src/vs/base/common/network.d.ts +5 -0
  103. package/vscode/src/vs/base/common/network.js +5 -1
  104. package/vscode/src/vs/base/common/oauth.d.ts +2 -0
  105. package/vscode/src/vs/base/common/objects.js +14 -10
  106. package/vscode/src/vs/base/common/observableInternal/base.d.ts +3 -3
  107. package/vscode/src/vs/base/common/observableInternal/logging/debugger/rpc.js +6 -0
  108. package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +6 -5
  109. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +54 -1
  110. package/vscode/src/vs/base/common/platform.d.ts +2 -0
  111. package/vscode/src/vs/base/common/platform.js +5 -1
  112. package/vscode/src/vs/base/common/processes.js +0 -1
  113. package/vscode/src/vs/base/common/product.d.ts +22 -0
  114. package/vscode/src/vs/base/common/strings.js +13 -5
  115. package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +4 -0
  116. package/vscode/src/vs/base/parts/ipc/common/ipc.js +13 -6
  117. package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +2 -2
  118. package/vscode/src/vs/editor/browser/config/fontMeasurements.js +18 -5
  119. package/vscode/src/vs/editor/browser/controller/dragScrolling.js +7 -13
  120. package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +2 -2
  121. package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +12 -3
  122. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +5 -0
  123. package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +17 -1
  124. package/vscode/src/vs/editor/browser/services/openerService.d.ts +5 -0
  125. package/vscode/src/vs/editor/browser/services/openerService.js +59 -23
  126. package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.d.ts +1 -1
  127. package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +212 -74
  128. package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
  129. package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.js +10 -0
  130. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +20 -1
  131. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +1 -0
  132. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +3 -1
  133. package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +12 -0
  134. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +1 -1
  135. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +1 -0
  136. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +4 -2
  137. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +2 -1
  138. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +9 -2
  139. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +4 -18
  140. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +8 -4
  141. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +38 -8
  142. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +1 -1
  143. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +14 -1
  144. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +90 -8
  145. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -1
  146. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +47 -22
  147. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +7 -7
  148. package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +5 -1
  149. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +1 -1
  150. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  151. package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +4 -0
  152. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  153. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollLayout.d.ts +71 -0
  154. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollLayout.js +159 -0
  155. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollView.d.ts +80 -0
  156. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollView.js +372 -0
  157. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.d.ts +44 -15
  158. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +324 -94
  159. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.d.ts +11 -2
  160. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +10 -0
  161. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorLogging.d.ts +60 -0
  162. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorLogging.js +132 -0
  163. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorOptions.d.ts +20 -0
  164. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorOptions.js +29 -0
  165. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +7 -4
  166. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +15 -4
  167. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.d.ts +30 -2
  168. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +80 -6
  169. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.d.ts +106 -22
  170. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +377 -234
  171. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css +331 -65
  172. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/virtualizedItemManager.d.ts +84 -0
  173. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/virtualizedItemManager.js +253 -0
  174. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/workbenchUIElementFactory.d.ts +21 -4
  175. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/workbenchUIElementFactory.js +9 -0
  176. package/vscode/src/vs/editor/common/config/diffEditor.d.ts +1 -0
  177. package/vscode/src/vs/editor/common/config/diffEditor.js +1 -0
  178. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +52 -52
  179. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +54 -32
  180. package/vscode/src/vs/editor/common/config/editorOptions.js +422 -376
  181. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
  182. package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.js +1 -1
  183. package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +6 -0
  184. package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +1 -1
  185. package/vscode/src/vs/editor/common/cursorEvents.d.ts +2 -2
  186. package/vscode/src/vs/editor/common/editorContextKeys.d.ts +4 -0
  187. package/vscode/src/vs/editor/common/editorContextKeys.js +62 -49
  188. package/vscode/src/vs/editor/common/languages/autoIndent.js +1 -1
  189. package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +4 -1
  190. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  191. package/vscode/src/vs/editor/common/languages.d.ts +2 -1
  192. package/vscode/src/vs/editor/common/languages.js +56 -56
  193. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +1 -0
  194. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +11 -0
  195. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +2 -0
  196. package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +50 -2
  197. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  198. package/vscode/src/vs/editor/common/model/textModel.d.ts +2 -1
  199. package/vscode/src/vs/editor/common/model/textModel.js +1 -0
  200. package/vscode/src/vs/editor/common/model.d.ts +5 -0
  201. package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +1 -1
  202. package/vscode/src/vs/editor/common/multiDiffEditor.d.ts +16 -0
  203. package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.d.ts +2 -0
  204. package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +9 -0
  205. package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +3 -1
  206. package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +2 -0
  207. package/vscode/src/vs/editor/common/standaloneStrings.d.ts +1 -0
  208. package/vscode/src/vs/editor/common/standaloneStrings.js +55 -50
  209. package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +5 -0
  210. package/vscode/src/vs/editor/common/textModelEditSource.d.ts +35 -13
  211. package/vscode/src/vs/editor/common/textModelEditSource.js +15 -0
  212. package/vscode/src/vs/editor/common/textModelEvents.d.ts +20 -0
  213. package/vscode/src/vs/editor/common/textModelEvents.js +24 -2
  214. package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +1 -1
  215. package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +2 -2
  216. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +6 -1
  217. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +54 -12
  218. package/vscode/src/vs/editor/common/viewModel/inlineDecorations.d.ts +9 -1
  219. package/vscode/src/vs/editor/common/viewModel/inlineDecorations.js +11 -6
  220. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.d.ts +1 -1
  221. package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +162 -36
  222. package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +6 -2
  223. package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +4 -3
  224. package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +17 -5
  225. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  226. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  227. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  228. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  229. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
  230. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  231. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +18 -18
  232. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  233. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +9 -4
  234. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  235. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.d.ts +5 -0
  236. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +144 -121
  237. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  238. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  239. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +2 -0
  240. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +23 -2
  241. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +3 -3
  242. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  243. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  244. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  245. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  246. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  247. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +15 -13
  248. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  249. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  250. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  251. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +5 -5
  252. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  253. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  254. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  255. package/vscode/src/vs/editor/contrib/find/browser/findController.js +19 -19
  256. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +28 -28
  257. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -35
  258. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  259. package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.d.ts +2 -1
  260. package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.js +19 -3
  261. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  262. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  263. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  264. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -16
  265. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +33 -33
  266. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  267. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  268. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  269. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  270. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  271. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  272. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  273. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +4 -0
  274. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  275. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  276. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  277. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +22 -22
  278. package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
  279. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
  280. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -8
  281. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  282. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +18 -18
  283. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +16 -11
  284. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +5 -5
  285. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
  286. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
  287. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +2 -6
  288. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +46 -27
  289. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  290. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
  291. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +3 -2
  292. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +8 -4
  293. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +2 -1
  294. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +10 -10
  295. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
  296. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +1 -0
  297. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +1 -1
  298. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +6 -3
  299. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  300. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +3 -13
  301. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +6 -4
  302. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +6 -0
  303. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js +3 -1
  304. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +15 -13
  305. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +2 -2
  306. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +6 -4
  307. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js +20 -10
  308. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  309. package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +2 -1
  310. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  311. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  312. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  313. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  314. package/vscode/src/vs/editor/contrib/links/browser/links.js +6 -6
  315. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  316. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  317. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  318. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  319. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  320. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  321. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
  322. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +11 -11
  323. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  324. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  325. package/vscode/src/vs/editor/contrib/rename/browser/rename.d.ts +1 -1
  326. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -13
  327. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  328. package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +18 -4
  329. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  330. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -5
  331. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
  332. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  333. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +1 -1
  334. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +11 -4
  335. package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +19 -1
  336. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +1 -1
  337. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +9 -9
  338. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
  339. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +10 -0
  340. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +99 -38
  341. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -2
  342. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  343. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  344. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  345. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  346. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  347. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  348. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  349. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  350. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  351. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  352. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
  353. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +12 -3
  354. package/vscode/src/vs/nls.js +1 -1
  355. package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +13 -3
  356. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +8 -3
  357. package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +4 -0
  358. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +2 -0
  359. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +78 -62
  360. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  361. package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +118 -13
  362. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +754 -175
  363. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +81 -72
  364. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +4 -0
  365. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +80 -29
  366. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +24 -1
  367. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +46 -6
  368. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +4 -0
  369. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +6 -0
  370. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +5 -1
  371. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +36 -19
  372. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  373. package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -5
  374. package/vscode/src/vs/platform/actions/common/actions.js +9 -3
  375. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  376. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  377. package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +27 -3
  378. package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +49 -0
  379. package/vscode/src/vs/platform/agentHost/common/agent.d.ts +1100 -0
  380. package/vscode/src/vs/platform/agentHost/common/agent.js +69 -0
  381. package/vscode/src/vs/platform/agentHost/common/agentHostConfigurationSync.d.ts +66 -0
  382. package/vscode/src/vs/platform/agentHost/common/agentHostConfigurationSync.js +128 -0
  383. package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.d.ts +20 -5
  384. package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.d.ts +21 -7
  385. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationUri.d.ts +10 -0
  386. package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationUri.js +12 -0
  387. package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.d.ts +7 -0
  388. package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.js +92 -0
  389. package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.service.d.ts +21 -0
  390. package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.service.js +6 -0
  391. package/vscode/src/vs/platform/agentHost/common/agentHostEndpointRegistry.d.ts +97 -0
  392. package/vscode/src/vs/platform/agentHost/common/agentHostMcpServer.d.ts +14 -1
  393. package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.d.ts +65 -0
  394. package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.js +25 -0
  395. package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.service.d.ts +22 -28
  396. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.d.ts +347 -0
  397. package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +713 -0
  398. package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.d.ts +1 -1
  399. package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.js +4 -1
  400. package/vscode/src/vs/platform/agentHost/common/agentHostTelemetry.d.ts +46 -0
  401. package/vscode/src/vs/platform/agentHost/common/agentHostTelemetry.js +62 -0
  402. package/vscode/src/vs/platform/agentHost/common/agentHostUri.d.ts +65 -10
  403. package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +62 -15
  404. package/vscode/src/vs/platform/agentHost/common/agentMergePrompt.d.ts +25 -0
  405. package/vscode/src/vs/platform/agentHost/common/agentMergePrompt.js +186 -0
  406. package/vscode/src/vs/platform/agentHost/common/agentServerTools.d.ts +37 -9
  407. package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +638 -0
  408. package/vscode/src/vs/platform/agentHost/common/agentService.js +68 -0
  409. package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +53 -33
  410. package/vscode/src/vs/platform/agentHost/common/codexAccount.d.ts +1 -0
  411. package/vscode/src/vs/platform/agentHost/common/copilotHome.d.ts +3 -0
  412. package/vscode/src/vs/platform/agentHost/common/copilotHome.js +8 -0
  413. package/vscode/src/vs/platform/agentHost/common/customizationEnablement.d.ts +63 -0
  414. package/vscode/src/vs/platform/agentHost/common/customizationEnablement.js +69 -0
  415. package/vscode/src/vs/platform/agentHost/common/meta/agentWorkspaceContinuationMeta.d.ts +8 -0
  416. package/vscode/src/vs/platform/agentHost/common/meta/agentWorkspaceContinuationMeta.js +8 -0
  417. package/vscode/src/vs/platform/agentHost/common/meta/codexAccount.d.ts +28 -0
  418. package/vscode/src/vs/platform/agentHost/common/meta/codexAccount.js +69 -0
  419. package/vscode/src/vs/platform/agentHost/common/reconnectPolicy.d.ts +29 -0
  420. package/vscode/src/vs/platform/agentHost/common/reconnectPolicy.js +16 -0
  421. package/vscode/src/vs/platform/agentHost/common/reconnectingTransport.d.ts +37 -0
  422. package/vscode/src/vs/platform/agentHost/common/relayTransport.d.ts +26 -5
  423. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostLocationPreference.d.ts +7 -0
  424. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +247 -23
  425. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +173 -62
  426. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +23 -37
  427. package/vscode/src/vs/platform/agentHost/common/sessionConfigKeys.d.ts +67 -0
  428. package/vscode/src/vs/platform/agentHost/common/sessionConfigKeys.js +22 -0
  429. package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +243 -0
  430. package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +65 -8
  431. package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.d.ts +30 -0
  432. package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.js +95 -0
  433. package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +20 -8
  434. package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +2 -0
  435. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/actions.d.ts +3 -7
  436. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/state.d.ts +20 -12
  437. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/actions.d.ts +117 -0
  438. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/commands.d.ts +102 -0
  439. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/state.d.ts +309 -0
  440. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/state.js +20 -0
  441. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/actions.d.ts +74 -0
  442. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/state.d.ts +215 -0
  443. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/state.js +17 -0
  444. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/actions.d.ts +34 -2
  445. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/commands.d.ts +1 -0
  446. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.d.ts +53 -0
  447. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/actions.d.ts +193 -17
  448. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.d.ts +82 -7
  449. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.js +9 -0
  450. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.d.ts +373 -62
  451. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.js +16 -2
  452. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/commands.d.ts +1 -1
  453. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state.d.ts +1 -0
  454. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/commands.d.ts +30 -6
  455. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.d.ts +67 -2
  456. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/actions.d.ts +138 -9
  457. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.d.ts +39 -40
  458. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.d.ts +288 -57
  459. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.js +13 -2
  460. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/state.d.ts +47 -4
  461. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/state.js +6 -1
  462. package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +1 -0
  463. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.d.ts +29 -5
  464. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.js +21 -0
  465. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/commands.d.ts +294 -8
  466. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.d.ts +186 -0
  467. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.js +11 -0
  468. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/messages.d.ts +17 -4
  469. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/notifications.d.ts +60 -0
  470. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/notifications.js +9 -0
  471. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/state.d.ts +5 -5
  472. package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.d.ts +1 -1
  473. package/vscode/src/vs/platform/agentHost/common/state/protocol/notifications.d.ts +1 -1
  474. package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +2 -0
  475. package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +13 -2
  476. package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.js +4 -1
  477. package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +429 -23
  478. package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +538 -3
  479. package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.d.ts +57 -0
  480. package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.js +18 -0
  481. package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.d.ts +146 -14
  482. package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.js +1 -1
  483. package/vscode/src/vs/platform/agentPlugins/common/agentPluginParser.d.ts +12 -0
  484. package/vscode/src/vs/platform/agentPlugins/common/agentPluginParser.js +58 -0
  485. package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +67 -16
  486. package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +200 -45
  487. package/vscode/src/vs/platform/assignment/common/assignment.d.ts +119 -0
  488. package/vscode/src/vs/platform/assignment/common/assignment.js +53 -0
  489. package/vscode/src/vs/platform/browserView/common/browserPermissions.js +14 -14
  490. package/vscode/src/vs/platform/browserView/common/browserView.d.ts +150 -27
  491. package/vscode/src/vs/platform/browserView/common/browserView.js +27 -1
  492. package/vscode/src/vs/platform/browserView/common/browserViewTelemetry.d.ts +3 -1
  493. package/vscode/src/vs/platform/browserView/common/cdp/types.d.ts +19 -7
  494. package/vscode/src/vs/platform/chat/common/chatSettings.d.ts +21 -0
  495. package/vscode/src/vs/platform/chat/common/chatSettings.js +50 -0
  496. package/vscode/src/vs/platform/configuration/common/configuration.d.ts +1 -1
  497. package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +1 -0
  498. package/vscode/src/vs/platform/configuration/common/configurationModels.js +90 -6
  499. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +50 -0
  500. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +58 -12
  501. package/vscode/src/vs/platform/configuration/common/configurations.js +1 -2
  502. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  503. package/vscode/src/vs/platform/contextkey/common/contextkey.js +12 -11
  504. package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +1 -0
  505. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +12 -11
  506. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  507. package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +2 -1
  508. package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +3 -1
  509. package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +1 -1
  510. package/vscode/src/vs/platform/contextview/browser/contextViewService.d.ts +1 -1
  511. package/vscode/src/vs/platform/contextview/browser/contextViewService.js +3 -2
  512. package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +1 -1
  513. package/vscode/src/vs/platform/dataChannel/common/dataChannel.d.ts +42 -0
  514. package/vscode/src/vs/platform/dataChannel/common/dataChannel.js +73 -2
  515. package/vscode/src/vs/platform/dataChannel/common/dataChannel.service.d.ts +13 -1
  516. package/vscode/src/vs/platform/dataChannel/common/dataChannel.service.js +2 -1
  517. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +20 -3
  518. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.js +3 -1
  519. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +7 -4
  520. package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +17 -21
  521. package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -12
  522. package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +58 -0
  523. package/vscode/src/vs/platform/dnd/browser/dnd.js +18 -3
  524. package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
  525. package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.d.ts +1 -0
  526. package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.js +2 -1
  527. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -1
  528. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +18 -17
  529. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  530. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  531. package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.d.ts +1 -1
  532. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
  533. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +8 -0
  534. package/vscode/src/vs/platform/extensions/common/extensions.js +2 -1
  535. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +15 -3
  536. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +15 -3
  537. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  538. package/vscode/src/vs/platform/files/common/files.d.ts +2 -2
  539. package/vscode/src/vs/platform/files/common/files.js +6 -6
  540. package/vscode/src/vs/platform/github/common/githubPullRequestMutationService.d.ts +150 -0
  541. package/vscode/src/vs/platform/github/common/githubPullRequestService.d.ts +182 -0
  542. package/vscode/src/vs/platform/github/common/githubQueryService.d.ts +187 -0
  543. package/vscode/src/vs/platform/github/common/githubService.service.d.ts +18 -0
  544. package/vscode/src/vs/platform/github/common/githubService.service.js +6 -0
  545. package/vscode/src/vs/platform/github/common/githubTypes.d.ts +30 -0
  546. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +3 -3
  547. package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
  548. package/vscode/src/vs/platform/hover/browser/hoverService.d.ts +5 -0
  549. package/vscode/src/vs/platform/hover/browser/hoverService.js +16 -3
  550. package/vscode/src/vs/platform/hover/browser/hoverWidget.d.ts +1 -0
  551. package/vscode/src/vs/platform/hover/browser/hoverWidget.js +24 -7
  552. package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +3 -2
  553. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -5
  554. package/vscode/src/vs/platform/label/common/label.d.ts +17 -0
  555. package/vscode/src/vs/platform/label/common/label.service.d.ts +4 -2
  556. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
  557. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
  558. package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -1
  559. package/vscode/src/vs/platform/list/browser/listService.js +29 -29
  560. package/vscode/src/vs/platform/localTranscription/common/localTranscription.d.ts +53 -0
  561. package/vscode/src/vs/platform/localTranscription/common/localTranscription.js +13 -0
  562. package/vscode/src/vs/platform/localTranscription/common/localTranscription.service.d.ts +84 -0
  563. package/vscode/src/vs/platform/localTranscription/common/localTranscription.service.js +6 -0
  564. package/vscode/src/vs/platform/log/common/log.d.ts +2 -2
  565. package/vscode/src/vs/platform/log/common/log.js +6 -6
  566. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  567. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  568. package/vscode/src/vs/platform/mcp/common/mcpManagement.d.ts +18 -0
  569. package/vscode/src/vs/platform/mcp/common/mcpManagement.js +9 -1
  570. package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +18 -1
  571. package/vscode/src/vs/platform/mcp/common/mcpManagementService.d.ts +13 -3
  572. package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +40 -11
  573. package/vscode/src/vs/platform/mcp/common/mcpPlatformTypes.d.ts +1 -0
  574. package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
  575. package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.service.d.ts +4 -0
  576. package/vscode/src/vs/platform/native/common/native.d.ts +116 -10
  577. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.d.ts +5 -1
  578. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  579. package/vscode/src/vs/platform/opener/common/opener.d.ts +5 -0
  580. package/vscode/src/vs/platform/opener/common/opener.js +2 -1
  581. package/vscode/src/vs/platform/opener/common/opener.service.d.ts +1 -1
  582. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.d.ts +98 -24
  583. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.js +100 -7
  584. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.d.ts +13 -1
  585. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.js +2 -1
  586. package/vscode/src/vs/platform/policy/common/managedSettingsFreshness.d.ts +58 -0
  587. package/vscode/src/vs/platform/policy/common/managedSettingsFreshness.js +35 -0
  588. package/vscode/src/vs/platform/policy/common/policy.d.ts +18 -0
  589. package/vscode/src/vs/platform/policy/common/policy.js +50 -5
  590. package/vscode/src/vs/platform/policy/common/policy.service.d.ts +3 -1
  591. package/vscode/src/vs/platform/product/common/product.js +3 -3
  592. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +45 -4
  593. package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +2 -2
  594. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  595. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +6 -6
  596. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +1 -0
  597. package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +3 -0
  598. package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +5 -0
  599. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +80 -14
  600. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +8 -1
  601. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  602. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
  603. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  604. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +2 -0
  605. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
  606. package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +3 -0
  607. package/vscode/src/vs/platform/remoteTunnel/common/remoteTunnel.service.d.ts +15 -0
  608. package/vscode/src/vs/platform/remoteTunnel/common/remoteTunnel.service.js +6 -0
  609. package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
  610. package/vscode/src/vs/platform/request/common/request.js +46 -27
  611. package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +2 -0
  612. package/vscode/src/vs/platform/sandbox/common/settings.d.ts +2 -6
  613. package/vscode/src/vs/platform/sandbox/common/settings.js +0 -4
  614. package/vscode/src/vs/platform/sandbox/common/terminalSandboxMxcRuntime.service.d.ts +1 -1
  615. package/vscode/src/vs/platform/telemetry/common/errorTelemetry.d.ts +1 -1
  616. package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +2 -2
  617. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +4 -2
  618. package/vscode/src/vs/platform/terminal/common/autoApprove/gitAutoApproveRules.d.ts +6 -0
  619. package/vscode/src/vs/platform/terminal/common/autoApprove/gitAutoApproveRules.js +16 -0
  620. package/vscode/src/vs/platform/terminal/common/autoApprove/powershellAutoApproveRules.d.ts +8 -0
  621. package/vscode/src/vs/platform/terminal/common/autoApprove/powershellAutoApproveRules.js +26 -0
  622. package/vscode/src/vs/platform/terminal/common/autoApprove/sortAutoApproveRules.d.ts +4 -0
  623. package/vscode/src/vs/platform/terminal/common/autoApprove/sortAutoApproveRules.js +9 -0
  624. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.d.ts +1 -1
  625. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +1 -0
  626. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +6 -1
  627. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +4 -0
  628. package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
  629. package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
  630. package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
  631. package/vscode/src/vs/platform/theme/browser/defaultStyles.js +4 -1
  632. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  633. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
  634. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  635. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  636. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
  637. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  638. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  639. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  640. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
  641. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
  642. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  643. package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -7
  644. package/vscode/src/vs/platform/theme/common/sizes/baseSizes.d.ts +13 -0
  645. package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +37 -27
  646. package/vscode/src/vs/platform/theme/common/themeService.d.ts +36 -0
  647. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
  648. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  649. package/vscode/src/vs/platform/url/common/trustedDomains.d.ts +8 -0
  650. package/vscode/src/vs/platform/url/common/trustedDomains.js +12 -3
  651. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +2 -2
  652. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  653. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
  654. package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
  655. package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
  656. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  657. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
  658. package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.d.ts +2 -2
  659. package/vscode/src/vs/platform/userInteraction/browser/userInteractionServiceImpl.js +2 -3
  660. package/vscode/src/vs/platform/webWorker/browser/webWorkerServiceImpl.js +8 -5
  661. package/vscode/src/vs/platform/window/common/window.d.ts +13 -0
  662. package/vscode/src/vs/platform/window/common/window.js +13 -1
  663. package/vscode/src/vs/platform/workspace/common/workspace.d.ts +2 -2
  664. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  665. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +13 -13
  666. package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +2 -0
  667. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +51 -21
  668. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +34 -8
  669. package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.d.ts +2 -1
  670. package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.js +20 -3
  671. package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +31 -7
  672. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +46 -15
  673. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +18 -11
  674. package/vscode/src/vs/workbench/api/common/extHostChatContext.d.ts +10 -5
  675. package/vscode/src/vs/workbench/api/common/extHostChatContext.js +40 -52
  676. package/vscode/src/vs/workbench/api/common/extHostChatInputNotification.js +9 -1
  677. package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +4 -4
  678. package/vscode/src/vs/workbench/api/common/extHostCommands.js +1 -1
  679. package/vscode/src/vs/workbench/api/common/extHostComments.js +7 -7
  680. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +3 -3
  681. package/vscode/src/vs/workbench/api/common/extHostDataChannels.d.ts +35 -3
  682. package/vscode/src/vs/workbench/api/common/extHostDataChannels.js +170 -11
  683. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -2
  684. package/vscode/src/vs/workbench/api/common/extHostEmbedding.d.ts +1 -0
  685. package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +7 -3
  686. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -3
  687. package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.d.ts +1 -1
  688. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +11 -11
  689. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +6 -6
  690. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -4
  691. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  692. package/vscode/src/vs/workbench/api/common/extHostMcp.js +12 -4
  693. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  694. package/vscode/src/vs/workbench/api/common/extHostSCM.js +3 -3
  695. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  696. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  697. package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +3 -1
  698. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +27 -17
  699. package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
  700. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  701. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +14 -7
  702. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +63 -19
  703. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +17 -7
  704. package/vscode/src/vs/workbench/api/common/extHostTypes.js +8 -5
  705. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  706. package/vscode/src/vs/workbench/api/common/extHostXaaAuthProvider.d.ts +8 -0
  707. package/vscode/src/vs/workbench/api/common/extHostXaaAuthProvider.js +20 -16
  708. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +87 -11
  709. package/vscode/src/vs/workbench/browser/actions/developerActions.js +437 -241
  710. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +172 -137
  711. package/vscode/src/vs/workbench/browser/actions/menuMotion.d.ts +10 -0
  712. package/vscode/src/vs/workbench/browser/actions/menuMotion.js +14 -0
  713. package/vscode/src/vs/workbench/browser/actions/policyDiagnosticsMarkdown.d.ts +4 -0
  714. package/vscode/src/vs/workbench/browser/actions/policyDiagnosticsMarkdown.js +32 -0
  715. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  716. package/vscode/src/vs/workbench/browser/actions/windowActions.js +76 -49
  717. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
  718. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
  719. package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -4
  720. package/vscode/src/vs/workbench/browser/contextkeys.js +16 -12
  721. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  722. package/vscode/src/vs/workbench/browser/labels.js +7 -5
  723. package/vscode/src/vs/workbench/browser/media/floatingPanels.css +524 -82
  724. package/vscode/src/vs/workbench/browser/part.js +10 -8
  725. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +64 -8
  726. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +152 -50
  727. package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css +2 -2
  728. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +29 -34
  729. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +2 -0
  730. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +15 -5
  731. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css +6 -1
  732. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
  733. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
  734. package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +2 -0
  735. package/vscode/src/vs/workbench/browser/parts/compositePart.js +13 -10
  736. package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.d.ts +2 -1
  737. package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +4 -3
  738. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +6 -4
  739. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
  740. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
  741. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.d.ts +7 -4
  742. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +50 -38
  743. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.d.ts +27 -1
  744. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +175 -35
  745. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.d.ts +9 -2
  746. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +53 -7
  747. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.d.ts +1 -1
  748. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
  749. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.d.ts +4 -0
  750. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +43 -170
  751. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.d.ts +28 -0
  752. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.js +227 -0
  753. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.service.d.ts +24 -0
  754. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.service.js +6 -0
  755. package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +31 -0
  756. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +2 -0
  757. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.d.ts +8 -1
  758. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +179 -141
  759. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +25 -25
  760. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +23 -5
  761. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.d.ts +11 -4
  762. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +81 -18
  763. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
  764. package/vscode/src/vs/workbench/browser/parts/editor/editorHeaderControl.d.ts +33 -0
  765. package/vscode/src/vs/workbench/browser/parts/editor/editorHeaderControl.js +215 -0
  766. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
  767. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +8 -10
  768. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +33 -23
  769. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.d.ts +3 -0
  770. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +37 -13
  771. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
  772. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
  773. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
  774. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.d.ts +18 -5
  775. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +94 -21
  776. package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.d.ts +11 -7
  777. package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +45 -53
  778. package/vscode/src/vs/workbench/browser/parts/editor/editorTypePicker.d.ts +37 -0
  779. package/vscode/src/vs/workbench/browser/parts/editor/editorTypePicker.js +96 -0
  780. package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.d.ts +7 -0
  781. package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +3 -0
  782. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +13 -15
  783. package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css +42 -0
  784. package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css +9 -0
  785. package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +6 -1
  786. package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +8 -12
  787. package/vscode/src/vs/workbench/browser/parts/editor/media/singleeditortabscontrol.css +20 -7
  788. package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +29 -5
  789. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +14 -3
  790. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +154 -72
  791. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.d.ts +6 -2
  792. package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +18 -3
  793. package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.d.ts +1 -0
  794. package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +1 -0
  795. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
  796. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +1 -0
  797. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +34 -21
  798. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
  799. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.d.ts +3 -1
  800. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +43 -8
  801. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  802. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.d.ts +11 -3
  803. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +125 -30
  804. package/vscode/src/vs/workbench/browser/parts/media/globalCompositeBar.css +15 -0
  805. package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css +12 -0
  806. package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.d.ts +10 -0
  807. package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.js +126 -0
  808. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
  809. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
  810. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +21 -10
  811. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +14 -14
  812. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.d.ts +1 -0
  813. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +19 -6
  814. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +14 -14
  815. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.d.ts +2 -0
  816. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +48 -13
  817. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.d.ts +11 -1
  818. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +23 -12
  819. package/vscode/src/vs/workbench/browser/parts/notifications/pendingNotificationToasts.d.ts +13 -0
  820. package/vscode/src/vs/workbench/browser/parts/notifications/pendingNotificationToasts.js +64 -0
  821. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
  822. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +5 -23
  823. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +35 -43
  824. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
  825. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +3 -3
  826. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
  827. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +3 -0
  828. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +10 -1
  829. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.d.ts +1 -0
  830. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +16 -12
  831. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
  832. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
  833. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
  834. package/vscode/src/vs/workbench/browser/parts/views/media/views.css +1 -1
  835. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +13 -10
  836. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
  837. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +5 -5
  838. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +8 -8
  839. package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
  840. package/vscode/src/vs/workbench/browser/web.api.d.ts +10 -0
  841. package/vscode/src/vs/workbench/browser/window.js +17 -17
  842. package/vscode/src/vs/workbench/browser/workbench.contribution.js +276 -232
  843. package/vscode/src/vs/workbench/common/configuration.d.ts +1 -0
  844. package/vscode/src/vs/workbench/common/configuration.js +12 -9
  845. package/vscode/src/vs/workbench/common/contextkeys.d.ts +5 -1
  846. package/vscode/src/vs/workbench/common/contextkeys.js +102 -88
  847. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -1
  848. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  849. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  850. package/vscode/src/vs/workbench/common/editor.d.ts +25 -1
  851. package/vscode/src/vs/workbench/common/editor.js +11 -5
  852. package/vscode/src/vs/workbench/common/notifications.d.ts +7 -0
  853. package/vscode/src/vs/workbench/common/notifications.js +21 -7
  854. package/vscode/src/vs/workbench/common/theme.d.ts +30 -0
  855. package/vscode/src/vs/workbench/common/theme.js +403 -168
  856. package/vscode/src/vs/workbench/common/views.d.ts +1 -1
  857. package/vscode/src/vs/workbench/common/views.js +4 -4
  858. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -1
  859. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +230 -162
  860. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  861. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.d.ts +1 -0
  862. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +14 -1
  863. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.service.d.ts +19 -0
  864. package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.service.js +6 -0
  865. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.d.ts +46 -0
  866. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.js +31 -0
  867. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.d.ts +2 -0
  868. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.js +26 -0
  869. package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +8 -1
  870. package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +82 -36
  871. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +55 -27
  872. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +190 -96
  873. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +11 -6
  874. package/vscode/src/vs/workbench/contrib/browserView/common/browserZoomService.d.ts +7 -7
  875. package/vscode/src/vs/workbench/contrib/browserView/common/browserZoomService.service.d.ts +12 -12
  876. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +17 -11
  877. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +132 -123
  878. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +6 -4
  879. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +121 -0
  880. package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +341 -0
  881. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +16 -23
  882. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +34 -3
  883. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.service.d.ts +26 -0
  884. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.service.js +6 -0
  885. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLegacyMigration.d.ts +50 -0
  886. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLegacyMigration.js +101 -0
  887. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.d.ts +12 -0
  888. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.service.d.ts +32 -0
  889. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.service.js +6 -0
  890. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.service.d.ts +24 -0
  891. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.service.js +6 -0
  892. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.service.d.ts +15 -0
  893. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.service.js +6 -0
  894. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service.d.ts +18 -5
  895. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +0 -1
  896. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +23 -24
  897. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +85 -1
  898. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +157 -18
  899. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.service.d.ts +21 -0
  900. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.service.js +6 -0
  901. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +24 -13
  902. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +34 -10
  903. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.d.ts +13 -0
  904. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +75 -7
  905. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
  906. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +4 -1
  907. package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +140 -37
  908. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +14 -1
  909. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +10 -3
  910. package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.js +2 -1
  911. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +2 -2
  912. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
  913. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.d.ts +1 -0
  914. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +2 -1
  915. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutline.d.ts +54 -0
  916. package/vscode/src/vs/workbench/contrib/chat/browser/chatOutline.js +238 -0
  917. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetService.service.d.ts +27 -0
  918. package/vscode/src/vs/workbench/contrib/chat/browser/chatPetService.service.js +6 -0
  919. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.d.ts +14 -1
  920. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
  921. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +28 -2
  922. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +314 -86
  923. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +34 -1
  924. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +15 -2
  925. package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.service.d.ts +9 -0
  926. package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.service.js +6 -0
  927. package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.d.ts +106 -0
  928. package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.js +161 -0
  929. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.d.ts +20 -0
  930. package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +40 -0
  931. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.service.d.ts +38 -0
  932. package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.service.js +6 -0
  933. package/vscode/src/vs/workbench/contrib/chat/browser/pcmCaptureWorklet.d.ts +54 -0
  934. package/vscode/src/vs/workbench/contrib/chat/browser/pcmCaptureWorklet.js +102 -0
  935. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service.d.ts +13 -4
  936. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.d.ts +333 -0
  937. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.js +1368 -0
  938. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service.d.ts +81 -0
  939. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service.js +6 -0
  940. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadRing.d.ts +35 -0
  941. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadRing.js +86 -0
  942. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationLanguage.d.ts +6 -0
  943. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationLanguage.js +113 -0
  944. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.service.d.ts +28 -0
  945. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.service.js +6 -0
  946. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationSession.d.ts +27 -0
  947. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationSession.js +408 -0
  948. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/media/dictationSession.css +22 -0
  949. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.service.d.ts +16 -0
  950. package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.service.js +6 -0
  951. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.d.ts +139 -0
  952. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.js +535 -0
  953. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts +21 -4
  954. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceEndpoint.d.ts +5 -0
  955. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceEndpoint.js +46 -0
  956. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts +78 -4
  957. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.d.ts +11 -2
  958. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.service.d.ts +32 -0
  959. package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.service.js +6 -0
  960. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.service.d.ts +9 -0
  961. package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.service.js +6 -0
  962. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.service.d.ts +14 -0
  963. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.service.js +6 -0
  964. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +140 -0
  965. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +186 -0
  966. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +20 -4
  967. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.d.ts +2 -4
  968. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts +21 -1
  969. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +174 -42
  970. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +21 -0
  971. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +183 -93
  972. package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +14 -28
  973. package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +31 -27
  974. package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +4 -0
  975. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +150 -3
  976. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +178 -12
  977. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +3 -1
  978. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.js +17 -0
  979. package/vscode/src/vs/workbench/contrib/chat/common/automations/automation.d.ts +110 -0
  980. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +3 -0
  981. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.js +6 -3
  982. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +4 -2
  983. package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.d.ts +34 -0
  984. package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +194 -0
  985. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +1 -1
  986. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +11 -6
  987. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.d.ts +27 -0
  988. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.js +50 -0
  989. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.service.d.ts +8 -0
  990. package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.service.js +6 -0
  991. package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +16 -14
  992. package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +42 -48
  993. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +256 -33
  994. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +8 -1
  995. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +18 -9
  996. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionTypePreference.d.ts +5 -0
  997. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionTypePreference.js +15 -0
  998. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +132 -5
  999. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +7 -2
  1000. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +30 -2
  1001. package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.service.d.ts +17 -0
  1002. package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.service.js +6 -0
  1003. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +99 -26
  1004. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +286 -50
  1005. package/vscode/src/vs/workbench/contrib/chat/common/contextContrib/chatContext.d.ts +3 -3
  1006. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +16 -8
  1007. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +31 -13
  1008. package/vscode/src/vs/workbench/contrib/chat/common/customizationLockdown.d.ts +4 -0
  1009. package/vscode/src/vs/workbench/contrib/chat/common/customizationLockdown.js +19 -0
  1010. package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.d.ts +33 -7
  1011. package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
  1012. package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.service.d.ts +7 -2
  1013. package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +5 -0
  1014. package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +32 -10
  1015. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
  1016. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +98 -1
  1017. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +126 -51
  1018. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +7 -1
  1019. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +136 -11
  1020. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +304 -62
  1021. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.d.ts +5 -1
  1022. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.js +8 -1
  1023. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.d.ts +9 -2
  1024. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.js +16 -2
  1025. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.d.ts +20 -1
  1026. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +121 -50
  1027. package/vscode/src/vs/workbench/contrib/chat/common/model/chatUri.d.ts +10 -0
  1028. package/vscode/src/vs/workbench/contrib/chat/common/model/chatUri.js +16 -1
  1029. package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +26 -81
  1030. package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +39 -3
  1031. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +14 -0
  1032. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +25 -0
  1033. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +178 -0
  1034. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.d.ts +11 -1
  1035. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +3 -2
  1036. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +12 -3
  1037. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +67 -0
  1038. package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +195 -0
  1039. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +67 -0
  1040. package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +294 -0
  1041. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.d.ts +1 -0
  1042. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +5 -1
  1043. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +1 -1
  1044. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +212 -0
  1045. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +955 -0
  1046. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +9 -11
  1047. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginSource.d.ts +1 -1
  1048. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +31 -0
  1049. package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +122 -0
  1050. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +3 -1
  1051. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +38 -37
  1052. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +8 -0
  1053. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +3 -1
  1054. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
  1055. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
  1056. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +97 -79
  1057. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +3 -1
  1058. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +10 -4
  1059. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +12 -12
  1060. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +29 -11
  1061. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.service.d.ts +12 -0
  1062. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.service.js +6 -0
  1063. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +7 -1
  1064. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +15 -4
  1065. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +6 -1
  1066. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +12 -2
  1067. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +28 -2
  1068. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +201 -51
  1069. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +10 -3
  1070. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +62 -18
  1071. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.d.ts +2 -1
  1072. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.js +17 -3
  1073. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +2 -1
  1074. package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.service.d.ts +16 -0
  1075. package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.service.js +6 -0
  1076. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
  1077. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +2 -0
  1078. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
  1079. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +9 -8
  1080. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +15 -2
  1081. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +136 -49
  1082. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
  1083. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
  1084. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +31 -30
  1085. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +24 -3
  1086. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
  1087. package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.d.ts +47 -5
  1088. package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.d.ts +13 -0
  1089. package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.service.d.ts +7 -7
  1090. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
  1091. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.d.ts +17 -2
  1092. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +106 -29
  1093. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +10 -6
  1094. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  1095. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHintTypes.d.ts +5 -0
  1096. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHintTypes.js +5 -0
  1097. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +16 -11
  1098. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  1099. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  1100. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.d.ts +9 -1
  1101. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +116 -79
  1102. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  1103. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.d.ts +2 -2
  1104. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  1105. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
  1106. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  1107. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +12 -12
  1108. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +2 -0
  1109. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +20 -7
  1110. package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +71 -71
  1111. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
  1112. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
  1113. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
  1114. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -8
  1115. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
  1116. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
  1117. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
  1118. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
  1119. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  1120. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.d.ts +1 -1
  1121. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
  1122. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
  1123. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
  1124. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
  1125. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
  1126. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
  1127. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
  1128. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.d.ts +3 -2
  1129. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +9 -3
  1130. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
  1131. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
  1132. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +33 -31
  1133. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
  1134. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
  1135. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
  1136. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +22 -10
  1137. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
  1138. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
  1139. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
  1140. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
  1141. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
  1142. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
  1143. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +7 -7
  1144. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
  1145. package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css +4 -0
  1146. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
  1147. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +10 -5
  1148. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
  1149. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  1150. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +2 -2
  1151. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  1152. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +1 -0
  1153. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +23 -7
  1154. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.d.ts +1 -1
  1155. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  1156. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  1157. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
  1158. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  1159. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  1160. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  1161. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +2 -0
  1162. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +3 -0
  1163. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
  1164. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
  1165. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
  1166. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementContext.d.ts +28 -0
  1167. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementContext.js +38 -0
  1168. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
  1169. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
  1170. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
  1171. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +199 -158
  1172. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +193 -198
  1173. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
  1174. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  1175. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
  1176. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
  1177. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
  1178. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
  1179. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +49 -50
  1180. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
  1181. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
  1182. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +78 -78
  1183. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
  1184. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extension.css +9 -17
  1185. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css +1 -1
  1186. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsWidgets.css +30 -35
  1187. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
  1188. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  1189. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  1190. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
  1191. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  1192. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
  1193. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
  1194. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.d.ts +2 -1
  1195. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +5 -5
  1196. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +5 -4
  1197. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
  1198. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
  1199. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
  1200. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
  1201. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +57 -41
  1202. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
  1203. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +63 -27
  1204. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.d.ts +1 -1
  1205. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +30 -30
  1206. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  1207. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +32 -29
  1208. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
  1209. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  1210. package/vscode/src/vs/workbench/contrib/files/browser/media/explorerviewlet.css +12 -0
  1211. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  1212. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.d.ts +26 -5
  1213. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +69 -23
  1214. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +18 -17
  1215. package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css +6 -0
  1216. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.d.ts +13 -0
  1217. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +100 -21
  1218. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
  1219. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
  1220. package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
  1221. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  1222. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +44 -29
  1223. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  1224. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  1225. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  1226. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.service.d.ts +9 -0
  1227. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.service.js +6 -0
  1228. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +2 -1
  1229. package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
  1230. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  1231. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  1232. package/vscode/src/vs/workbench/contrib/markdown/browser/markedGfmHeadingIdPlugin.d.ts +1 -1
  1233. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +70 -70
  1234. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +42 -47
  1235. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.d.ts +1 -2
  1236. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +6 -31
  1237. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.d.ts +5 -4
  1238. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +62 -55
  1239. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.d.ts +30 -1
  1240. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +113 -24
  1241. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +39 -5
  1242. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +108 -7
  1243. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -0
  1244. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
  1245. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
  1246. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
  1247. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
  1248. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
  1249. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +6 -5
  1250. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
  1251. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.d.ts +12 -2
  1252. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +51 -15
  1253. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +59 -22
  1254. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.d.ts +1 -0
  1255. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.d.ts +1 -1
  1256. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +8 -4
  1257. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.d.ts +2 -2
  1258. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
  1259. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
  1260. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  1261. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
  1262. package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css +0 -36
  1263. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
  1264. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -13
  1265. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
  1266. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
  1267. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.d.ts +0 -1
  1268. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +4 -69
  1269. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
  1270. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
  1271. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbarStickyScroll.js +3 -0
  1272. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +1 -1
  1273. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
  1274. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
  1275. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
  1276. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
  1277. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
  1278. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
  1279. package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookRenderingCommon.d.ts +1 -1
  1280. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.d.ts +3 -1
  1281. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +44 -22
  1282. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
  1283. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2 -1
  1284. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -1
  1285. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
  1286. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
  1287. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  1288. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +3 -35
  1289. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -13
  1290. package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.d.ts +1 -1
  1291. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
  1292. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
  1293. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
  1294. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
  1295. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +62 -61
  1296. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +0 -1
  1297. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +4 -3
  1298. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
  1299. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.d.ts +6 -0
  1300. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +36 -18
  1301. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
  1302. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.d.ts +3 -3
  1303. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
  1304. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
  1305. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
  1306. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +51 -15
  1307. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.d.ts +4 -2
  1308. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -9
  1309. package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css +1 -1
  1310. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
  1311. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
  1312. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
  1313. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.d.ts +2 -1
  1314. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +11 -8
  1315. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
  1316. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  1317. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
  1318. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
  1319. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/match.d.ts +2 -2
  1320. package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/textSearchHeading.js +5 -7
  1321. package/vscode/src/vs/workbench/contrib/search/browser/searchView.d.ts +1 -1
  1322. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +59 -56
  1323. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +16 -16
  1324. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
  1325. package/vscode/src/vs/workbench/contrib/search/common/search.js +1 -1
  1326. package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css +1 -0
  1327. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
  1328. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  1329. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  1330. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  1331. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.d.ts +1 -0
  1332. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +23 -17
  1333. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  1334. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  1335. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
  1336. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
  1337. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  1338. package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.service.d.ts +3 -1
  1339. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +24 -1
  1340. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +18 -2
  1341. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
  1342. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
  1343. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +64 -40
  1344. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
  1345. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -10
  1346. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
  1347. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
  1348. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.d.ts +2 -2
  1349. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
  1350. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +3 -3
  1351. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +5 -3
  1352. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.d.ts +4 -1
  1353. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +19 -5
  1354. package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
  1355. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.service.d.ts +9 -0
  1356. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.service.js +6 -0
  1357. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +1 -2
  1358. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +107 -137
  1359. package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
  1360. package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
  1361. package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.d.ts +1 -2
  1362. package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -16
  1363. package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
  1364. package/vscode/src/vs/workbench/contrib/terminalContrib/resizeDimensionsOverlay/common/terminalResizeDimensionsOverlayConfiguration.d.ts +6 -0
  1365. package/vscode/src/vs/workbench/contrib/terminalContrib/resizeDimensionsOverlay/common/terminalResizeDimensionsOverlayConfiguration.js +21 -0
  1366. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
  1367. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
  1368. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
  1369. package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
  1370. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  1371. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  1372. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  1373. package/vscode/src/vs/workbench/contrib/update/common/update.d.ts +5 -0
  1374. package/vscode/src/vs/workbench/contrib/update/common/update.js +9 -3
  1375. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
  1376. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  1377. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
  1378. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
  1379. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  1380. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +162 -4
  1381. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +555 -59
  1382. package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.d.ts +47 -0
  1383. package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.js +48 -3
  1384. package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.d.ts +8 -3
  1385. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.service.d.ts +34 -0
  1386. package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.service.js +6 -0
  1387. package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.d.ts +37 -0
  1388. package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.js +160 -0
  1389. package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.service.d.ts +16 -0
  1390. package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.service.js +6 -0
  1391. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +42 -3
  1392. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
  1393. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
  1394. package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +19 -0
  1395. package/vscode/src/vs/workbench/services/authentication/common/authentication.js +7 -6
  1396. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.d.ts +3 -0
  1397. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +10 -5
  1398. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +59 -7
  1399. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +107 -29
  1400. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +1 -0
  1401. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  1402. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  1403. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  1404. package/vscode/src/vs/workbench/services/dataChannel/browser/dataChannelService.d.ts +55 -0
  1405. package/vscode/src/vs/workbench/services/dataChannel/browser/dataChannelService.js +567 -0
  1406. package/vscode/src/vs/workbench/services/decorations/common/decorations.d.ts +13 -0
  1407. package/vscode/src/vs/workbench/services/decorations/common/decorations.js +6 -0
  1408. package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +1 -0
  1409. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +7 -4
  1410. package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +4 -1
  1411. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +10 -0
  1412. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +68 -4
  1413. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +103 -6
  1414. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +23 -7
  1415. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
  1416. package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -1
  1417. package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -0
  1418. package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +17 -2
  1419. package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.d.ts +4 -0
  1420. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionGalleryAccount.d.ts +27 -0
  1421. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionGalleryAccount.service.d.ts +15 -0
  1422. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionGalleryAccount.service.js +6 -0
  1423. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
  1424. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
  1425. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +27 -19
  1426. package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.d.ts +1 -1
  1427. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +8 -1
  1428. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +2 -2
  1429. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +110 -88
  1430. package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +6 -4
  1431. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +1 -1
  1432. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +12 -6
  1433. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +5 -2
  1434. package/vscode/src/vs/workbench/services/history/common/history.d.ts +1 -0
  1435. package/vscode/src/vs/workbench/services/history/common/history.js +2 -1
  1436. package/vscode/src/vs/workbench/services/host/browser/host.d.ts +8 -0
  1437. package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
  1438. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +81 -13
  1439. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +102 -3
  1440. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +12 -0
  1441. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  1442. package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.js +7 -4
  1443. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +12 -2
  1444. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +6 -5
  1445. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
  1446. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
  1447. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -27
  1448. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
  1449. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +1 -3
  1450. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +7 -19
  1451. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
  1452. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  1453. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  1454. package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +0 -2
  1455. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -9
  1456. package/vscode/src/vs/workbench/services/search/common/search.d.ts +0 -8
  1457. package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +0 -3
  1458. package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +15 -0
  1459. package/vscode/src/vs/workbench/services/storage/browser/storageService.js +56 -0
  1460. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
  1461. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
  1462. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
  1463. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.d.ts +1 -0
  1464. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +12 -8
  1465. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  1466. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
  1467. package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +4 -4
  1468. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
  1469. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
  1470. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  1471. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
  1472. package/vscode/src/vs/workbench/services/workspaces/common/workspaceFolderLabelService.service.d.ts +6 -0
  1473. package/vscode/src/vs/workbench/services/workspaces/common/workspaceFolderLabelService.service.js +6 -0
  1474. package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +1 -1
  1475. package/vscode-dts/vscode.d.ts +4 -1
  1476. package/vscode-dts/vscode.proposed.agentEditorComments.d.ts +27 -1
  1477. package/vscode-dts/{vscode.proposed.customEditorPriority.d.ts → vscode.proposed.agentsWindowActivation.d.ts} +1 -1
  1478. package/vscode-dts/vscode.proposed.authSessionAccountIcon.d.ts +13 -0
  1479. package/vscode-dts/vscode.proposed.authSessionExpiration.d.ts +19 -0
  1480. package/vscode-dts/vscode.proposed.chatContextProvider.d.ts +26 -84
  1481. package/vscode-dts/vscode.proposed.chatInputNotification.d.ts +6 -0
  1482. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +11 -11
  1483. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +40 -0
  1484. package/vscode-dts/vscode.proposed.chatProvider.d.ts +32 -0
  1485. package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +5 -0
  1486. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +6 -0
  1487. package/vscode-dts/vscode.proposed.d.ts +5 -1
  1488. package/vscode-dts/vscode.proposed.linkPresentation.d.ts +136 -0
  1489. package/vscode-dts/vscode.proposed.terminalRemoteResolver.d.ts +21 -0
  1490. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.d.ts +0 -16
  1491. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.js +0 -47
  1492. package/vscode/src/vs/platform/browserView/common/playwrightService.d.ts +0 -7
  1493. package/vscode/src/vs/platform/browserView/common/playwrightService.service.d.ts +0 -123
  1494. package/vscode/src/vs/platform/browserView/common/playwrightService.service.js +0 -6
  1495. package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.d.ts +0 -95
  1496. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.d.ts +0 -17
  1497. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +0 -83
  1498. package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +0 -82
  1499. package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +0 -107
@@ -0,0 +1,1100 @@
1
+ import { Event } from "../../../base/common/event.js";
2
+ import { CancellationToken } from "../../../base/common/cancellation.js";
3
+ import { DisposableStore, IDisposable } from "../../../base/common/lifecycle.js";
4
+ import { IChannelClient } from "../../../base/parts/ipc/common/ipc.js";
5
+ import type { IObservable } from "../../../base/common/observable.js";
6
+ import { URI } from "../../../base/common/uri.js";
7
+ import type { IAgentServerToolHost } from "./agentServerTools.js";
8
+ import type { AgentHostClientType } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/platform/agentHost/common/agentHostClientInfo";
9
+ import type { IAgentHostClientTelemetryContext } from "./agentHostTelemetry.js";
10
+ import type { ResolveSessionConfigResult, SessionConfigCompletionsResult } from "./state/protocol/commands.js";
11
+ import { ProtectedResourceMetadata, type Changeset, type ChatOrigin, type ConfigSchema, type MessageAttachment, type ModelSelection, type AgentSelection, type SessionActiveClient, type ToolCallPendingConfirmationState, type ToolDefinition, ChangesSummary } from "./state/protocol/state.js";
12
+ import type { AuthRequiredParams, SessionAction, ChatAction } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/platform/agentHost/common/state/sessionActions";
13
+ import { ChatInputResponseKind, SessionStatus, type AgentCapabilities, type ClientPluginCustomization, type Customization, type ISessionFolderPickerDecision, type Message, type PendingMessage, type ChatInputAnswer, type SessionMeta, type ToolCallResult, type Turn, type PolicyState } from "./state/sessionState.js";
14
+ /** Error returned when the Agent Host process cannot be started. */
15
+ export declare class AgentHostStartError extends Error {
16
+ readonly fatal: boolean;
17
+ constructor(message: string, fatal?: boolean);
18
+ }
19
+ /** Reports a provider CWD error after the new directory became irreversible and authoritative. */
20
+ export declare class AgentWorkingDirectoryChangedError extends Error {
21
+ readonly workingDirectory: URI;
22
+ constructor(workingDirectory: URI, message: string);
23
+ }
24
+ export declare function isInvalidUtilityProcessConfigurationMessage(message: string): boolean;
25
+ export declare function isFatalAgentHostStartError(error: unknown): error is TypeError;
26
+ export declare function toFatalAgentHostStartError(error: Error): AgentHostStartError;
27
+ export interface IAgentHostConnection {
28
+ readonly client: IChannelClient;
29
+ readonly store: DisposableStore;
30
+ readonly onDidProcessExit: Event<{
31
+ code: number;
32
+ signal: string;
33
+ }>;
34
+ /** Gracefully shuts down Agent Host providers before the process is disposed. */
35
+ shutdown(): Promise<void>;
36
+ }
37
+ /** Allows a connection request to join the shared process startup. */
38
+ export interface IAgentHostStartRequest {
39
+ waitUntil(promise: Promise<void>): void;
40
+ }
41
+ /** Allows the Agent Host process to join application shutdown. */
42
+ export interface IAgentHostShutdownRequest {
43
+ join(promise: Promise<void>): void;
44
+ }
45
+ export interface IAgentHostStarter extends IDisposable {
46
+ readonly onRequestConnection?: Event<IAgentHostStartRequest>;
47
+ readonly onRequestRestart?: Event<void>;
48
+ readonly onWillShutdown?: Event<IAgentHostShutdownRequest>;
49
+ start(): Promise<IAgentHostConnection>;
50
+ }
51
+ /** A network endpoint the agent host suggests probing, listed on {@link IAgentHostNetworkDiagnosticsInfo.endpoints}. */
52
+ export interface IAgentHostNetworkEndpoint {
53
+ readonly name: string;
54
+ readonly url: string;
55
+ /** Substring the response body is expected to contain; when set, the probe reads the body and fails the check if it is absent. */
56
+ readonly expectedContent?: string;
57
+ /** HTTP status code the probe treats as success. Defaults to `200` when omitted. */
58
+ readonly expectedStatus?: number;
59
+ }
60
+ export interface IAgentHostManagedSettingsSnapshot {
61
+ readonly account?: string;
62
+ readonly source: "server" | "device" | "client" | "policyHelper" | "mixed" | "none";
63
+ readonly serverManaged: boolean;
64
+ readonly deviceManaged: boolean;
65
+ readonly clientManaged?: boolean;
66
+ readonly policyHelperManaged?: boolean;
67
+ readonly failClosed: boolean;
68
+ readonly bypassPermissionsDisabled: boolean;
69
+ readonly permissionsAllowIntersected?: boolean;
70
+ readonly sandboxEnabledByUndeterminedPolicy?: boolean;
71
+ readonly managedKeys: readonly string[];
72
+ readonly settings?: unknown;
73
+ }
74
+ export interface IAgentChatMetadata {
75
+ readonly chat: URI;
76
+ readonly startTime: number;
77
+ readonly modifiedTime: number;
78
+ readonly project?: IAgentSessionProjectInfo;
79
+ readonly summary?: string;
80
+ /** Provider model that should be selected when this chat is restored. */
81
+ readonly model?: ModelSelection;
82
+ /** Activity bits plus the session-scoped {@link SessionStatus.IsRead} / {@link SessionStatus.IsArchived} flags. */
83
+ readonly status?: SessionStatus;
84
+ /** Human-readable description of what the session is currently doing. */
85
+ readonly activity?: string;
86
+ /** All working directories available to the session (index 0 = primary). */
87
+ readonly workingDirectories?: readonly URI[];
88
+ /**
89
+ * Aggregate counts (additions / deletions / files) for this session's
90
+ * changes. Single-folder sessions derive this from the branch changeset;
91
+ * multi-folder sessions aggregate it across all folders. Mirrors
92
+ * `SessionSummary.changes`.
93
+ */
94
+ readonly changes?: ChangesSummary;
95
+ /**
96
+ * Catalogue of changesets the agent can produce for this session — the
97
+ * {@link Changeset | catalogue} that travels on
98
+ * `SessionSummary.changesets`. Lightweight summary entries (id / label /
99
+ * URI template / aggregate counts) without per-file detail; clients
100
+ * subscribe to a specific expanded changeset URI when they need the full
101
+ * file list.
102
+ */
103
+ readonly changesets?: readonly Changeset[];
104
+ /**
105
+ * Side-channel metadata mirroring {@link SessionState._meta}, propagated
106
+ * to clients via per-session state subscriptions and the root-channel
107
+ * session summary (the host treats the session-state and session-summary
108
+ * `_meta` as the same bag). Producers SHOULD use namespaced keys; consumers
109
+ * MUST ignore unknown keys. Use the typed accessors in `sessionState.ts`
110
+ * (e.g. `readSessionGitState`, `readSessionGitHubState`) for well-known
111
+ * slots.
112
+ */
113
+ readonly _meta?: SessionMeta;
114
+ }
115
+ /** Identifies metadata reads that may initialize an otherwise lazy provider. */
116
+ export interface IAgentChatMetadataOptions {
117
+ /** A session restore needs authoritative provider data and may start its runtime. */
118
+ readonly activation?: "restore";
119
+ /** Stable host-owned timestamps a lazy provider may use for passive catalogue metadata. */
120
+ readonly registryFallback?: Pick<IAgentChatMetadata, "startTime" | "modifiedTime">;
121
+ }
122
+ /** A provider chat ready to be registered as an Agent Host session. */
123
+ export interface IAgentDiscoveredChat extends IAgentChatMetadata {
124
+ readonly external: boolean;
125
+ }
126
+ /** Returns the candidate session URI keys already present in the host registry. */
127
+ export type IAgentKnownSessionsFilter = (sessions: readonly URI[]) => Promise<ReadonlySet<string>>;
128
+ export interface IAgentSessionMetadata extends Omit<IAgentChatMetadata, "chat"> {
129
+ readonly session: URI;
130
+ }
131
+ export interface IAgentSessionProjectInfo {
132
+ readonly uri: URI;
133
+ readonly displayName: string;
134
+ }
135
+ export interface IAgentCreateSessionResult extends IAgentCreateChatResult {
136
+ readonly session: URI;
137
+ readonly project?: IAgentSessionProjectInfo;
138
+ /** Opaque provider backing for the session's initial chat, when it has one. */
139
+ readonly chat?: IAgentCreateChatResult;
140
+ /**
141
+ * The single working directory the provider resolved for this session — its
142
+ * process root. This may differ from the requested primary (e.g. a
143
+ * workspace-less session runs in a provider-assigned scratch dir). It is NOT
144
+ * the full multi-root set: a provider only resolves the one directory its
145
+ * subprocess launches in. The host assembles the session's set by replacing
146
+ * the requested primary (index 0) with this value while keeping the requested
147
+ * tail. Worktree remaps and the fully-resolved set land later, on the first
148
+ * send, via {@link IAgentMaterializeSessionEvent.workingDirectories}.
149
+ * `undefined` means the provider did not resolve a directory (the host keeps
150
+ * the requested set as-is).
151
+ */
152
+ readonly resolvedWorkingDirectory?: URI;
153
+ /**
154
+ * `true` when the agent only allocated an in-memory placeholder for this
155
+ * session (no SDK session, no worktree, no on-disk state). Materialization
156
+ * happens lazily on the first {@link IAgentChats.sendMessage}, at which point
157
+ * the agent fires {@link IAgent.onDidMaterializeChat}. The
158
+ * {@link IAgentService} uses this flag to defer the `sessionAdded` protocol
159
+ * notification so observers don't see the session in their list until it
160
+ * has been persisted.
161
+ */
162
+ readonly provisional?: boolean;
163
+ }
164
+ /**
165
+ * Payload of {@link IAgent.onDidMaterializeChat}. Fired when a previously
166
+ * {@link IAgentCreateSessionResult.provisional} chat has its SDK session,
167
+ * worktree (if any), and on-disk metadata in place. A provider may fire the
168
+ * event again when it replaces or rematerializes an already-backed chat;
169
+ * consumers must treat each event as the chat's latest materialization receipt.
170
+ */
171
+ export interface IAgentMaterializeChatEvent {
172
+ readonly chat: URI;
173
+ /** Updated opaque backing for the session chat, when materialization minted it. */
174
+ readonly result?: IAgentCreateChatResult;
175
+ /**
176
+ * The complete resolved working-directory set (index 0 = the resolved process
177
+ * root, e.g. a worktree). The host replaces index 0 of the current session set
178
+ * with this set's index 0 while preserving the rest of the current set — the
179
+ * resume path can only report the single process cwd, so its tail is owned
180
+ * by the restored session state.
181
+ */
182
+ readonly workingDirectories: readonly URI[] | undefined;
183
+ readonly project: IAgentSessionProjectInfo | undefined;
184
+ }
185
+ export type AgentProvider = string;
186
+ export type AgentTurnProviderCallState = "notStarted" | "pending" | "resolved" | "rejected";
187
+ export type AgentTurnProviderSessionState = "active" | "disconnecting" | "disconnected" | "shutdown";
188
+ /** Provider-observed records, not an assertion that every network call reported usage. */
189
+ export interface IAgentTokenUsageSummary {
190
+ readonly model?: string;
191
+ readonly reasoningEffort?: string;
192
+ readonly usageScope: "direct-model" | "compaction";
193
+ readonly usageStatus: "known" | "partial" | "notReported";
194
+ readonly usageRecordCount: number;
195
+ readonly inputKnownRecordCount: number;
196
+ readonly outputKnownRecordCount: number;
197
+ readonly cacheKnownRecordCount: number;
198
+ readonly knownInputTokens?: number;
199
+ readonly knownOutputTokens?: number;
200
+ readonly knownCacheReadTokens?: number;
201
+ }
202
+ /** A point-in-time snapshot; missing counters and missing snapshots remain unknown. */
203
+ export interface IAgentTurnTokenUsage {
204
+ readonly summaries: readonly IAgentTokenUsageSummary[];
205
+ }
206
+ export type IAgentTurnDiagnosticSnapshot = {
207
+ readonly state: "available";
208
+ readonly providerCallState: AgentTurnProviderCallState;
209
+ readonly providerTurnStarted: boolean;
210
+ readonly providerSessionState: AgentTurnProviderSessionState;
211
+ } | {
212
+ readonly state: "missingChat" | "missingTurn";
213
+ };
214
+ /** Well-known agent provider id for the Claude agent-host backend. */
215
+ export declare const CLAUDE_AGENT_PROVIDER_ID: "claude";
216
+ /** Well-known agent provider id for the Codex agent-host backend. */
217
+ export declare const CODEX_AGENT_PROVIDER_ID: "codex";
218
+ /**
219
+ * Static capability facts an agent backend advertises about itself. Each flag
220
+ * is opt-in (absent means unsupported) so single-chat agents (e.g. Codex) can omit
221
+ * the bag entirely. Discovered over IPC alongside the rest of
222
+ * {@link IAgentDescriptor} and surfaced to the sessions UI so features are
223
+ * capability-gated instead of switched on the provider id.
224
+ *
225
+ * This is the IPC contract alias of the protocol-visible {@link AgentCapabilities}
226
+ * type (defined in the root-state protocol); both share a single canonical shape
227
+ * so a new flag added in one place is automatically reflected in the other.
228
+ */
229
+ export type IAgentCapabilities = AgentCapabilities;
230
+ /** Agent Host-only capabilities that are not serialized to protocol clients. */
231
+ export interface IAgentHostCapabilities {
232
+ readonly workspaceConversion: boolean;
233
+ }
234
+ /** Metadata describing an agent backend, discovered over IPC. */
235
+ export interface IAgentDescriptor {
236
+ readonly provider: AgentProvider;
237
+ readonly displayName: string;
238
+ readonly description: string;
239
+ /** Static capability flags the agent advertises (see {@link IAgentCapabilities}). */
240
+ readonly capabilities?: IAgentCapabilities;
241
+ }
242
+ /**
243
+ * Parameters for the `authenticate` command.
244
+ * Analogous to sending `Authorization: Bearer <token>` (RFC 6750 section 2.1).
245
+ */
246
+ export interface AuthenticateParams {
247
+ /**
248
+ * The `resource` identifier from the server's
249
+ * {@link IAuthorizationProtectedResourceMetadata} that this token targets.
250
+ */
251
+ readonly resource: string;
252
+ /**
253
+ * Scopes that were used to acquire the token. Omitted for legacy clients
254
+ * that can only identify tokens by protected resource.
255
+ */
256
+ readonly scopes?: readonly string[];
257
+ /** The bearer token value (RFC 6750). */
258
+ readonly token: string;
259
+ /** The access token's remaining lifetime in seconds, when known. */
260
+ readonly expiresIn?: number;
261
+ }
262
+ /** Request for a previously accepted bearer token. */
263
+ export interface IAgentHostAuthTokenRequest {
264
+ /** Protected resource identifier from {@link ProtectedResourceMetadata.resource}. */
265
+ readonly resource: string;
266
+ /** Required token scopes, when the caller needs a scope-specific token. */
267
+ readonly scopes?: readonly string[];
268
+ }
269
+ /**
270
+ * Result of the `authenticate` command.
271
+ */
272
+ export interface AuthenticateResult {
273
+ /** Whether the token was accepted. */
274
+ readonly authenticated: boolean;
275
+ }
276
+ /**
277
+ * Canonical {@link ProtectedResourceMetadata} for the GitHub Copilot
278
+ * resource. Shared between every agent provider that consumes a GitHub
279
+ * Copilot bearer token (e.g. Copilot CLI, Claude) so they advertise an
280
+ * identical resource identifier to the auth flow — clients dispatch by
281
+ * `resource`, and divergent metadata would silently route the same
282
+ * token down separate code paths.
283
+ */
284
+ export declare const GITHUB_COPILOT_PROTECTED_RESOURCE: ProtectedResourceMetadata;
285
+ /**
286
+ * Canonical {@link ProtectedResourceMetadata} for GitHub repository write
287
+ * operations (e.g. creating a pull request). Distinct from
288
+ * {@link GITHUB_COPILOT_PROTECTED_RESOURCE} so that the broader `repo`
289
+ * scope is only requested when a session actually needs it (e.g. when a
290
+ * changeset operation handler throws `AHP_AUTH_REQUIRED` with this
291
+ * resource), rather than at session create for every agent.
292
+ *
293
+ * `required: false` reflects that the resource is only needed on demand —
294
+ * agents do not have to advertise it eagerly. The workbench-side auth
295
+ * contributor resolves it lazily in response to operation invocations.
296
+ */
297
+ export declare const GITHUB_REPO_PROTECTED_RESOURCE: ProtectedResourceMetadata;
298
+ /**
299
+ * Pure decision: does this set of advertised protected resources require the
300
+ * user to be signed in to GitHub Copilot right now?
301
+ *
302
+ * Returns `true` iff the agent advertises the canonical GitHub Copilot
303
+ * protected resource ({@link GITHUB_COPILOT_PROTECTED_RESOURCE}) with
304
+ * `required !== false`. Provider-agnostic by design: an agent that drops the
305
+ * resource entirely (e.g. Claude in native mode) or advertises it with
306
+ * `required: false` (e.g. Codex on OpenAI) does not require a GitHub sign-in.
307
+ *
308
+ * An absent `required` field is treated the same as `true` (see
309
+ * {@link ProtectedResourceMetadata.required}).
310
+ */
311
+ export declare function protectedResourcesRequireGitHubCopilotSignIn(resources: readonly ProtectedResourceMetadata[]): boolean;
312
+ export interface IAgentCreateSessionConfig {
313
+ readonly provider?: AgentProvider;
314
+ readonly model?: ModelSelection;
315
+ readonly _meta?: Record<string, unknown>;
316
+ /**
317
+ * Initial custom agent selection for the new session. Omit to start with
318
+ * no custom agent selected (provider default behavior).
319
+ */
320
+ readonly agent?: AgentSelection;
321
+ readonly session?: URI;
322
+ /**
323
+ * The working directories the session's agent is granted tool access to,
324
+ * ordered so that index 0 is the intended process root (the "primary").
325
+ *
326
+ * Distinct values:
327
+ * - `undefined` — no directories requested (workspace-less inference applies);
328
+ * - `[]` — explicitly no directories;
329
+ * - `[dir, …]` — the ordered set (index 0 = primary/process root).
330
+ *
331
+ * A client MUST NOT supply more than one entry unless the agent advertises
332
+ * the `multipleWorkingDirectories` capability (not advertised yet). During
333
+ * the compatibility phase callers supply exactly one directory (`[dir]`).
334
+ */
335
+ readonly workingDirectories?: readonly URI[];
336
+ readonly config?: Record<string, unknown>;
337
+ /**
338
+ * Eagerly claim the active client role for the new session. When provided,
339
+ * the server initializes the session with this client as the active
340
+ * client, equivalent to dispatching a `session/activeClientSet`
341
+ * action immediately after creation. The `clientId` MUST match the
342
+ * connection's own `clientId`.
343
+ */
344
+ readonly activeClient?: SessionActiveClient;
345
+ /**
346
+ * Import an existing (e.g. local) conversation into a brand-new session as
347
+ * real, editable turns. The provider translates {@link turns} into a
348
+ * Copilot event log seeded on disk and resumes the session so the turns are
349
+ * reconstituted as genuine backend events (editable / forkable / truncatable).
350
+ *
351
+ * The service layer assigns fresh UUID turn ids before handing the turns to
352
+ * the provider so the seeded event ids and the seeded protocol turns stay
353
+ * aligned. Mutually exclusive with {@link fork}.
354
+ */
355
+ readonly importConversation?: {
356
+ readonly turns: readonly Turn[];
357
+ readonly model?: ModelSelection;
358
+ };
359
+ /**
360
+ * MCP-style opt-in progress token from the client's `createSession`. When
361
+ * set, the service reports any long-running session bring-up work — chiefly
362
+ * the lazy first-use SDK download — as `progress` notifications carrying
363
+ * this token, so the client can correlate them to this call.
364
+ */
365
+ readonly progressToken?: string;
366
+ }
367
+ /**
368
+ * Host-owned transient context for an addressed chat operation.
369
+ *
370
+ * `resource` is the provider-owned persistence scope for this exact chat.
371
+ * `configurationResource` is the opaque scope for configuration and other
372
+ * resources shared by the host across related chats. Providers must not derive
373
+ * either value from `chat` themselves.
374
+ *
375
+ * Agent Host populates {@link origin} and {@link customizations} on every
376
+ * context it hands to a provider (create, materialize, send, and every other
377
+ * addressed chat operation).
378
+ */
379
+ export interface IAgentChatContext {
380
+ readonly resource: URI;
381
+ readonly configurationResource: URI;
382
+ readonly clientTelemetryContext?: IAgentHostClientTelemetryContext;
383
+ /**
384
+ * The addressed chat's origin, taken verbatim from the host-owned chat
385
+ * catalog, and exhaustive across every way a chat comes into existence:
386
+ * a plainly user-created peer chat and the session-backed default chat
387
+ * carry {@link ChatOriginKind.User}; a fork carries
388
+ * {@link ChatOriginKind.Fork} with the exact source chat and turn; a side
389
+ * chat carries {@link ChatOriginKind.SideChat}; and a subagent chat always
390
+ * carries its {@link ChatOriginKind.Tool} spawn edge, so providers never
391
+ * have to recover it from state or URI shape. Absent only when the host has
392
+ * no catalog entry for the chat yet — the narrow window during restore
393
+ * before the chat is registered, where the caller supplies the origin it is
394
+ * restoring with.
395
+ */
396
+ readonly origin?: ChatOrigin;
397
+ /**
398
+ * The owning session's last host-published customization snapshot — the
399
+ * same list clients observe on `SessionState.customizations`, including
400
+ * user enablement toggles. Supplied at the create, materialize, send, and
401
+ * update boundaries so providers never read them back out of shared host
402
+ * state, and reconciled against the provider's own view rather than
403
+ * replacing it. Absent when the host has not published a snapshot for the
404
+ * session yet, which is deliberately distinct from an empty list.
405
+ */
406
+ readonly customizations?: readonly Customization[];
407
+ /** Per-operation host instructions that providers add to model context without persisting as user content. */
408
+ readonly hostInstructions?: readonly string[];
409
+ /** Whether the current turn is an automated Agent Merge repair turn. */
410
+ readonly agentMergeTurn?: boolean;
411
+ }
412
+ export type AgentChatOperationContext = URI | IAgentChatContext;
413
+ /**
414
+ * Normalize a legacy session-only chat context into the explicit
415
+ * {@link IAgentChatContext} shape by attaching the host-supplied `resource`.
416
+ */
417
+ export declare function resolveAgentChatContext(configurationResourceOrContext: AgentChatOperationContext, resource: URI): IAgentChatContext;
418
+ /**
419
+ * Reads the host-supplied {@link IAgentChatContext.origin} for an addressed
420
+ * chat operation. See {@link IAgentChatContext.origin} for absence semantics.
421
+ */
422
+ export declare function resolveAgentChatOrigin(context?: URI | IAgentChatContext): ChatOrigin | undefined;
423
+ /**
424
+ * Reads the tool-call spawn edge of a subagent chat from its host-supplied
425
+ * origin. Returns `undefined` when the chat was not spawned by a tool call.
426
+ * Providers use this to route inner tool completions and transcript filtering
427
+ * to the spawning chat without consulting shared host state.
428
+ */
429
+ export declare function resolveSubagentChatParent(context?: URI | IAgentChatContext): IAgentSpawnedChatParent | undefined;
430
+ /**
431
+ * Reads the last host-published customization snapshot carried by an
432
+ * addressed chat operation's context. See {@link IAgentChatContext.customizations}
433
+ * for absence semantics.
434
+ */
435
+ export declare function resolveAgentHostCustomizations(context?: URI | IAgentChatContext): readonly Customization[] | undefined;
436
+ export declare function resolveAgentHostInstructions(context?: URI | IAgentChatContext): readonly string[] | undefined;
437
+ /** Fully resolved options for creating one chat. */
438
+ export interface IAgentCreateChatOptions {
439
+ /** Whether the owning session is transient and should skip durable-only provider work. */
440
+ readonly isEphemeral?: boolean;
441
+ /**
442
+ * Whether the owning chat surface is scoped to editing a single file (editor
443
+ * inline chat). Blanket shell auto-approvals must not apply to such a
444
+ * session, because a shell command can write anywhere the sandbox allows and
445
+ * carries no destination the permission layer can check against the scope.
446
+ */
447
+ readonly hasScopedEditSurface?: boolean;
448
+ /** Optional display title for the new chat. */
449
+ readonly title?: string;
450
+ /** Optional model override; defaults to the session's model. */
451
+ readonly model?: ModelSelection;
452
+ /** Optional custom agent selection. */
453
+ readonly agent?: AgentSelection;
454
+ /** Complete ordered working-directory set resolved by Agent Host. */
455
+ readonly workingDirectories?: readonly URI[];
456
+ /** Project metadata resolved by Agent Host. */
457
+ readonly project?: IAgentSessionProjectInfo;
458
+ /** Provider-specific configuration resolved by Agent Host. */
459
+ readonly config?: Record<string, unknown>;
460
+ /** Active client to seed before the first turn. */
461
+ readonly activeClient?: SessionActiveClient;
462
+ /** Defer creating the provider SDK backing until the chat's first send. */
463
+ readonly deferBacking?: boolean;
464
+ /** Existing conversation turns to import into this chat. */
465
+ readonly importConversation?: IAgentCreateSessionConfig["importConversation"];
466
+ /**
467
+ * Fork an existing chat into this new chat. The new chat starts
468
+ * pre-populated with the source chat's turns up to and including
469
+ * {@link IAgentCreateChatForkSource.turnId}, and its backing chat
470
+ * is forked from the source so it can continue independently.
471
+ */
472
+ readonly fork?: IAgentCreateChatForkSource;
473
+ }
474
+ /**
475
+ * Host-facing chat creation options. Providers receive the resolved
476
+ * {@link IAgentCreateChatOptions} and never receive side-chat provenance.
477
+ */
478
+ export interface IAgentCreateChatRequestOptions extends IAgentCreateChatOptions {
479
+ /**
480
+ * Create this new chat as a side chat branching from a turn in an existing
481
+ * chat (via `/btw`). The host resolves this into {@link fork} before calling
482
+ * the provider, while retaining the side-chat provenance itself.
483
+ */
484
+ readonly sideChat?: IAgentCreateChatSideChatSource;
485
+ }
486
+ /** Identifies the exact source chat and turn to fork from. */
487
+ export interface IAgentCreateChatForkSource {
488
+ readonly source: URI;
489
+ /** Turn ID in the source chat; content up to and including this turn is copied. */
490
+ readonly turnId: string;
491
+ /**
492
+ * Allows a fork to start without waiting for the source chat's queue.
493
+ * Side chats branch from potentially active source turns and use this to
494
+ * avoid blocking their own creation behind that turn.
495
+ */
496
+ readonly independentQueue?: boolean;
497
+ /** Zero-based source turn index, when the provider needs it for import/fork mapping. */
498
+ readonly turnIndex?: number;
499
+ /**
500
+ * Maps old source turn IDs to fresh turn IDs for the forked chat. Populated
501
+ * by the agent service so the agent can remap per-turn data (e.g. SDK event
502
+ * ID mappings) in the forked chat's database.
503
+ */
504
+ readonly turnIdMapping?: ReadonlyMap<string, string>;
505
+ }
506
+ /** Immutable selected-text snapshot captured when a side chat is created. */
507
+ export interface IAgentCreateChatSideChatSelection {
508
+ readonly text: string;
509
+ /** Optional provenance for the response part that contained {@link text}. */
510
+ readonly responsePartId?: string;
511
+ }
512
+ /** Identifies a source chat and turn a side chat (`/btw`) branches from. */
513
+ export interface IAgentCreateChatSideChatSource {
514
+ readonly source: URI;
515
+ /** Turn ID in the source chat the side chat records as its provenance. */
516
+ readonly turnId: string;
517
+ /** Optional selected-text snapshot captured from the source chat transcript. */
518
+ readonly selection?: IAgentCreateChatSideChatSelection;
519
+ }
520
+ /** Result of {@link IAgentChats.createChat}: the opaque blob to persist for restore. */
521
+ export interface IAgentCreateChatResult {
522
+ readonly project?: IAgentSessionProjectInfo;
523
+ readonly resolvedWorkingDirectory?: URI;
524
+ readonly provisional?: boolean;
525
+ /** Id of the last provider turn copied into a newly created fork, when known. */
526
+ readonly inheritedTurnId?: string;
527
+ /**
528
+ * Opaque, agent-owned token the orchestrator persists verbatim in the chat
529
+ * catalog and hands back to {@link IAgent.materializeChat} on
530
+ * restore. The orchestrator never parses it. `undefined` means nothing to
531
+ * persist (e.g. the agent keeps no resumable backing).
532
+ */
533
+ readonly providerData?: string;
534
+ /**
535
+ * The SDK-level session URI that backs this chat, when the agent mints one in
536
+ * the same session store its own {@link IAgent.listSessions} enumerates
537
+ * (e.g. Claude). First-class and non-opaque — unlike {@link providerData} the
538
+ * orchestrator reads it to correlate and suppress the backing session so it
539
+ * never surfaces as a top-level session. `undefined` when the agent keeps no
540
+ * separately-enumerable backing session.
541
+ */
542
+ readonly backingSession?: URI;
543
+ }
544
+ /** Payload of {@link IAgent.onDidChangeChatData}. */
545
+ export interface IAgentChatDataChange {
546
+ readonly chat: URI;
547
+ /** The new opaque blob to persist (replaces any previously stored value). */
548
+ readonly providerData: string;
549
+ }
550
+ /** A legacy concrete chat backing enumerated by {@link IAgent.listLegacyChatBackings} for migration. */
551
+ export interface IAgentLegacyChat {
552
+ /** The concrete chat's channel URI (see {@link buildChatUri}). */
553
+ readonly uri: URI;
554
+ /** The opaque, agent-owned backing blob, encoded as {@link materializeChat} expects. */
555
+ readonly providerData?: string;
556
+ }
557
+ /** The native chat catalog requires an external readiness action before it can be enumerated. */
558
+ export declare const AgentChatMigrationDeferred: unique symbol;
559
+ /** Provider-native chat catalog result used by registry migration. */
560
+ export type AgentChatMigrationResult = readonly IAgentChatMetadata[] | undefined | typeof AgentChatMigrationDeferred;
561
+ /**
562
+ * Identifies the parent that spawned a chat. The orchestrator records
563
+ * it as the spawned chat's {@link ChatOriginKind.Tool} origin so clients can
564
+ * render the parent/child relationship (e.g. a sub-agent "team" member spawned
565
+ * by a tool call in the parent chat).
566
+ */
567
+ export interface IAgentSpawnedChatParent {
568
+ /** The parent chat URI whose tool call performed the spawn. */
569
+ readonly chat: URI;
570
+ /** The id of the tool call in the parent that spawned this chat. */
571
+ readonly toolCallId: string;
572
+ }
573
+ /**
574
+ * Payload of {@link IAgent.onDidSpawnChat}: a new chat the
575
+ * agent spawned itself (e.g. a sub-agent delegated by a tool call), as opposed
576
+ * to a user-driven chat created via
577
+ * {@link IAgentChats.createChat}.
578
+ */
579
+ export interface IAgentSpawnChatEvent {
580
+ /** The session URI the spawned chat belongs to. */
581
+ readonly session: URI;
582
+ readonly chat: URI;
583
+ /**
584
+ * The parent that spawned it, when the spawn was delegated by a tool call.
585
+ * Recorded as the chat's tool origin in the catalog. Absent for a
586
+ * top-level, agent-initiated chat with no spawning tool call.
587
+ */
588
+ readonly parent?: IAgentSpawnedChatParent;
589
+ readonly title?: string;
590
+ }
591
+ /**
592
+ * Builds the tab title for a subagent peer chat. Prefers the concise
593
+ * per-task description (so two subagents of the same type still get
594
+ * distinct, meaningful names), truncating it so an over-long value never
595
+ * blows out the tab strip or the Subagents dropdown; falls back to the
596
+ * agent type's display name, then a generic label. Shared by the live
597
+ * spawn path and the restore path so both name subagent tabs identically.
598
+ */
599
+ export declare function subagentChatTitle(taskDescription: string | undefined, agentDisplayName: string | undefined): string;
600
+ /**
601
+ * Maps agent `subagent_started` signals to the unified chat catalog's spawn
602
+ * events. Shared by the agents' spawn bridges and the orchestrator so subagent
603
+ * membership has one derivation.
604
+ */
605
+ export declare namespace SubagentChatSignal {
606
+ /**
607
+ * Derives the {@link IAgentSpawnChatEvent} for a `subagent_started` signal,
608
+ * addressing the subagent by the stable {@link buildSubagentChatUri} and
609
+ * recording the spawning tool call as its parent edge. Returns `undefined`
610
+ * for any other signal (or an unmappable chat URI).
611
+ */
612
+ function toSpawnEvent(signal: AgentSignal): IAgentSpawnChatEvent | undefined;
613
+ }
614
+ /**
615
+ * The chat-addressed operation surface an agent exposes for the chats
616
+ * within a session.
617
+ *
618
+ * Every operation method addresses a chat by a concrete chat channel URI; the
619
+ * orchestrator ({@link IAgentService}) owns the `(session, chat)` mapping and
620
+ * calls these operations with a concrete chat URI plus transient context when
621
+ * the provider needs the owning session or storage scope.
622
+ */
623
+ export interface IAgentChats {
624
+ /**
625
+ * Create a fresh additional chat within an already-provisioned `session`,
626
+ * using the complete working directory and config supplied in
627
+ * {@link IAgentCreateChatOptions}. `chat` is the client-chosen channel URI.
628
+ * The orchestrator supplies provider-owned persistence and configuration
629
+ * scopes via `context`, so the agent never has to recover either by parsing
630
+ * `chat`.
631
+ */
632
+ createChat(chat: URI, context: AgentChatOperationContext, options?: IAgentCreateChatOptions): Promise<IAgentCreateChatResult | void>;
633
+ /** Dispose the addressed chat and free its backing. */
634
+ disposeChat(chat: URI, context: AgentChatOperationContext): Promise<void>;
635
+ /** Return whether the addressed chat can currently release its in-memory backing. */
636
+ canReleaseChat?(chat: URI, context: AgentChatOperationContext): Promise<boolean>;
637
+ /** Release the addressed chat's in-memory backing without deleting durable data. */
638
+ releaseChat(chat: URI, context: AgentChatOperationContext): Promise<void>;
639
+ /**
640
+ * Send a user message into `chat`. On every send, the host passes the complete
641
+ * resolved, ordered working-directory snapshot (index 0 = the process root /
642
+ * resolved worktree, followed by any additional roots), or `undefined` for
643
+ * workspace-less sessions. Providers must make that snapshot effective before
644
+ * the prompt enters their runtime. `context` is transient operation context;
645
+ * providers must not retain it as chat membership state.
646
+ */
647
+ sendMessage(chat: URI, prompt: string, workingDirectoriesOrDirectory: readonly URI[] | URI | undefined, attachments?: readonly MessageAttachment[], turnId?: string, senderClientId?: string, clientTypeOrContext?: AgentHostClientType | URI | IAgentChatContext, context?: URI | IAgentChatContext): Promise<void>;
648
+ /** Resume a failed turn without adding another user message. */
649
+ resumeTurn?(chat: URI, turnId: string, context: AgentChatOperationContext, senderClientId?: string, clientType?: AgentHostClientType): Promise<void>;
650
+ /** Abort the in-flight turn for `chat`. */
651
+ abort(chat: URI, context: AgentChatOperationContext): Promise<void>;
652
+ /** Return the model currently bound to `chat`, when the provider knows it. */
653
+ getModel?(chat: URI, context: AgentChatOperationContext): ModelSelection | undefined;
654
+ changeModel(chat: URI, model: ModelSelection, context: AgentChatOperationContext): Promise<void>;
655
+ /**
656
+ * Change (or clear) the selected custom agent for `chat`. Passing
657
+ * `undefined` clears the selection (provider default behavior).
658
+ */
659
+ changeAgent(chat: URI, agent: AgentSelection | undefined, context: AgentChatOperationContext): Promise<void>;
660
+ /** Reconstruct the turns for `chat` (used on restore). */
661
+ getMessages(chat: URI, context: AgentChatOperationContext): Promise<readonly Turn[]>;
662
+ }
663
+ export interface IAgentResolveChatConfigParams {
664
+ readonly provider?: AgentProvider;
665
+ readonly workingDirectory?: URI;
666
+ readonly config?: Record<string, unknown>;
667
+ }
668
+ export interface IAgentChatConfigCompletionsParams extends IAgentResolveChatConfigParams {
669
+ readonly property: string;
670
+ readonly query?: string;
671
+ }
672
+ export type IAgentResolveSessionConfigParams = IAgentResolveChatConfigParams;
673
+ export type IAgentSessionConfigCompletionsParams = IAgentChatConfigCompletionsParams;
674
+ /** Serializable model information from the agent host. */
675
+ export interface IAgentModelInfo {
676
+ readonly provider: AgentProvider;
677
+ readonly id: string;
678
+ readonly name: string;
679
+ readonly maxContextWindow?: number;
680
+ readonly maxOutputTokens?: number;
681
+ readonly maxPromptTokens?: number;
682
+ readonly supportsVision: boolean;
683
+ readonly configSchema?: ConfigSchema;
684
+ readonly policyState?: PolicyState;
685
+ readonly _meta?: Record<string, unknown>;
686
+ }
687
+ /**
688
+ * A signal emitted by an agent during session execution.
689
+ *
690
+ * Most signals carry a protocol {@link SessionAction} directly via the
691
+ * `kind: 'action'` shape, eliminating a parallel event ontology. A small
692
+ * number of cases that have no clean protocol action (permission
693
+ * auto-approval, subagent session creation, steering acknowledgment, and
694
+ * host-owned model-call telemetry) remain as discriminated non-action signals.
695
+ */
696
+ export type AgentSignal = IAgentActionSignal | IAgentModelCallCompletedSignal | IAgentModelCallFinishedSignal | IAgentToolPendingConfirmationSignal | IAgentSubagentStartedSignal | IAgentSubagentResumedSignal | IAgentSubagentCompletedSignal | IAgentSteeringConsumedSignal;
697
+ /**
698
+ * Carries a protocol {@link SessionAction} produced by an agent. The host
699
+ * dispatches the action through the state manager after routing via
700
+ * {@link IAgentActionSignal.parentToolCallId} (if set).
701
+ *
702
+ * Agents are responsible for populating the target channel and any `turnId` /
703
+ * `partId` fields on the action.
704
+ */
705
+ export interface IAgentActionSignal {
706
+ readonly kind: "action";
707
+ /** Target session or chat channel URI. For inner subagent events this is the parent session — see {@link parentToolCallId}. */
708
+ readonly resource: URI;
709
+ /** Protocol action to dispatch. */
710
+ readonly action: SessionAction | ChatAction;
711
+ /** If set, route the action to the subagent session belonging to this tool call. */
712
+ readonly parentToolCallId?: string;
713
+ }
714
+ /** Reports one completed upstream model response for host-owned turn telemetry. */
715
+ export interface IAgentModelCallCompletedSignal {
716
+ readonly kind: "model_call_completed";
717
+ /** Target chat channel URI. For inner subagent calls this is the parent chat channel. */
718
+ readonly resource: URI;
719
+ /** Provider-reported turn identifier. The host remaps it when routing to a subagent chat. */
720
+ readonly turnId: string;
721
+ /** Stable provider message or response identifier used to suppress duplicate notifications. */
722
+ readonly modelCallId: string;
723
+ /** If set, route the model call to the subagent session belonging to this tool call. */
724
+ readonly parentToolCallId?: string;
725
+ }
726
+ export type AgentModelCallFinishedOutcome = "success" | "error" | "cancelled" | "rejected";
727
+ /** Reports the final lifecycle outcome of one dispatched model-call attempt. */
728
+ export interface IAgentModelCallFinishedSignal {
729
+ readonly kind: "model_call_finished";
730
+ /** Target chat channel URI. For inner subagent calls this is the parent chat channel. */
731
+ readonly resource: URI;
732
+ /** Host turn identifier owning this model-call attempt. */
733
+ readonly turnId: string;
734
+ /** Stable SDK event identifier used to suppress duplicate notifications. */
735
+ readonly modelCallId: string;
736
+ /** Monotonic provider-dispatch duration in milliseconds. */
737
+ readonly dispatchDurationMs: number;
738
+ readonly outcome: AgentModelCallFinishedOutcome;
739
+ /** Present only for accepted successful responses. */
740
+ readonly containsBuiltInFileEditRequest?: boolean;
741
+ readonly editClassifierVersion: number;
742
+ /** If set, route the model call to the subagent session belonging to this tool call. */
743
+ readonly parentToolCallId?: string;
744
+ }
745
+ /**
746
+ * A tool has finished collecting parameters and needs the host to decide
747
+ * whether it should run (or, mid-execution, re-confirm). The host applies
748
+ * auto-approval logic over {@link permissionKind} / {@link permissionPath}
749
+ * (see `SessionPermissionManager.getAutoApproval`) and then dispatches the
750
+ * appropriate `ChatToolCallReady` action — with confirmation options
751
+ * baked in when the user must approve, or with `confirmed: NotNeeded` when
752
+ * the host auto-approved.
753
+ *
754
+ * Kept as a non-action signal because the host owns this approval policy;
755
+ * the agent only describes the tool call and the kind of permission being
756
+ * requested. The {@link state} field carries the protocol-shaped tool-call
757
+ * state and is dispatched verbatim into the action.
758
+ */
759
+ export interface IAgentToolPendingConfirmationSignal {
760
+ readonly kind: "pending_confirmation";
761
+ /** Target chat channel URI containing the tool call. */
762
+ readonly chat: URI;
763
+ /** Protocol-shaped pending-confirmation state, dispatched verbatim into `ChatToolCallReady`. */
764
+ readonly state: ToolCallPendingConfirmationState;
765
+ /** Host-only auto-approval kind (not part of the dispatched action). */
766
+ readonly permissionKind?: "shell" | "write" | "mcp" | "read" | "url" | "skill" | "custom-tool" | "hook" | "memory" | "factory" | "extension-management" | "extension-permission-access" | "extension-env-access";
767
+ /** Host-only auto-approval path target (not part of the dispatched action). */
768
+ readonly permissionPath?: string;
769
+ /**
770
+ * Host-only flag requiring the client to show a confirmation instead of applying host auto-approval.
771
+ * The runtime currently sets it for managed Shell, Read, Edit, and Domain selector asks.
772
+ */
773
+ readonly managedApprovalRequired?: boolean;
774
+ /**
775
+ * Host-only flag (not part of the dispatched action): the model requested
776
+ * this shell command run OUTSIDE the sandbox (and the host opted in via
777
+ * `sandbox.allowBypass`).
778
+ */
779
+ readonly requestSandboxBypass?: boolean;
780
+ /**
781
+ * Host-only shell language for terminal auto-approval.
782
+ * Only `bash` and `powershell` are eligible for terminal-rule analysis;
783
+ * missing requires explicit confirmation.
784
+ */
785
+ readonly shellLanguage?: "bash" | "powershell";
786
+ /**
787
+ * If set, the tool call belongs to the subagent rooted at this
788
+ * parent tool call. Used by the host to route the resulting
789
+ * `ChatToolCallReady` to the subagent session — otherwise the
790
+ * action would land on the parent session, where there is no
791
+ * matching `ChatToolCallStart`.
792
+ */
793
+ readonly parentToolCallId?: string;
794
+ }
795
+ export type AgentSubagentTaskModelSource = "task_argument" | "subagent_configuration" | "custom_agent_definition" | "unset";
796
+ /**
797
+ * A subagent was spawned by a tool call. The host creates a child session
798
+ * silently and routes subsequent inner-tool events to it.
799
+ *
800
+ * Kept as a non-action signal because subagent session creation has no
801
+ * protocol action — it's a host-side composition primitive.
802
+ */
803
+ export interface IAgentSubagentStartedSignal {
804
+ readonly kind: "subagent_started";
805
+ readonly chat: URI;
806
+ readonly toolCallId: string;
807
+ readonly agentName: string;
808
+ readonly agentDisplayName: string;
809
+ readonly agentDescription?: string;
810
+ readonly taskModelSource?: AgentSubagentTaskModelSource;
811
+ /**
812
+ * The spawning Task tool's short (typically 3-5 word) `description`
813
+ * input, e.g. "Review package.json structure". Distinct from
814
+ * {@link agentDescription} (the agent *type*'s long role blurb) and
815
+ * {@link agentDisplayName} (the agent type's name). Preferred as the
816
+ * peer chat's tab title because it is concise and per-task, so two
817
+ * subagents of the same type still get distinct, meaningful names.
818
+ * Absent when the harness does not surface a task description.
819
+ */
820
+ readonly taskDescription?: string;
821
+ /**
822
+ * The full delegated instruction the parent handed the subagent (the
823
+ * spawning tool's `prompt` input). Populated by each provider at emit
824
+ * time from its own native source, so the shared orchestrator never
825
+ * parses a provider-specific tool-input shape. Seeds the subagent peer
826
+ * chat's opening request. Distinct from {@link taskDescription} (a short
827
+ * tab-title label). Absent when the harness does not surface a prompt.
828
+ */
829
+ readonly taskPrompt?: string;
830
+ /**
831
+ * If set, the spawning tool call ({@link toolCallId}) itself lives
832
+ * inside another subagent's chat — this is the tool call **one level up**
833
+ * from the spawning tool (its parent), i.e. the tool that spawned the
834
+ * immediate parent chat. The host uses it to route the
835
+ * subagent-discovery side effect (the `ChatToolCallContentChanged`
836
+ * block that lets clients find the child chat) to that immediate parent
837
+ * chat rather than the top-level {@link chat}. Because subagent chats
838
+ * are flat (all keyed off the root session + the spawning tool id),
839
+ * this single one-hop reference resolves the correct parent chat at
840
+ * ANY nesting depth — no per-level chain is needed. Absent for a
841
+ * top-level subagent, whose spawning tool call lives directly in
842
+ * {@link chat}.
843
+ */
844
+ readonly parentToolCallId?: string;
845
+ }
846
+ /**
847
+ * A previously completed subagent started another turn after being steered.
848
+ */
849
+ export interface IAgentSubagentResumedSignal {
850
+ readonly kind: "subagent_resumed";
851
+ readonly chat: URI;
852
+ readonly toolCallId: string;
853
+ readonly message?: Message;
854
+ }
855
+ /**
856
+ * A subagent turn has finished — either successfully or with an error. The
857
+ * child chat and its routing remain live because the same subagent can be
858
+ * steered into another turn.
859
+ */
860
+ export interface IAgentSubagentCompletedSignal {
861
+ readonly kind: "subagent_completed";
862
+ readonly chat: URI;
863
+ readonly toolCallId: string;
864
+ }
865
+ /** A steering message was consumed (sent to the model). */
866
+ export interface IAgentSteeringConsumedSignal {
867
+ readonly kind: "steering_consumed";
868
+ readonly chat: URI;
869
+ readonly id: string;
870
+ }
871
+ export declare namespace AgentSession {
872
+ /**
873
+ * Creates a session URI from a provider name and raw session ID.
874
+ * The URI scheme is the provider name (e.g., `copilot:/<rawId>`).
875
+ */
876
+ function uri(provider: AgentProvider, rawSessionId: string): URI;
877
+ /**
878
+ * Extracts the raw session ID from a session URI (the path without leading slash).
879
+ * Accepts both a URI object and a URI string.
880
+ */
881
+ function id(session: URI | string): string;
882
+ /**
883
+ * Extracts the provider name from a session URI scheme.
884
+ * Accepts both a URI object and a URI string.
885
+ */
886
+ function provider(session: URI | string): AgentProvider | undefined;
887
+ }
888
+ /**
889
+ * A notification originating from an MCP server, routed back to the AHP
890
+ * client through the `mcp://` side channel. `channel` is the channel
891
+ * URI advertised on the owning
892
+ * {@link McpServerCustomization.channel | McpServerCustomization}; the
893
+ * client uses it to fan the notification out to the appropriate App.
894
+ * `method` and `params` follow the underlying MCP notification spec
895
+ * (e.g. `notifications/tools/list_changed`).
896
+ */
897
+ export interface IMcpNotification {
898
+ readonly channel: string;
899
+ readonly method: string;
900
+ readonly params?: Record<string, unknown>;
901
+ }
902
+ /**
903
+ * A per-chat handle for one active client's contributions (tools and
904
+ * plugin customizations), obtained via
905
+ * {@link IAgent.getOrCreateActiveClient}.
906
+ *
907
+ * `tools` and `customizations` are mutable accessor properties: assigning a
908
+ * new array replaces this client's contribution wholesale and triggers the
909
+ * agent's internal reaction (refreshing the merged tool set exposed to the
910
+ * model, or kicking off an asynchronous customization sync). The arrays are
911
+ * `readonly` so callers cannot mutate them in place and silently bypass the
912
+ * setter. The agent merges the contributions of all active clients on a
913
+ * exact chat, deduplicating as needed.
914
+ */
915
+ export interface IActiveClient {
916
+ /** Client identifier (matches `clientId` from `initialize`). */
917
+ readonly clientId: string;
918
+ /** Human-readable client name (e.g. `"VS Code"`), if provided. */
919
+ readonly displayName: string | undefined;
920
+ /** This client's tools. Assigning replaces the set (full replacement). */
921
+ tools: readonly ToolDefinition[];
922
+ /** This client's plugin customizations. Assigning replaces the set and starts an internal sync. */
923
+ customizations: readonly ClientPluginCustomization[];
924
+ }
925
+ /** Worktree identity a predecessor recorded for a chat, so a missing checkout can be recreated on resume. */
926
+ export interface IAgentAdoptedWorktree {
927
+ readonly branchName: string;
928
+ readonly baseBranch: string | undefined;
929
+ readonly worktreePath: URI;
930
+ readonly repositoryRoot: URI;
931
+ }
932
+ /**
933
+ * Why an adoption attempt ended the way it did. Reported in logs and telemetry so
934
+ * a session that did not migrate can be diagnosed without reproducing it.
935
+ */
936
+ export type AgentChatAdoptionReason =
937
+ /** Already has Agent Host metadata — native or previously adopted. */
938
+ "alreadyNative"
939
+ /** Not a legacy extension-host Copilot CLI chat (e.g. standalone CLI, Local agent). */
940
+ | "notLegacyChat"
941
+ /** A legacy chat whose recorded working directory no longer exists and could not be resolved. */
942
+ | "workingDirectoryMissing"
943
+ /** A legacy chat whose extension-host marker could not be re-read, leaving its archived state unknown. */
944
+ | "markerUnavailable"
945
+ /** Newly adopted. */
946
+ | "adopted";
947
+ /** Outcome of attempting to adopt a legacy provider-native chat. */
948
+ export interface IAgentChatAdoptionResult {
949
+ /** Whether this call newly seeded Agent Host metadata. */
950
+ readonly adopted: boolean;
951
+ /** Whether the chat was a genuine legacy adoption candidate. */
952
+ readonly eligible: boolean;
953
+ /** Whether the chat already has Agent Host metadata, i.e. it is ours regardless of adoption. */
954
+ readonly native?: boolean;
955
+ /** Set when the adopted chat ran in a worktree that no longer exists and can be recreated. */
956
+ readonly worktree?: IAgentAdoptedWorktree;
957
+ /** Diagnostic reason behind {@link adopted}. */
958
+ readonly reason?: AgentChatAdoptionReason;
959
+ }
960
+ /**
961
+ * Implemented by each agent backend (e.g. Copilot SDK).
962
+ * The {@link IAgentService} dispatches to the appropriate agent based on
963
+ * the agent id.
964
+ */
965
+ export interface IAgent {
966
+ /** Unique provider identifier. */
967
+ readonly id: AgentProvider;
968
+ /** Capabilities consumed only inside the Agent Host process. */
969
+ readonly agentHostCapabilities: IAgentHostCapabilities;
970
+ /** Provider descriptor and capabilities. */
971
+ getDescriptor(): IAgentDescriptor;
972
+ /** Available provider models. */
973
+ readonly models: IObservable<readonly IAgentModelInfo[]>;
974
+ /** Optional refresh for providers whose model catalog can change at runtime. */
975
+ refreshModels?(): Promise<void>;
976
+ /** Streamed progress for an exact chat. */
977
+ readonly onDidChatProgress: Event<AgentSignal>;
978
+ /** Fires when a provisional chat acquires its SDK backing and durable metadata. */
979
+ readonly onDidMaterializeChat: Event<IAgentMaterializeChatEvent>;
980
+ /** Fires when an opaque chat backing changes and must be persisted again. */
981
+ readonly onDidChangeChatData: Event<IAgentChatDataChange>;
982
+ /** Fires when the provider creates a chat, such as a delegated subagent. */
983
+ readonly onDidSpawnChat: Event<IAgentSpawnChatEvent>;
984
+ /** Exact-chat operations: create, send, abort, mutate, restore history, release, and dispose. */
985
+ readonly chats: IAgentChats;
986
+ /** Re-attach an exact chat from opaque provider data without inferring its role. */
987
+ materializeChat(chat: URI, context: URI | IAgentChatContext, providerData: string | undefined): Promise<IAgentCreateChatResult | void>;
988
+ /** Optional steering hook for providers that can accept messages during an active turn. */
989
+ setPendingMessages?(chat: URI, steeringMessage: PendingMessage | undefined, queuedMessages: readonly PendingMessage[]): void;
990
+ /** Optional history mutation for providers with a native truncation operation. */
991
+ truncateChat?(chat: URI, turnId: string | undefined, context?: URI | IAgentChatContext): Promise<void>;
992
+ /**
993
+ * Changes the working directory of an exact chat's existing provider-native
994
+ * backing. Callers MUST gate this operation on
995
+ * {@link IAgentHostCapabilities.workspaceConversion}; implementations that do
996
+ * not advertise the capability MUST reject the call.
997
+ */
998
+ setWorkingDirectory(chat: URI, context: URI | IAgentChatContext, workingDirectory: URI): Promise<void>;
999
+ /** Return bounded diagnostics for an in-flight turn when supported. */
1000
+ getTurnDiagnosticSnapshot?(chat: URI, turnId: string): IAgentTurnDiagnosticSnapshot | undefined;
1001
+ /** Read observed usage at terminal dispatch for this exact owning turn, excluding descendants and later delivery. */
1002
+ getTurnTokenUsage?(chat: URI, turnId: string, parentToolCallId?: string): IAgentTurnTokenUsage | undefined;
1003
+ /** Record the host-remapped turn for a completed provider model call. */
1004
+ recordModelCallTurnCorrelation?(chat: URI, modelCallId: string, turnId: string): void;
1005
+ /** Get or create one client's contribution handle for an exact chat. */
1006
+ getOrCreateActiveClient(chat: URI, context: URI | IAgentChatContext, client: {
1007
+ readonly clientId: string;
1008
+ readonly displayName?: string;
1009
+ }, hostCustomizations?: readonly Customization[]): IActiveClient;
1010
+ /** Remove one client's contributions from an exact chat. */
1011
+ removeActiveClient(chat: URI, context: URI | IAgentChatContext, clientId: string): void;
1012
+ /** Complete a client tool call on its host-resolved provider chat. */
1013
+ onClientToolCallComplete(chat: URI, toolCallId: string, result: ToolCallResult, context?: IAgentChatContext): void;
1014
+ /** Respond to a pending permission request from the SDK. */
1015
+ respondToPermissionRequest(requestId: string, approved: boolean): void;
1016
+ /** Respond to a pending user input request from the SDK's ask_user tool. */
1017
+ respondToUserInputRequest(requestId: string, response: ChatInputResponseKind, answers?: Record<string, ChatInputAnswer>): void;
1018
+ /** Resolve provider-owned chat configuration; host-owned worktree fields are omitted. */
1019
+ resolveChatConfig(params: IAgentResolveChatConfigParams): Promise<ResolveSessionConfigResult>;
1020
+ /** Select provider-owned configuration inherited by a newly created chat. */
1021
+ getInheritedChatConfig(config: Readonly<Record<string, unknown>>): Record<string, unknown> | undefined;
1022
+ /** Select provider-owned configuration for an unattended autonomous turn. */
1023
+ getAutonomousSessionConfig?(config: Readonly<Record<string, unknown>>): Record<string, unknown> | undefined;
1024
+ /** Return dynamic completions for a provider-owned chat configuration property. */
1025
+ chatConfigCompletions(params: IAgentChatConfigCompletionsParams): Promise<SessionConfigCompletionsResult>;
1026
+ /** Optional push signal; providers with pull-only customization discovery omit it. */
1027
+ readonly onDidCustomizationsChange?: Event<void>;
1028
+ /** Optional provider-wide catalog; providers with only per-chat discovery omit it. */
1029
+ getCustomizations?(): readonly Customization[];
1030
+ /** Return the effective customization projection for an exact chat. */
1031
+ getChatCustomizations(chat: URI, context: URI | IAgentChatContext, hostCustomizations?: readonly Customization[]): Promise<readonly Customization[]>;
1032
+ /** Returns host-internal plugin owners for MCP servers temporarily published top-level. */
1033
+ getMcpServerOwners?(session: URI): ReadonlyMap<string, string> | undefined;
1034
+ /**
1035
+ * Optional provider-owned decision about the multi-root new-session Folder
1036
+ * picker, computed from the ordered working-directory set (index 0 = the
1037
+ * current primary) and seeded into the session's `_meta` at creation for the
1038
+ * client. Returns `undefined` when the provider has no opinion: nothing is
1039
+ * seeded and the client keeps the picker hidden by default, so a provider
1040
+ * that wants it shown must say so with `{ hidden: false }`. The optional
1041
+ * {@link token} aborts the (possibly filesystem-bound) computation.
1042
+ */
1043
+ computeFolderPickerDecision?(workingDirectories: readonly URI[], token?: CancellationToken): Promise<ISessionFolderPickerDecision | undefined>;
1044
+ /** Provides chats that are ready to be registered as Agent Host sessions. */
1045
+ readonly onDidDiscoverChats: Event<readonly IAgentDiscoveredChat[]>;
1046
+ /** Starts the provider's memoized native chat discovery pass. */
1047
+ startChatDiscovery?(): Promise<void>;
1048
+ /** Lets discovery drop registered candidates before per-session I/O. */
1049
+ setKnownSessionsFilter?(filter: IAgentKnownSessionsFilter): void;
1050
+ /** Optional adoption hook for providers with a predecessor-owned on-disk format. */
1051
+ ensureChatAdopted?(chat: URI, context: URI | IAgentChatContext): Promise<IAgentChatAdoptionResult>;
1052
+ /** Optional recovery hook for providers with historical backings but no persisted provider data. */
1053
+ recoverLegacyChat?(chat: URI, context: URI | IAgentChatContext): Promise<IAgentCreateChatResult | void>;
1054
+ /** Enumerate provider-native chats for registry migration. */
1055
+ listChatsToMigrate(): Promise<AgentChatMigrationResult>;
1056
+ /** Optional migration codec for providers that persisted peer backings before the host catalog. */
1057
+ listLegacyChatBackings?(configurationResource: URI): Promise<readonly IAgentLegacyChat[]>;
1058
+ /**
1059
+ * Warms a short-lived, in-memory cache of per-session metadata from a single
1060
+ * bulk provider call, so a subsequent burst of {@link getChatMetadata} calls
1061
+ * (e.g. a `listSessions` pass over a large catalogue) can be served without
1062
+ * one provider round-trip per session. Returns a disposable that clears the
1063
+ * cache; callers dispose it once the burst is complete. Optional: providers
1064
+ * without a cheap bulk read simply omit it and pay per session.
1065
+ */
1066
+ prewarmSessionMetadata?(): Promise<IDisposable>;
1067
+ /** Retrieve metadata for an exact registered chat. Ambient catalogue reads never set {@link IAgentChatMetadataOptions.activation}. */
1068
+ getChatMetadata(chat: URI, context: URI | IAgentChatContext, providerData?: string, options?: IAgentChatMetadataOptions): Promise<IAgentChatMetadata | undefined>;
1069
+ getProtectedResources(): ProtectedResourceMetadata[];
1070
+ /** An empty token revokes the credential previously forwarded for this resource. */
1071
+ authenticate(resource: string, token: string, expiresIn?: number): Promise<boolean>;
1072
+ /** Optional token consumer for provider-owned resources such as MCP servers. */
1073
+ handleAuthenticationToken?(params: AuthenticateParams): Promise<boolean>;
1074
+ /** Optional current authentication requirement for providers that can require re-authentication after startup. */
1075
+ readonly authenticationRequired?: IObservable<Omit<AuthRequiredParams, "channel"> | undefined>;
1076
+ /** Optional endpoint list when the provider owns probeable network traffic. */
1077
+ getNetworkDiagnosticsEndpoints?(): Promise<readonly IAgentHostNetworkEndpoint[]>;
1078
+ /** Optional account label when the provider can resolve one. */
1079
+ getNetworkDiagnosticsAccount?(): Promise<string | undefined>;
1080
+ /** Optional managed-settings snapshot for providers with an enterprise policy surface. */
1081
+ getManagedSettingsDiagnostics?(): Promise<IAgentHostManagedSettingsSnapshot>;
1082
+ /** Return the provider-owned state file for a session, when one exists. */
1083
+ getSessionStateFile?(session: URI, chat?: URI): Promise<URI | undefined>;
1084
+ /** Add provider-owned diagnostics to an Agent Host debug-log staging directory. */
1085
+ collectDebugLogs?(session: URI | undefined, outputDirectory: URI, chat?: URI): Promise<boolean>;
1086
+ /** Optional host wiring for providers that advertise Agent Host server tools. */
1087
+ setServerToolHost?(host: IAgentServerToolHost): void;
1088
+ /** Optional lifecycle operation for providers exposing controllable MCP servers. */
1089
+ startMcpServer?(session: URI, id: string): Promise<void>;
1090
+ /** Optional lifecycle operation paired with {@link startMcpServer}. */
1091
+ stopMcpServer?(session: URI, id: string): Promise<void>;
1092
+ /** Optional `mcp://` router for providers that advertise chat-scoped MCP side-channel resources. */
1093
+ handleMcpRequest?(chat: URI, serverName: string, method: string, params: Record<string, unknown> | undefined): Promise<unknown>;
1094
+ /** Optional notification stream paired with {@link handleMcpRequest}. */
1095
+ readonly onMcpNotification?: Event<IMcpNotification>;
1096
+ /** Optional lifecycle hook for providers whose resources react to archived state. */
1097
+ onArchivedChanged?(session: URI, isArchived: boolean): Promise<void>;
1098
+ shutdown(): Promise<void>;
1099
+ dispose(): void;
1100
+ }