@codingame/monaco-vscode-api 34.1.3 → 35.0.1

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 (792) hide show
  1. package/missing-services.js +261 -19
  2. package/package.json +8 -8
  3. package/services.d.ts +14 -0
  4. package/services.js +17 -3
  5. package/vscode/product.json.js +1 -1
  6. package/vscode/src/vs/base/browser/markdownRenderer.d.ts +2 -0
  7. package/vscode/src/vs/base/browser/markdownRenderer.js +52 -44
  8. package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
  9. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  10. package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +7 -0
  11. package/vscode/src/vs/base/browser/ui/dialog/dialog.js +4 -0
  12. package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +5 -0
  13. package/vscode/src/vs/base/browser/ui/list/list.d.ts +1 -0
  14. package/vscode/src/vs/base/browser/ui/list/list.js +3 -0
  15. package/vscode/src/vs/base/browser/ui/list/listView.d.ts +1 -0
  16. package/vscode/src/vs/base/browser/ui/list/listView.js +9 -5
  17. package/vscode/src/vs/base/browser/ui/splitview/paneview.css +3 -2
  18. package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +27 -0
  19. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +22 -4
  20. package/vscode/src/vs/base/common/async.d.ts +30 -0
  21. package/vscode/src/vs/base/common/async.js +22 -4
  22. package/vscode/src/vs/base/common/codicons.d.ts +9 -0
  23. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +9 -0
  24. package/vscode/src/vs/base/common/codiconsLibrary.js +9 -0
  25. package/vscode/src/vs/base/common/defaultAccount.d.ts +9 -20
  26. package/vscode/src/vs/base/common/managedSettings.d.ts +32 -0
  27. package/vscode/src/vs/base/common/managedSettings.js +30 -0
  28. package/vscode/src/vs/base/common/map.d.ts +6 -0
  29. package/vscode/src/vs/base/common/map.js +62 -8
  30. package/vscode/src/vs/base/common/numbers.d.ts +4 -0
  31. package/vscode/src/vs/base/common/numbers.js +13 -1
  32. package/vscode/src/vs/base/common/policy.d.ts +41 -0
  33. package/vscode/src/vs/base/common/product.d.ts +32 -3
  34. package/vscode/src/vs/base/common/uriTemplate.js +1 -1
  35. package/vscode/src/vs/base/common/uuid.d.ts +1 -1
  36. package/vscode/src/vs/base/common/yaml.d.ts +1 -0
  37. package/vscode/src/vs/base/common/yaml.js +80 -1
  38. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +1 -0
  39. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +2 -0
  40. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +10 -0
  41. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.d.ts +3 -1
  42. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +2 -1
  43. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.d.ts +15 -0
  44. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +12 -6
  45. package/vscode/src/vs/editor/common/languages.js +0 -1
  46. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -0
  47. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.d.ts +2 -2
  48. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +10 -2
  49. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +2 -2
  50. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +2 -2
  51. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +1 -0
  52. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +3 -1
  53. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +1 -1
  54. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +36 -21
  55. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +1 -0
  56. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -0
  57. package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +1 -0
  58. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +7 -2
  59. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +1 -0
  60. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -0
  61. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +2 -0
  62. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +1 -3
  63. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +0 -5
  64. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.js +0 -6
  65. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -1
  66. package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +6 -2
  67. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
  68. package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +4 -1
  69. package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +3 -0
  70. package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +77 -1
  71. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +163 -17
  72. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +162 -4
  73. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -0
  74. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +27 -12
  75. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +11 -0
  76. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +9 -1
  77. package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +13 -0
  78. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
  79. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  80. package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
  81. package/vscode/src/vs/platform/actions/common/actions.js +12 -0
  82. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  83. package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
  84. package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +7 -2
  85. package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +11 -0
  86. package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.d.ts +55 -0
  87. package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.js +6 -0
  88. package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.d.ts +56 -0
  89. package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.js +6 -0
  90. package/vscode/src/vs/platform/agentHost/common/agentHostMcpServer.d.ts +15 -0
  91. package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.d.ts +37 -0
  92. package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.js +45 -0
  93. package/vscode/src/vs/platform/agentHost/common/agentHostUri.d.ts +15 -8
  94. package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +37 -27
  95. package/vscode/src/vs/platform/agentHost/common/agentServerTools.d.ts +38 -0
  96. package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +39 -5
  97. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +8 -2
  98. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +8 -20
  99. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +9 -0
  100. package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +18 -6
  101. package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +2 -0
  102. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/actions.d.ts +131 -0
  103. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/state.d.ts +110 -0
  104. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/actions.d.ts +21 -0
  105. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.d.ts +28 -8
  106. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.js +1 -0
  107. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/actions.d.ts +584 -0
  108. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.d.ts +42 -0
  109. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.d.ts +1157 -0
  110. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.js +119 -0
  111. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/notifications.d.ts +80 -5
  112. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.d.ts +48 -3
  113. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/actions.d.ts +117 -489
  114. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.d.ts +25 -20
  115. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.d.ts +301 -937
  116. package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.js +7 -100
  117. package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +1 -0
  118. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.d.ts +43 -29
  119. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.js +38 -26
  120. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/messages.d.ts +13 -1
  121. package/vscode/src/vs/platform/agentHost/common/state/protocol/common/state.d.ts +17 -5
  122. package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.d.ts +30 -0
  123. package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.js +12 -0
  124. package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +2 -0
  125. package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.d.ts +10 -0
  126. package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.js +19 -0
  127. package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +3 -2
  128. package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +258 -5
  129. package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +84 -7
  130. package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +36 -3
  131. package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +58 -27
  132. package/vscode/src/vs/platform/browserView/common/browserHistory.js +4 -2
  133. package/vscode/src/vs/platform/browserView/common/browserPermissions.d.ts +176 -0
  134. package/vscode/src/vs/platform/browserView/common/browserPermissions.js +244 -0
  135. package/vscode/src/vs/platform/browserView/common/browserView.d.ts +86 -31
  136. package/vscode/src/vs/platform/browserView/common/browserView.js +1 -0
  137. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +13 -3
  138. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +47 -11
  139. package/vscode/src/vs/platform/configuration/common/configurations.d.ts +8 -0
  140. package/vscode/src/vs/platform/configuration/common/configurations.js +83 -18
  141. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
  142. package/vscode/src/vs/platform/contextkey/common/contextkey.js +10 -10
  143. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  144. package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
  145. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +2 -0
  146. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +2 -0
  147. package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
  148. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  149. package/vscode/src/vs/platform/editor/common/editor.d.ts +6 -1
  150. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
  151. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +16 -15
  152. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  153. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +9 -13
  154. package/vscode/src/vs/platform/extensions/common/extensionValidator.d.ts +1 -9
  155. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -73
  156. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -4
  157. package/vscode/src/vs/platform/extensions/common/extensions.js +6 -11
  158. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +6 -14
  159. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +19 -26
  160. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  161. package/vscode/src/vs/platform/files/common/files.js +6 -6
  162. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  163. package/vscode/src/vs/platform/hover/browser/hoverService.js +4 -0
  164. package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
  165. package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  166. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
  167. package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +6 -0
  168. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +1 -0
  169. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +1 -0
  170. package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.d.ts +7 -1
  171. package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +2 -1
  172. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
  173. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
  174. package/vscode/src/vs/platform/list/browser/listService.js +25 -25
  175. package/vscode/src/vs/platform/log/common/log.d.ts +1 -0
  176. package/vscode/src/vs/platform/log/common/log.js +7 -7
  177. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  178. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  179. package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
  180. package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
  181. package/vscode/src/vs/platform/native/common/native.d.ts +41 -6
  182. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  183. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.d.ts +201 -0
  184. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.js +269 -0
  185. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.d.ts +17 -0
  186. package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.js +7 -0
  187. package/vscode/src/vs/platform/policy/common/policy.d.ts +4 -1
  188. package/vscode/src/vs/platform/policy/common/policy.js +17 -8
  189. package/vscode/src/vs/platform/product/common/product.js +3 -3
  190. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  191. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  192. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +18 -13
  193. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  194. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  195. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
  196. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  197. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
  198. package/vscode/src/vs/platform/request/common/request.js +20 -20
  199. package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +2 -1
  200. package/vscode/src/vs/platform/sandbox/common/settings.d.ts +4 -1
  201. package/vscode/src/vs/platform/sandbox/common/settings.js +14 -2
  202. package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +3 -1
  203. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  204. package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
  205. package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
  206. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  207. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
  208. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  209. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  210. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
  211. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  212. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  213. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  214. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
  215. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
  216. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  217. package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
  218. package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +26 -26
  219. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
  220. package/vscode/src/vs/platform/tunnel/common/tunnelProxy.d.ts +19 -0
  221. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  222. package/vscode/src/vs/platform/update/common/update.d.ts +7 -1
  223. package/vscode/src/vs/platform/update/common/update.js +2 -0
  224. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
  225. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
  226. package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
  227. package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
  228. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  229. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
  230. package/vscode/src/vs/platform/window/common/window.d.ts +7 -1
  231. package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
  232. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
  233. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +25 -2
  234. package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
  235. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +51 -1
  236. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +4 -0
  237. package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.d.ts +10 -0
  238. package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.js +56 -0
  239. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
  240. package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.d.ts +21 -0
  241. package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.js +9 -0
  242. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
  243. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +33 -5
  244. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -2
  245. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +34 -11
  246. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  247. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -2
  248. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +4 -1
  249. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +2 -0
  250. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +33 -6
  251. package/vscode/src/vs/workbench/api/common/extHostLanguages.d.ts +4 -0
  252. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
  253. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  254. package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +9 -0
  255. package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +6 -0
  256. package/vscode/src/vs/workbench/api/common/extHostMcp.js +17 -1
  257. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  258. package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +7 -2
  259. package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +81 -1
  260. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  261. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  262. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  263. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  264. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -1
  265. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +52 -3
  266. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +17 -1
  267. package/vscode/src/vs/workbench/api/common/extHostTypes.js +22 -2
  268. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  269. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
  270. package/vscode/src/vs/workbench/browser/actions/developerActions.js +233 -63
  271. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +127 -127
  272. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  273. package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
  274. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
  275. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
  276. package/vscode/src/vs/workbench/browser/contextkeys.js +1 -0
  277. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  278. package/vscode/src/vs/workbench/browser/labels.js +4 -4
  279. package/vscode/src/vs/workbench/browser/media/floatingPanels.css +203 -0
  280. package/vscode/src/vs/workbench/browser/media/part.css +1 -0
  281. package/vscode/src/vs/workbench/browser/part.d.ts +8 -0
  282. package/vscode/src/vs/workbench/browser/part.js +15 -4
  283. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +11 -0
  284. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +43 -28
  285. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
  286. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +0 -1
  287. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +5 -6
  288. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
  289. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
  290. package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
  291. package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
  292. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
  293. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
  294. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
  295. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +37 -37
  296. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +13 -13
  297. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
  298. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -7
  299. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +135 -135
  300. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +31 -26
  301. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
  302. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.d.ts +13 -0
  303. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +19 -8
  304. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.d.ts +4 -1
  305. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +37 -16
  306. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
  307. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +18 -0
  308. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +64 -5
  309. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
  310. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
  311. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
  312. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
  313. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.d.ts +4 -2
  314. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +17 -7
  315. package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css +33 -16
  316. package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +16 -0
  317. package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +4 -2
  318. package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +32 -19
  319. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +7 -1
  320. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +69 -9
  321. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
  322. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +1 -1
  323. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +2 -5
  324. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
  325. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
  326. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  327. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
  328. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
  329. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
  330. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
  331. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +13 -13
  332. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
  333. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
  334. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
  335. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
  336. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
  337. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +40 -1
  338. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +71 -6
  339. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
  340. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -1
  341. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +4 -5
  342. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
  343. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -1
  344. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +2 -3
  345. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +17 -10
  346. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
  347. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
  348. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
  349. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +19 -8
  350. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
  351. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +5 -5
  352. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +14 -11
  353. package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
  354. package/vscode/src/vs/workbench/browser/window.js +14 -14
  355. package/vscode/src/vs/workbench/browser/workbench.contribution.js +261 -225
  356. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  357. package/vscode/src/vs/workbench/common/contextkeys.js +83 -83
  358. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  359. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  360. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  361. package/vscode/src/vs/workbench/common/editor.js +4 -4
  362. package/vscode/src/vs/workbench/common/theme.js +161 -161
  363. package/vscode/src/vs/workbench/common/views.js +4 -4
  364. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -1
  365. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +180 -156
  366. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  367. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.d.ts +25 -0
  368. package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.js +6 -0
  369. package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.d.ts +32 -0
  370. package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.js +6 -0
  371. package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +2 -2
  372. package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +21 -22
  373. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +71 -3
  374. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +36 -9
  375. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +44 -1
  376. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +2 -2
  377. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +100 -76
  378. package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +1 -1
  379. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +9 -1
  380. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +24 -0
  381. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.d.ts +43 -0
  382. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.js +6 -0
  383. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.d.ts +19 -0
  384. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.js +6 -0
  385. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +34 -6
  386. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +31 -19
  387. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
  388. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.d.ts +1 -1
  389. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -3
  390. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
  391. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +3 -3
  392. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +2 -1
  393. package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +32 -1
  394. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
  395. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.service.d.ts +3 -1
  396. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.d.ts +1 -2
  397. package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +5 -8
  398. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.d.ts +21 -0
  399. package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.js +6 -0
  400. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
  401. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +30 -2
  402. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +216 -75
  403. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
  404. package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +3 -3
  405. package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.d.ts +8 -6
  406. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts +49 -0
  407. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.js +6 -0
  408. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.d.ts +23 -0
  409. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.js +6 -0
  410. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts +47 -0
  411. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.js +6 -0
  412. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.d.ts +15 -0
  413. package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.js +6 -0
  414. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts +4 -1
  415. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +52 -16
  416. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +18 -2
  417. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +118 -89
  418. package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +6 -11
  419. package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +6 -14
  420. package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +1 -6
  421. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +46 -0
  422. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +84 -5
  423. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +2 -2
  424. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +5 -0
  425. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +7 -3
  426. package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +85 -0
  427. package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +75 -0
  428. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +181 -11
  429. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +12 -1
  430. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +7 -0
  431. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +56 -1
  432. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +27 -3
  433. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +54 -2
  434. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +50 -10
  435. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +78 -7
  436. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +26 -36
  437. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +8 -25
  438. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +0 -7
  439. package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
  440. package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +9 -1
  441. package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +52 -1
  442. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
  443. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +106 -15
  444. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +192 -56
  445. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +28 -6
  446. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +49 -12
  447. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
  448. package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +9 -2
  449. package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +4 -0
  450. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +15 -3
  451. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +25 -6
  452. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +12 -16
  453. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +15 -1
  454. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +1 -1
  455. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +21 -15
  456. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
  457. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
  458. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +79 -79
  459. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
  460. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +9 -0
  461. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +4 -0
  462. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +9 -0
  463. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +111 -41
  464. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +4 -0
  465. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +99 -5
  466. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +2 -2
  467. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +10 -10
  468. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +2 -1
  469. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
  470. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
  471. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +31 -11
  472. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
  473. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
  474. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +49 -23
  475. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +43 -5
  476. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +45 -4
  477. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service.d.ts +8 -4
  478. package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.d.ts +95 -0
  479. package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.d.ts +65 -0
  480. package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.js +6 -0
  481. package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.d.ts +47 -0
  482. package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.js +6 -0
  483. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
  484. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  485. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  486. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  487. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
  488. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  489. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  490. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
  491. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  492. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.d.ts +7 -0
  493. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +6 -0
  494. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  495. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
  496. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  497. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +12 -12
  498. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  499. package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +71 -71
  500. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
  501. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
  502. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
  503. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
  504. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
  505. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
  506. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
  507. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
  508. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  509. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
  510. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
  511. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
  512. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +15 -15
  513. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
  514. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
  515. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
  516. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +3 -3
  517. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
  518. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
  519. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
  520. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
  521. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
  522. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
  523. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +9 -9
  524. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
  525. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
  526. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
  527. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
  528. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
  529. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
  530. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +4 -1
  531. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +32 -6
  532. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
  533. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
  534. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  535. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
  536. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  537. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  538. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
  539. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  540. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  541. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
  542. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  543. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  544. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  545. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
  546. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
  547. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
  548. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
  549. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
  550. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
  551. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +216 -168
  552. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +196 -182
  553. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
  554. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  555. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
  556. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
  557. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
  558. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
  559. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +48 -48
  560. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
  561. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
  562. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +2 -1
  563. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +106 -104
  564. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
  565. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
  566. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  567. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +3 -1
  568. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +3 -2
  569. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -0
  570. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
  571. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  572. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
  573. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
  574. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
  575. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
  576. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
  577. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
  578. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
  579. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
  580. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
  581. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
  582. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
  583. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
  584. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  585. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +28 -28
  586. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
  587. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  588. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  589. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
  590. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
  591. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
  592. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
  593. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
  594. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
  595. package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
  596. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  597. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  598. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  599. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  600. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  601. package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
  602. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  603. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  604. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.d.ts +6 -1
  605. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +137 -74
  606. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
  607. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.d.ts +22 -0
  608. package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +119 -0
  609. package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.d.ts +1 -0
  610. package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.js +1 -0
  611. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +43 -43
  612. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
  613. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +42 -2
  614. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +18 -5
  615. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
  616. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
  617. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
  618. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
  619. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
  620. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
  621. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
  622. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +3 -1
  623. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
  624. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
  625. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
  626. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
  627. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  628. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
  629. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
  630. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -13
  631. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
  632. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
  633. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
  634. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
  635. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
  636. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
  637. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
  638. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
  639. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
  640. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
  641. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
  642. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
  643. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
  644. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
  645. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  646. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
  647. package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.d.ts +32 -0
  648. package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.js +6 -0
  649. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
  650. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
  651. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
  652. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -62
  653. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -0
  654. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -4
  655. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
  656. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
  657. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
  658. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
  659. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
  660. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
  661. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
  662. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -11
  663. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
  664. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
  665. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
  666. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
  667. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
  668. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  669. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
  670. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
  671. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
  672. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
  673. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
  674. package/vscode/src/vs/workbench/contrib/search/common/search.js +12 -2
  675. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
  676. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  677. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  678. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  679. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  680. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  681. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  682. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
  683. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
  684. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  685. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
  686. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
  687. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
  688. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
  689. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +24 -10
  690. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
  691. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
  692. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
  693. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +1 -1
  694. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +1 -1
  695. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
  696. package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
  697. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +5 -0
  698. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +117 -128
  699. package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
  700. package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
  701. package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +2 -2
  702. package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
  703. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
  704. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
  705. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
  706. package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
  707. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  708. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  709. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  710. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
  711. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  712. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
  713. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
  714. package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +14 -14
  715. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  716. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +8 -0
  717. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +10 -9
  718. package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.d.ts +21 -14
  719. package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.js +2 -57
  720. package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.d.ts +22 -0
  721. package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.js +6 -0
  722. package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +8 -0
  723. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
  724. package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +5 -0
  725. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.d.ts +5 -0
  726. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +13 -8
  727. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +27 -1
  728. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +24 -20
  729. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +0 -1
  730. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  731. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  732. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  733. package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +5 -5
  734. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +15 -2
  735. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +22 -7
  736. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +11 -0
  737. package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -1
  738. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
  739. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
  740. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
  741. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
  742. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
  743. package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
  744. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +55 -1
  745. package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +77 -2
  746. package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +8 -0
  747. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  748. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +7 -1
  749. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +2 -1
  750. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
  751. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
  752. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
  753. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
  754. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
  755. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  756. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  757. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
  758. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
  759. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
  760. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
  761. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
  762. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  763. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
  764. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
  765. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
  766. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  767. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
  768. package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +2 -1
  769. package/vscode-dts/vscode.d.ts +4 -4
  770. package/vscode-dts/vscode.proposed.agentEditorComments.d.ts +71 -0
  771. package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -2
  772. package/vscode-dts/vscode.proposed.chatDebug.d.ts +0 -2
  773. package/vscode-dts/vscode.proposed.chatHooks.d.ts +0 -2
  774. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +23 -2
  775. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +0 -8
  776. package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +0 -2
  777. package/vscode-dts/vscode.proposed.chatProvider.d.ts +15 -2
  778. package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +11 -0
  779. package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +34 -0
  780. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +2 -2
  781. package/vscode-dts/vscode.proposed.customEditorDiffs.d.ts +24 -4
  782. package/vscode-dts/vscode.proposed.d.ts +2 -0
  783. package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -2
  784. package/vscode-dts/vscode.proposed.documentSyntaxHighlighting.d.ts +87 -0
  785. package/vscode-dts/vscode.proposed.findFiles2.d.ts +0 -2
  786. package/vscode-dts/vscode.proposed.languageModelPricing.d.ts +35 -0
  787. package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +0 -2
  788. package/vscode-dts/vscode.proposed.languageModelToolSupportsModel.d.ts +0 -2
  789. package/vscode-dts/vscode.proposed.mcpServerDefinitions.d.ts +0 -2
  790. package/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts +35 -0
  791. package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +0 -11
  792. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +0 -135
@@ -4,6 +4,14 @@ import { IExtHostRpcService } from "./extHostRpcService.js";
4
4
  import { VSBuffer } from "../../../base/common/buffer.js";
5
5
  export interface IExtHostManagedSockets extends ExtHostManagedSocketsShape {
6
6
  setFactory(socketFactoryId: number, makeConnection: () => Thenable<vscode.ManagedMessagePassing>): void;
7
+ /**
8
+ * Opens a managed connection in-process using the currently registered
9
+ * factory. Used by consumers that live inside the extension host (e.g. the
10
+ * browser tunnel proxy). There is only ever one active remote per window, so
11
+ * the latest factory is the correct one to dial; this avoids depending on a
12
+ * factory id that can lag connection-data updates by a renderer round-trip.
13
+ */
14
+ makeConnection(): Promise<vscode.ManagedMessagePassing>;
7
15
  readonly _serviceBrand: undefined;
8
16
  }
9
17
  export declare const IExtHostManagedSockets: import("../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IExtHostManagedSockets>;
@@ -15,6 +23,7 @@ export declare class ExtHostManagedSockets implements IExtHostManagedSockets {
15
23
  private readonly _managedRemoteSockets;
16
24
  constructor(extHostRpc: IExtHostRpcService);
17
25
  setFactory(socketFactoryId: number, makeConnection: () => Thenable<vscode.ManagedMessagePassing>): void;
26
+ makeConnection(): Promise<vscode.ManagedMessagePassing>;
18
27
  $openRemoteSocket(socketFactoryId: number): Promise<number>;
19
28
  $remoteSocketWrite(socketId: number, buffer: VSBuffer): void;
20
29
  $remoteSocketEnd(socketId: number): void;
@@ -24,6 +24,12 @@ let ExtHostManagedSockets = class ExtHostManagedSockets {
24
24
  this._factory = ( new ManagedSocketFactory(socketFactoryId, makeConnection));
25
25
  this._proxy.$registerSocketFactory(this._factory.socketFactoryId);
26
26
  }
27
+ makeConnection() {
28
+ if (!this._factory) {
29
+ throw ( new Error("No managed socket factory registered"));
30
+ }
31
+ return Promise.resolve(this._factory.makeConnection());
32
+ }
27
33
  async $openRemoteSocket(socketFactoryId) {
28
34
  if (!this._factory || this._factory.socketFactoryId !== socketFactoryId) {
29
35
  throw ( new Error(`No socket factory with id ${socketFactoryId}`));
@@ -269,6 +269,8 @@ var HttpMode;
269
269
  })(HttpMode || (HttpMode = {}));
270
270
  const MAX_FOLLOW_REDIRECTS = 5;
271
271
  const REDIRECT_STATUS_CODES = [301, 302, 303, 307, 308];
272
+ const ALLOWED_REDIRECT_PROTOCOLS = ( new Set(["http:", "https:"]));
273
+ const CROSS_ORIGIN_STRIPPED_HEADERS = ( new Set(["authorization", "cookie", "proxy-authorization", "mcp-session-id"]));
272
274
  class McpHTTPHandle extends Disposable {
273
275
  constructor(_id, _launch, _proxy, _logService, _errorOnUserInteraction) {
274
276
  super();
@@ -755,7 +757,21 @@ class McpHTTPHandle extends Disposable {
755
757
  if (!location) {
756
758
  break;
757
759
  }
758
- const nextUrl = ( ( new URL(location, currentUrl)).toString());
760
+ const currentUrlParsed = ( new URL(currentUrl));
761
+ const nextUrlParsed = ( new URL(location, currentUrl));
762
+ if (!( ALLOWED_REDIRECT_PROTOCOLS.has(nextUrlParsed.protocol))) {
763
+ throw ( new Error(
764
+ `MCP server redirected to a non-http(s) target (${nextUrlParsed.protocol}), which is not allowed`
765
+ ));
766
+ }
767
+ if (currentUrlParsed.origin !== nextUrlParsed.origin) {
768
+ for (const name of ( Object.keys(init.headers))) {
769
+ if (( CROSS_ORIGIN_STRIPPED_HEADERS.has(name.toLowerCase()))) {
770
+ delete init.headers[name];
771
+ }
772
+ }
773
+ }
774
+ const nextUrl = ( nextUrlParsed.toString());
759
775
  this._log(
760
776
  LogLevel.Trace,
761
777
  `Redirect (${response.status}) from ${currentUrl} to ${nextUrl}`
@@ -276,7 +276,7 @@ class ExtHostNotebookController {
276
276
  ));
277
277
  }
278
278
  if (!this._extHostFileSystem.value.isWritableFileSystem(uri.scheme)) {
279
- throw new FileOperationError(( localize(2873, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
279
+ throw new FileOperationError(( localize(2949, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
280
280
  }
281
281
  const data = {
282
282
  metadata: filter(
@@ -472,7 +472,7 @@ class ExtHostNotebookController {
472
472
  mtime: options.mtime ,
473
473
  size: stat.size
474
474
  })) {
475
- throw new FileOperationError(( localize(2874, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
475
+ throw new FileOperationError(( localize(2950, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
476
476
  }
477
477
  return;
478
478
  }
@@ -1,15 +1,20 @@
1
1
  import type * as vscode from "vscode";
2
2
  import { CancellationToken } from "../../../base/common/cancellation.js";
3
3
  import { UriComponents } from "../../../base/common/uri.js";
4
- import { ExtHostQuickDiffShape, IMainContext } from "./extHost.protocol.js";
4
+ import { ExtHostQuickDiffShape, IMainContext, ITextEditorDiffInformation } from "./extHost.protocol.js";
5
+ import { ExtHostDocuments } from "./extHostDocuments.js";
5
6
  import { IURITransformer } from "../../../base/common/uriIpc.js";
6
7
  import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
7
8
  export declare class ExtHostQuickDiff implements ExtHostQuickDiffShape {
9
+ private readonly documents;
8
10
  private readonly uriTransformer;
9
11
  private static handlePool;
10
12
  private proxy;
11
13
  private providers;
12
- constructor(mainContext: IMainContext, uriTransformer: IURITransformer | undefined);
14
+ private informations;
15
+ constructor(mainContext: IMainContext, documents: ExtHostDocuments, uriTransformer: IURITransformer | undefined);
13
16
  $provideOriginalResource(handle: number, uriComponents: UriComponents, token: CancellationToken): Promise<UriComponents | null>;
17
+ $acceptSourceControlDiffInformation(handle: number, diffInformation: ITextEditorDiffInformation | undefined): void;
14
18
  registerQuickDiffProvider(extension: IExtensionDescription, selector: vscode.DocumentSelector, quickDiffProvider: vscode.QuickDiffProvider, id: string, label: string, rootUri?: vscode.Uri): vscode.Disposable;
19
+ createSourceControlDiffInformation(uri: vscode.Uri): vscode.SourceControlDiffInformationProvider;
15
20
  }
@@ -1,17 +1,87 @@
1
1
 
2
+ import { Emitter } from '../../../base/common/event.js';
2
3
  import { URI } from '../../../base/common/uri.js';
3
4
  import { MainContext } from './extHost.protocol.js';
4
5
  import { asPromise } from '../../../base/common/async.js';
5
6
  import { DocumentSelector } from './extHostTypeConverters.js';
7
+ import { TextEditorChangeKind } from './extHostTypes.js';
6
8
  import { ExtensionIdentifier } from '../../../platform/extensions/common/extensions.js';
7
9
 
10
+ class ExtHostSourceControlDiffInformation {
11
+ get diffInformation() {
12
+ return this._diffInformation;
13
+ }
14
+ constructor(handle, proxy, documents, onDispose) {
15
+ this.handle = handle;
16
+ this.proxy = proxy;
17
+ this.documents = documents;
18
+ this.onDispose = onDispose;
19
+ this._onDidChange = ( new Emitter());
20
+ this.onDidChange = this._onDidChange.event;
21
+ }
22
+ $acceptDiffInformation(diffInformation) {
23
+ if (!diffInformation) {
24
+ this._diffInformation = undefined;
25
+ this._onDidChange.fire();
26
+ return;
27
+ }
28
+ const documents = this.documents;
29
+ const original = URI.revive(diffInformation.original);
30
+ const modified = URI.revive(diffInformation.modified);
31
+ const changes = ( diffInformation.changes.map(change => {
32
+ const [
33
+ originalStartLineNumber,
34
+ originalEndLineNumberExclusive,
35
+ modifiedStartLineNumber,
36
+ modifiedEndLineNumberExclusive
37
+ ] = change;
38
+ let kind;
39
+ if (originalStartLineNumber === originalEndLineNumberExclusive) {
40
+ kind = TextEditorChangeKind.Addition;
41
+ } else if (modifiedStartLineNumber === modifiedEndLineNumberExclusive) {
42
+ kind = TextEditorChangeKind.Deletion;
43
+ } else {
44
+ kind = TextEditorChangeKind.Modification;
45
+ }
46
+ return {
47
+ original: {
48
+ startLineNumber: originalStartLineNumber,
49
+ endLineNumberExclusive: originalEndLineNumberExclusive
50
+ },
51
+ modified: {
52
+ startLineNumber: modifiedStartLineNumber,
53
+ endLineNumberExclusive: modifiedEndLineNumberExclusive
54
+ },
55
+ kind
56
+ };
57
+ }));
58
+ this._diffInformation = ( Object.freeze({
59
+ documentVersion: diffInformation.documentVersion,
60
+ original,
61
+ modified,
62
+ changes,
63
+ get isStale() {
64
+ const document = documents.getDocumentData(modified);
65
+ return document?.document.version !== diffInformation.documentVersion;
66
+ }
67
+ }));
68
+ this._onDidChange.fire();
69
+ }
70
+ dispose() {
71
+ this.proxy.$disposeSourceControlDiffInformation(this.handle);
72
+ this._onDidChange.dispose();
73
+ this.onDispose(this.handle);
74
+ }
75
+ }
8
76
  class ExtHostQuickDiff {
9
77
  static {
10
78
  this.handlePool = 0;
11
79
  }
12
- constructor(mainContext, uriTransformer) {
80
+ constructor(mainContext, documents, uriTransformer) {
81
+ this.documents = documents;
13
82
  this.uriTransformer = uriTransformer;
14
83
  this.providers = ( new Map());
84
+ this.informations = ( new Map());
15
85
  this.proxy = ( mainContext.getProxy(MainContext.MainThreadQuickDiff));
16
86
  }
17
87
  $provideOriginalResource(handle, uriComponents, token) {
@@ -22,6 +92,9 @@ class ExtHostQuickDiff {
22
92
  }
23
93
  return asPromise(() => provider.provideOriginalResource(uri, token)).then(r => r || null);
24
94
  }
95
+ $acceptSourceControlDiffInformation(handle, diffInformation) {
96
+ this.informations.get(handle)?.$acceptDiffInformation(diffInformation);
97
+ }
25
98
  registerQuickDiffProvider(extension, selector, quickDiffProvider, id, label, rootUri) {
26
99
  const handle = ExtHostQuickDiff.handlePool++;
27
100
  this.providers.set(handle, quickDiffProvider);
@@ -40,6 +113,13 @@ class ExtHostQuickDiff {
40
113
  }
41
114
  };
42
115
  }
116
+ createSourceControlDiffInformation(uri) {
117
+ const handle = ExtHostQuickDiff.handlePool++;
118
+ const information = ( new ExtHostSourceControlDiffInformation(handle, this.proxy, this.documents, h => this.informations.delete(h)));
119
+ this.informations.set(handle, information);
120
+ this.proxy.$createSourceControlDiffInformation(handle, uri);
121
+ return information;
122
+ }
43
123
  }
44
124
 
45
125
  export { ExtHostQuickDiff };
@@ -195,7 +195,7 @@ class ExtHostStatusBarEntry {
195
195
  name = this._name;
196
196
  } else {
197
197
  name = ( localize(
198
- 2875,
198
+ 2951,
199
199
  "{0} (Extension)",
200
200
  this._extension.displayName || this._extension.name
201
201
  ));
@@ -248,7 +248,7 @@ class StatusBarMessage {
248
248
  StatusBarAlignment.Left,
249
249
  Number.MIN_VALUE
250
250
  );
251
- this._item.name = ( localize(2876, "Extension Status"));
251
+ this._item.name = ( localize(2952, "Extension Status"));
252
252
  }
253
253
  dispose() {
254
254
  this._messages.length = 0;
@@ -30,7 +30,7 @@ let ExtHostTelemetry = class ExtHostTelemetry extends Disposable {
30
30
  const id = initData.remote.isRemote ? "remoteExtHostTelemetry" : isWorker ? "workerExtHostTelemetry" : "extHostTelemetry";
31
31
  this._outputLogger = this._register(loggerService.createLogger(id, {
32
32
  name: ( localize(
33
- 2877,
33
+ 2953,
34
34
  "Extension Telemetry{0}",
35
35
  this._inLoggingOnlyMode ? " (Not Sent)" : ""
36
36
  )),
@@ -557,7 +557,7 @@ let BaseExtHostTerminalService = class BaseExtHostTerminalService extends Dispos
557
557
  const terminal = this.getTerminalById(id);
558
558
  if (!terminal) {
559
559
  return {
560
- message: ( localize(2878, "Could not find the terminal with id {0} on the extension host", id))
560
+ message: ( localize(2954, "Could not find the terminal with id {0} on the extension host", id))
561
561
  };
562
562
  }
563
563
  if (!terminal.isOpen) {
@@ -164,11 +164,11 @@ let ExtHostTunnelService = class ExtHostTunnelService extends Disposable {
164
164
  if (provider.tunnelFeatures?.public && (privacyOptions.length === 0)) {
165
165
  privacyOptions = [{
166
166
  id: "private",
167
- label: ( localize(2879, "Private")),
167
+ label: ( localize(2955, "Private")),
168
168
  themeIcon: "lock"
169
169
  }, {
170
170
  id: "public",
171
- label: ( localize(2880, "Public")),
171
+ label: ( localize(2956, "Public")),
172
172
  themeIcon: "eye"
173
173
  }];
174
174
  }
@@ -23,7 +23,7 @@ import { SaveReason } from "../../common/editor.js";
23
23
  import { IViewBadge } from "../../common/views.js";
24
24
  import { IChatAgentRequest, IChatAgentResult } from "../../contrib/chat/common/participants/chatAgents.js";
25
25
  import { IChatRequestModeInstructions } from "../../contrib/chat/common/model/chatModel.js";
26
- import { IChatAgentMarkdownContentWithVulnerability, IChatCodeCitation, IChatCommandButton, IChatConfirmation, IChatContentInlineReference, IChatContentReference, IChatExtensionsContent, IChatExternalToolInvocationUpdate, IChatFollowup, IChatHookPart, IChatMarkdownContent, IChatMoveMessage, IChatMultiDiffDataSerialized, IChatProgressMessage, IChatPullRequestContent, IChatQuestionCarousel, IChatResponseCodeblockUriPart, IChatTaskDto, IChatTaskResult, IChatTextEdit, IChatThinkingPart, IChatToolInvocationSerialized, IChatTreeData, IChatUserActionEvent, IChatWarningMessage, IChatInfoMessage, IChatWorkspaceEdit } from "../../contrib/chat/common/chatService/chatService.js";
26
+ import { IChatAgentMarkdownContentWithVulnerability, IChatAutoModeResolutionPart, IChatCodeCitation, IChatCommandButton, IChatConfirmation, IChatContentInlineReference, IChatContentReference, IChatExtensionsContent, IChatExternalToolInvocationUpdate, IChatFollowup, IChatHookPart, IChatMarkdownContent, IChatMoveMessage, IChatMultiDiffDataSerialized, IChatProgressMessage, IChatPullRequestContent, IChatQuestionCarousel, IChatResponseCodeblockUriPart, IChatTaskDto, IChatTaskResult, IChatTextEdit, IChatThinkingPart, IChatToolInvocationSerialized, IChatTreeData, IChatUserActionEvent, IChatWarningMessage, IChatInfoMessage, IChatWorkspaceEdit } from "../../contrib/chat/common/chatService/chatService.js";
27
27
  import { IChatRequestVariableEntry } from "../../contrib/chat/common/attachments/chatVariableEntries.js";
28
28
  import { IChatSessionItem } from "../../contrib/chat/common/chatSessionsService.js";
29
29
  import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
@@ -503,6 +503,10 @@ export declare namespace ChatResponseHookPart {
503
503
  function from(part: vscode.ChatResponseHookPart): Dto<IChatHookPart>;
504
504
  function to(part: Dto<IChatHookPart>): vscode.ChatResponseHookPart;
505
505
  }
506
+ export declare namespace ChatResponseAutoModeResolutionPart {
507
+ function from(part: vscode.ChatResponseAutoModeResolutionPart): Dto<IChatAutoModeResolutionPart>;
508
+ function to(part: Dto<IChatAutoModeResolutionPart>): vscode.ChatResponseAutoModeResolutionPart;
509
+ }
506
510
  export declare namespace ChatResponseWarningPart {
507
511
  function from(part: vscode.ChatResponseWarningPart): Dto<IChatWarningMessage>;
508
512
  function to(part: Dto<IChatWarningMessage>): vscode.ChatResponseWarningPart;
@@ -574,6 +578,7 @@ export declare namespace ChatLocation {
574
578
  }
575
579
  export declare namespace ChatSessionCustomizationType {
576
580
  function from(type: types.ChatSessionCustomizationType): string;
581
+ function to(id: string): types.ChatSessionCustomizationType;
577
582
  }
578
583
  export declare namespace ChatPromptReference {
579
584
  function to(variable: IChatRequestVariableEntry, diagnostics: readonly [
@@ -43,7 +43,7 @@ import { SIDE_GROUP, ACTIVE_GROUP } from '../../services/editor/common/editorSer
43
43
  import { isProposedApiEnabled, checkProposedApiEnabled } from '../../services/extensions/common/extensions.js';
44
44
  import { SerializableObjectWithBuffers } from '../../services/extensions/common/proxyIdentifier.js';
45
45
  import { getPrivateApiFor } from './extHostTestingPrivateApi.js';
46
- import { StandardTokenType as StandardTokenType$1, ViewColumn as ViewColumn$1, DecorationRangeBehavior as DecorationRangeBehavior$1, DocumentSymbol as DocumentSymbol$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, VerboseHover, EvaluatableExpression as EvaluatableExpression$1, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext as InlineValueContext$1, DocumentHighlight as DocumentHighlight$1, MultiDocumentHighlight as MultiDocumentHighlight$1, CompletionTriggerKind as CompletionTriggerKind$1, CompletionItemTag as CompletionItemTag$1, CompletionItemKind as CompletionItemKind$1, CompletionItem as CompletionItem$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, DocumentLink as DocumentLink$1, ColorPresentation as ColorPresentation$1, Color as Color$1, SelectionRange as SelectionRange$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, ProgressLocation as ProgressLocation$1, FoldingRangeKind as FoldingRangeKind$1, RelativePattern, NotebookCellStatusBarAlignment, NotebookRendererScript as NotebookRendererScript$1, TestMessage as TestMessage$1, TestRunProfileKind as TestRunProfileKind$1, TestTag as TestTag$1, StatementCoverage, BranchCoverage, DeclarationCoverage, validateTestCoverageCount, FileCoverage, CodeActionTriggerKind as CodeActionTriggerKind$1, TypeHierarchyItem as TypeHierarchyItem$1, InternalFileDataTransferItem, DataTransferFile, InternalDataTransferItem, DataTransfer as DataTransfer$1, LanguageModelChatMessageRole as LanguageModelChatMessageRole$1, LanguageModelTextPart, LanguageModelDataPart, LanguageModelPromptTsxPart, LanguageModelToolResultPart, LanguageModelToolCallPart, LanguageModelChatMessage as LanguageModelChatMessage$1, LanguageModelThinkingPart, LanguageModelChatMessage2 as LanguageModelChatMessage2$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatQuestionType, ChatQuestion, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseFileTreePart, ChatResponseMultiDiffPart as ChatResponseMultiDiffPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponseProgressPart as ChatResponseProgressPart$1, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseInfoPart as ChatResponseInfoPart$1, ChatResponseMovePart as ChatResponseMovePart$1, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart as ChatToolInvocationPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseExtensionsPart as ChatResponseExtensionsPart$1, ChatResponsePullRequestPart as ChatResponsePullRequestPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatLocation as ChatLocation$1, ChatReferenceBinaryData, ChatReferenceDiagnostic, LanguageModelToolResult as LanguageModelToolResult$1, ChatEditingSessionActionOutcome, PartialAcceptTriggerKind as PartialAcceptTriggerKind$1, InlineCompletionEndOfLifeReasonKind as InlineCompletionEndOfLifeReasonKind$1, InlineCompletionDisplayLocationKind, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, McpHttpServerDefinition, McpStdioServerDefinition, SourceControlInputBoxValidationType as SourceControlInputBoxValidationType$1 } from './extHostTypes.js';
46
+ import { StandardTokenType as StandardTokenType$1, ViewColumn as ViewColumn$1, DecorationRangeBehavior as DecorationRangeBehavior$1, DocumentSymbol as DocumentSymbol$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, VerboseHover, EvaluatableExpression as EvaluatableExpression$1, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext as InlineValueContext$1, DocumentHighlight as DocumentHighlight$1, MultiDocumentHighlight as MultiDocumentHighlight$1, CompletionTriggerKind as CompletionTriggerKind$1, CompletionItemTag as CompletionItemTag$1, CompletionItemKind as CompletionItemKind$1, CompletionItem as CompletionItem$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, DocumentLink as DocumentLink$1, ColorPresentation as ColorPresentation$1, Color as Color$1, SelectionRange as SelectionRange$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, ProgressLocation as ProgressLocation$1, FoldingRangeKind as FoldingRangeKind$1, RelativePattern, NotebookCellStatusBarAlignment, NotebookRendererScript as NotebookRendererScript$1, TestMessage as TestMessage$1, TestRunProfileKind as TestRunProfileKind$1, TestTag as TestTag$1, StatementCoverage, BranchCoverage, DeclarationCoverage, validateTestCoverageCount, FileCoverage, CodeActionTriggerKind as CodeActionTriggerKind$1, TypeHierarchyItem as TypeHierarchyItem$1, InternalFileDataTransferItem, DataTransferFile, InternalDataTransferItem, DataTransfer as DataTransfer$1, LanguageModelChatMessageRole as LanguageModelChatMessageRole$1, LanguageModelTextPart, LanguageModelDataPart, LanguageModelPromptTsxPart, LanguageModelToolResultPart, LanguageModelToolCallPart, LanguageModelChatMessage as LanguageModelChatMessage$1, LanguageModelThinkingPart, LanguageModelChatMessage2 as LanguageModelChatMessage2$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatQuestionType, ChatQuestion, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseFileTreePart, ChatResponseMultiDiffPart as ChatResponseMultiDiffPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponseProgressPart as ChatResponseProgressPart$1, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseAutoModeResolutionPart as ChatResponseAutoModeResolutionPart$1, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseInfoPart as ChatResponseInfoPart$1, ChatResponseMovePart as ChatResponseMovePart$1, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart as ChatToolInvocationPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseExtensionsPart as ChatResponseExtensionsPart$1, ChatResponsePullRequestPart as ChatResponsePullRequestPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatLocation as ChatLocation$1, ChatSessionCustomizationType as ChatSessionCustomizationType$1, ChatReferenceBinaryData, ChatReferenceDiagnostic, LanguageModelToolResult as LanguageModelToolResult$1, ChatEditingSessionActionOutcome, PartialAcceptTriggerKind as PartialAcceptTriggerKind$1, InlineCompletionEndOfLifeReasonKind as InlineCompletionEndOfLifeReasonKind$1, InlineCompletionDisplayLocationKind, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, McpHttpServerDefinition, McpStdioServerDefinition, SourceControlInputBoxValidationType as SourceControlInputBoxValidationType$1 } from './extHostTypes.js';
47
47
  import { SymbolKind as SymbolKind$2, SymbolTag as SymbolTag$1, SymbolInformation } from './extHostTypes/symbolInformation.js';
48
48
  import { Position as Position$1 } from './extHostTypes/position.js';
49
49
  import { Selection as Selection$1 } from './extHostTypes/selection.js';
@@ -2815,6 +2815,32 @@ var ChatResponseHookPart;
2815
2815
  }
2816
2816
  ChatResponseHookPart.to = to;
2817
2817
  })(ChatResponseHookPart || (ChatResponseHookPart = {}));
2818
+ var ChatResponseAutoModeResolutionPart;
2819
+ (function(ChatResponseAutoModeResolutionPart) {
2820
+ const validLabels = ( new Set(["needs_reasoning", "no_reasoning", "fallback"]));
2821
+ function from(part) {
2822
+ const label = ( validLabels.has(part.predictedLabel)) ? part.predictedLabel : "fallback";
2823
+ return {
2824
+ kind: "autoModeResolution",
2825
+ resolvedModel: part.resolvedModel,
2826
+ resolvedModelName: part.resolvedModelName,
2827
+ predictedLabel: label,
2828
+ confidence: Math.max(0, Math.min(1, part.confidence))
2829
+ };
2830
+ }
2831
+ ChatResponseAutoModeResolutionPart.from = from;
2832
+ function to(part) {
2833
+ return new ChatResponseAutoModeResolutionPart$1(
2834
+ part.resolvedModel,
2835
+ part.resolvedModelName,
2836
+ part.predictedLabel,
2837
+ part.confidence
2838
+ );
2839
+ }
2840
+ ChatResponseAutoModeResolutionPart.to = to;
2841
+ })(
2842
+ ChatResponseAutoModeResolutionPart || (ChatResponseAutoModeResolutionPart = {})
2843
+ );
2818
2844
  var ChatResponseWarningPart;
2819
2845
  (function(ChatResponseWarningPart) {
2820
2846
  function from(part) {
@@ -3326,6 +3352,8 @@ var ChatResponsePart;
3326
3352
  return ChatToolInvocationPart.from(part);
3327
3353
  } else if (part instanceof ChatResponseWorkspaceEditPart$1) {
3328
3354
  return ChatResponseWorkspaceEditPart.from(part);
3355
+ } else if (part instanceof ChatResponseAutoModeResolutionPart$1) {
3356
+ return ChatResponseAutoModeResolutionPart.from(part);
3329
3357
  }
3330
3358
  return {
3331
3359
  kind: "markdownContent",
@@ -3480,6 +3508,25 @@ var ChatSessionCustomizationType;
3480
3508
  return type.id;
3481
3509
  }
3482
3510
  ChatSessionCustomizationType.from = from;
3511
+ function to(id) {
3512
+ switch (id) {
3513
+ case "agent":
3514
+ return ChatSessionCustomizationType$1.Agent;
3515
+ case "skill":
3516
+ return ChatSessionCustomizationType$1.Skill;
3517
+ case "instructions":
3518
+ return ChatSessionCustomizationType$1.Instructions;
3519
+ case "prompt":
3520
+ return ChatSessionCustomizationType$1.Prompt;
3521
+ case "hook":
3522
+ return ChatSessionCustomizationType$1.Hook;
3523
+ case "plugins":
3524
+ return ChatSessionCustomizationType$1.Plugins;
3525
+ default:
3526
+ return new ChatSessionCustomizationType$1(id);
3527
+ }
3528
+ }
3529
+ ChatSessionCustomizationType.to = to;
3483
3530
  })(ChatSessionCustomizationType || (ChatSessionCustomizationType = {}));
3484
3531
  var ChatPromptReference;
3485
3532
  (function(ChatPromptReference) {
@@ -3501,7 +3548,7 @@ var ChatPromptReference;
3501
3548
  value = Location.to(revive(value));
3502
3549
  } else if (isImageVariableEntry(variable)) {
3503
3550
  const ref = variable.references?.[0]?.reference;
3504
- value = new ChatReferenceBinaryData(variable.mimeType ?? "image/png", () => Promise.resolve(( new Uint8Array(( Object.values(variable.value))))), ref && URI.isUri(ref) ? ref : undefined);
3551
+ value = new ChatReferenceBinaryData(variable.mimeType ?? "image/png", () => Promise.resolve(( new Uint8Array(( Object.values(variable.value))))), ref && URI.isUri(ref) ? ref : undefined, variable.isPasted, variable.isURL);
3505
3552
  } else if (variable.kind === "diagnostic") {
3506
3553
  const filterSeverity = variable.filterSeverity && DiagnosticSeverity.to(variable.filterSeverity);
3507
3554
  const filterUri = variable.filterUri && ( URI.revive(variable.filterUri).toString());
@@ -3577,6 +3624,7 @@ var ChatRequestModeInstructions;
3577
3624
  name: mode.name,
3578
3625
  content: mode.content,
3579
3626
  toolReferences: ChatLanguageModelToolReferences.to(revive(mode.toolReferences)),
3627
+ allowedSubagents: mode.allowedSubagents,
3580
3628
  metadata: mode.metadata,
3581
3629
  isBuiltin: mode.isBuiltin
3582
3630
  };
@@ -3600,6 +3648,7 @@ var ChatRequestModeInstructions;
3600
3648
  endExclusive: ref.range[1]
3601
3649
  } : undefined
3602
3650
  })) ?? [],
3651
+ allowedSubagents: mode.allowedSubagents,
3603
3652
  metadata: mode.metadata,
3604
3653
  isBuiltin: mode.isBuiltin
3605
3654
  };
@@ -4215,4 +4264,4 @@ var ChatSessionItem;
4215
4264
  ChatSessionItem.from = from;
4216
4265
  })(ChatSessionItem || (ChatSessionItem = {}));
4217
4266
 
4218
- export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatHookCommand, ChatLanguageModelToolReference, ChatLocation, ChatPromptReference, ChatRequestHooksConverter, ChatRequestModeInstructions, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseHookPart, ChatResponseInfoPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatSessionCustomizationType, ChatSessionItem, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionEndOfLifeReason, InlineCompletionHintStyle, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SourceControlInputBoxValidationType, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalCompletionResourceOptions, TerminalQuickFix, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
4267
+ export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatHookCommand, ChatLanguageModelToolReference, ChatLocation, ChatPromptReference, ChatRequestHooksConverter, ChatRequestModeInstructions, ChatResponseAnchorPart, ChatResponseAutoModeResolutionPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseHookPart, ChatResponseInfoPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatSessionCustomizationType, ChatSessionItem, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionEndOfLifeReason, InlineCompletionHintStyle, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SourceControlInputBoxValidationType, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalCompletionResourceOptions, TerminalQuickFix, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
@@ -1210,6 +1210,13 @@ export declare enum StandardTokenType {
1210
1210
  String = 2,
1211
1211
  RegEx = 3
1212
1212
  }
1213
+ export declare enum SyntaxHighlightingTokenFontStyle {
1214
+ None = 0,
1215
+ Italic = 1,
1216
+ Bold = 2,
1217
+ Underline = 4,
1218
+ Strikethrough = 8
1219
+ }
1213
1220
  export declare class LinkedEditingRanges {
1214
1221
  readonly ranges: Range[];
1215
1222
  readonly wordPattern?: RegExp | undefined;
@@ -1528,6 +1535,13 @@ export declare class ChatResponseHookPart {
1528
1535
  readonly [key: string]: unknown;
1529
1536
  });
1530
1537
  }
1538
+ export declare class ChatResponseAutoModeResolutionPart {
1539
+ resolvedModel: string;
1540
+ resolvedModelName: string;
1541
+ predictedLabel: string;
1542
+ confidence: number;
1543
+ constructor(resolvedModel: string, resolvedModelName: string, predictedLabel: string, confidence: number);
1544
+ }
1531
1545
  export declare class ChatResponseWarningPart {
1532
1546
  value: vscode.MarkdownString;
1533
1547
  constructor(value: string | vscode.MarkdownString);
@@ -1955,7 +1969,9 @@ export declare class ChatReferenceBinaryData implements vscode.ChatReferenceBina
1955
1969
  mimeType: string;
1956
1970
  data: () => Thenable<Uint8Array>;
1957
1971
  reference?: vscode.Uri;
1958
- constructor(mimeType: string, data: () => Thenable<Uint8Array>, reference?: vscode.Uri);
1972
+ isPasted?: boolean;
1973
+ isURL?: boolean;
1974
+ constructor(mimeType: string, data: () => Thenable<Uint8Array>, reference?: vscode.Uri, isPasted?: boolean, isURL?: boolean);
1959
1975
  }
1960
1976
  export declare class ChatReferenceDiagnostic implements vscode.ChatReferenceDiagnostic {
1961
1977
  readonly diagnostics: [
@@ -2046,6 +2046,16 @@ var StandardTokenType;
2046
2046
  StandardTokenType[StandardTokenType["String"] = 2] = "String";
2047
2047
  StandardTokenType[StandardTokenType["RegEx"] = 3] = "RegEx";
2048
2048
  })(StandardTokenType || (StandardTokenType = {}));
2049
+ var SyntaxHighlightingTokenFontStyle;
2050
+ (function(SyntaxHighlightingTokenFontStyle) {
2051
+ SyntaxHighlightingTokenFontStyle[SyntaxHighlightingTokenFontStyle["None"] = 0] = "None";
2052
+ SyntaxHighlightingTokenFontStyle[SyntaxHighlightingTokenFontStyle["Italic"] = 1] = "Italic";
2053
+ SyntaxHighlightingTokenFontStyle[SyntaxHighlightingTokenFontStyle["Bold"] = 2] = "Bold";
2054
+ SyntaxHighlightingTokenFontStyle[SyntaxHighlightingTokenFontStyle["Underline"] = 4] = "Underline";
2055
+ SyntaxHighlightingTokenFontStyle[SyntaxHighlightingTokenFontStyle["Strikethrough"] = 8] = "Strikethrough";
2056
+ })(
2057
+ SyntaxHighlightingTokenFontStyle || (SyntaxHighlightingTokenFontStyle = {})
2058
+ );
2049
2059
  class LinkedEditingRanges {
2050
2060
  constructor(ranges, wordPattern) {
2051
2061
  this.ranges = ranges;
@@ -2463,6 +2473,14 @@ class ChatResponseHookPart {
2463
2473
  this.metadata = metadata;
2464
2474
  }
2465
2475
  }
2476
+ class ChatResponseAutoModeResolutionPart {
2477
+ constructor(resolvedModel, resolvedModelName, predictedLabel, confidence) {
2478
+ this.resolvedModel = resolvedModel;
2479
+ this.resolvedModelName = resolvedModelName;
2480
+ this.predictedLabel = predictedLabel;
2481
+ this.confidence = confidence;
2482
+ }
2483
+ }
2466
2484
  class ChatResponseWarningPart {
2467
2485
  constructor(value) {
2468
2486
  if (typeof value !== "string" && value.isTrusted === true) {
@@ -2836,10 +2854,12 @@ class ChatRequestNotebookData {
2836
2854
  }
2837
2855
  }
2838
2856
  class ChatReferenceBinaryData {
2839
- constructor(mimeType, data, reference) {
2857
+ constructor(mimeType, data, reference, isPasted, isURL) {
2840
2858
  this.mimeType = mimeType;
2841
2859
  this.data = data;
2842
2860
  this.reference = reference;
2861
+ this.isPasted = isPasted;
2862
+ this.isURL = isURL;
2843
2863
  }
2844
2864
  }
2845
2865
  class ChatReferenceDiagnostic {
@@ -3146,4 +3166,4 @@ class McpHttpServerDefinition {
3146
3166
  }
3147
3167
  }
3148
3168
 
3149
- export { BranchCoverage, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CellErrorStackFrame, ChatCompletionItem, ChatCopyKind, ChatDebugAgentResponseEvent, ChatDebugEventHookContent, ChatDebugEventMessageContent, ChatDebugEventModelTurnContent, ChatDebugEventTextContent, ChatDebugEventToolCallContent, ChatDebugGenericEvent, ChatDebugHookResult, ChatDebugLogLevel, ChatDebugMessageContentType, ChatDebugMessageSection, ChatDebugModelTurnEvent, ChatDebugSubagentInvocationEvent, ChatDebugSubagentStatus, ChatDebugToolCallEvent, ChatDebugToolCallResult, ChatDebugUserMessageEvent, ChatEditingSessionActionOutcome, ChatEditorTabInput, ChatErrorLevel, ChatImageMimeType, ChatInputNotificationSeverity, ChatLocation, ChatQuestion, ChatQuestionType, ChatReferenceBinaryData, ChatReferenceDiagnostic, ChatRequestEditedFileEventKind, ChatRequestEditorData, ChatRequestNotebookData, ChatRequestTurn, ChatResponseAnchorPart, ChatResponseClearToPreviousToolInvocationReason, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseFileTreePart, ChatResponseHookPart, ChatResponseInfoPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponseProgressPart, ChatResponseProgressPart2, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseReferencePartStatusKind, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseTurn, ChatResponseTurn2, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatResultFeedbackKind, ChatSessionChangedFile, ChatSessionCustomizationType, ChatSessionStatus, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart, ChatVariableLevel, CodeAction, CodeActionTriggerKind, CodeLens, Color, ColorFormat, ColorInformation, ColorPresentation, ColorTheme, ColorThemeKind, CommentMode, CommentState, CommentThreadApplicability, CommentThreadCollapsibleState, CommentThreadFocus, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomEditorTabInput, CustomExecution, DataBreakpoint, DataTransfer, DataTransferFile, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DebugStackFrame, DebugThread, DebugVisualization, DeclarationCoverage, DecorationRangeBehavior, Disposable, DocumentDropEdit, DocumentDropOrPasteEditKind, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentPasteEdit, DocumentPasteTriggerKind, DocumentSymbol, EnvironmentVariableMutatorType, EvaluatableExpression, ExtendedLanguageModelToolResult, ExtensionKind, ExtensionMode, ExtensionRuntime, ExternalUriOpenerPriority, FileChangeType, FileCoverage, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, HoverVerbosityAction, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, InlineCompletionTriggerKind, InlineCompletionsDisposeReasonKind, InlineSuggestion, InlineSuggestionList, InlineValueContext, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, InteractiveEditorResponseFeedbackKind, InteractiveSessionVoteDirection, InteractiveWindowInput, InternalDataTransferItem, InternalFileDataTransferItem, KeywordRecognitionStatus, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelChatToolMode, LanguageModelDataPart, LanguageModelError, LanguageModelPartAudience, LanguageModelPromptTsxPart, LanguageModelTextPart, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelToolExtensionSource, LanguageModelToolMCPSource, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolResultPart, LanguageStatusSeverity, LinkedEditingRanges, ManagedResolvedAuthority, MarkdownString, McpHttpServerDefinition, McpStdioServerDefinition, McpToolAvailability, McpToolInvocationContentData, MultiDocumentHighlight, NewSymbolName, NewSymbolNameTag, NewSymbolNameTriggerKind, NotebookCellExecutionState, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookDiffEditorTabInput, NotebookEditorRevealType, NotebookEditorTabInput, NotebookKernelSourceAction, NotebookRendererScript, NotebookVariablesRequestKind, ParameterInformation, PartialAcceptTriggerKind, PortAttributes, PortAutoForwardAction, ProcessExecution, ProgressLocation, QuickInputButtonLocation, QuickInputButtons, QuickPickItemKind, Range, RelatedInformationType, RelativePattern, RemoteAuthorityResolverError, ResolvedAuthority, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, SettingsSearchResultKind, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SourceBreakpoint, SourceControlInputBoxValidationType, SpeechToTextStatus, StandardTokenType, StatementCoverage, StatusBarAlignment, SyntaxTokenType, Task, TaskEventKind, TaskGroup, TaskPanelKind, TaskRevealKind, TaskRunOn, TaskScope, TerminalCompletionItem, TerminalCompletionItemKind, TerminalCompletionList, TerminalEditorTabInput, TerminalExitReason, TerminalLink, TerminalLocation, TerminalOutputAnchor, TerminalProfile, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalQuickFixType, TerminalShellExecutionCommandLineConfidence, TerminalShellType, TestCoverageCount, TestMessage, TestMessageStackFrame, TestResultState, TestRunProfileBase, TestRunProfileKind, TestRunRequest, TestTag, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason, TextEditorChangeKind, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextMergeTabInput, TextMultiDiffTabInput, TextTabInput, TextToSpeechStatus, ThemeColor, ThemeIcon, TimelineItem, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, VerboseHover, ViewBadge, ViewColumn, WebviewEditorTabInput, WorkspaceTrustState, asStatusBarItemIdentifier, setBreakpointId, validateTestCoverageCount };
3169
+ export { BranchCoverage, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CellErrorStackFrame, ChatCompletionItem, ChatCopyKind, ChatDebugAgentResponseEvent, ChatDebugEventHookContent, ChatDebugEventMessageContent, ChatDebugEventModelTurnContent, ChatDebugEventTextContent, ChatDebugEventToolCallContent, ChatDebugGenericEvent, ChatDebugHookResult, ChatDebugLogLevel, ChatDebugMessageContentType, ChatDebugMessageSection, ChatDebugModelTurnEvent, ChatDebugSubagentInvocationEvent, ChatDebugSubagentStatus, ChatDebugToolCallEvent, ChatDebugToolCallResult, ChatDebugUserMessageEvent, ChatEditingSessionActionOutcome, ChatEditorTabInput, ChatErrorLevel, ChatImageMimeType, ChatInputNotificationSeverity, ChatLocation, ChatQuestion, ChatQuestionType, ChatReferenceBinaryData, ChatReferenceDiagnostic, ChatRequestEditedFileEventKind, ChatRequestEditorData, ChatRequestNotebookData, ChatRequestTurn, ChatResponseAnchorPart, ChatResponseAutoModeResolutionPart, ChatResponseClearToPreviousToolInvocationReason, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseFileTreePart, ChatResponseHookPart, ChatResponseInfoPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponseProgressPart, ChatResponseProgressPart2, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseReferencePartStatusKind, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseTurn, ChatResponseTurn2, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatResultFeedbackKind, ChatSessionChangedFile, ChatSessionCustomizationType, ChatSessionStatus, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart, ChatVariableLevel, CodeAction, CodeActionTriggerKind, CodeLens, Color, ColorFormat, ColorInformation, ColorPresentation, ColorTheme, ColorThemeKind, CommentMode, CommentState, CommentThreadApplicability, CommentThreadCollapsibleState, CommentThreadFocus, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomEditorTabInput, CustomExecution, DataBreakpoint, DataTransfer, DataTransferFile, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DebugStackFrame, DebugThread, DebugVisualization, DeclarationCoverage, DecorationRangeBehavior, Disposable, DocumentDropEdit, DocumentDropOrPasteEditKind, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentPasteEdit, DocumentPasteTriggerKind, DocumentSymbol, EnvironmentVariableMutatorType, EvaluatableExpression, ExtendedLanguageModelToolResult, ExtensionKind, ExtensionMode, ExtensionRuntime, ExternalUriOpenerPriority, FileChangeType, FileCoverage, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, HoverVerbosityAction, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, InlineCompletionTriggerKind, InlineCompletionsDisposeReasonKind, InlineSuggestion, InlineSuggestionList, InlineValueContext, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, InteractiveEditorResponseFeedbackKind, InteractiveSessionVoteDirection, InteractiveWindowInput, InternalDataTransferItem, InternalFileDataTransferItem, KeywordRecognitionStatus, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelChatToolMode, LanguageModelDataPart, LanguageModelError, LanguageModelPartAudience, LanguageModelPromptTsxPart, LanguageModelTextPart, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelToolExtensionSource, LanguageModelToolMCPSource, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolResultPart, LanguageStatusSeverity, LinkedEditingRanges, ManagedResolvedAuthority, MarkdownString, McpHttpServerDefinition, McpStdioServerDefinition, McpToolAvailability, McpToolInvocationContentData, MultiDocumentHighlight, NewSymbolName, NewSymbolNameTag, NewSymbolNameTriggerKind, NotebookCellExecutionState, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookDiffEditorTabInput, NotebookEditorRevealType, NotebookEditorTabInput, NotebookKernelSourceAction, NotebookRendererScript, NotebookVariablesRequestKind, ParameterInformation, PartialAcceptTriggerKind, PortAttributes, PortAutoForwardAction, ProcessExecution, ProgressLocation, QuickInputButtonLocation, QuickInputButtons, QuickPickItemKind, Range, RelatedInformationType, RelativePattern, RemoteAuthorityResolverError, ResolvedAuthority, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, SettingsSearchResultKind, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SourceBreakpoint, SourceControlInputBoxValidationType, SpeechToTextStatus, StandardTokenType, StatementCoverage, StatusBarAlignment, SyntaxHighlightingTokenFontStyle, SyntaxTokenType, Task, TaskEventKind, TaskGroup, TaskPanelKind, TaskRevealKind, TaskRunOn, TaskScope, TerminalCompletionItem, TerminalCompletionItemKind, TerminalCompletionList, TerminalEditorTabInput, TerminalExitReason, TerminalLink, TerminalLocation, TerminalOutputAnchor, TerminalProfile, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalQuickFixType, TerminalShellExecutionCommandLineConfidence, TerminalShellType, TestCoverageCount, TestMessage, TestMessageStackFrame, TestResultState, TestRunProfileBase, TestRunProfileKind, TestRunRequest, TestTag, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason, TextEditorChangeKind, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextMergeTabInput, TextMultiDiffTabInput, TextTabInput, TextToSpeechStatus, ThemeColor, ThemeIcon, TimelineItem, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, VerboseHover, ViewBadge, ViewColumn, WebviewEditorTabInput, WorkspaceTrustState, asStatusBarItemIdentifier, setBreakpointId, validateTestCoverageCount };
@@ -344,7 +344,7 @@ let ExtHostWorkspace = class ExtHostWorkspace {
344
344
  }
345
345
  };
346
346
  this._messageService.$showMessage(Severity$1.Error, ( localize(
347
- 2881,
347
+ 2957,
348
348
  "Extension '{0}' failed to update workspace folders: {1}",
349
349
  extName,
350
350
  (error.toString())