@codingame/monaco-vscode-api 31.0.1 → 32.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 (928) hide show
  1. package/external/@vscode/tree-sitter-wasm/wasm/tree-sitter.js +14 -14
  2. package/external/vscode-semver/semver.js +43 -43
  3. package/external/vscode-textmate/release/main.js +1 -1
  4. package/missing-services.js +143 -47
  5. package/package.json +9 -9
  6. package/services.js +3 -3
  7. package/vscode/product.json.js +1 -1
  8. package/vscode/src/vs/base/browser/animatedValue.d.ts +49 -0
  9. package/vscode/src/vs/{editor/contrib/inlineCompletions/browser/model/animation.js → base/browser/animatedValue.js} +32 -23
  10. package/vscode/src/vs/base/browser/dom.d.ts +42 -2
  11. package/vscode/src/vs/base/browser/dom.js +28 -3
  12. package/vscode/src/vs/base/browser/mouseEvent.js +2 -8
  13. package/vscode/src/vs/base/browser/overlayLayoutElement.d.ts +9 -6
  14. package/vscode/src/vs/base/browser/overlayLayoutElement.js +55 -90
  15. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +3 -2
  16. package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +11 -20
  17. package/vscode/src/vs/base/browser/ui/button/button.d.ts +7 -0
  18. package/vscode/src/vs/base/browser/ui/button/button.js +15 -0
  19. package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
  20. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +0 -1
  21. package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +0 -3
  22. package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
  23. package/vscode/src/vs/base/common/async.d.ts +2 -0
  24. package/vscode/src/vs/base/common/async.js +8 -2
  25. package/vscode/src/vs/base/common/codicons.d.ts +1 -0
  26. package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
  27. package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
  28. package/vscode/src/vs/base/common/event.d.ts +9 -3
  29. package/vscode/src/vs/base/common/event.js +12 -7
  30. package/vscode/src/vs/base/common/filters.js +31 -6
  31. package/vscode/src/vs/base/common/htmlContent.d.ts +9 -0
  32. package/vscode/src/vs/base/common/network.js +2 -2
  33. package/vscode/src/vs/base/common/objects.d.ts +13 -0
  34. package/vscode/src/vs/base/common/objects.js +33 -1
  35. package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
  36. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +26 -0
  37. package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +24 -1
  38. package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +13 -0
  39. package/vscode/src/vs/base/common/observableInternal/utils/promise.js +23 -1
  40. package/vscode/src/vs/base/common/platform.d.ts +0 -1
  41. package/vscode/src/vs/base/common/policy.d.ts +12 -1
  42. package/vscode/src/vs/base/common/product.d.ts +8 -6
  43. package/vscode/src/vs/base/common/resources.js +2 -2
  44. package/vscode/src/vs/base/common/yaml.d.ts +24 -0
  45. package/vscode/src/vs/base/common/yaml.js +6 -1
  46. package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +14 -1
  47. package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +29 -1
  48. package/vscode/src/vs/base/parts/storage/common/storage.d.ts +13 -0
  49. package/vscode/src/vs/base/parts/storage/common/storage.js +48 -2
  50. package/vscode/src/vs/editor/browser/config/elementSizeObserver.js +1 -1
  51. package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +0 -1
  52. package/vscode/src/vs/editor/browser/controller/mouseHandler.js +0 -3
  53. package/vscode/src/vs/editor/browser/editorDom.d.ts +6 -3
  54. package/vscode/src/vs/editor/browser/editorDom.js +9 -2
  55. package/vscode/src/vs/editor/browser/observableCodeEditor.js +1 -1
  56. package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +0 -1
  57. package/vscode/src/vs/editor/browser/services/editorWorkerService.js +0 -3
  58. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +1 -0
  59. package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +56 -9
  60. package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.d.ts +0 -1
  61. package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +0 -3
  62. package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +0 -1
  63. package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +0 -3
  64. package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +0 -1
  65. package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +0 -3
  66. package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +0 -1
  67. package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +0 -3
  68. package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.d.ts +0 -1
  69. package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +0 -3
  70. package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
  71. package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
  72. package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +12 -12
  73. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
  74. package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +4 -4
  75. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
  76. package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -6
  77. package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
  78. package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
  79. package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +1 -1
  80. package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
  81. package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +1 -1
  82. package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +5 -1
  83. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
  84. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +1 -1
  85. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +5 -3
  86. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +41 -13
  87. package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
  88. package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +73 -55
  89. package/vscode/src/vs/editor/common/config/editorOptions.js +371 -370
  90. package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
  91. package/vscode/src/vs/editor/common/editorContextKeys.js +49 -49
  92. package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
  93. package/vscode/src/vs/editor/common/languages.js +56 -56
  94. package/vscode/src/vs/editor/common/model/editStack.js +1 -1
  95. package/vscode/src/vs/editor/common/services/languageService.js +2 -1
  96. package/vscode/src/vs/editor/common/standaloneStrings.js +50 -50
  97. package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +0 -1
  98. package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +0 -3
  99. package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
  100. package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
  101. package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
  102. package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
  103. package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
  104. package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
  105. package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
  106. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +18 -18
  107. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
  108. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
  109. package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
  110. package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
  111. package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
  112. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
  113. package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
  114. package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
  115. package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
  116. package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
  117. package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +13 -13
  118. package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
  119. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
  120. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
  121. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +5 -5
  122. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
  123. package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
  124. package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
  125. package/vscode/src/vs/editor/contrib/find/browser/findController.js +17 -17
  126. package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +28 -28
  127. package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
  128. package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
  129. package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
  130. package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
  131. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
  132. package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +13 -13
  133. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +33 -33
  134. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
  135. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
  136. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
  137. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
  138. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
  139. package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
  140. package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
  141. package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
  142. package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
  143. package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
  144. package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +22 -22
  145. package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
  146. package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
  147. package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
  148. package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
  149. package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +18 -18
  150. package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +5 -5
  151. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
  152. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
  153. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
  154. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
  155. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
  156. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +3 -4
  157. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
  158. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
  159. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +2 -2
  160. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +9 -3
  161. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
  162. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +1 -1
  163. package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
  164. package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
  165. package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
  166. package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
  167. package/vscode/src/vs/editor/contrib/links/browser/links.js +6 -6
  168. package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
  169. package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +1 -1
  170. package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
  171. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
  172. package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
  173. package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
  174. package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
  175. package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
  176. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +11 -11
  177. package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
  178. package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
  179. package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
  180. package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
  181. package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
  182. package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
  183. package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +1 -1
  184. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +1 -0
  185. package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +39 -24
  186. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.d.ts +1 -0
  187. package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +36 -24
  188. package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
  189. package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +9 -9
  190. package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
  191. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
  192. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
  193. package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
  194. package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
  195. package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
  196. package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
  197. package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
  198. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
  199. package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
  200. package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
  201. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
  202. package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
  203. package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
  204. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +0 -2
  205. package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +0 -6
  206. package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +5 -0
  207. package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
  208. package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
  209. package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +52 -10
  210. package/vscode/src/vs/platform/actionWidget/browser/actionList.js +242 -90
  211. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +97 -23
  212. package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +15 -12
  213. package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
  214. package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
  215. package/vscode/src/vs/platform/actions/common/actions.d.ts +6 -3
  216. package/vscode/src/vs/platform/actions/common/actions.js +18 -9
  217. package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
  218. package/vscode/src/vs/platform/actions/common/menuService.d.ts +2 -1
  219. package/vscode/src/vs/platform/actions/common/menuService.js +6 -5
  220. package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +21 -18
  221. package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +11 -0
  222. package/vscode/src/vs/platform/agentHost/browser/nullSshRemoteAgentHostService.d.ts +3 -0
  223. package/vscode/src/vs/platform/agentHost/browser/nullSshRemoteAgentHostService.js +6 -0
  224. package/vscode/src/vs/platform/agentHost/common/agentHostPermissionService.service.d.ts +47 -0
  225. package/vscode/src/vs/platform/agentHost/common/agentHostPermissionService.service.js +6 -0
  226. package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +1 -1
  227. package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +2 -2
  228. package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +63 -22
  229. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +56 -6
  230. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +49 -4
  231. package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +12 -1
  232. package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +2 -0
  233. package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +21 -1
  234. package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +14 -10
  235. package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +957 -0
  236. package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.js +18 -0
  237. package/vscode/src/vs/platform/agentHost/common/state/protocol/messages.d.ts +135 -71
  238. package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +1673 -0
  239. package/vscode/src/vs/platform/agentHost/common/state/protocol/state.js +126 -0
  240. package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +40 -0
  241. package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.js +22 -0
  242. package/vscode/src/vs/platform/browserView/common/browserView.d.ts +67 -38
  243. package/vscode/src/vs/platform/browserView/common/browserView.js +57 -0
  244. package/vscode/src/vs/platform/browserView/common/browserViewTelemetry.d.ts +2 -1
  245. package/vscode/src/vs/platform/browserView/common/playwrightService.service.d.ts +24 -7
  246. package/vscode/src/vs/platform/browserView/common/playwrightService.service.js +6 -0
  247. package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +14 -0
  248. package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
  249. package/vscode/src/vs/platform/configuration/common/configurations.d.ts +2 -0
  250. package/vscode/src/vs/platform/configuration/common/configurations.js +8 -3
  251. package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -1
  252. package/vscode/src/vs/platform/contextkey/common/contextkey.js +10 -10
  253. package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
  254. package/vscode/src/vs/platform/contextkey/common/scanner.js +6 -6
  255. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +1 -1
  256. package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +2 -1
  257. package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
  258. package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
  259. package/vscode/src/vs/platform/editor/common/editor.d.ts +11 -0
  260. package/vscode/src/vs/platform/environment/common/argv.d.ts +4 -1
  261. package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
  262. package/vscode/src/vs/platform/environment/common/environmentService.d.ts +1 -1
  263. package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +14 -14
  264. package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
  265. package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
  266. package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -21
  267. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +18 -0
  268. package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +19 -1
  269. package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
  270. package/vscode/src/vs/platform/files/common/files.js +6 -6
  271. package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
  272. package/vscode/src/vs/platform/hover/browser/hoverService.js +15 -9
  273. package/vscode/src/vs/platform/hover/browser/hoverWidget.d.ts +1 -0
  274. package/vscode/src/vs/platform/hover/browser/hoverWidget.js +21 -4
  275. package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
  276. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +0 -1
  277. package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -8
  278. package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
  279. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
  280. package/vscode/src/vs/platform/list/browser/listService.js +25 -25
  281. package/vscode/src/vs/platform/log/common/log.d.ts +7 -0
  282. package/vscode/src/vs/platform/log/common/log.js +38 -17
  283. package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
  284. package/vscode/src/vs/platform/markers/common/markers.js +6 -6
  285. package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
  286. package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
  287. package/vscode/src/vs/platform/native/common/native.d.ts +2 -9
  288. package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.d.ts +5 -3
  289. package/vscode/src/vs/platform/notification/common/notification.js +3 -3
  290. package/vscode/src/vs/platform/policy/common/policy.d.ts +8 -1
  291. package/vscode/src/vs/platform/product/common/product.js +3 -3
  292. package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +1 -1
  293. package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
  294. package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
  295. package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
  296. package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
  297. package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
  298. package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
  299. package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
  300. package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
  301. package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +1 -1
  302. package/vscode/src/vs/platform/request/common/request.js +20 -20
  303. package/vscode/src/vs/platform/sandbox/common/settings.d.ts +5 -1
  304. package/vscode/src/vs/platform/sandbox/common/settings.js +4 -0
  305. package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +8 -2
  306. package/vscode/src/vs/platform/storage/common/storage.d.ts +13 -1
  307. package/vscode/src/vs/platform/storage/common/storage.js +48 -0
  308. package/vscode/src/vs/platform/storage/common/storage.service.d.ts +2 -1
  309. package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +5 -0
  310. package/vscode/src/vs/platform/telemetry/common/telemetry.js +4 -1
  311. package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
  312. package/vscode/src/vs/platform/terminal/common/terminal.d.ts +3 -0
  313. package/vscode/src/vs/platform/terminal/common/terminal.js +3 -0
  314. package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +97 -31
  315. package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
  316. package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +6 -0
  317. package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
  318. package/vscode/src/vs/platform/theme/common/colors/baseColors.d.ts +1 -0
  319. package/vscode/src/vs/platform/theme/common/colors/baseColors.js +27 -18
  320. package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
  321. package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
  322. package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
  323. package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
  324. package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
  325. package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
  326. package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
  327. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.d.ts +1 -0
  328. package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +18 -10
  329. package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
  330. package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -7
  331. package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +11 -11
  332. package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
  333. package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
  334. package/vscode/src/vs/platform/url/common/trustedDomains.d.ts +1 -0
  335. package/vscode/src/vs/platform/url/common/trustedDomains.js +2 -2
  336. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +26 -2
  337. package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +35 -31
  338. package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +3 -2
  339. package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
  340. package/vscode/src/vs/platform/userDataSync/common/globalStateSync.js +37 -11
  341. package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
  342. package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
  343. package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +2 -0
  344. package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
  345. package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
  346. package/vscode/src/vs/platform/webWorker/browser/webWorkerServiceImpl.d.ts +1 -1
  347. package/vscode/src/vs/platform/workspace/common/workspace.d.ts +7 -1
  348. package/vscode/src/vs/platform/workspace/common/workspace.js +9 -3
  349. package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
  350. package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +61 -4
  351. package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +86 -5
  352. package/vscode/src/vs/workbench/api/common/extHost.protocol.js +11 -1
  353. package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
  354. package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +29 -9
  355. package/vscode/src/vs/workbench/api/common/extHostChatDebug.js +7 -0
  356. package/vscode/src/vs/workbench/api/common/extHostChatInputNotification.d.ts +9 -0
  357. package/vscode/src/vs/workbench/api/common/extHostChatInputNotification.js +114 -0
  358. package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +2 -0
  359. package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +89 -16
  360. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +3 -0
  361. package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +139 -8
  362. package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
  363. package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
  364. package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
  365. package/vscode/src/vs/workbench/api/common/extHostGitExtensionService.js +3 -3
  366. package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
  367. package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +7 -1
  368. package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +11 -2
  369. package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
  370. package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
  371. package/vscode/src/vs/workbench/api/common/extHostSCM.js +20 -0
  372. package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
  373. package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
  374. package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
  375. package/vscode/src/vs/workbench/api/common/extHostTreeViews.d.ts +1 -1
  376. package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
  377. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +5 -1
  378. package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +20 -3
  379. package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +14 -0
  380. package/vscode/src/vs/workbench/api/common/extHostTypes.js +17 -1
  381. package/vscode/src/vs/workbench/api/common/extHostWebview.d.ts +11 -0
  382. package/vscode/src/vs/workbench/api/common/extHostWebview.js +9 -0
  383. package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
  384. package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
  385. package/vscode/src/vs/workbench/browser/actions/developerActions.js +59 -35
  386. package/vscode/src/vs/workbench/browser/actions/layoutActions.d.ts +1 -2
  387. package/vscode/src/vs/workbench/browser/actions/layoutActions.js +141 -188
  388. package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
  389. package/vscode/src/vs/workbench/browser/actions/windowActions.js +34 -34
  390. package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +32 -32
  391. package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
  392. package/vscode/src/vs/workbench/browser/editor.js +2 -2
  393. package/vscode/src/vs/workbench/browser/labels.js +4 -4
  394. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +23 -23
  395. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
  396. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +4 -4
  397. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
  398. package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
  399. package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
  400. package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
  401. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
  402. package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
  403. package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
  404. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -38
  405. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -12
  406. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
  407. package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +32 -14
  408. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.d.ts +2 -0
  409. package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +160 -137
  410. package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +56 -36
  411. package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +2 -1
  412. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
  413. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +9 -8
  414. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
  415. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
  416. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +28 -3
  417. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
  418. package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
  419. package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
  420. package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
  421. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.d.ts +9 -0
  422. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +80 -4
  423. package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +4 -0
  424. package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +15 -7
  425. package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +3 -1
  426. package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +62 -31
  427. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +1 -0
  428. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +12 -3
  429. package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.d.ts +1 -0
  430. package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +6 -0
  431. package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
  432. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +1 -0
  433. package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +6 -0
  434. package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
  435. package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
  436. package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
  437. package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
  438. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
  439. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
  440. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
  441. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +13 -13
  442. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
  443. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
  444. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
  445. package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
  446. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
  447. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +3 -3
  448. package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
  449. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +3 -3
  450. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
  451. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
  452. package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +12 -85
  453. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +7 -0
  454. package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +17 -16
  455. package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
  456. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
  457. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
  458. package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
  459. package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +5 -5
  460. package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
  461. package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
  462. package/vscode/src/vs/workbench/browser/window.js +15 -14
  463. package/vscode/src/vs/workbench/browser/workbench.contribution.js +332 -317
  464. package/vscode/src/vs/workbench/common/configuration.js +9 -9
  465. package/vscode/src/vs/workbench/common/contextkeys.d.ts +3 -0
  466. package/vscode/src/vs/workbench/common/contextkeys.js +91 -83
  467. package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
  468. package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +2 -1
  469. package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
  470. package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
  471. package/vscode/src/vs/workbench/common/editor.d.ts +8 -0
  472. package/vscode/src/vs/workbench/common/editor.js +4 -4
  473. package/vscode/src/vs/workbench/common/memento.d.ts +1 -0
  474. package/vscode/src/vs/workbench/common/memento.js +19 -0
  475. package/vscode/src/vs/workbench/common/theme.js +161 -161
  476. package/vscode/src/vs/workbench/common/views.d.ts +9 -9
  477. package/vscode/src/vs/workbench/common/views.js +11 -11
  478. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
  479. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -156
  480. package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
  481. package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +25 -5
  482. package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +63 -39
  483. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +39 -33
  484. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +454 -0
  485. package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +20 -10
  486. package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +97 -67
  487. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service.d.ts +2 -1
  488. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +4 -8
  489. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +14 -16
  490. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +17 -0
  491. package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +36 -2
  492. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +129 -0
  493. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.d.ts +51 -0
  494. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.js +6 -0
  495. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +3 -4
  496. package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +20 -5
  497. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.service.d.ts +2 -1
  498. package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
  499. package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +8 -0
  500. package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +7 -4
  501. package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
  502. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
  503. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +13 -1
  504. package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +103 -67
  505. package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -3
  506. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service.d.ts +26 -0
  507. package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service.js +6 -0
  508. package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.d.ts +17 -0
  509. package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.js +6 -0
  510. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +31 -0
  511. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.js +6 -0
  512. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.d.ts +36 -0
  513. package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.js +6 -0
  514. package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
  515. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +3 -0
  516. package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +94 -85
  517. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +14 -1
  518. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +6 -3
  519. package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +7 -0
  520. package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +4 -0
  521. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +26 -30
  522. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +94 -54
  523. package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +14 -9
  524. package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +49 -4
  525. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +129 -3
  526. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +15 -2
  527. package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +23 -1
  528. package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -2
  529. package/vscode/src/vs/workbench/contrib/chat/common/constants.js +15 -3
  530. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +64 -49
  531. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +162 -45
  532. package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +38 -1
  533. package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
  534. package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +3 -3
  535. package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +11 -11
  536. package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
  537. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +6 -7
  538. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +42 -122
  539. package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +7 -1
  540. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +17 -2
  541. package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +48 -13
  542. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatElicitationRequestPart.d.ts +8 -1
  543. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatElicitationRequestPart.js +2 -1
  544. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.d.ts +2 -0
  545. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.js +9 -0
  546. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.d.ts +5 -0
  547. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.js +13 -0
  548. package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
  549. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +7 -1
  550. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +1 -1
  551. package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.service.d.ts +1 -1
  552. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +50 -0
  553. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +32 -0
  554. package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.service.d.ts +1 -1
  555. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.d.ts +17 -1
  556. package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +11 -0
  557. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +100 -39
  558. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +0 -4
  559. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +1 -2
  560. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +12 -3
  561. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +20 -16
  562. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +50 -0
  563. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +77 -0
  564. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +77 -0
  565. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +120 -0
  566. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +10 -0
  567. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +23 -0
  568. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
  569. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
  570. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +91 -77
  571. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +2 -0
  572. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +4 -0
  573. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +5 -0
  574. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +29 -1
  575. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +5 -18
  576. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +1 -4
  577. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +1 -1
  578. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +234 -0
  579. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +1686 -0
  580. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +191 -0
  581. package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +734 -0
  582. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.d.ts +2 -1
  583. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.js +6 -3
  584. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +1 -0
  585. package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +14 -3
  586. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +4 -2
  587. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +55 -36
  588. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +6 -1
  589. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
  590. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
  591. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +3 -3
  592. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
  593. package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
  594. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.d.ts +6 -0
  595. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
  596. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +25 -5
  597. package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
  598. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.d.ts +39 -0
  599. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service.d.ts +12 -0
  600. package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service.js +6 -0
  601. package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
  602. package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
  603. package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
  604. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
  605. package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
  606. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
  607. package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
  608. package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
  609. package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
  610. package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
  611. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
  612. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
  613. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
  614. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +12 -12
  615. package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
  616. package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
  617. package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
  618. package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
  619. package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
  620. package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
  621. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
  622. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
  623. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
  624. package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
  625. package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
  626. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.d.ts +2 -1
  627. package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +22 -13
  628. package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
  629. package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
  630. package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
  631. package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
  632. package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
  633. package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
  634. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.d.ts +101 -0
  635. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +428 -0
  636. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.d.ts +1 -0
  637. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +7 -13
  638. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
  639. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
  640. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +22 -15
  641. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +91 -76
  642. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
  643. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +17 -15
  644. package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
  645. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
  646. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
  647. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
  648. package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
  649. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
  650. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
  651. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
  652. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +26 -21
  653. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
  654. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
  655. package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
  656. package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
  657. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
  658. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
  659. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
  660. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
  661. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
  662. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
  663. package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
  664. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +7 -0
  665. package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.d.ts +2 -1
  666. package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +18 -18
  667. package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
  668. package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
  669. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +42 -48
  670. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
  671. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
  672. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
  673. package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +175 -149
  674. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.d.ts +11 -0
  675. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +181 -181
  676. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
  677. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
  678. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
  679. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
  680. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
  681. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
  682. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +47 -47
  683. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
  684. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
  685. package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +76 -76
  686. package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
  687. package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
  688. package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
  689. package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
  690. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
  691. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
  692. package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
  693. package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
  694. package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
  695. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
  696. package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
  697. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
  698. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
  699. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
  700. package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
  701. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +49 -49
  702. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +94 -89
  703. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
  704. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
  705. package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
  706. package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +30 -27
  707. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +54 -51
  708. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
  709. package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
  710. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
  711. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
  712. package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
  713. package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
  714. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
  715. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
  716. package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
  717. package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
  718. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
  719. package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
  720. package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
  721. package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
  722. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +4 -5
  723. package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
  724. package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
  725. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +67 -66
  726. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
  727. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.d.ts +5 -0
  728. package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +49 -43
  729. package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +22 -16
  730. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +10 -2
  731. package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
  732. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
  733. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
  734. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
  735. package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
  736. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
  737. package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
  738. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
  739. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +4 -4
  740. package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
  741. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
  742. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
  743. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
  744. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
  745. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
  746. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
  747. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +0 -1
  748. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +34 -48
  749. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
  750. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
  751. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
  752. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
  753. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
  754. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
  755. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
  756. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
  757. package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
  758. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
  759. package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
  760. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
  761. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
  762. package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
  763. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
  764. package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
  765. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
  766. package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +11 -11
  767. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
  768. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.d.ts +8 -2
  769. package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +30 -7
  770. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -0
  771. package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -4
  772. package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
  773. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
  774. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
  775. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
  776. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
  777. package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
  778. package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +15 -51
  779. package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +19 -14
  780. package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
  781. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.d.ts +17 -1
  782. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +66 -3
  783. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
  784. package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
  785. package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
  786. package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
  787. package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
  788. package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
  789. package/vscode/src/vs/workbench/contrib/search/browser/searchView.d.ts +1 -1
  790. package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +57 -57
  791. package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
  792. package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
  793. package/vscode/src/vs/workbench/contrib/search/common/search.d.ts +5 -5
  794. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
  795. package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
  796. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
  797. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
  798. package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
  799. package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
  800. package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
  801. package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
  802. package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
  803. package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
  804. package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.service.d.ts +9 -0
  805. package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +6 -0
  806. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
  807. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
  808. package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
  809. package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
  810. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
  811. package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -10
  812. package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
  813. package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
  814. package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
  815. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +3 -0
  816. package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +3 -0
  817. package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
  818. package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
  819. package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +9 -9
  820. package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +189 -69
  821. package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
  822. package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
  823. package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +6 -3
  824. package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
  825. package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
  826. package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
  827. package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
  828. package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
  829. package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
  830. package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
  831. package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
  832. package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
  833. package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
  834. package/vscode/src/vs/workbench/contrib/webview/browser/webview.d.ts +2 -4
  835. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
  836. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.d.ts +1 -2
  837. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +9 -24
  838. package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +14 -14
  839. package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
  840. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +2 -1
  841. package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +5 -3
  842. package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
  843. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
  844. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +19 -7
  845. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +137 -84
  846. package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +10 -0
  847. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
  848. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
  849. package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
  850. package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +2 -2
  851. package/vscode/src/vs/workbench/services/editor/browser/editorService.js +7 -3
  852. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +7 -4
  853. package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +14 -3
  854. package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +8 -0
  855. package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -2
  856. package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -1
  857. package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +9 -9
  858. package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
  859. package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
  860. package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
  861. package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
  862. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.d.ts +4 -0
  863. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +39 -1
  864. package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.d.ts +1 -0
  865. package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
  866. package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
  867. package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
  868. package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
  869. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +43 -0
  870. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +33 -0
  871. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.service.d.ts +14 -0
  872. package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.service.js +6 -0
  873. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
  874. package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
  875. package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
  876. package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
  877. package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
  878. package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
  879. package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
  880. package/vscode/src/vs/workbench/services/search/common/ignoreFile.js +7 -2
  881. package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +3 -3
  882. package/vscode/src/vs/workbench/services/search/common/search.d.ts +1 -1
  883. package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +4 -0
  884. package/vscode/src/vs/workbench/services/storage/browser/storageService.js +30 -2
  885. package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
  886. package/vscode/src/vs/workbench/services/textfile/common/encoding.js +20 -15
  887. package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
  888. package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
  889. package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
  890. package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
  891. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
  892. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.d.ts +0 -1
  893. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -5
  894. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
  895. package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
  896. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
  897. package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +3 -3
  898. package/vscode-dts/vscode.d.ts +3 -1
  899. package/vscode-dts/vscode.proposed.agentsWindowConfiguration.d.ts +8 -0
  900. package/vscode-dts/vscode.proposed.chatDebug.d.ts +31 -0
  901. package/vscode-dts/vscode.proposed.chatInputNotification.d.ts +118 -0
  902. package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -0
  903. package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +32 -0
  904. package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +29 -0
  905. package/vscode-dts/vscode.proposed.chatProvider.d.ts +2 -8
  906. package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +16 -0
  907. package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +68 -10
  908. package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +1 -1
  909. package/vscode-dts/vscode.proposed.customEditorDiffs.d.ts +67 -0
  910. package/vscode-dts/vscode.proposed.customEditorPriority.d.ts +6 -0
  911. package/vscode-dts/vscode.proposed.d.ts +6 -0
  912. package/vscode-dts/vscode.proposed.documentDiff.d.ts +145 -0
  913. package/vscode-dts/vscode.proposed.languageModelPricing.d.ts +70 -0
  914. package/vscode/src/vs/base/common/defaultAccount.d.ts +0 -58
  915. package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.d.ts +0 -32
  916. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatHistoryService.service.d.ts +0 -10
  917. package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatHistoryService.service.js +0 -6
  918. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.d.ts +0 -72
  919. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +0 -998
  920. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.d.ts +0 -17
  921. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +0 -49
  922. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.d.ts +0 -5
  923. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +0 -12
  924. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.d.ts +0 -88
  925. package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +0 -464
  926. package/vscode/src/vs/workbench/contrib/mcp/browser/media/mcpServerEditor.css +0 -94
  927. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.d.ts +0 -16
  928. package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +0 -475
@@ -233,9 +233,9 @@ let ExtHostGitExtensionService = class ExtHostGitExtensionService extends Dispos
233
233
  extensionId: ( new ExtensionIdentifier(GIT_EXTENSION_ID)),
234
234
  activationEvent: "api"
235
235
  });
236
- const exports$1 = this._extHostExtensionService.getExtensionExports(( new ExtensionIdentifier(GIT_EXTENSION_ID)));
237
- if (!!exports$1 && typeof exports$1.getAPI === "function") {
238
- this._gitApi = exports$1.getAPI(1);
236
+ const exports = this._extHostExtensionService.getExtensionExports(( new ExtensionIdentifier(GIT_EXTENSION_ID)));
237
+ if (!!exports && typeof exports.getAPI === "function") {
238
+ this._gitApi = exports.getAPI(1);
239
239
  }
240
240
  } catch {}
241
241
  return this._gitApi;
@@ -574,7 +574,7 @@ class DocumentPasteEditProvider {
574
574
  return (edits.map((edit, i) => ({
575
575
  _cacheId: [cacheId, i],
576
576
  title: edit.title ?? ( localize(
577
- 2744,
577
+ 2787,
578
578
  "Paste using '{0}' extension",
579
579
  this._extension.displayName || this._extension.name
580
580
  )),
@@ -1832,7 +1832,7 @@ class DocumentDropEditAdapter {
1832
1832
  return (editsArray.map((edit, i) => ({
1833
1833
  _cacheId: [cacheId, i],
1834
1834
  title: edit.title ?? ( localize(
1835
- 2745,
1835
+ 2788,
1836
1836
  "Drop using '{0}' extension",
1837
1837
  this._extension.displayName || this._extension.name
1838
1838
  )),
@@ -97,7 +97,9 @@ class ExtHostLanguageModelTools {
97
97
  chatInteractionId: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.chatInteractionId : undefined,
98
98
  subAgentInvocationId: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.subAgentInvocationId : undefined,
99
99
  chatStreamToolCallId: isProposedApiEnabled(extension, "chatParticipantAdditions") ? options.chatStreamToolCallId : undefined,
100
- preToolUseResult: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.preToolUseResult : undefined
100
+ preToolUseResult: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.preToolUseResult : undefined,
101
+ traceparent: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.traceparent : undefined,
102
+ tracestate: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.tracestate : undefined
101
103
  }, token);
102
104
  const dto = result instanceof SerializableObjectWithBuffers ? result.value : result;
103
105
  return LanguageModelToolResult.to(revive(dto));
@@ -149,7 +151,10 @@ class ExtHostLanguageModelTools {
149
151
  options.chatRequestId = dto.chatRequestId;
150
152
  options.chatInteractionId = dto.chatInteractionId;
151
153
  options.chatSessionResource = URI.revive(dto.context?.sessionResource);
154
+ options.workingDirectory = URI.revive(dto.context?.workingDirectory);
152
155
  options.subAgentInvocationId = dto.subAgentInvocationId;
156
+ options.traceparent = dto.traceparent;
157
+ options.tracestate = dto.tracestate;
153
158
  }
154
159
  if (isProposedApiEnabled(item.extension) && dto.modelId) {
155
160
  options.model = await this.getModel(dto.modelId, item.extension);
@@ -230,6 +235,7 @@ class ExtHostLanguageModelTools {
230
235
  chatRequestId: context.chatRequestId,
231
236
  chatSessionResource: context.chatSessionResource,
232
237
  chatInteractionId: context.chatInteractionId,
238
+ workingDirectory: URI.revive(context.workingDirectory),
233
239
  forceConfirmationReason: context.forceConfirmationReason
234
240
  };
235
241
  if (context.forceConfirmationReason) {
@@ -179,8 +179,12 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
179
179
  detail: m.detail,
180
180
  tooltip: m.tooltip,
181
181
  version: m.version,
182
- multiplier: m.multiplier,
183
182
  multiplierNumeric: m.multiplierNumeric,
183
+ pricing: m.pricing,
184
+ inputCost: m.inputCost,
185
+ outputCost: m.outputCost,
186
+ cacheCost: m.cacheCost,
187
+ priceCategory: m.priceCategory,
184
188
  maxInputTokens: m.maxInputTokens,
185
189
  maxOutputTokens: m.maxOutputTokens,
186
190
  auth,
@@ -371,6 +375,11 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
371
375
  family: model.info.family,
372
376
  version: model.info.version,
373
377
  name: model.info.name,
378
+ pricing: model.metadata.pricing,
379
+ inputCost: model.metadata.inputCost,
380
+ outputCost: model.metadata.outputCost,
381
+ cacheCost: model.metadata.cacheCost,
382
+ priceCategory: model.metadata.priceCategory,
374
383
  capabilities: {
375
384
  supportsImageToText: model.metadata.capabilities?.vision ?? false,
376
385
  supportsToolCalling: !!model.metadata.capabilities?.toolCalling,
@@ -491,7 +500,7 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
491
500
  return false;
492
501
  }
493
502
  try {
494
- const detail = justification ? ( localize(2746, "Justification: {1}", to.displayName, justification)) : undefined;
503
+ const detail = justification ? ( localize(2789, "Justification: {1}", to.displayName, justification)) : undefined;
495
504
  await this._extHostAuthentication.getSession(from, providerId, [], {
496
505
  forceNewSession: {
497
506
  detail
@@ -8,7 +8,7 @@ import { IExtHostInitDataService } from './extHostInitDataService.js';
8
8
  let ExtHostLogService = class ExtHostLogService extends LogService {
9
9
  constructor(isWorker, loggerService, initData) {
10
10
  const id = initData.remote.isRemote ? "remoteexthost" : isWorker ? "workerexthost" : "exthost";
11
- const name = initData.remote.isRemote ? ( localize(2747, "Extension Host (Remote)")) : isWorker ? ( localize(2748, "Extension Host (Worker)")) : ( localize(2749, "Extension Host"));
11
+ const name = initData.remote.isRemote ? ( localize(2790, "Extension Host (Remote)")) : isWorker ? ( localize(2791, "Extension Host (Worker)")) : ( localize(2792, "Extension Host"));
12
12
  super(loggerService.createLogger(id, {
13
13
  name
14
14
  }));
@@ -276,7 +276,7 @@ class ExtHostNotebookController {
276
276
  ));
277
277
  }
278
278
  if (!this._extHostFileSystem.value.isWritableFileSystem(uri.scheme)) {
279
- throw new FileOperationError(( localize(2750, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
279
+ throw new FileOperationError(( localize(2793, "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(2751, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
475
+ throw new FileOperationError(( localize(2794, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
476
476
  }
477
477
  return;
478
478
  }
@@ -928,6 +928,26 @@ let ExtHostSCM = class ExtHostSCM {
928
928
  const sourceControls = this._sourceControlsByExtension.get(extension.identifier) || [];
929
929
  sourceControls.push(sourceControl);
930
930
  this._sourceControlsByExtension.set(extension.identifier, sourceControls);
931
+ Event.once(sourceControl.onDidDispose)(() => {
932
+ this.logService.trace(
933
+ "ExtHostSCM#disposeSourceControl",
934
+ extension.identifier.value,
935
+ id,
936
+ label,
937
+ rootUri
938
+ );
939
+ this._sourceControls.delete(sourceControl.handle);
940
+ const sourceControls = this._sourceControlsByExtension.get(extension.identifier);
941
+ if (sourceControls) {
942
+ const index = sourceControls.indexOf(sourceControl);
943
+ if (index !== -1) {
944
+ sourceControls.splice(index, 1);
945
+ }
946
+ if (sourceControls.length === 0) {
947
+ this._sourceControlsByExtension.delete(extension.identifier);
948
+ }
949
+ }
950
+ });
931
951
  return sourceControl;
932
952
  }
933
953
  getLastInputBox(extension) {
@@ -195,7 +195,7 @@ class ExtHostStatusBarEntry {
195
195
  name = this._name;
196
196
  } else {
197
197
  name = ( localize(
198
- 2752,
198
+ 2795,
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(2753, "Extension Status"));
251
+ this._item.name = ( localize(2796, "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
- 2754,
33
+ 2797,
34
34
  "Extension Telemetry{0}",
35
35
  this._inLoggingOnlyMode ? " (Not Sent)" : ""
36
36
  )),
@@ -551,7 +551,7 @@ let BaseExtHostTerminalService = class BaseExtHostTerminalService extends Dispos
551
551
  const terminal = this.getTerminalById(id);
552
552
  if (!terminal) {
553
553
  return {
554
- message: ( localize(2755, "Could not find the terminal with id {0} on the extension host", id))
554
+ message: ( localize(2798, "Could not find the terminal with id {0} on the extension host", id))
555
555
  };
556
556
  }
557
557
  if (!terminal.isOpen) {
@@ -15,7 +15,7 @@ export declare class ExtHostTreeViews extends Disposable implements ExtHostTreeV
15
15
  constructor(_proxy: MainThreadTreeViewsShape, _commands: ExtHostCommands, _logService: ILogService);
16
16
  registerTreeDataProvider<T>(id: string, treeDataProvider: vscode.TreeDataProvider<T>, extension: IExtensionDescription): vscode.Disposable;
17
17
  createTreeView<T>(viewId: string, options: vscode.TreeViewOptions<T>, extension: IExtensionDescription): vscode.TreeView<T>;
18
- $getChildren(treeViewId: string, treeItemHandles?: string[]): Promise<(number | ITreeItem)[][] | undefined>;
18
+ $getChildren(treeViewId: string, treeItemHandles?: string[]): Promise<(readonly (number | ITreeItem)[])[] | undefined>;
19
19
  $handleDrop(destinationViewId: string, requestId: number, treeDataTransferDTO: DataTransferDTO, targetItemHandle: string | undefined, token: CancellationToken, operationUuid?: string, sourceViewId?: string, sourceTreeItemHandles?: string[]): Promise<void>;
20
20
  private _addAdditionalTransferItems;
21
21
  $handleDrag(sourceViewId: string, sourceTreeItemHandles: string[], operationUuid: string, token: CancellationToken): Promise<DataTransferDTO | undefined>;
@@ -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(2756, "Private")),
167
+ label: ( localize(2799, "Private")),
168
168
  themeIcon: "lock"
169
169
  }, {
170
170
  id: "public",
171
- label: ( localize(2757, "Public")),
171
+ label: ( localize(2800, "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, IChatWorkspaceEdit } from "../../contrib/chat/common/chatService/chatService.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";
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";
@@ -507,6 +507,10 @@ export declare namespace ChatResponseWarningPart {
507
507
  function from(part: vscode.ChatResponseWarningPart): Dto<IChatWarningMessage>;
508
508
  function to(part: Dto<IChatWarningMessage>): vscode.ChatResponseWarningPart;
509
509
  }
510
+ export declare namespace ChatResponseInfoPart {
511
+ function from(part: vscode.ChatResponseInfoPart): Dto<IChatInfoMessage>;
512
+ function to(part: Dto<IChatInfoMessage>): vscode.ChatResponseInfoPart;
513
+ }
510
514
  export declare namespace ChatResponseExtensionsPart {
511
515
  function from(part: vscode.ChatResponseExtensionsPart): Dto<IChatExtensionsContent>;
512
516
  }
@@ -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, 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, 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';
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';
@@ -2829,6 +2829,20 @@ var ChatResponseWarningPart;
2829
2829
  }
2830
2830
  ChatResponseWarningPart.to = to;
2831
2831
  })(ChatResponseWarningPart || (ChatResponseWarningPart = {}));
2832
+ var ChatResponseInfoPart;
2833
+ (function(ChatResponseInfoPart) {
2834
+ function from(part) {
2835
+ return {
2836
+ kind: "info",
2837
+ content: MarkdownString.from(part.value)
2838
+ };
2839
+ }
2840
+ ChatResponseInfoPart.from = from;
2841
+ function to(part) {
2842
+ return new ChatResponseInfoPart$1(part.content.value);
2843
+ }
2844
+ ChatResponseInfoPart.to = to;
2845
+ })(ChatResponseInfoPart || (ChatResponseInfoPart = {}));
2832
2846
  var ChatResponseExtensionsPart;
2833
2847
  (function(ChatResponseExtensionsPart) {
2834
2848
  function from(part) {
@@ -3294,6 +3308,8 @@ var ChatResponsePart;
3294
3308
  return ChatResponseCodeblockUriPart.from(part);
3295
3309
  } else if (part instanceof ChatResponseWarningPart$1) {
3296
3310
  return ChatResponseWarningPart.from(part);
3311
+ } else if (part instanceof ChatResponseInfoPart$1) {
3312
+ return ChatResponseInfoPart.from(part);
3297
3313
  } else if (part instanceof ChatResponseConfirmationPart$1) {
3298
3314
  return ChatResponseConfirmationPart.from(part);
3299
3315
  } else if (part instanceof ChatResponseQuestionCarouselPart$1) {
@@ -3388,7 +3404,8 @@ var ChatAgentRequest;
3388
3404
  rejectedConfirmationData: request.rejectedConfirmationData,
3389
3405
  location2,
3390
3406
  toolInvocationToken: ( Object.freeze({
3391
- sessionResource: request.sessionResource
3407
+ sessionResource: request.sessionResource,
3408
+ workingDirectory: URI.revive(request.workingDirectory)
3392
3409
  })),
3393
3410
  tools,
3394
3411
  model,
@@ -4197,4 +4214,4 @@ var ChatSessionItem;
4197
4214
  ChatSessionItem.from = from;
4198
4215
  })(ChatSessionItem || (ChatSessionItem = {}));
4199
4216
 
4200
- export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatHookCommand, ChatLanguageModelToolReference, ChatLocation, ChatPromptReference, ChatRequestHooksConverter, ChatRequestModeInstructions, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseHookPart, 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 };
4217
+ 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 };
@@ -1532,6 +1532,10 @@ export declare class ChatResponseWarningPart {
1532
1532
  value: vscode.MarkdownString;
1533
1533
  constructor(value: string | vscode.MarkdownString);
1534
1534
  }
1535
+ export declare class ChatResponseInfoPart {
1536
+ value: vscode.MarkdownString;
1537
+ constructor(value: string | vscode.MarkdownString);
1538
+ }
1535
1539
  export declare class ChatResponseCommandButtonPart {
1536
1540
  value: vscode.Command;
1537
1541
  constructor(value: vscode.Command);
@@ -1801,10 +1805,13 @@ export declare class ChatDebugModelTurnEvent {
1801
1805
  created: Date;
1802
1806
  parentEventId?: string;
1803
1807
  model?: string;
1808
+ requestName?: string;
1804
1809
  inputTokens?: number;
1805
1810
  outputTokens?: number;
1811
+ cachedTokens?: number;
1806
1812
  totalTokens?: number;
1807
1813
  cost?: number;
1814
+ copilotUsageNanoAiu?: number;
1808
1815
  durationInMillis?: number;
1809
1816
  constructor(created: Date);
1810
1817
  }
@@ -1891,12 +1898,14 @@ export declare class ChatDebugEventModelTurnContent {
1891
1898
  status?: string;
1892
1899
  durationInMillis?: number;
1893
1900
  timeToFirstTokenInMillis?: number;
1901
+ requestId?: string;
1894
1902
  maxInputTokens?: number;
1895
1903
  maxOutputTokens?: number;
1896
1904
  inputTokens?: number;
1897
1905
  outputTokens?: number;
1898
1906
  cachedTokens?: number;
1899
1907
  totalTokens?: number;
1908
+ requestOptions?: string;
1900
1909
  errorMessage?: string;
1901
1910
  sections?: ChatDebugMessageSection[];
1902
1911
  constructor(requestName: string);
@@ -1974,6 +1983,11 @@ export declare enum ChatErrorLevel {
1974
1983
  Warning = 1,
1975
1984
  Error = 2
1976
1985
  }
1986
+ export declare enum ChatInputNotificationSeverity {
1987
+ Info = 0,
1988
+ Warning = 1,
1989
+ Error = 2
1990
+ }
1977
1991
  export declare class LanguageModelChatMessage implements vscode.LanguageModelChatMessage {
1978
1992
  static User(content: string | (LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart | LanguageModelDataPart)[], name?: string): LanguageModelChatMessage;
1979
1993
  static Assistant(content: string | (LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart | LanguageModelDataPart)[], name?: string): LanguageModelChatMessage;
@@ -2473,6 +2473,16 @@ class ChatResponseWarningPart {
2473
2473
  this.value = typeof value === "string" ? ( new MarkdownString(value)) : value;
2474
2474
  }
2475
2475
  }
2476
+ class ChatResponseInfoPart {
2477
+ constructor(value) {
2478
+ if (typeof value !== "string" && value.isTrusted === true) {
2479
+ throw ( new Error(
2480
+ "The boolean form of MarkdownString.isTrusted is NOT supported for chat participants."
2481
+ ));
2482
+ }
2483
+ this.value = typeof value === "string" ? ( new MarkdownString(value)) : value;
2484
+ }
2485
+ }
2476
2486
  class ChatResponseCommandButtonPart {
2477
2487
  constructor(value) {
2478
2488
  this.value = value;
@@ -2856,6 +2866,12 @@ var ChatErrorLevel;
2856
2866
  ChatErrorLevel[ChatErrorLevel["Warning"] = 1] = "Warning";
2857
2867
  ChatErrorLevel[ChatErrorLevel["Error"] = 2] = "Error";
2858
2868
  })(ChatErrorLevel || (ChatErrorLevel = {}));
2869
+ var ChatInputNotificationSeverity;
2870
+ (function(ChatInputNotificationSeverity) {
2871
+ ChatInputNotificationSeverity[ChatInputNotificationSeverity["Info"] = 0] = "Info";
2872
+ ChatInputNotificationSeverity[ChatInputNotificationSeverity["Warning"] = 1] = "Warning";
2873
+ ChatInputNotificationSeverity[ChatInputNotificationSeverity["Error"] = 2] = "Error";
2874
+ })(ChatInputNotificationSeverity || (ChatInputNotificationSeverity = {}));
2859
2875
  class LanguageModelChatMessage {
2860
2876
  static User(content, name) {
2861
2877
  return ( new LanguageModelChatMessage(LanguageModelChatMessageRole.User, content, name));
@@ -3130,4 +3146,4 @@ class McpHttpServerDefinition {
3130
3146
  }
3131
3147
  }
3132
3148
 
3133
- 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, ChatLocation, ChatQuestion, ChatQuestionType, ChatReferenceBinaryData, ChatReferenceDiagnostic, ChatRequestEditedFileEventKind, ChatRequestEditorData, ChatRequestNotebookData, ChatRequestTurn, ChatResponseAnchorPart, ChatResponseClearToPreviousToolInvocationReason, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseFileTreePart, ChatResponseHookPart, 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 };
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 };
@@ -39,6 +39,17 @@ export declare class ExtHostWebviews extends Disposable implements extHostProtoc
39
39
  $onMessage(handle: extHostProtocol.WebviewHandle, jsonMessage: string, buffers: SerializableObjectWithBuffers<VSBuffer[]>): void;
40
40
  $onMissingCsp(_handle: extHostProtocol.WebviewHandle, extensionId: string): void;
41
41
  createNewWebview(handle: string, options: extHostProtocol.IWebviewContentOptions, extension: IExtensionDescription): ExtHostWebview;
42
+ /**
43
+ * Ensures that the main thread side of the webview has `localResourceRoots`
44
+ * populated when the caller did not supply any.
45
+ *
46
+ * This honors the documented `WebviewOptions.localResourceRoots` contract
47
+ * ("Default to ... the workspace folders and the extension's install
48
+ * directory") for code paths that construct the webview's content options
49
+ * outside of the extension host (e.g. custom editors), where the main
50
+ * thread starts with empty content options.
51
+ */
52
+ ensureDefaultContentOptions(handle: extHostProtocol.WebviewHandle, contentOptions: extHostProtocol.IWebviewContentOptions, extension: IExtensionDescription): void;
42
53
  deleteWebview(handle: string): void;
43
54
  private getWebview;
44
55
  }
@@ -219,6 +219,15 @@ class ExtHostWebviews extends Disposable {
219
219
  });
220
220
  return webview;
221
221
  }
222
+ ensureDefaultContentOptions(handle, contentOptions, extension) {
223
+ if (contentOptions.localResourceRoots) {
224
+ return;
225
+ }
226
+ this._webviewProxy.$setOptions(handle, {
227
+ ...contentOptions,
228
+ localResourceRoots: getDefaultLocalResourceRoots(extension, this.workspace)
229
+ });
230
+ }
222
231
  deleteWebview(handle) {
223
232
  this._webviews.delete(handle);
224
233
  }
@@ -333,7 +333,7 @@ let ExtHostWorkspace = class ExtHostWorkspace {
333
333
  }
334
334
  };
335
335
  this._messageService.$showMessage(Severity$1.Error, ( localize(
336
- 2758,
336
+ 2801,
337
337
  "Extension '{0}' failed to update workspace folders: {1}",
338
338
  extName,
339
339
  (error.toString())
@@ -16,7 +16,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
16
16
  extensionPoint: "jsonValidation",
17
17
  defaultExtensionKind: ["workspace", "web"],
18
18
  jsonSchema: {
19
- description: ( localize(2759, "Contributes json schema configuration.")),
19
+ description: ( localize(2802, "Contributes json schema configuration.")),
20
20
  type: "array",
21
21
  defaultSnippets: [{
22
22
  body: [{
@@ -36,7 +36,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
36
36
  fileMatch: {
37
37
  type: ["string", "array"],
38
38
  description: ( localize(
39
- 2760,
39
+ 2803,
40
40
  "The file pattern (or an array of patterns) to match, for example \"package.json\" or \"*.launch\". Exclusion patterns start with '!'"
41
41
  )),
42
42
  items: {
@@ -45,7 +45,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
45
45
  },
46
46
  url: {
47
47
  description: ( localize(
48
- 2761,
48
+ 2804,
49
49
  "A schema URL ('http:', 'https:') or relative path to the extension folder ('./')."
50
50
  )),
51
51
  type: "string"
@@ -62,20 +62,20 @@ class JSONValidationExtensionPoint {
62
62
  const collector = extension.collector;
63
63
  const extensionLocation = extension.description.extensionLocation;
64
64
  if (!extensionValue || !Array.isArray(extensionValue)) {
65
- collector.error(( localize(2762, "'configuration.jsonValidation' must be a array")));
65
+ collector.error(( localize(2805, "'configuration.jsonValidation' must be a array")));
66
66
  return;
67
67
  }
68
68
  extensionValue.forEach(extension => {
69
69
  if (!isString(extension.fileMatch) && !(Array.isArray(extension.fileMatch) && extension.fileMatch.every(isString))) {
70
70
  collector.error(( localize(
71
- 2763,
71
+ 2806,
72
72
  "'configuration.jsonValidation.fileMatch' must be defined as a string or an array of strings."
73
73
  )));
74
74
  return;
75
75
  }
76
76
  const uri = extension.url;
77
77
  if (!isString(uri)) {
78
- collector.error(( localize(2764, "'configuration.jsonValidation.url' must be a URL or relative path")));
78
+ collector.error(( localize(2807, "'configuration.jsonValidation.url' must be a URL or relative path")));
79
79
  return;
80
80
  }
81
81
  if (uri.startsWith("./")) {
@@ -83,7 +83,7 @@ class JSONValidationExtensionPoint {
83
83
  const colorThemeLocation = joinPath(extensionLocation, uri);
84
84
  if (!isEqualOrParent(colorThemeLocation, extensionLocation)) {
85
85
  collector.warn(( localize(
86
- 2765,
86
+ 2808,
87
87
  "Expected `contributes.{0}.url` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
88
88
  configurationExtPoint.name,
89
89
  (colorThemeLocation.toString()),
@@ -92,14 +92,14 @@ class JSONValidationExtensionPoint {
92
92
  }
93
93
  } catch (e) {
94
94
  collector.error(( localize(
95
- 2766,
95
+ 2809,
96
96
  "'configuration.jsonValidation.url' is an invalid relative URL: {0}",
97
97
  e.message
98
98
  )));
99
99
  }
100
100
  } else if (!/^[^:/?#]+:\/\//.test(uri)) {
101
101
  collector.error(( localize(
102
- 2767,
102
+ 2810,
103
103
  "'configuration.jsonValidation.url' must be an absolute URL or start with './' to reference schemas located in the extension."
104
104
  )));
105
105
  return;
@@ -128,7 +128,7 @@ class JSONValidationDataRenderer extends Disposable {
128
128
  dispose: () => {}
129
129
  };
130
130
  }
131
- const headers = [( localize(2768, "File Match")), ( localize(2769, "Schema"))];
131
+ const headers = [( localize(2811, "File Match")), ( localize(2812, "Schema"))];
132
132
  const rows = ( contrib.map(v => {
133
133
  return [( new MarkdownString()).appendMarkdown(`\`${Array.isArray(v.fileMatch) ? v.fileMatch.join(", ") : v.fileMatch}\``), v.url];
134
134
  }));
@@ -143,7 +143,7 @@ class JSONValidationDataRenderer extends Disposable {
143
143
  }
144
144
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
145
145
  id: "jsonValidation",
146
- label: ( localize(2770, "JSON Validation")),
146
+ label: ( localize(2813, "JSON Validation")),
147
147
  access: {
148
148
  canToggle: false
149
149
  },