@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
@@ -1,6 +1,16 @@
1
1
  import { Event } from "../../../base/common/event.js";
2
2
  import { IDisposable } from "../../../base/common/lifecycle.js";
3
+ import type { AgentHostEndpointAddress, AgentHostServerType } from "./agentHostEndpointRegistry.js";
4
+ import type { RemoteAgentHostLocationPreference } from "./remoteAgentHostLocationPreference.js";
3
5
  export type { IRelayMessage } from "./relayTransport.js";
6
+ /**
7
+ * Lifecycle ownership of the remote agent host process backing a
8
+ * connection: `managed` means this desktop spawned it (and is relying on
9
+ * its `--idle-timeout` to self-clean-up when unused), `external` means it
10
+ * was already running (another editor window, or a previously spawned
11
+ * standalone) and this desktop merely attached to it.
12
+ */
13
+ export type SSHAgentHostLifecycle = "managed" | "external";
4
14
  /**
5
15
  * IPC channel name for the main-process SSH service.
6
16
  */
@@ -36,7 +46,57 @@ export interface ISSHAgentHostConfig {
36
46
  readonly remoteAgentHostCommand?: string;
37
47
  /** When true, enables OpenSSH agent forwarding (auth-agent@openssh.com) for this connection. Requires {@link authMethod} to be Agent. */
38
48
  readonly agentForward?: boolean;
49
+ /**
50
+ * Whether this connect attempt was directly requested by the user (e.g.
51
+ * "Connect" from the workspace picker) as opposed to a silent background
52
+ * reconnect (e.g. on startup, or a scheduled auto-reconnect retry).
53
+ * Defaults to `true` when omitted, preserving today's picker-eligible
54
+ * behavior for every existing caller that doesn't set this explicitly.
55
+ *
56
+ * When explicitly `false` and {@link preferredAgentLocation} is unset,
57
+ * endpoint selection never shows the main↔renderer picker and never
58
+ * silently attaches to an `editor`-owned endpoint even if one is the
59
+ * only live endpoint — it deterministically reuses a live `standalone`
60
+ * endpoint when one exists, or spawns a new dedicated one otherwise.
61
+ * This keeps unattended reconnects from blocking on renderer UI or
62
+ * stealing a session out from under another open editor window.
63
+ */
64
+ readonly userInitiated?: boolean;
65
+ /**
66
+ * The renderer's previously stored {@link IRemoteAgentHostLocationPreferenceService}
67
+ * choice for this host's stable connection key (see
68
+ * {@link computeSSHConnectionKey}), threaded through so the main process
69
+ * can honor it without ever emitting an {@link ISSHEndpointSelectionRequest}.
70
+ * Takes priority over {@link userInitiated}: a stored `editor` preference
71
+ * lets even a silent/background reconnect (`userInitiated: false`) land on
72
+ * a live `editor`-owned endpoint (falling back to `dedicated` selection,
73
+ * without mutating the stored preference, if none is live), and a stored
74
+ * `dedicated` preference always selects a dedicated endpoint. When unset,
75
+ * behavior is unchanged: {@link userInitiated} alone governs whether the
76
+ * picker may be shown. Non-secret; safe to keep in the sanitized config.
77
+ */
78
+ readonly preferredAgentLocation?: RemoteAgentHostLocationPreference;
39
79
  }
80
+ /**
81
+ * Compute the stable per-host key used to key in-flight SSH connections,
82
+ * the shared endpoint-selection request/candidates, and this host's
83
+ * persisted {@link RemoteAgentHostLocationPreference}. Uses the SSH config
84
+ * host alias when available (`ssh:<alias>`), falling back to
85
+ * `user@host:port` for config-less (explicit credential) connections. Both
86
+ * the node-side SSH service and the renderer-side preference lookup must
87
+ * use this exact key so a preference set on one path is honored by the
88
+ * other. `username`/`host`/`port` are optional since callers that only
89
+ * know a {@link ISSHAgentHostConfig.sshConfigHost sshConfigHost} alias
90
+ * up front (e.g. the renderer's `reconnect()`, before the main process has
91
+ * resolved the alias to a hostname) never reach the fallback branch that
92
+ * needs them.
93
+ */
94
+ export declare function computeSSHConnectionKey(config: {
95
+ sshConfigHost?: string;
96
+ username?: string;
97
+ host?: string;
98
+ port?: number;
99
+ }): string;
40
100
  /**
41
101
  * A sanitized view of the SSH config that omits secret material
42
102
  * (password, private key path). Exposed on active connections so
@@ -52,6 +112,18 @@ export interface ISSHAgentHostConnection extends IDisposable {
52
112
  readonly name: string;
53
113
  /** Fires when this SSH connection is closed or lost. */
54
114
  readonly onDidClose: Event<void>;
115
+ /**
116
+ * Kind of remote agent host process backing this connection, when known
117
+ * (registry-discovered connections only; unset for the legacy
118
+ * `remoteAgentHostCommand` override path).
119
+ */
120
+ readonly serverType?: AgentHostServerType;
121
+ /** Registry `instanceId` of the remote agent host backing this connection, when known. */
122
+ readonly instanceId?: string;
123
+ /** Whether this is the primary connection selected for this remote (see {@link ISSHConnectResult.primary}). */
124
+ readonly primary?: boolean;
125
+ /** Whether this desktop spawned (and therefore is relying on idle-timeout to clean up) the backing process, or merely attached to an already-running one. */
126
+ readonly lifecycle?: SSHAgentHostLifecycle;
55
127
  }
56
128
  /**
57
129
  * Serializable result from a successful SSH connect operation.
@@ -67,7 +139,39 @@ export interface ISSHConnectResult {
67
139
  readonly config: ISSHAgentHostConfigSanitized;
68
140
  /** SSH config host alias for reconnection on restart. */
69
141
  readonly sshConfigHost?: string;
142
+ /**
143
+ * Kind of remote agent host process backing this connection
144
+ * (`editor` or `standalone`), when discovered through the shared
145
+ * endpoint registry. Unset for the legacy `remoteAgentHostCommand`
146
+ * override path, which bypasses registry discovery entirely.
147
+ */
148
+ readonly serverType?: AgentHostServerType;
149
+ /** Registry `instanceId` of the remote agent host backing this connection, when known. */
150
+ readonly instanceId?: string;
151
+ /**
152
+ * Whether this connection is the primary one for this remote: the one
153
+ * chosen (explicitly, or by deterministic reuse/spawn) to back the
154
+ * editor's own remote session. Every successful `connect()`/`reconnect()`
155
+ * result today is primary; this field exists so future consumers can
156
+ * distinguish it without relying on absence-of-alternative.
157
+ */
158
+ readonly primary?: boolean;
159
+ /**
160
+ * Whether this desktop spawned the backing remote agent host process
161
+ * (`managed`, relies on `--idle-timeout` for cleanup) or merely attached
162
+ * to an already-running one (`external`, e.g. another editor window or a
163
+ * previously spawned standalone — never killed on disconnect).
164
+ */
165
+ readonly lifecycle?: SSHAgentHostLifecycle;
70
166
  }
167
+ /**
168
+ * How OpenSSH should react to an unknown or changed host key. `ssh -G`
169
+ * canonicalizes `yes` to `true` and `no`/`off` to `false`, which the resolved
170
+ * config parser normalizes back to this policy representation.
171
+ */
172
+ export type SSHStrictHostKeyChecking = "ask" | "accept-new" | "yes" | "no" | "off";
173
+ /** Narrow an arbitrary `ssh -G` value to a {@link SSHStrictHostKeyChecking}. */
174
+ export declare function isSSHStrictHostKeyChecking(value: string): value is SSHStrictHostKeyChecking;
71
175
  /**
72
176
  * Resolved SSH configuration for a host, obtained from `ssh -G`.
73
177
  */
@@ -78,6 +182,16 @@ export interface ISSHResolvedConfig {
78
182
  readonly identityFile: string[];
79
183
  readonly identityAgent: string | undefined;
80
184
  readonly forwardAgent: boolean;
185
+ /**
186
+ * `UserKnownHostsFile` paths, in priority order. `ssh -G` emits these as a
187
+ * single space-separated list, so this is already split. Typically
188
+ * `~/.ssh/known_hosts` and `~/.ssh/known_hosts2`.
189
+ */
190
+ readonly userKnownHostsFiles: string[];
191
+ /** `GlobalKnownHostsFile` paths, e.g. `/etc/ssh/ssh_known_hosts`. */
192
+ readonly globalKnownHostsFiles: string[];
193
+ /** Resolved and normalized `StrictHostKeyChecking`, when recognized. */
194
+ readonly strictHostKeyChecking: SSHStrictHostKeyChecking | undefined;
81
195
  }
82
196
  export interface ISSHConnectProgress {
83
197
  readonly connectionKey: string;
@@ -110,3 +224,132 @@ export interface ISSHKeyboardInteractiveRequest {
110
224
  readonly instructions: string;
111
225
  readonly prompts: readonly ISSHKeyboardInteractivePrompt[];
112
226
  }
227
+ /**
228
+ * One live remote agent host endpoint the user could connect to, as
229
+ * surfaced by `code agent endpoints` on the remote machine. Deliberately
230
+ * excludes the raw {@link AgentHostEndpointAddress} details that aren't
231
+ * useful for disambiguation (e.g. a socket path) but keeps enough
232
+ * (server type, PID, quality, and a display form of the address) for the
233
+ * renderer to build a fully localized, accessible label without needing
234
+ * any pre-formatted string from the main process.
235
+ */
236
+ export interface ISSHEndpointCandidate {
237
+ readonly type: AgentHostServerType;
238
+ readonly pid: number;
239
+ readonly instanceId: string;
240
+ readonly quality?: string;
241
+ readonly endpoint: AgentHostEndpointAddress;
242
+ }
243
+ /**
244
+ * Request from the main process for the renderer to choose which live
245
+ * remote agent host endpoint (or "start a new one") to connect to. Fired
246
+ * when the shared endpoint registry on the remote host contains at least
247
+ * one `editor`-owned entry, since in that case silent reuse could steal a
248
+ * session out from under another open editor window. The renderer is
249
+ * expected to respond with {@link ISSHRemoteAgentHostMainService.respondEndpointSelection}.
250
+ */
251
+ export interface ISSHEndpointSelectionRequest {
252
+ readonly requestId: string;
253
+ readonly connectionKey: string;
254
+ /** Display-friendly host (e.g. SSH config alias or `user@host`). */
255
+ readonly displayHost: string;
256
+ /** Every live endpoint on the remote, both `editor`- and `standalone`-owned. */
257
+ readonly candidates: readonly ISSHEndpointCandidate[];
258
+ }
259
+ /**
260
+ * The renderer's answer to an {@link ISSHEndpointSelectionRequest}: either
261
+ * attach to one of the offered live candidates (identified by its identity
262
+ * triple, since PIDs alone are not stable across reuse), or spawn a new
263
+ * dedicated standalone agent host.
264
+ */
265
+ export type ISSHEndpointSelection = {
266
+ readonly kind: "candidate";
267
+ readonly type: AgentHostServerType;
268
+ readonly pid: number;
269
+ readonly instanceId: string;
270
+ } | {
271
+ readonly kind: "spawn";
272
+ };
273
+ /**
274
+ * What the user's `known_hosts` files say about a presented host key. Mirrors
275
+ * `KnownHostsMatch` in `../node/sshKnownHosts.js`, redeclared here because
276
+ * this common-layer module cannot import from `node`.
277
+ */
278
+ export type SSHKnownHostsMatch = "match" | "mismatch" | "revoked" | "ca-only" | "unknown";
279
+ /**
280
+ * Error name for a connect attempt refused because the server's host key was
281
+ * not trusted. Matching on the name (rather than `instanceof`) is deliberate:
282
+ * the error is raised in the shared process and inspected in the renderer, and
283
+ * only `name`/`message` survive IPC serialization.
284
+ */
285
+ export declare const SSH_HOST_KEY_DENIED_ERROR_NAME = "SSHHostKeyDenied";
286
+ /**
287
+ * Raised when host key verification refused the connection.
288
+ *
289
+ * The host key UI owns the conversation about *why* — either the user
290
+ * declined the prompt themselves, or a specific, actionable notification
291
+ * (with a "Forget Saved Host Key" action) is already on screen. Callers should
292
+ * therefore not add a generic "failed to connect" error on top; see
293
+ * {@link isSSHHostKeyDeniedError}.
294
+ */
295
+ export declare class SSHHostKeyDeniedError extends Error {
296
+ constructor(displayHost: string);
297
+ }
298
+ /** Whether `error` is an {@link SSHHostKeyDeniedError}, including across IPC. */
299
+ export declare function isSSHHostKeyDeniedError(error: unknown): boolean;
300
+ /**
301
+ * Request from the shared process for the renderer to decide whether a
302
+ * server's host key should be trusted. Fired from ssh2's `hostVerifier` during
303
+ * key exchange — that is, *before* authentication — so declining guarantees no
304
+ * password or SSH agent access is ever exposed to an unverified server.
305
+ *
306
+ * The shared process only gathers evidence ({@link knownHostsMatch} and the
307
+ * fingerprint); the renderer owns the actual policy, since it holds the trust
308
+ * store and the UI. The renderer must answer via
309
+ * {@link ISSHRemoteAgentHostMainService.respondHostKeyVerification} with the
310
+ * same `requestId`, otherwise the connection stalls until the deadline.
311
+ *
312
+ * (`ISSHRemoteAgentHostMainService` is a misnomer inherited from its siblings:
313
+ * it and the WSL/tunnel equivalents are all registered in `sharedProcessMain`,
314
+ * so they run in the shared process, not the main process.)
315
+ */
316
+ export interface ISSHHostKeyVerificationRequest {
317
+ readonly requestId: string;
318
+ readonly connectionKey: string;
319
+ /** Display-friendly host (e.g. SSH config alias or `user@host`). */
320
+ readonly displayHost: string;
321
+ /** Resolved hostname the key was presented for. */
322
+ readonly host: string;
323
+ readonly port: number;
324
+ /** Host key algorithm, e.g. `ssh-ed25519`. */
325
+ readonly keyType: string;
326
+ /** OpenSSH-style `SHA256:...` fingerprint, matching `ssh-keygen -lf`. */
327
+ readonly fingerprint: string;
328
+ /** What the user's `known_hosts` files say about this key. */
329
+ readonly knownHostsMatch: SSHKnownHostsMatch;
330
+ /** Resolved `StrictHostKeyChecking` from `ssh -G`, when recognized. */
331
+ readonly strictHostKeyChecking?: SSHStrictHostKeyChecking;
332
+ /**
333
+ * Whether the owning connect attempt was directly requested by the user.
334
+ * Background reconnects must never open a modal, so an unknown host key on
335
+ * a silent reconnect is declined rather than prompted for.
336
+ */
337
+ readonly userInitiated: boolean;
338
+ }
339
+ /**
340
+ * A host key proven to belong to an already-authenticated server, delivered
341
+ * via OpenSSH's `UpdateHostKeys` extension (`hostkeys-00@openssh.com`). ssh2
342
+ * completes the `hostkeys-prove-00@openssh.com` challenge and verifies the
343
+ * signatures before surfacing these, so they can be trusted without prompting
344
+ * — this is what lets a legitimate server key rotation be picked up silently
345
+ * instead of surfacing as a scary mismatch.
346
+ */
347
+ export interface ISSHHostKeysAnnouncement {
348
+ readonly connectionKey: string;
349
+ readonly host: string;
350
+ readonly port: number;
351
+ readonly keys: readonly {
352
+ readonly keyType: string;
353
+ readonly fingerprint: string;
354
+ }[];
355
+ }
@@ -1,6 +1,7 @@
1
1
  import { Event } from "../../../base/common/event.js";
2
2
  import { URI } from "../../../base/common/uri.js";
3
- import { ISSHConnectProgress, ISSHAgentHostConnection, ISSHAgentHostConfig, ISSHResolvedConfig, type IRelayMessage, type ISSHConnectResult, type ISSHKeyboardInteractiveRequest } from "./sshRemoteAgentHost.js";
3
+ import { RemoteAgentHostLocationPreference } from "./remoteAgentHostLocationPreference.js";
4
+ import { ISSHConnectProgress, ISSHAgentHostConnection, ISSHAgentHostConfig, ISSHResolvedConfig, type IRelayMessage, type ISSHConnectResult, type ISSHEndpointSelection, type ISSHEndpointSelectionRequest, type ISSHHostKeysAnnouncement, type ISSHHostKeyVerificationRequest, type ISSHKeyboardInteractiveRequest } from "./sshRemoteAgentHost.js";
4
5
  export declare const ISSHRemoteAgentHostService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ISSHRemoteAgentHostService>;
5
6
  /**
6
7
  * Manages SSH connections that bootstrap a remote agent host process.
@@ -25,15 +26,15 @@ export interface ISSHRemoteAgentHostService {
25
26
  * 2. Downloads and installs the VS Code CLI if needed
26
27
  * 3. Starts `code agent-host`
27
28
  * 4. Creates a WebSocket relay over the SSH channel
28
- * 5. Registers the connection with {@link IRemoteAgentHostService}
29
+ * 5. Waits for {@link IRemoteAgentHostService} to complete the protocol handshake
29
30
  *
30
31
  * Resolves with the connection handle once the agent host is reachable.
31
32
  */
32
33
  connect(config: ISSHAgentHostConfig): Promise<ISSHAgentHostConnection>;
33
34
  /**
34
35
  * Disconnect an SSH-bootstrapped connection by host address.
35
- * Tears down the SSH tunnel, stops the remote agent host, and
36
- * removes the entry from {@link IRemoteAgentHostService}.
36
+ * Tears down the SSH tunnel, stops the remote agent host, and removes its
37
+ * persisted SSH entry.
37
38
  */
38
39
  disconnect(host: string): Promise<void>;
39
40
  /** List SSH config host aliases (excluding wildcards). */
@@ -54,9 +55,14 @@ export interface ISSHRemoteAgentHostService {
54
55
  resolveSSHConfig(host: string): Promise<ISSHResolvedConfig>;
55
56
  /**
56
57
  * Re-establish an SSH tunnel on startup for a previously connected host.
57
- * Returns the new local forwarded address and registers it.
58
+ * Resolves once the service-owned protocol connection is ready.
59
+ *
60
+ * @param userInitiated See {@link ISSHAgentHostConfig.userInitiated}.
61
+ * Defaults to `true` (picker-eligible) when omitted; background/auto
62
+ * reconnect callers must pass `false` explicitly to guarantee no picker
63
+ * ever opens and no `editor` endpoint is ever silently chosen.
58
64
  */
59
- reconnect(sshConfigHost: string, name: string): Promise<ISSHAgentHostConnection>;
65
+ reconnect(sshConfigHost: string, name: string, userInitiated?: boolean): Promise<ISSHAgentHostConnection>;
60
66
  }
61
67
  /**
62
68
  * Main-process service that performs the actual SSH work.
@@ -80,7 +86,7 @@ export interface ISSHRemoteAgentHostMainService {
80
86
  * Fires when the SSH server requests keyboard-interactive auth (typically
81
87
  * a password prompt). The renderer must answer via {@link respondKeyboardInteractive}
82
88
  * with the same `requestId`, otherwise the auth attempt will hang until the
83
- * SSH `readyTimeout` elapses.
89
+ * SSH handshake deadline elapses.
84
90
  */
85
91
  readonly onDidRequestKeyboardInteractive: Event<ISSHKeyboardInteractiveRequest>;
86
92
  /**
@@ -96,6 +102,51 @@ export interface ISSHRemoteAgentHostMainService {
96
102
  */
97
103
  respondKeyboardInteractive(requestId: string, responses: readonly string[] | undefined): Promise<void>;
98
104
  /**
105
+ * Fires when connect() discovers at least one live `editor`-owned
106
+ * endpoint on the remote and needs the renderer to choose which
107
+ * live endpoint (or "spawn new") to connect to. The renderer must
108
+ * answer via {@link respondEndpointSelection} with the same `requestId`.
109
+ */
110
+ readonly onDidRequestEndpointSelection: Event<ISSHEndpointSelectionRequest>;
111
+ /**
112
+ * Fires when a previously requested endpoint selection is no longer
113
+ * needed (e.g. the owning connect attempt failed or was aborted). The
114
+ * renderer should dismiss any picker UI it opened for `requestId`.
115
+ */
116
+ readonly onDidCancelEndpointSelection: Event<string>;
117
+ /**
118
+ * Provide the user's answer to a previously fired endpoint-selection
119
+ * request. Pass `undefined` when the user cancels the picker; this
120
+ * aborts the owning connect attempt with a cancellation error.
121
+ */
122
+ respondEndpointSelection(requestId: string, selection: ISSHEndpointSelection | undefined): Promise<void>;
123
+ /**
124
+ * Fires when a server presents a host key during key exchange and the
125
+ * renderer must decide whether to trust it. Answering is mandatory: until
126
+ * {@link respondHostKeyVerification} is called with the same `requestId`,
127
+ * the SSH handshake is suspended.
128
+ */
129
+ readonly onDidRequestHostKeyVerification: Event<ISSHHostKeyVerificationRequest>;
130
+ /**
131
+ * Fires when a previously requested host key verification is no longer
132
+ * needed (e.g. the owning connect attempt failed or was aborted). The
133
+ * renderer should dismiss any UI it opened for `requestId`.
134
+ */
135
+ readonly onDidCancelHostKeyVerification: Event<string>;
136
+ /**
137
+ * Provide the user's trust decision for a previously fired host key
138
+ * verification request. Passing `false` fails the key exchange, which
139
+ * tears the connection down before any authentication is attempted.
140
+ */
141
+ respondHostKeyVerification(requestId: string, trusted: boolean): Promise<void>;
142
+ /**
143
+ * Fires when a server announces its full set of host keys over an
144
+ * already-authenticated connection. See {@link ISSHHostKeysAnnouncement} —
145
+ * these keys are cryptographically proven, so consumers can persist them
146
+ * without prompting.
147
+ */
148
+ readonly onDidAnnounceHostKeys: Event<ISSHHostKeysAnnouncement>;
149
+ /**
99
150
  * Bootstrap a remote agent host over SSH. Returns serializable
100
151
  * connection info for the renderer to register.
101
152
  */
@@ -123,6 +174,12 @@ export interface ISSHRemoteAgentHostMainService {
123
174
  * Re-establish an SSH tunnel for a previously connected host.
124
175
  * Resolves the SSH config alias, connects, and returns fresh
125
176
  * connection info with a new local forwarded port.
177
+ *
178
+ * @param userInitiated See {@link ISSHAgentHostConfig.userInitiated}.
179
+ * Defaults to `true` (picker-eligible) when omitted.
180
+ * @param preferredAgentLocation See {@link ISSHAgentHostConfig.preferredAgentLocation}.
181
+ * The renderer computes this from its stored preference for this host's
182
+ * {@link computeSSHConnectionKey stable key} before calling reconnect.
126
183
  */
127
- reconnect(sshConfigHost: string, name: string, remoteAgentHostCommand?: string, agentForward?: boolean): Promise<ISSHConnectResult>;
184
+ reconnect(sshConfigHost: string, name: string, remoteAgentHostCommand?: string, agentForward?: boolean, userInitiated?: boolean, preferredAgentLocation?: RemoteAgentHostLocationPreference): Promise<ISSHConnectResult>;
128
185
  }
@@ -0,0 +1,30 @@
1
+ import { type ActionEnvelope, type ChatErrorAction, type StateAction } from "./protocol/actions.js";
2
+ import { type ChatState, type ErrorInfo, type Turn } from "./protocol/state.js";
3
+ interface ILegacyChatErrorAction extends Omit<ChatErrorAction, "part"> {
4
+ readonly error: ErrorInfo;
5
+ }
6
+ type CompatibleTurn = Turn | (Turn & {
7
+ readonly error: ErrorInfo;
8
+ });
9
+ type CompatibleActionEnvelope = Omit<ActionEnvelope, "action"> & {
10
+ readonly action: StateAction | ILegacyChatErrorAction;
11
+ };
12
+ /**
13
+ * Reads the top-level error field emitted by AHP hosts before durable error
14
+ * response parts were introduced.
15
+ */
16
+ export declare function readLegacyTurnError(turn: CompatibleTurn): ErrorInfo | undefined;
17
+ /**
18
+ * Moves a legacy completed-turn error into its durable response-part position.
19
+ */
20
+ export declare function normalizeLegacyTurnError(turn: CompatibleTurn): Turn;
21
+ /**
22
+ * Normalizes legacy completed-turn errors in a chat snapshot.
23
+ */
24
+ export declare function normalizeLegacyChatStateErrors(state: ChatState): ChatState;
25
+ /**
26
+ * Normalizes legacy error payloads before a server action reaches reducers or
27
+ * action observers.
28
+ */
29
+ export declare function normalizeLegacyActionEnvelope(envelope: CompatibleActionEnvelope): ActionEnvelope;
30
+ export {};
@@ -0,0 +1,95 @@
1
+
2
+ import { hasKey } from '../../../../base/common/types.js';
3
+ import { ActionType } from './protocol/common/actions.js';
4
+ import './protocol/channels-root/state.js';
5
+ import './protocol/channels-session/state.js';
6
+ import { TurnState, ResponsePartKind } from './protocol/channels-chat/state.js';
7
+ import './protocol/channels-terminal/state.js';
8
+ import './protocol/channels-changeset/state.js';
9
+ import './protocol/channels-resource-watch/state.js';
10
+ import './protocol/channels-automation/state.js';
11
+ import './protocol/channels-automation-run/state.js';
12
+
13
+ function readLegacyTurnError(turn) {
14
+ if (!hasKey(turn, {
15
+ error: true
16
+ })) {
17
+ return undefined;
18
+ }
19
+ return turn.error;
20
+ }
21
+ function normalizeLegacyTurnError(turn) {
22
+ if (turn.state !== TurnState.Error || !hasKey(turn, {
23
+ error: true
24
+ })) {
25
+ return turn;
26
+ }
27
+ const {
28
+ error,
29
+ ...normalizedTurn
30
+ } = turn;
31
+ const finalPart = turn.responseParts[turn.responseParts.length - 1];
32
+ return {
33
+ ...normalizedTurn,
34
+ responseParts: finalPart?.kind === ResponsePartKind.Error ? turn.responseParts : [...turn.responseParts, {
35
+ kind: ResponsePartKind.Error,
36
+ error
37
+ }]
38
+ };
39
+ }
40
+ function normalizeLegacyChatStateErrors(state) {
41
+ const turns = ( state.turns.map(normalizeLegacyTurnError));
42
+ return ( turns.some((turn, index) => turn !== state.turns[index])) ? {
43
+ ...state,
44
+ turns
45
+ } : state;
46
+ }
47
+ function normalizeLegacyActionEnvelope(envelope) {
48
+ const action = envelope.action;
49
+ switch (action.type) {
50
+ case ActionType.ChatError:
51
+ if (hasKey(action, {
52
+ error: true
53
+ })) {
54
+ const {
55
+ error,
56
+ ...normalizedAction
57
+ } = action;
58
+ return {
59
+ ...envelope,
60
+ action: {
61
+ ...normalizedAction,
62
+ part: {
63
+ kind: ResponsePartKind.Error,
64
+ error
65
+ }
66
+ }
67
+ };
68
+ }
69
+ return {
70
+ ...envelope,
71
+ action
72
+ };
73
+ case ActionType.ChatTurnsLoaded:
74
+ {
75
+ const turns = ( action.turns.map(normalizeLegacyTurnError));
76
+ return ( turns.some((turn, index) => turn !== action.turns[index])) ? {
77
+ ...envelope,
78
+ action: {
79
+ ...action,
80
+ turns
81
+ }
82
+ } : {
83
+ ...envelope,
84
+ action
85
+ };
86
+ }
87
+ default:
88
+ return {
89
+ ...envelope,
90
+ action
91
+ };
92
+ }
93
+ }
94
+
95
+ export { normalizeLegacyActionEnvelope, normalizeLegacyChatStateErrors, normalizeLegacyTurnError, readLegacyTurnError };
@@ -1,4 +1,4 @@
1
- import { type StateAction, type RootAgentsChangedAction, type RootActiveSessionsChangedAction, type RootTerminalsChangedAction, type RootConfigChangedAction, type SessionReadyAction, type SessionCreationFailedAction, type SessionChatAddedAction, type SessionChatRemovedAction, type SessionChatUpdatedAction, type SessionDefaultChatChangedAction, type SessionTitleChangedAction, type SessionServerToolsChangedAction, type SessionActiveClientSetAction, type SessionActiveClientRemovedAction, type SessionInputNeededSetAction, type SessionInputNeededRemovedAction, type SessionCustomizationsChangedAction, type SessionCustomizationToggledAction, type SessionCustomizationUpdatedAction, type SessionCustomizationRemovedAction, type SessionMcpServerStateChangedAction, type SessionIsReadChangedAction, type SessionIsArchivedChangedAction, type SessionActivityChangedAction, type SessionChangesetsChangedAction, type SessionConfigChangedAction, type SessionMetaChangedAction, type ChatTurnStartedAction, type ChatDeltaAction, type ChatResponsePartAction, type ChatToolCallStartAction, type ChatToolCallDeltaAction, type ChatToolCallReadyAction, type ChatToolCallConfirmedAction, type ChatToolCallCompleteAction, type ChatToolCallResultConfirmedAction, type ChatToolCallContentChangedAction, type ChatTurnCompleteAction, type ChatTurnCancelledAction, type ChatErrorAction, type ChatActivityChangedAction, type ChatUsageAction, type ChatReasoningAction, type ChatPendingMessageSetAction, type ChatPendingMessageRemovedAction, type ChatQueuedMessagesReorderedAction, type ChatDraftChangedAction, type ChatInputRequestedAction, type ChatInputAnswerChangedAction, type ChatInputCompletedAction, type ChatTruncatedAction, type ChangesetStatusChangedAction, type ChangesetFileSetAction, type ChangesetFileRemovedAction, type ChangesetContentChangedAction, type ChangesetOperationsChangedAction, type ChangesetOperationStatusChangedAction, type ChangesetClearedAction, type AnnotationsSetAction, type AnnotationsUpdatedAction, type AnnotationsRemovedAction, type AnnotationsEntrySetAction, type AnnotationsEntryRemovedAction, type TerminalDataAction, type TerminalInputAction, type TerminalResizedAction, type TerminalClaimedAction, type TerminalTitleChangedAction, type TerminalCwdChangedAction, type TerminalExitedAction, type TerminalClearedAction, type TerminalCommandDetectionAvailableAction, type TerminalCommandExecutedAction, type TerminalCommandFinishedAction, type ResourceWatchChangedAction } from "./actions.js";
1
+ import { type StateAction, type RootAgentsChangedAction, type RootActiveSessionsChangedAction, type RootTerminalsChangedAction, type RootConfigChangedAction, type SessionReadyAction, type SessionCreationFailedAction, type SessionChatAddedAction, type SessionChatRemovedAction, type SessionChatUpdatedAction, type SessionDefaultChatChangedAction, type SessionTitleChangedAction, type SessionServerToolsChangedAction, type SessionActiveClientSetAction, type SessionActiveClientRemovedAction, type SessionWorkingDirectorySetAction, type SessionWorkingDirectoryRemovedAction, type SessionWorkingDirectoryReplacedAction, type SessionInputNeededSetAction, type SessionInputNeededRemovedAction, type SessionCustomizationsChangedAction, type SessionCustomizationToggledAction, type SessionCustomizationUpdatedAction, type SessionCustomizationRemovedAction, type SessionMcpServerStateChangedAction, type SessionMcpServerStartRequestedAction, type SessionMcpServerStopRequestedAction, type SessionIsReadChangedAction, type SessionIsArchivedChangedAction, type SessionActivityChangedAction, type SessionChangesetsChangedAction, type SessionConfigChangedAction, type SessionMetaChangedAction, type ChatTurnStartedAction, type ChatDeltaAction, type ChatResponsePartAction, type ChatToolCallStartAction, type ChatToolCallDeltaAction, type ChatToolCallReadyAction, type ChatToolCallConfirmedAction, type ChatToolCallCompleteAction, type ChatToolCallResultConfirmedAction, type ChatToolCallContentChangedAction, type ChatToolCallAuthRequiredAction, type ChatToolCallAuthResolvedAction, type ChatTurnCompleteAction, type ChatTurnCancelledAction, type ChatErrorAction, type ChatTurnResumeAction, type ChatActivityChangedAction, type ChatWorkingDirectorySetAction, type ChatWorkingDirectoryRemovedAction, type ChatUsageAction, type ChatReasoningAction, type ChatPendingMessageSetAction, type ChatPendingMessageRemovedAction, type ChatQueuedMessagesReorderedAction, type ChatDraftChangedAction, type ChatInputRequestedAction, type ChatInputAnswerChangedAction, type ChatInputCompletedAction, type ChatTruncatedAction, type ChatTurnsLoadedAction, type ChangesetStatusChangedAction, type ChangesetFileSetAction, type ChangesetFileRemovedAction, type ChangesetFilesReviewChangedAction, type ChangesetContentChangedAction, type ChangesetOperationsChangedAction, type ChangesetOperationStatusChangedAction, type ChangesetClearedAction, type AnnotationsSetAction, type AnnotationsUpdatedAction, type AnnotationsRemovedAction, type AnnotationsEntrySetAction, type AnnotationsEntryRemovedAction, type TerminalDataAction, type TerminalInputAction, type TerminalResizedAction, type TerminalClaimedAction, type TerminalTitleChangedAction, type TerminalCwdChangedAction, type TerminalExitedAction, type TerminalClearedAction, type TerminalCommandDetectionAvailableAction, type TerminalCommandExecutedAction, type TerminalCommandFinishedAction, type ResourceWatchChangedAction, type AutomationCreateRequestedAction, type AutomationUpdateRequestedAction, type AutomationSetAction, type AutomationRemovedAction, type AutomationRunLifecycleChangedAction, type AutomationRunSessionSetAction, type AutomationRunSessionRemovedAction, type AutomationRunPrimarySessionChangedAction, type AutomationRunCancelRequestedAction } from "./actions.js";
2
2
  /** Union of all root-scoped actions. */
3
3
  export type RootAction = RootAgentsChangedAction | RootActiveSessionsChangedAction | RootTerminalsChangedAction | RootConfigChangedAction;
4
4
  /** Union of root actions that clients may dispatch. */
@@ -6,17 +6,17 @@ export type ClientRootAction = RootConfigChangedAction;
6
6
  /** Union of root actions that only the server may produce. */
7
7
  export type ServerRootAction = RootAgentsChangedAction | RootActiveSessionsChangedAction | RootTerminalsChangedAction;
8
8
  /** Union of all session-scoped actions. */
9
- export type SessionAction = SessionReadyAction | SessionCreationFailedAction | SessionChatAddedAction | SessionChatRemovedAction | SessionChatUpdatedAction | SessionDefaultChatChangedAction | SessionTitleChangedAction | SessionServerToolsChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionInputNeededSetAction | SessionInputNeededRemovedAction | SessionCustomizationsChangedAction | SessionCustomizationToggledAction | SessionCustomizationUpdatedAction | SessionCustomizationRemovedAction | SessionMcpServerStateChangedAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionActivityChangedAction | SessionChangesetsChangedAction | SessionConfigChangedAction | SessionMetaChangedAction;
9
+ export type SessionAction = SessionReadyAction | SessionCreationFailedAction | SessionChatAddedAction | SessionChatRemovedAction | SessionChatUpdatedAction | SessionDefaultChatChangedAction | SessionTitleChangedAction | SessionServerToolsChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionWorkingDirectorySetAction | SessionWorkingDirectoryRemovedAction | SessionWorkingDirectoryReplacedAction | SessionInputNeededSetAction | SessionInputNeededRemovedAction | SessionCustomizationsChangedAction | SessionCustomizationToggledAction | SessionCustomizationUpdatedAction | SessionCustomizationRemovedAction | SessionMcpServerStateChangedAction | SessionMcpServerStartRequestedAction | SessionMcpServerStopRequestedAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionActivityChangedAction | SessionChangesetsChangedAction | SessionConfigChangedAction | SessionMetaChangedAction;
10
10
  /** Union of session actions that clients may dispatch. */
11
- export type ClientSessionAction = SessionTitleChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionCustomizationToggledAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionConfigChangedAction;
11
+ export type ClientSessionAction = SessionTitleChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionWorkingDirectorySetAction | SessionWorkingDirectoryRemovedAction | SessionWorkingDirectoryReplacedAction | SessionCustomizationToggledAction | SessionMcpServerStartRequestedAction | SessionMcpServerStopRequestedAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionConfigChangedAction;
12
12
  /** Union of session actions that only the server may produce. */
13
13
  export type ServerSessionAction = SessionReadyAction | SessionCreationFailedAction | SessionChatAddedAction | SessionChatRemovedAction | SessionChatUpdatedAction | SessionDefaultChatChangedAction | SessionServerToolsChangedAction | SessionInputNeededSetAction | SessionInputNeededRemovedAction | SessionCustomizationsChangedAction | SessionCustomizationUpdatedAction | SessionCustomizationRemovedAction | SessionMcpServerStateChangedAction | SessionActivityChangedAction | SessionChangesetsChangedAction | SessionMetaChangedAction;
14
14
  /** Union of all chat-scoped actions. */
15
- export type ChatAction = ChatTurnStartedAction | ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatTurnCompleteAction | ChatTurnCancelledAction | ChatErrorAction | ChatActivityChangedAction | ChatUsageAction | ChatReasoningAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputRequestedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction;
15
+ export type ChatAction = ChatTurnStartedAction | ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatToolCallAuthRequiredAction | ChatToolCallAuthResolvedAction | ChatTurnCompleteAction | ChatTurnCancelledAction | ChatErrorAction | ChatTurnResumeAction | ChatActivityChangedAction | ChatWorkingDirectorySetAction | ChatWorkingDirectoryRemovedAction | ChatUsageAction | ChatReasoningAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputRequestedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction | ChatTurnsLoadedAction;
16
16
  /** Union of chat actions that clients may dispatch. */
17
- export type ClientChatAction = ChatTurnStartedAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatTurnCancelledAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction;
17
+ export type ClientChatAction = ChatTurnStartedAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatTurnCancelledAction | ChatTurnResumeAction | ChatWorkingDirectorySetAction | ChatWorkingDirectoryRemovedAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction;
18
18
  /** Union of chat actions that only the server may produce. */
19
- export type ServerChatAction = ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatTurnCompleteAction | ChatErrorAction | ChatActivityChangedAction | ChatUsageAction | ChatReasoningAction | ChatInputRequestedAction;
19
+ export type ServerChatAction = ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatToolCallAuthRequiredAction | ChatToolCallAuthResolvedAction | ChatTurnCompleteAction | ChatErrorAction | ChatActivityChangedAction | ChatUsageAction | ChatReasoningAction | ChatInputRequestedAction | ChatTurnsLoadedAction;
20
20
  /** Union of all terminal-scoped actions. */
21
21
  export type TerminalAction = TerminalDataAction | TerminalInputAction | TerminalResizedAction | TerminalClaimedAction | TerminalTitleChangedAction | TerminalCwdChangedAction | TerminalExitedAction | TerminalClearedAction | TerminalCommandDetectionAvailableAction | TerminalCommandExecutedAction | TerminalCommandFinishedAction;
22
22
  /** Union of terminal actions that clients may dispatch. */
@@ -24,9 +24,9 @@ export type ClientTerminalAction = TerminalInputAction | TerminalResizedAction |
24
24
  /** Union of terminal actions that only the server may produce. */
25
25
  export type ServerTerminalAction = TerminalDataAction | TerminalCwdChangedAction | TerminalExitedAction | TerminalCommandDetectionAvailableAction | TerminalCommandExecutedAction | TerminalCommandFinishedAction;
26
26
  /** Union of all changeset-scoped actions. */
27
- export type ChangesetAction = ChangesetStatusChangedAction | ChangesetFileSetAction | ChangesetFileRemovedAction | ChangesetContentChangedAction | ChangesetOperationsChangedAction | ChangesetOperationStatusChangedAction | ChangesetClearedAction;
27
+ export type ChangesetAction = ChangesetStatusChangedAction | ChangesetFileSetAction | ChangesetFileRemovedAction | ChangesetFilesReviewChangedAction | ChangesetContentChangedAction | ChangesetOperationsChangedAction | ChangesetOperationStatusChangedAction | ChangesetClearedAction;
28
28
  /** Union of changeset actions that clients may dispatch. */
29
- export type ClientChangesetAction = never;
29
+ export type ClientChangesetAction = ChangesetFilesReviewChangedAction;
30
30
  /** Union of changeset actions that only the server may produce. */
31
31
  export type ServerChangesetAction = ChangesetStatusChangedAction | ChangesetFileSetAction | ChangesetFileRemovedAction | ChangesetContentChangedAction | ChangesetOperationsChangedAction | ChangesetOperationStatusChangedAction | ChangesetClearedAction;
32
32
  /** Union of all annotations-scoped actions. */
@@ -41,6 +41,18 @@ export type ResourceWatchAction = ResourceWatchChangedAction;
41
41
  export type ClientResourceWatchAction = never;
42
42
  /** Union of resource-watch actions that only the server may produce. */
43
43
  export type ServerResourceWatchAction = ResourceWatchChangedAction;
44
+ /** Union of all automation-scoped actions. */
45
+ export type AutomationAction = AutomationCreateRequestedAction | AutomationUpdateRequestedAction | AutomationSetAction | AutomationRemovedAction;
46
+ /** Union of automation actions that clients may dispatch. */
47
+ export type ClientAutomationAction = AutomationCreateRequestedAction | AutomationUpdateRequestedAction | AutomationRemovedAction;
48
+ /** Union of automation actions that only the server may produce. */
49
+ export type ServerAutomationAction = AutomationSetAction;
50
+ /** Union of all automation-run-scoped actions. */
51
+ export type AutomationRunAction = AutomationRunLifecycleChangedAction | AutomationRunSessionSetAction | AutomationRunSessionRemovedAction | AutomationRunPrimarySessionChangedAction | AutomationRunCancelRequestedAction;
52
+ /** Union of automation-run actions that clients may dispatch. */
53
+ export type ClientAutomationRunAction = AutomationRunCancelRequestedAction;
54
+ /** Union of automation-run actions that only the server may produce. */
55
+ export type ServerAutomationRunAction = AutomationRunLifecycleChangedAction | AutomationRunSessionSetAction | AutomationRunSessionRemovedAction | AutomationRunPrimarySessionChangedAction;
44
56
  /**
45
57
  * Exhaustive map indicating which action types may be dispatched by clients.
46
58
  * Adding a new action to StateAction without adding it here is a compile error.
@@ -6,3 +6,5 @@ export * from "./channels-terminal/actions.js";
6
6
  export * from "./channels-changeset/actions.js";
7
7
  export * from "./channels-annotations/actions.js";
8
8
  export * from "./channels-resource-watch/actions.js";
9
+ export * from "./channels-automation/actions.js";
10
+ export * from "./channels-automation-run/actions.js";
@@ -1,6 +1,6 @@
1
1
  import { ActionType } from "../common/actions.js";
2
2
  import type { URI, TextRange } from "../common/state.js";
3
- import type { AnnotationEntry, Annotation } from "./state.js";
3
+ import type { AnnotationEntry, Annotation, AnnotationOrigin } from "./state.js";
4
4
  /**
5
5
  * Upsert an {@link Annotation} in the annotations channel — adds a new
6
6
  * annotation, or replaces an existing one identified by
@@ -50,12 +50,8 @@ export interface AnnotationsUpdatedAction {
50
50
  type: ActionType.AnnotationsUpdated;
51
51
  /** The {@link Annotation.id} of the annotation to update. */
52
52
  annotationId: string;
53
- /**
54
- * Re-anchors the annotation to the file versions this turn produced.
55
- * Matches a {@link Turn.id} on the owning session. Omit to leave the
56
- * current {@link Annotation.turnId} unchanged.
57
- */
58
- turnId?: string;
53
+ /** Replaces the annotation's provenance. Omit to leave it unchanged. */
54
+ origin?: AnnotationOrigin;
59
55
  /**
60
56
  * Re-anchors the annotation to this file. Omit to leave the current
61
57
  * {@link Annotation.resource} unchanged.