@codingame/monaco-vscode-api 1.83.15 → 1.85.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/README.md +430 -0
  2. package/api.js +13 -7
  3. package/assets/clear.mp3 +0 -0
  4. package/assets/format.mp3 +0 -0
  5. package/assets/save.mp3 +0 -0
  6. package/contributions.js +3 -0
  7. package/extensions.d.ts +13 -3
  8. package/external/{xterm-addon-image/typings/xterm-addon-image.d.ts → @xterm/addon-image/typings/addon-image.d.ts} +1 -1
  9. package/external/{xterm → @xterm/xterm}/typings/xterm.d.ts +13 -1
  10. package/lifecycle.js +2 -2
  11. package/localExtensionHost.js +6 -3
  12. package/missing-services.js +170 -22
  13. package/monaco-editor-treemending.patch +6884 -18018
  14. package/monaco-treemending.js +2 -2
  15. package/package.json +7 -7
  16. package/service-override/tools/editor.d.ts +8 -8
  17. package/service-override/tools/editor.js +44 -19
  18. package/services.d.ts +2 -2
  19. package/services.js +3 -3
  20. package/vscode/src/vs/base/browser/broadcast.js +6 -5
  21. package/vscode/src/vs/base/browser/dnd.d.ts +6 -0
  22. package/vscode/src/vs/base/browser/mouseEvent.d.ts +1 -1
  23. package/vscode/src/vs/base/browser/touch.d.ts +10 -0
  24. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -0
  25. package/vscode/src/vs/base/browser/ui/iconLabel/iconHoverDelegate.d.ts +22 -15
  26. package/vscode/src/vs/base/browser/ui/menu/menubar.js +4 -3
  27. package/vscode/src/vs/base/browser/ui/splitview/paneview.css.js +1 -1
  28. package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +3 -0
  29. package/vscode/src/vs/base/browser/ui/splitview/paneview.js +34 -11
  30. package/vscode/src/vs/base/common/actions.d.ts +1 -15
  31. package/vscode/src/vs/base/common/async.d.ts +1 -31
  32. package/vscode/src/vs/base/common/event.d.ts +2 -1
  33. package/vscode/src/vs/base/common/observableInternal/base.d.ts +23 -10
  34. package/vscode/src/vs/base/common/prefixTree.js +140 -0
  35. package/vscode/src/vs/base/common/product.d.ts +16 -2
  36. package/vscode/src/vs/base/common/resourceTree.js +135 -0
  37. package/vscode/src/vs/base/common/skipList.js +1 -0
  38. package/vscode/src/vs/base/common/tfIdf.js +137 -0
  39. package/vscode/src/vs/base/common/types.d.ts +13 -1
  40. package/vscode/src/vs/base/common/verifier.js +62 -0
  41. package/vscode/src/vs/editor/browser/editorBrowser.d.ts +4 -2
  42. package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -4
  43. package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
  44. package/vscode/src/vs/editor/common/core/offsetRange.d.ts +3 -0
  45. package/vscode/src/vs/editor/common/core/position.d.ts +1 -0
  46. package/vscode/src/vs/editor/common/editorCommon.d.ts +2 -1
  47. package/vscode/src/vs/editor/common/languages.d.ts +23 -1
  48. package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -1
  49. package/vscode/src/vs/editor/common/services/resolverService.d.ts +11 -2
  50. package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +16 -1
  51. package/vscode/src/vs/platform/action/common/action.d.ts +8 -0
  52. package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +4 -0
  53. package/vscode/src/vs/platform/actions/browser/floatingMenu.js +26 -2
  54. package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
  55. package/vscode/src/vs/platform/audioCues/browser/audioCueService.d.ts +6 -0
  56. package/vscode/src/vs/platform/commands/common/commands.d.ts +13 -5
  57. package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +9 -3
  58. package/vscode/src/vs/platform/dialogs/common/dialogs.js +5 -2
  59. package/vscode/src/vs/platform/editor/common/editor.d.ts +3 -15
  60. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
  61. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +3 -15
  62. package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +5 -0
  63. package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -1
  64. package/vscode/src/vs/platform/files/common/files.d.ts +72 -8
  65. package/vscode/src/vs/platform/files/common/watcher.js +77 -0
  66. package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +2 -2
  67. package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +52 -21
  68. package/vscode/src/vs/platform/request/browser/requestService.js +3 -0
  69. package/vscode/src/vs/platform/request/common/requestIpc.js +17 -0
  70. package/vscode/src/vs/platform/storage/common/storage.js +2 -2
  71. package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +1 -0
  72. package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +41 -0
  73. package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +12 -7
  74. package/vscode/src/vs/platform/terminal/common/capabilities/{commandDetectionCapability.d.ts → commandDetection/terminalCommand.d.ts} +3 -2
  75. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +257 -0
  76. package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +651 -0
  77. package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +29 -0
  78. package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +48 -0
  79. package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +94 -0
  80. package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +37 -0
  81. package/vscode/src/vs/platform/terminal/common/terminalStrings.js +16 -0
  82. package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +319 -0
  83. package/vscode/src/vs/platform/window/common/window.d.ts +9 -2
  84. package/vscode/src/vs/platform/window/common/window.js +6 -1
  85. package/vscode/src/vs/platform/workspaces/common/workspaces.d.ts +2 -43
  86. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +113 -81
  87. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +5 -4
  88. package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +25 -3
  89. package/vscode/src/vs/workbench/api/common/extHostChat.js +13 -163
  90. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +412 -0
  91. package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +79 -11
  92. package/vscode/src/vs/workbench/api/common/extHostCommands.js +13 -12
  93. package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -1
  94. package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +8 -6
  95. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +1 -1
  96. package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +36 -19
  97. package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +52 -31
  98. package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +38 -0
  99. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +28 -3
  100. package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
  101. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +117 -2
  102. package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +32 -4
  103. package/vscode/src/vs/workbench/api/common/extHostSCM.js +85 -23
  104. package/vscode/src/vs/workbench/api/common/extHostSearch.js +3 -0
  105. package/vscode/src/vs/workbench/api/common/extHostSpeech.js +42 -0
  106. package/vscode/src/vs/workbench/api/common/extHostTask.js +2 -1
  107. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -0
  108. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +3 -3
  109. package/vscode/src/vs/workbench/api/common/extHostTesting.js +97 -47
  110. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +115 -16
  111. package/vscode/src/vs/workbench/api/common/extHostTypes.js +66 -36
  112. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +6 -1
  113. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +182 -75
  114. package/vscode/src/vs/workbench/browser/actions/windowActions.js +176 -4
  115. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +143 -2
  116. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +237 -0
  117. package/vscode/src/vs/workbench/browser/composite.d.ts +0 -4
  118. package/vscode/src/vs/workbench/browser/composite.js +5 -4
  119. package/vscode/src/vs/workbench/browser/dnd.js +72 -23
  120. package/vscode/src/vs/workbench/browser/labels.js +7 -3
  121. package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
  122. package/vscode/src/vs/workbench/browser/panecomposite.d.ts +2 -2
  123. package/vscode/src/vs/workbench/browser/panecomposite.js +2 -0
  124. package/vscode/src/vs/workbench/browser/part.js +33 -2
  125. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +99 -117
  126. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +173 -33
  127. package/vscode/src/vs/workbench/browser/parts/editor/editor.js +102 -6
  128. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +256 -17
  129. package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +4 -0
  130. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +68 -35
  131. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +5 -5
  132. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +35 -16
  133. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +348 -0
  134. package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +43 -31
  135. package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +4 -0
  136. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -0
  137. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -0
  138. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +14 -2
  139. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +4 -4
  140. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +277 -0
  141. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +5 -2
  142. package/vscode/src/vs/workbench/browser/parts/panel/media/panelpart.css.js +1 -1
  143. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +3 -38
  144. package/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.d.ts +54 -52
  145. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +2 -1
  146. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.d.ts +25 -0
  147. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +258 -0
  148. package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css.js +1 -1
  149. package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +2 -5
  150. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +157 -117
  151. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +50 -23
  152. package/vscode/src/vs/workbench/browser/parts/views/viewsService.js +26 -11
  153. package/vscode/src/vs/workbench/browser/parts/views/viewsViewlet.js +10 -6
  154. package/vscode/src/vs/workbench/browser/style.js +2 -1
  155. package/vscode/src/vs/workbench/browser/web.api.d.ts +39 -2
  156. package/vscode/src/vs/workbench/browser/window.js +55 -0
  157. package/vscode/src/vs/workbench/browser/workbench.contribution.js +220 -40
  158. package/vscode/src/vs/workbench/common/activity.js +3 -0
  159. package/vscode/src/vs/workbench/common/contextkeys.js +35 -5
  160. package/vscode/src/vs/workbench/common/contributions.js +4 -3
  161. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -4
  162. package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +1 -1
  163. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +22 -19
  164. package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +4 -3
  165. package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +1 -2
  166. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +22 -4
  167. package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +3 -3
  168. package/vscode/src/vs/workbench/common/editor.d.ts +60 -30
  169. package/vscode/src/vs/workbench/common/editor.js +11 -3
  170. package/vscode/src/vs/workbench/common/theme.js +2 -2
  171. package/vscode/src/vs/workbench/common/views.d.ts +4 -4
  172. package/vscode/src/vs/workbench/common/views.js +3 -1
  173. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +97 -8
  174. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +17 -99
  175. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +103 -37
  176. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +2 -3
  177. package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +127 -0
  178. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +71 -0
  179. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
  180. package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +33 -110
  181. package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -0
  182. package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +94 -0
  183. package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +6 -1
  184. package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.js +1 -88
  185. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +4 -4
  186. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -2
  187. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -1
  188. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +15 -16
  189. package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +91 -1
  190. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -3
  191. package/vscode/src/vs/workbench/contrib/comments/browser/comments.contribution.js +3 -1
  192. package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -3
  193. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +1 -0
  194. package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +9 -1
  195. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +10 -1
  196. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +114 -22
  197. package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css.js +1 -1
  198. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -1
  199. package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +19 -0
  200. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +10 -8
  201. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +62 -10
  202. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +2 -1
  203. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +9 -8
  204. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution.js +10 -1
  205. package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -0
  206. package/vscode/src/vs/workbench/contrib/files/browser/files.js +7 -3
  207. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +4 -4
  208. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +64 -36
  209. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +42 -17
  210. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +145 -25
  211. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +423 -0
  212. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +82 -0
  213. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  214. package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +36 -0
  215. package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
  216. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +24 -3
  217. package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +11 -6
  218. package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -2
  219. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/searchNotebookHelpers.js +31 -0
  220. package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +61 -41
  221. package/vscode/src/vs/workbench/contrib/search/{browser/searchNotebookHelpers.js → common/cellSearchModel.js} +4 -63
  222. package/vscode/src/vs/workbench/contrib/search/common/searchNotebookHelpers.js +40 -0
  223. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +2 -2
  224. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +3 -0
  225. package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +92 -0
  226. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +100 -79
  227. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +3 -3
  228. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +1 -1
  229. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +25 -0
  230. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcon.js +7 -4
  231. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +64 -0
  232. package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +36 -0
  233. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +540 -0
  234. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +104 -0
  235. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +518 -0
  236. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/suggestAddon.js +390 -0
  237. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +17 -11
  238. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +814 -0
  239. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +5 -2
  240. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +2 -8
  241. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +2 -0
  242. package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +101 -0
  243. package/vscode/src/vs/workbench/contrib/testing/common/observableValue.js +30 -0
  244. package/vscode/src/vs/workbench/contrib/testing/common/storedValue.js +36 -0
  245. package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +115 -0
  246. package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +74 -0
  247. package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.js +116 -0
  248. package/vscode/src/vs/workbench/contrib/testing/common/testProfileService.js +172 -1
  249. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +384 -0
  250. package/vscode/src/vs/workbench/contrib/testing/common/testResultService.js +156 -1
  251. package/vscode/src/vs/workbench/contrib/testing/common/testResultStorage.js +156 -0
  252. package/vscode/src/vs/workbench/contrib/testing/common/testService.js +75 -1
  253. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +72 -1
  254. package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +188 -0
  255. package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.js +102 -0
  256. package/vscode/src/vs/workbench/contrib/testing/common/testingDecorations.js +29 -0
  257. package/vscode/src/vs/workbench/{services/editor/browser/editorDropService.js → contrib/testing/common/testingPeekOpener.js} +2 -2
  258. package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +47 -0
  259. package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -3
  260. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +8 -9
  261. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +1 -1
  262. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +5 -2
  263. package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +16 -10
  264. package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +14 -1
  265. package/vscode/src/vs/workbench/services/activity/common/activity.js +1 -7
  266. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +9 -28
  267. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +273 -0
  268. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
  269. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +2 -0
  270. package/vscode/src/vs/workbench/services/decorations/browser/decorationsService.js +2 -3
  271. package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +7 -5
  272. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +59 -37
  273. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +193 -94
  274. package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -2
  275. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +8 -2
  276. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +8 -1
  277. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +62 -16
  278. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +5 -3
  279. package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +3 -2
  280. package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +4 -9
  281. package/vscode/src/vs/workbench/services/extensions/common/{extensionHostManager.d.ts → extensionHostManagers.d.ts} +2 -0
  282. package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +1 -1
  283. package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +9 -0
  284. package/vscode/src/vs/workbench/services/extensions/common/extensions.js +22 -0
  285. package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +14 -3
  286. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +9 -0
  287. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +3 -3
  288. package/vscode/src/vs/workbench/services/history/common/history.d.ts +2 -2
  289. package/vscode/src/vs/workbench/services/host/browser/browserHostService.js +49 -18
  290. package/vscode/src/vs/workbench/services/host/browser/host.d.ts +29 -7
  291. package/vscode/src/vs/workbench/services/hover/browser/hover.d.ts +51 -28
  292. package/vscode/src/vs/workbench/services/hover/browser/hoverService.d.ts +5 -2
  293. package/vscode/src/vs/workbench/services/keybinding/browser/unboundCommands.js +2 -2
  294. package/vscode/src/vs/workbench/services/languageStatus/common/languageStatusService.d.ts +4 -1
  295. package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +40 -36
  296. package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.d.ts +0 -6
  297. package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +3 -0
  298. package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +2 -2
  299. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +16 -1
  300. package/vscode/src/vs/workbench/services/request/browser/requestService.js +48 -0
  301. package/vscode/src/vs/workbench/services/search/common/searchHelpers.js +4 -4
  302. package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +10 -51
  303. package/vscode/src/vs/workbench/services/suggest/browser/media/suggest.css.js +4 -0
  304. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionItem.js +10 -0
  305. package/vscode/src/vs/workbench/services/suggest/browser/simpleCompletionModel.js +98 -0
  306. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidget.js +428 -0
  307. package/vscode/src/vs/workbench/services/suggest/browser/simpleSuggestWidgetRenderer.js +83 -0
  308. package/vscode/src/vs/workbench/services/textfile/browser/textFileService.js +32 -1
  309. package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +1 -5
  310. package/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.js +4 -3
  311. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +9 -3
  312. package/vscode/src/vs/workbench/services/title/browser/titleService.d.ts +18 -0
  313. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +18 -3
  314. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +16 -7
  315. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.d.ts +6 -0
  316. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +13 -0
  317. package/vscode/src/vs/workbench/services/url/browser/urlService.js +2 -1
  318. package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +2 -2
  319. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +9 -0
  320. package/vscode-dts/vscode.proposed.chatAgents2.d.ts +375 -0
  321. package/vscode-dts/vscode.proposed.chatAgents2Additions.d.ts +80 -0
  322. package/vscode-dts/vscode.proposed.chatProvider.d.ts +5 -1
  323. package/vscode-dts/vscode.proposed.chatRequestAccess.d.ts +68 -10
  324. package/vscode-dts/vscode.proposed.chatTab.d.ts +21 -0
  325. package/vscode-dts/vscode.proposed.chatVariables.d.ts +5 -1
  326. package/vscode-dts/vscode.proposed.codeActionAI.d.ts +16 -0
  327. package/vscode-dts/vscode.proposed.contribSourceControlInputBoxMenu.d.ts +7 -0
  328. package/vscode-dts/vscode.proposed.createFileSystemWatcher.d.ts +51 -0
  329. package/vscode-dts/vscode.proposed.defaultChatAgent.d.ts +30 -0
  330. package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +26 -0
  331. package/vscode-dts/vscode.proposed.interactive.d.ts +26 -100
  332. package/vscode-dts/vscode.proposed.interactiveUserActions.d.ts +14 -7
  333. package/vscode-dts/vscode.proposed.languageStatusText.d.ts +12 -0
  334. package/vscode-dts/vscode.proposed.multiDocumentHighlightProvider.d.ts +63 -0
  335. package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +43 -0
  336. package/vscode-dts/vscode.proposed.resolvers.d.ts +100 -1
  337. package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +9 -1
  338. package/vscode-dts/vscode.proposed.scmInputBoxActionButton.d.ts +19 -0
  339. package/vscode-dts/vscode.proposed.scmInputBoxValueProvider.d.ts +25 -0
  340. package/vscode-dts/vscode.proposed.speech.d.ts +35 -0
  341. package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +11 -7
  342. package/vscode-dts/vscode.proposed.testCoverage.d.ts +6 -1
  343. package/vscode-dts/vscode.proposed.testingActiveProfile.d.ts +21 -0
  344. package/external/xterm-headless/typings/xterm-headless.d.ts +0 -49
  345. package/vscode/src/vs/platform/backup/common/backup.d.ts +0 -14
  346. package/vscode/src/vs/platform/update/common/update.d.ts +0 -112
  347. package/vscode/src/vs/workbench/api/common/extHostChatAgents.js +0 -62
  348. package/vscode/src/vs/workbench/api/common/extHostChatSlashCommand.js +0 -62
  349. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +0 -56
  350. package/vscode/src/vs/workbench/services/files/common/files.js +0 -4
  351. package/vscode/src/vs/workbench/services/host/browser/browserHostService.d.ts +0 -41
  352. package/vscode/src/vs/workbench/services/title/common/titleService.d.ts +0 -31
  353. package/vscode-dts/vscode.proposed.chatAgents.d.ts +0 -39
  354. package/vscode-dts/vscode.proposed.chatSlashCommands.d.ts +0 -47
  355. package/vscode-dts/vscode.proposed.testMessageContextValue.d.ts +0 -45
  356. /package/external/{xterm-addon-canvas/typings/xterm-addon-canvas.d.ts → @xterm/addon-canvas/typings/addon-canvas.d.ts} +0 -0
  357. /package/external/{xterm-addon-search/typings/xterm-addon-search.d.ts → @xterm/addon-search/typings/addon-search.d.ts} +0 -0
  358. /package/external/{xterm-addon-serialize/typings/xterm-addon-serialize.d.ts → @xterm/addon-serialize/typings/addon-serialize.d.ts} +0 -0
  359. /package/external/{xterm-addon-unicode11/typings/xterm-addon-unicode11.d.ts → @xterm/addon-unicode11/typings/addon-unicode11.d.ts} +0 -0
  360. /package/external/{xterm-addon-webgl/typings/xterm-addon-webgl.d.ts → @xterm/addon-webgl/typings/addon-webgl.d.ts} +0 -0
  361. /package/vscode/src/vs/workbench/services/title/{common → browser}/titleService.js +0 -0
@@ -1,105 +1,104 @@
1
1
  import { CancellationTokenSource } from 'monaco-editor/esm/vs/base/common/cancellation.js';
2
2
  import * as errors from 'monaco-editor/esm/vs/base/common/errors.js';
3
3
  import { Emitter, Event } from 'monaco-editor/esm/vs/base/common/event.js';
4
+ import { combinedDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
5
+ import { matchesScheme, Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
4
6
  import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
5
7
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
6
8
  import { TextEditorCursorStyle } from 'monaco-editor/esm/vs/editor/common/config/editorOptions.js';
7
- import { OverviewRulerLane } from 'monaco-editor/esm/vs/editor/common/model.js';
8
- import * as languageConfiguration from 'monaco-editor/esm/vs/editor/common/languages/languageConfiguration.js';
9
9
  import { score } from 'monaco-editor/esm/vs/editor/common/languageSelector.js';
10
+ import * as languageConfiguration from 'monaco-editor/esm/vs/editor/common/languages/languageConfiguration.js';
11
+ import { OverviewRulerLane } from 'monaco-editor/esm/vs/editor/common/model.js';
12
+ import { ExtensionIdentifierSet } from 'monaco-editor/esm/vs/platform/extensions/common/extensions.js';
10
13
  import * as files from 'monaco-editor/esm/vs/platform/files/common/files.js';
14
+ import { ILoggerService, ILogService, LogLevel } from 'monaco-editor/esm/vs/platform/log/common/log.js';
15
+ import { getRemoteName } from 'monaco-editor/esm/vs/platform/remote/common/remoteHosts.js';
16
+ import { TelemetryTrustedValue } from '../../../platform/telemetry/common/telemetryUtils.js';
17
+ import { EditSessionIdentityMatch } from '../../../platform/workspace/common/editSessions.js';
11
18
  import { ExtHostContext, MainContext, CandidatePortSource } from './extHost.protocol.js';
12
- import { UIKind } from '../../services/extensions/common/extensionHostProtocol.js';
19
+ import { ExtHostRelatedInformation } from './extHostAiRelatedInformation.js';
13
20
  import { ExtHostApiCommands } from './extHostApiCommands.js';
21
+ import { IExtHostApiDeprecationService } from './extHostApiDeprecationService.js';
22
+ import { ExtHostAuthentication } from './extHostAuthentication.js';
23
+ import { ExtHostBulkEdits } from './extHostBulkEdits.js';
24
+ import { ExtHostChat } from './extHostChat.js';
25
+ import { ExtHostChatAgents2 } from './extHostChatAgents2.js';
26
+ import { ExtHostChatProvider } from './extHostChatProvider.js';
27
+ import { ExtHostChatVariables } from './extHostChatVariables.js';
14
28
  import { ExtHostClipboard } from './extHostClipboard.js';
29
+ import { ExtHostEditorInsets } from './extHostCodeInsets.js';
15
30
  import { IExtHostCommands } from './extHostCommands.js';
16
31
  import { createExtHostComments } from './extHostComments.js';
17
32
  import { IExtHostConfiguration } from './extHostConfiguration.js';
33
+ import { ExtHostCustomEditors } from './extHostCustomEditors.js';
34
+ import { IExtHostDebugService } from './extHostDebugService.js';
35
+ import { IExtHostDecorations } from './extHostDecorations.js';
18
36
  import { ExtHostDiagnostics } from './extHostDiagnostics.js';
19
37
  import { ExtHostDialogs } from './extHostDialogs.js';
20
38
  import { ExtHostDocumentContentProvider } from './extHostDocumentContentProviders.js';
21
39
  import { ExtHostDocumentSaveParticipant } from './extHostDocumentSaveParticipant.js';
22
40
  import { ExtHostDocuments } from './extHostDocuments.js';
23
41
  import { IExtHostDocumentsAndEditors } from './extHostDocumentsAndEditors.js';
42
+ import { IExtHostEditorTabs } from './extHostEditorTabs.js';
43
+ import { ExtHostAiEmbeddingVector } from './extHostEmbeddingVector.js';
24
44
  import { IExtHostExtensionService, Extension } from './extHostExtensionService.js';
25
45
  import { ExtHostFileSystem } from './extHostFileSystem.js';
46
+ import { IExtHostConsumerFileSystem } from './extHostFileSystemConsumer.js';
26
47
  import { ExtHostFileSystemEventService } from './extHostFileSystemEventService.js';
48
+ import { IExtHostFileSystemInfo } from './extHostFileSystemInfo.js';
49
+ import { IExtHostInitDataService } from './extHostInitDataService.js';
50
+ import { ExtHostInteractiveEditor } from './extHostInlineChat.js';
51
+ import { ExtHostInteractive } from './extHostInteractive.js';
52
+ import { ExtHostIssueReporter } from './extHostIssueReporter.js';
53
+ import { ExtHostLabelService } from './extHostLabelService.js';
27
54
  import { ExtHostLanguageFeatures } from './extHostLanguageFeatures.js';
28
55
  import { ExtHostLanguages } from './extHostLanguages.js';
56
+ import { IExtHostLocalizationService } from './extHostLocalizationService.js';
57
+ import { IExtHostManagedSockets } from './extHostManagedSockets.js';
29
58
  import { ExtHostMessageService } from './extHostMessageService.js';
59
+ import { ExtHostNotebookController } from './extHostNotebook.js';
60
+ import { ExtHostNotebookDocumentSaveParticipant } from './extHostNotebookDocumentSaveParticipant.js';
61
+ import { ExtHostNotebookDocuments } from './extHostNotebookDocuments.js';
62
+ import { ExtHostNotebookEditors } from './extHostNotebookEditors.js';
63
+ import { ExtHostNotebookKernels } from './extHostNotebookKernels.js';
64
+ import { ExtHostNotebookRenderers } from './extHostNotebookRenderers.js';
30
65
  import { IExtHostOutputService } from './extHostOutput.js';
66
+ import { ExtHostProfileContentHandlers } from './extHostProfileContentHandler.js';
31
67
  import { ExtHostProgress } from './extHostProgress.js';
68
+ import { ExtHostQuickDiff } from './extHostQuickDiff.js';
32
69
  import { createExtHostQuickOpen } from './extHostQuickOpen.js';
70
+ import { IExtHostRpcService } from './extHostRpcService.js';
33
71
  import { ExtHostSCM } from './extHostSCM.js';
72
+ import { IExtHostSearch } from './extHostSearch.js';
73
+ import { IExtHostSecretState } from './extHostSecretState.js';
74
+ import { ExtHostShare } from './extHostShare.js';
75
+ import { ExtHostSpeech } from './extHostSpeech.js';
34
76
  import { ExtHostStatusBar } from './extHostStatusBar.js';
35
77
  import { IExtHostStorage } from './extHostStorage.js';
78
+ import { IExtensionStoragePaths } from './extHostStoragePaths.js';
79
+ import { IExtHostTask } from './extHostTask.js';
80
+ import { IExtHostTelemetry, isNewAppInstall, ExtHostTelemetryLogger } from './extHostTelemetry.js';
36
81
  import { IExtHostTerminalService } from './extHostTerminalService.js';
82
+ import { ExtHostTesting } from './extHostTesting.js';
37
83
  import { ExtHostEditors } from './extHostTextEditors.js';
84
+ import { ExtHostTheming } from './extHostTheming.js';
85
+ import { ExtHostTimeline } from './extHostTimeline.js';
38
86
  import { ExtHostTreeViews } from './extHostTreeViews.js';
87
+ import { IExtHostTunnelService } from './extHostTunnelService.js';
39
88
  import { LanguageSelector } from './extHostTypeConverters.js';
40
- import { Breakpoint, TerminalOutputAnchor, ChatMessage, ChatMessageRole, ChatVariableLevel, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CodeAction, CodeActionKind, CodeActionTriggerKind, CodeLens, Color, ColorInformation, ColorPresentation, ColorThemeKind, CommentMode, CommentState, CommentThreadCollapsibleState, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomExecution, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DecorationRangeBehavior, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, Disposable, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentSymbol, EndOfLine, EnvironmentVariableMutatorType, EvaluatableExpression, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineCompletionTriggerKind, ExtensionKind, ExtensionMode, ExternalUriOpenerPriority, FileChangeType, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, InlineSuggestion, InlineSuggestionList, Hover, Location, MarkdownString, ParameterInformation, PortAutoForwardAction, Position, ProcessExecution, ProgressLocation, QuickInputButtons, Range, RelativePattern, Selection, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SnippetString, SourceBreakpoint, StandardTokenType, StatusBarAlignment, SymbolInformation, SymbolKind, SymbolTag, Task, TaskGroup, TaskPanelKind, TaskRevealKind, TaskScope, TerminalLink, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalLocation, TerminalProfile, TerminalExitReason, TextDocumentSaveReason, TextEdit, SnippetTextEdit, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, SyntaxTokenType, TextDocumentChangeReason, ThemeColor, ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, ViewColumn, WorkspaceEdit, DocumentDropEdit, DocumentPasteEdit, InlayHint, InlayHintLabelPart, InlayHintKind, RemoteAuthorityResolverError, ResolvedAuthority, ManagedResolvedAuthority, SourceControlInputBoxValidationType, ExtensionRuntime, TimelineItem, NotebookRange, NotebookCellKind, NotebookCellExecutionState, NotebookCellData, NotebookData, NotebookRendererScript, NotebookCellStatusBarAlignment, NotebookEditorRevealType, NotebookCellOutput, NotebookCellOutputItem, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookEdit, NotebookKernelSourceAction, PortAttributes, LinkedEditingRanges, TestResultState, TestRunRequest, TestMessage, TestTag, TestRunProfileKind, DataTransfer, DataTransferItem, CoveredCount, FileCoverage, StatementCoverage, BranchCoverage, FunctionCoverage, WorkspaceTrustState, LanguageStatusSeverity, QuickPickItemKind, InputBoxValidationSeverity, TextTabInput, TextDiffTabInput, TextMergeTabInput, CustomEditorTabInput, NotebookEditorTabInput, NotebookDiffEditorTabInput, WebviewEditorTabInput, TerminalEditorTabInput, InteractiveWindowInput, InteractiveSessionVoteDirection, InteractiveSessionCopyKind, InteractiveEditorResponseFeedbackKind, StackFrameFocus, ThreadFocus, RelatedInformationType } from './extHostTypes.js';
41
- import { TelemetryTrustedValue } from '../../../platform/telemetry/common/telemetryUtils.js';
89
+ import { Breakpoint, TerminalOutputAnchor, ChatAgentResultFeedbackKind, ChatMessage, ChatMessageRole, ChatVariableLevel, ChatAgentCompletionItem, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CodeAction, CodeActionKind, CodeActionTriggerKind, CodeLens, Color, ColorInformation, ColorPresentation, ColorThemeKind, CommentMode, CommentState, CommentThreadCollapsibleState, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomExecution, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DecorationRangeBehavior, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, Disposable, DocumentHighlight, DocumentHighlightKind, MultiDocumentHighlight, DocumentLink, DocumentSymbol, EndOfLine, EnvironmentVariableMutatorType, EvaluatableExpression, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineCompletionTriggerKind, ExtensionKind, ExtensionMode, ExternalUriOpenerPriority, FileChangeType, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, InlineSuggestion, InlineSuggestionList, Hover, Location, MarkdownString, ParameterInformation, PortAutoForwardAction, Position, ProcessExecution, ProgressLocation, QuickInputButtons, Range, RelativePattern, Selection, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SnippetString, SourceBreakpoint, StandardTokenType, StatusBarAlignment, SymbolInformation, SymbolKind, SymbolTag, Task, TaskGroup, TaskPanelKind, TaskRevealKind, TaskScope, TerminalLink, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalLocation, TerminalProfile, TerminalExitReason, TextDocumentSaveReason, TextEdit, SnippetTextEdit, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, SyntaxTokenType, TextDocumentChangeReason, ThemeColor, ThemeIcon, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, ViewColumn, WorkspaceEdit, DocumentDropEdit, DocumentPasteEdit, InlayHint, InlayHintLabelPart, InlayHintKind, RemoteAuthorityResolverError, ResolvedAuthority, ManagedResolvedAuthority, SourceControlInputBoxValidationType, ExtensionRuntime, TimelineItem, NotebookRange, NotebookCellKind, NotebookCellExecutionState, NotebookCellData, NotebookData, NotebookRendererScript, NotebookCellStatusBarAlignment, NotebookEditorRevealType, NotebookCellOutput, NotebookCellOutputItem, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookEdit, NotebookKernelSourceAction, NotebookVariablesRequestKind, PortAttributes, LinkedEditingRanges, TestResultState, TestRunRequest, TestMessage, TestTag, TestRunProfileKind, DataTransfer, DataTransferItem, CoveredCount, FileCoverage, StatementCoverage, BranchCoverage, FunctionCoverage, WorkspaceTrustState, LanguageStatusSeverity, QuickPickItemKind, InputBoxValidationSeverity, TextTabInput, TextDiffTabInput, TextMergeTabInput, CustomEditorTabInput, NotebookEditorTabInput, NotebookDiffEditorTabInput, WebviewEditorTabInput, TerminalEditorTabInput, InteractiveWindowInput, ChatEditorTabInput, InteractiveSessionVoteDirection, InteractiveSessionCopyKind, InteractiveEditorResponseFeedbackKind, StackFrameFocus, ThreadFocus, RelatedInformationType, SpeechToTextStatus } from './extHostTypes.js';
90
+ import { ExtHostUriOpeners } from './extHostUriOpener.js';
91
+ import { IURITransformerService } from './extHostUriTransformerService.js';
42
92
  import { ExtHostUrls } from './extHostUrls.js';
43
93
  import { ExtHostWebviews } from './extHostWebview.js';
94
+ import { ExtHostWebviewPanels } from './extHostWebviewPanels.js';
95
+ import { ExtHostWebviewViews } from './extHostWebviewView.js';
44
96
  import { IExtHostWindow } from './extHostWindow.js';
45
97
  import { IExtHostWorkspace } from './extHostWorkspace.js';
46
- import { ExtensionIdentifierSet } from 'monaco-editor/esm/vs/platform/extensions/common/extensions.js';
47
- import { ExtHostEditorInsets } from './extHostCodeInsets.js';
48
- import { ExtHostLabelService } from './extHostLabelService.js';
49
- import { getRemoteName } from 'monaco-editor/esm/vs/platform/remote/common/remoteHosts.js';
50
- import { IExtHostDecorations } from './extHostDecorations.js';
51
- import { IExtHostTask } from './extHostTask.js';
52
- import { IExtHostDebugService } from './extHostDebugService.js';
53
- import { IExtHostSearch } from './extHostSearch.js';
54
- import { ILoggerService, ILogService, LogLevel } from 'monaco-editor/esm/vs/platform/log/common/log.js';
55
- import { IURITransformerService } from './extHostUriTransformerService.js';
56
- import { IExtHostRpcService } from './extHostRpcService.js';
57
- import { IExtHostInitDataService } from './extHostInitDataService.js';
58
- import { ExtHostNotebookController } from './extHostNotebook.js';
59
- import { ExtHostTheming } from './extHostTheming.js';
60
- import { IExtHostTunnelService } from './extHostTunnelService.js';
61
- import { IExtHostApiDeprecationService } from './extHostApiDeprecationService.js';
62
- import { ExtHostAuthentication } from './extHostAuthentication.js';
63
- import { ExtHostTimeline } from './extHostTimeline.js';
64
- import { IExtensionStoragePaths } from './extHostStoragePaths.js';
65
- import { IExtHostConsumerFileSystem } from './extHostFileSystemConsumer.js';
66
- import { ExtHostWebviewViews } from './extHostWebviewView.js';
67
- import { ExtHostCustomEditors } from './extHostCustomEditors.js';
68
- import { ExtHostWebviewPanels } from './extHostWebviewPanels.js';
69
- import { ExtHostBulkEdits } from './extHostBulkEdits.js';
70
- import { IExtHostFileSystemInfo } from './extHostFileSystemInfo.js';
71
- import { ExtHostTesting } from './extHostTesting.js';
72
- import { ExtHostUriOpeners } from './extHostUriOpener.js';
73
- import { IExtHostSecretState } from './extHostSecretState.js';
74
- import { IExtHostEditorTabs } from './extHostEditorTabs.js';
75
- import { IExtHostTelemetry, isNewAppInstall, ExtHostTelemetryLogger } from './extHostTelemetry.js';
76
- import { ExtHostNotebookKernels } from './extHostNotebookKernels.js';
77
- import { TextSearchCompleteMessageType } from '../../services/search/common/searchExtTypes.js';
78
- import { ExtHostNotebookRenderers } from './extHostNotebookRenderers.js';
79
- import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
80
- import { matchesScheme } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
81
- import { ExtHostNotebookEditors } from './extHostNotebookEditors.js';
82
- import { ExtHostNotebookDocuments } from './extHostNotebookDocuments.js';
83
- import { ExtHostInteractive } from './extHostInteractive.js';
84
- import { combinedDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
85
- import { checkProposedApiEnabled, isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
86
98
  import { DebugConfigurationProviderTriggerKind } from '../../contrib/debug/common/debug.js';
87
- import { IExtHostLocalizationService } from './extHostLocalizationService.js';
88
- import { EditSessionIdentityMatch } from '../../../platform/workspace/common/editSessions.js';
89
- import { ExtHostProfileContentHandlers } from './extHostProfileContentHandler.js';
90
- import { ExtHostQuickDiff } from './extHostQuickDiff.js';
91
- import { ExtHostChat } from './extHostChat.js';
92
- import { ExtHostInteractiveEditor } from './extHostInlineChat.js';
93
- import { ExtHostNotebookDocumentSaveParticipant } from './extHostNotebookDocumentSaveParticipant.js';
94
- import { ExtHostIssueReporter } from './extHostIssueReporter.js';
95
- import { IExtHostManagedSockets } from './extHostManagedSockets.js';
96
- import { ExtHostShare } from './extHostShare.js';
97
- import { ExtHostChatProvider } from './extHostChatProvider.js';
98
- import { ExtHostChatSlashCommands } from './extHostChatSlashCommand.js';
99
- import { ExtHostChatVariables } from './extHostChatVariables.js';
100
- import { ExtHostRelatedInformation } from './extHostAiRelatedInformation.js';
101
- import { ExtHostAiEmbeddingVector } from './extHostEmbeddingVector.js';
102
- import { ExtHostChatAgents } from './extHostChatAgents.js';
99
+ import { UIKind } from '../../services/extensions/common/extensionHostProtocol.js';
100
+ import { checkProposedApiEnabled, isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
101
+ import { TextSearchCompleteMessageType } from '../../services/search/common/searchExtTypes.js';
103
102
  function createApiFactoryAndRegisterActors(accessor) {
104
103
  const initData = accessor.get(IExtHostInitDataService);
105
104
  const extHostFileSystemInfo = accessor.get(IExtHostFileSystemInfo);
@@ -150,7 +149,8 @@ function createApiFactoryAndRegisterActors(accessor) {
150
149
  extHostCommands,
151
150
  extHostDocumentsAndEditors,
152
151
  extHostDocuments,
153
- extHostConsumerFileSystem
152
+ extHostConsumerFileSystem,
153
+ extHostSearch
154
154
  )));
155
155
  const extHostNotebookDocuments = rpcProtocol.set(ExtHostContext.ExtHostNotebookDocuments, ( new ExtHostNotebookDocuments(extHostNotebook)));
156
156
  const extHostNotebookEditors = rpcProtocol.set(ExtHostContext.ExtHostNotebookEditors, ( new ExtHostNotebookEditors(extHostLogService, extHostNotebook)));
@@ -217,14 +217,14 @@ function createApiFactoryAndRegisterActors(accessor) {
217
217
  )));
218
218
  const extHostInteractiveEditor = rpcProtocol.set(ExtHostContext.ExtHostInlineChat, ( new ExtHostInteractiveEditor(rpcProtocol, extHostCommands, extHostDocuments, extHostLogService)));
219
219
  const extHostChatProvider = rpcProtocol.set(ExtHostContext.ExtHostChatProvider, ( new ExtHostChatProvider(rpcProtocol, extHostLogService)));
220
- const extHostChatSlashCommands = rpcProtocol.set(ExtHostContext.ExtHostChatSlashCommands, ( new ExtHostChatSlashCommands(rpcProtocol, extHostChatProvider, extHostLogService)));
221
- const extHostChatAgents = rpcProtocol.set(ExtHostContext.ExtHostChatAgents, ( new ExtHostChatAgents(rpcProtocol, extHostChatProvider, extHostLogService)));
220
+ const extHostChatAgents2 = rpcProtocol.set(ExtHostContext.ExtHostChatAgents2, ( new ExtHostChatAgents2(rpcProtocol, extHostChatProvider, extHostLogService)));
222
221
  const extHostChatVariables = rpcProtocol.set(ExtHostContext.ExtHostChatVariables, ( new ExtHostChatVariables(rpcProtocol)));
223
- const extHostChat = rpcProtocol.set(ExtHostContext.ExtHostChat, ( new ExtHostChat(rpcProtocol, extHostLogService)));
222
+ const extHostChat = rpcProtocol.set(ExtHostContext.ExtHostChat, ( new ExtHostChat(rpcProtocol)));
224
223
  const extHostAiRelatedInformation = rpcProtocol.set(ExtHostContext.ExtHostAiRelatedInformation, ( new ExtHostRelatedInformation(rpcProtocol)));
225
224
  const extHostAiEmbeddingVector = rpcProtocol.set(ExtHostContext.ExtHostAiEmbeddingVector, ( new ExtHostAiEmbeddingVector(rpcProtocol)));
226
225
  const extHostIssueReporter = rpcProtocol.set(ExtHostContext.ExtHostIssueReporter, ( new ExtHostIssueReporter(rpcProtocol)));
227
226
  const extHostStatusBar = rpcProtocol.set(ExtHostContext.ExtHostStatusBar, ( new ExtHostStatusBar(rpcProtocol, extHostCommands.converter)));
227
+ const extHostSpeech = rpcProtocol.set(ExtHostContext.ExtHostSpeech, ( new ExtHostSpeech(rpcProtocol)));
228
228
  const extHostBulkEdits = ( new ExtHostBulkEdits(rpcProtocol, extHostDocumentsAndEditors));
229
229
  const extHostClipboard = ( new ExtHostClipboard(rpcProtocol));
230
230
  const extHostMessageService = ( new ExtHostMessageService(rpcProtocol, extHostLogService));
@@ -394,6 +394,10 @@ function createApiFactoryAndRegisterActors(accessor) {
394
394
  checkProposedApiEnabled(extension, 'handleIssueUri');
395
395
  return extHostIssueReporter.registerIssueUriRequestHandler(extension, handler);
396
396
  },
397
+ registerIssueDataProvider(handler) {
398
+ checkProposedApiEnabled(extension, 'handleIssueUri');
399
+ return extHostIssueReporter.registerIssueDataProvider(extension, handler);
400
+ },
397
401
  get appQuality() {
398
402
  checkProposedApiEnabled(extension, 'resolvers');
399
403
  return initData.quality;
@@ -534,6 +538,9 @@ function createApiFactoryAndRegisterActors(accessor) {
534
538
  registerDocumentHighlightProvider(selector, provider) {
535
539
  return extHostLanguageFeatures.registerDocumentHighlightProvider(extension, checkSelector(selector), provider);
536
540
  },
541
+ registerMultiDocumentHighlightProvider(selector, provider) {
542
+ return extHostLanguageFeatures.registerMultiDocumentHighlightProvider(extension, checkSelector(selector), provider);
543
+ },
537
544
  registerLinkedEditingRangeProvider(selector, provider) {
538
545
  return extHostLanguageFeatures.registerLinkedEditingRangeProvider(extension, checkSelector(selector), provider);
539
546
  },
@@ -909,8 +916,24 @@ function createApiFactoryAndRegisterActors(accessor) {
909
916
  applyEdit(edit, metadata) {
910
917
  return extHostBulkEdits.applyWorkspaceEdit(edit, extension, metadata);
911
918
  },
912
- createFileSystemWatcher: (pattern, ignoreCreate, ignoreChange, ignoreDelete) => {
913
- return extHostFileSystemEvent.createFileSystemWatcher(extHostWorkspace, extension, pattern, ignoreCreate, ignoreChange, ignoreDelete);
919
+ createFileSystemWatcher: (pattern, optionsOrIgnoreCreate, ignoreChange, ignoreDelete) => {
920
+ let options = undefined;
921
+ if (typeof optionsOrIgnoreCreate === 'boolean') {
922
+ options = {
923
+ ignoreCreateEvents: Boolean(optionsOrIgnoreCreate),
924
+ ignoreChangeEvents: Boolean(ignoreChange),
925
+ ignoreDeleteEvents: Boolean(ignoreDelete),
926
+ correlate: false
927
+ };
928
+ }
929
+ else if (optionsOrIgnoreCreate) {
930
+ checkProposedApiEnabled(extension, 'createFileSystemWatcher');
931
+ options = {
932
+ ...optionsOrIgnoreCreate,
933
+ correlate: true
934
+ };
935
+ }
936
+ return extHostFileSystemEvent.createFileSystemWatcher(extHostWorkspace, extension, pattern, options);
914
937
  },
915
938
  get textDocuments() {
916
939
  return ( extHostDocuments.getAllDocumentData().map(data => data.document));
@@ -1110,6 +1133,10 @@ function createApiFactoryAndRegisterActors(accessor) {
1110
1133
  },
1111
1134
  createSourceControl(id, label, rootUri) {
1112
1135
  return extHostSCM.createSourceControl(extension, id, label, rootUri);
1136
+ },
1137
+ registerSourceControlInputBoxValueProvider(sourceControlId, provider) {
1138
+ checkProposedApiEnabled(extension, 'scmInputBoxValueProvider');
1139
+ return extHostSCM.registerSourceControlInputBoxValueProvider(extension, sourceControlId, provider);
1113
1140
  }
1114
1141
  };
1115
1142
  const comments = {
@@ -1246,16 +1273,12 @@ function createApiFactoryAndRegisterActors(accessor) {
1246
1273
  _version: 1,
1247
1274
  registerInteractiveEditorSessionProvider(provider, metadata) {
1248
1275
  checkProposedApiEnabled(extension, 'interactive');
1249
- return extHostInteractiveEditor.registerProvider(extension, provider, metadata = { label: metadata?.label ?? extension.displayName ?? extension.name });
1276
+ return extHostInteractiveEditor.registerProvider(extension, provider, metadata);
1250
1277
  },
1251
1278
  registerInteractiveSessionProvider(id, provider) {
1252
1279
  checkProposedApiEnabled(extension, 'interactive');
1253
1280
  return extHostChat.registerChatProvider(extension, id, provider);
1254
1281
  },
1255
- addInteractiveRequest(context) {
1256
- checkProposedApiEnabled(extension, 'interactive');
1257
- return extHostChat.addChatRequest(context);
1258
- },
1259
1282
  sendInteractiveRequestToProvider(providerId, message) {
1260
1283
  checkProposedApiEnabled(extension, 'interactive');
1261
1284
  return extHostChat.sendInteractiveRequestToProvider(providerId, message);
@@ -1288,10 +1311,6 @@ function createApiFactoryAndRegisterActors(accessor) {
1288
1311
  checkProposedApiEnabled(extension, 'chatProvider');
1289
1312
  return extHostChatProvider.registerProvider(extension.identifier, id, provider, metadata);
1290
1313
  },
1291
- registerSlashCommand(name, command, metadata) {
1292
- checkProposedApiEnabled(extension, 'chatSlashCommands');
1293
- return extHostChatSlashCommands.registerCommand(extension.identifier, name, command, metadata ?? { description: '' });
1294
- },
1295
1314
  requestChatAccess(id) {
1296
1315
  checkProposedApiEnabled(extension, 'chatRequestAccess');
1297
1316
  return extHostChatProvider.requestChatResponseProvider(extension.identifier, id);
@@ -1304,9 +1323,15 @@ function createApiFactoryAndRegisterActors(accessor) {
1304
1323
  checkProposedApiEnabled(extension, 'mappedEditsProvider');
1305
1324
  return extHostLanguageFeatures.registerMappedEditsProvider(extension, selector, provider);
1306
1325
  },
1307
- registerAgent(name, agent, metadata) {
1308
- checkProposedApiEnabled(extension, 'chatAgents');
1309
- return extHostChatAgents.registerAgent(extension.identifier, name, agent, metadata);
1326
+ createChatAgent(name, handler) {
1327
+ checkProposedApiEnabled(extension, 'chatAgents2');
1328
+ return extHostChatAgents2.createChatAgent(extension, name, handler);
1329
+ },
1330
+ };
1331
+ const speech = {
1332
+ registerSpeechProvider(id, provider) {
1333
+ checkProposedApiEnabled(extension, 'speech');
1334
+ return extHostSpeech.registerProvider(extension.identifier, id, provider);
1310
1335
  }
1311
1336
  };
1312
1337
  return {
@@ -1324,15 +1349,18 @@ function createApiFactoryAndRegisterActors(accessor) {
1324
1349
  languages,
1325
1350
  notebooks,
1326
1351
  scm,
1352
+ speech,
1327
1353
  tasks,
1328
1354
  tests,
1329
1355
  window,
1330
1356
  workspace,
1331
1357
  Breakpoint: Breakpoint,
1332
1358
  TerminalOutputAnchor: TerminalOutputAnchor,
1359
+ ChatAgentResultFeedbackKind: ChatAgentResultFeedbackKind,
1333
1360
  ChatMessage: ChatMessage,
1334
1361
  ChatMessageRole: ChatMessageRole,
1335
1362
  ChatVariableLevel: ChatVariableLevel,
1363
+ ChatAgentCompletionItem: ChatAgentCompletionItem,
1336
1364
  CallHierarchyIncomingCall: CallHierarchyIncomingCall,
1337
1365
  CallHierarchyItem: CallHierarchyItem,
1338
1366
  CallHierarchyOutgoingCall: CallHierarchyOutgoingCall,
@@ -1372,6 +1400,7 @@ function createApiFactoryAndRegisterActors(accessor) {
1372
1400
  Disposable: Disposable,
1373
1401
  DocumentHighlight: DocumentHighlight,
1374
1402
  DocumentHighlightKind: DocumentHighlightKind,
1403
+ MultiDocumentHighlight: MultiDocumentHighlight,
1375
1404
  DocumentLink: DocumentLink,
1376
1405
  DocumentSymbol: DocumentSymbol,
1377
1406
  EndOfLine: EndOfLine,
@@ -1434,7 +1463,7 @@ function createApiFactoryAndRegisterActors(accessor) {
1434
1463
  TaskRevealKind: TaskRevealKind,
1435
1464
  TaskScope: TaskScope,
1436
1465
  TerminalLink: TerminalLink,
1437
- TerminalQuickFixExecuteTerminalCommand: TerminalQuickFixCommand,
1466
+ TerminalQuickFixTerminalCommand: TerminalQuickFixCommand,
1438
1467
  TerminalQuickFixOpener: TerminalQuickFixOpener,
1439
1468
  TerminalLocation: TerminalLocation,
1440
1469
  TerminalProfile: TerminalProfile,
@@ -1484,6 +1513,7 @@ function createApiFactoryAndRegisterActors(accessor) {
1484
1513
  NotebookControllerAffinity2: NotebookControllerAffinity2,
1485
1514
  NotebookEdit: NotebookEdit,
1486
1515
  NotebookKernelSourceAction: NotebookKernelSourceAction,
1516
+ NotebookVariablesRequestKind: NotebookVariablesRequestKind,
1487
1517
  PortAttributes: PortAttributes,
1488
1518
  LinkedEditingRanges: LinkedEditingRanges,
1489
1519
  TestResultState: TestResultState,
@@ -1513,6 +1543,7 @@ function createApiFactoryAndRegisterActors(accessor) {
1513
1543
  TabInputWebview: WebviewEditorTabInput,
1514
1544
  TabInputTerminal: TerminalEditorTabInput,
1515
1545
  TabInputInteractiveWindow: InteractiveWindowInput,
1546
+ TabInputChat: ChatEditorTabInput,
1516
1547
  TelemetryTrustedValue: TelemetryTrustedValue,
1517
1548
  LogLevel: LogLevel,
1518
1549
  EditSessionIdentityMatch: EditSessionIdentityMatch,
@@ -1521,7 +1552,8 @@ function createApiFactoryAndRegisterActors(accessor) {
1521
1552
  InteractiveEditorResponseFeedbackKind: InteractiveEditorResponseFeedbackKind,
1522
1553
  StackFrameFocus: StackFrameFocus,
1523
1554
  ThreadFocus: ThreadFocus,
1524
- RelatedInformationType: RelatedInformationType
1555
+ RelatedInformationType: RelatedInformationType,
1556
+ SpeechToTextStatus: SpeechToTextStatus
1525
1557
  };
1526
1558
  };
1527
1559
  }
@@ -30,8 +30,7 @@ const MainContext = {
30
30
  MainThreadAuthentication: ( createProxyIdentifier('MainThreadAuthentication')),
31
31
  MainThreadBulkEdits: ( createProxyIdentifier('MainThreadBulkEdits')),
32
32
  MainThreadChatProvider: ( createProxyIdentifier('MainThreadChatProvider')),
33
- MainThreadChatSlashCommands: ( createProxyIdentifier('MainThreadChatSlashCommands')),
34
- MainThreadChatAgents: ( createProxyIdentifier('MainThreadChatAgents')),
33
+ MainThreadChatAgents2: ( createProxyIdentifier('MainThreadChatAgents2')),
35
34
  MainThreadChatVariables: ( createProxyIdentifier('MainThreadChatVariables')),
36
35
  MainThreadClipboard: ( createProxyIdentifier('MainThreadClipboard')),
37
36
  MainThreadCommands: ( createProxyIdentifier('MainThreadCommands')),
@@ -61,6 +60,7 @@ const MainContext = {
61
60
  MainThreadStatusBar: ( createProxyIdentifier('MainThreadStatusBar')),
62
61
  MainThreadSecretState: ( createProxyIdentifier('MainThreadSecretState')),
63
62
  MainThreadStorage: ( createProxyIdentifier('MainThreadStorage')),
63
+ MainThreadSpeech: ( createProxyIdentifier('MainThreadSpeechProvider')),
64
64
  MainThreadTelemetry: ( createProxyIdentifier('MainThreadTelemetry')),
65
65
  MainThreadTerminalService: ( createProxyIdentifier('MainThreadTerminalService')),
66
66
  MainThreadWebviews: ( createProxyIdentifier('MainThreadWebviews')),
@@ -72,6 +72,7 @@ const MainContext = {
72
72
  MainThreadProfileContentHandlers: ( createProxyIdentifier('MainThreadProfileContentHandlers')),
73
73
  MainThreadWorkspace: ( createProxyIdentifier('MainThreadWorkspace')),
74
74
  MainThreadFileSystem: ( createProxyIdentifier('MainThreadFileSystem')),
75
+ MainThreadFileSystemEventService: ( createProxyIdentifier('MainThreadFileSystemEventService')),
75
76
  MainThreadExtensionService: ( createProxyIdentifier('MainThreadExtensionService')),
76
77
  MainThreadSCM: ( createProxyIdentifier('MainThreadSCM')),
77
78
  MainThreadSearch: ( createProxyIdentifier('MainThreadSearch')),
@@ -150,10 +151,10 @@ const ExtHostContext = {
150
151
  ExtHostInteractive: ( createProxyIdentifier('ExtHostInteractive')),
151
152
  ExtHostInlineChat: ( createProxyIdentifier('ExtHostInlineChatShape')),
152
153
  ExtHostChat: ( createProxyIdentifier('ExtHostChat')),
153
- ExtHostChatSlashCommands: ( createProxyIdentifier('ExtHostChatSlashCommands')),
154
- ExtHostChatAgents: ( createProxyIdentifier('ExtHostChatAgents')),
154
+ ExtHostChatAgents2: ( createProxyIdentifier('ExtHostChatAgents')),
155
155
  ExtHostChatVariables: ( createProxyIdentifier('ExtHostChatVariables')),
156
156
  ExtHostChatProvider: ( createProxyIdentifier('ExtHostChatProvider')),
157
+ ExtHostSpeech: ( createProxyIdentifier('ExtHostSpeech')),
157
158
  ExtHostAiRelatedInformation: ( createProxyIdentifier('ExtHostAiRelatedInformation')),
158
159
  ExtHostAiEmbeddingVector: ( createProxyIdentifier('ExtHostAiEmbeddingVector')),
159
160
  ExtHostTheming: ( createProxyIdentifier('ExtHostTheming')),
@@ -1,10 +1,9 @@
1
1
  import { isFalsyOrEmpty } from 'monaco-editor/esm/vs/base/common/arrays.js';
2
- import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
2
+ import { matchesSomeScheme, Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
3
3
  import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
4
4
  import * as languages from 'monaco-editor/esm/vs/editor/common/languages.js';
5
5
  import { decodeSemanticTokensDto } from 'monaco-editor/esm/vs/editor/common/services/semanticTokensDto.js';
6
6
  import { validateWhenClauses } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
7
- import { matchesSomeScheme } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
8
7
  import { ApiCommand, ApiCommandArgument, ApiCommandResult } from './extHostCommands.js';
9
8
  import { Position as Position$1, Range, WorkspaceSymbol, CallHierarchyItem, CallHierarchyIncomingCall, CallHierarchyOutgoingCall, WorkspaceEdit, DocumentLink, SignatureHelp, Selection as Selection$1, Color, ColorPresentation, InlayHint, FoldingRange, InlineValueContext, InlineValue, ViewColumn, TextEditorOpenOptions, TypeHierarchyItem, MappedEditsContext, DefinitionLink, location, DocumentHighlight, SymbolKind, TextEdit, Hover, CompletionItem, NotebookExclusiveDocumentPattern } from './extHostTypeConverters.js';
10
9
  import { Position, SelectionRange, SemanticTokensLegend, SemanticTokens, CompletionList, Range as Range$1, Selection, ColorInformation, Color as Color$1, SymbolInformation, Location, CodeLens, CodeAction, CodeActionKind } from './extHostTypes.js';
@@ -544,7 +543,7 @@ const newCommands = [
544
543
  'Opens the provided resource with a specific editor.',
545
544
  [
546
545
  ApiCommandArgument.Uri.with('resource', 'Resource to open'),
547
- ApiCommandArgument.String.with('viewId', 'Custom editor view id or \'default\' to use VS Code\'s default editor'),
546
+ ApiCommandArgument.String.with('viewId', 'Custom editor view id. This should be the viewType string for custom editors or the notebookType string for notebooks. Use \'default\' to use VS Code\'s default text editor'),
548
547
  ( new ApiCommandArgument(
549
548
  'columnOrOptions',
550
549
  'Either the column in which to open or editor options, see vscode.TextDocumentShowOptions',
@@ -571,6 +570,29 @@ const newCommands = [
571
570
  ],
572
571
  ApiCommandResult.Void
573
572
  )),
573
+ ( new ApiCommand(
574
+ 'vscode.changes',
575
+ '_workbench.changes',
576
+ 'Opens a list of resources in the changes editor to compare their contents.',
577
+ [
578
+ ApiCommandArgument.String.with('title', 'Human readable title for the changes editor'),
579
+ ( new ApiCommandArgument('resourceList', 'List of resources to compare', resources => {
580
+ for (const resource of resources) {
581
+ if (resource.length !== 3) {
582
+ return false;
583
+ }
584
+ const [label, left, right] = resource;
585
+ if (!URI.isUri(label) ||
586
+ (!URI.isUri(left) && left !== undefined && left !== null) ||
587
+ (!URI.isUri(right) && right !== undefined && right !== null)) {
588
+ return false;
589
+ }
590
+ }
591
+ return true;
592
+ }, v => v))
593
+ ],
594
+ ApiCommandResult.Void
595
+ )),
574
596
  (
575
597
  new ApiCommand(
576
598
  'vscode.prepareTypeHierarchy',