@codingame/monaco-vscode-api 15.0.3 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +245 -43
- package/package.json +11 -8
- package/services.js +7 -7
- package/vscode/src/vs/amdX.d.ts +3 -0
- package/vscode/src/vs/amdX.js +188 -0
- package/vscode/src/vs/base/browser/contextmenu.d.ts +1 -0
- package/vscode/src/vs/base/browser/dnd.d.ts +0 -1
- package/vscode/src/vs/base/browser/dnd.js +2 -19
- package/vscode/src/vs/base/browser/fonts.d.ts +3 -0
- package/vscode/src/vs/base/browser/fonts.js +27 -2
- package/vscode/src/vs/base/browser/markdownRenderer.js +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +97 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/aria/aria.css +4 -0
- package/vscode/src/vs/base/browser/ui/aria/aria.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.css +139 -0
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +3 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +16 -13
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css +22 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css +17 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.css +10 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css +18 -0
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.js +1 -1
- package/vscode/src/vs/base/browser/ui/dnd/dnd.css +16 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/dnd/dnd.js +24 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css +35 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +6 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.css +50 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +84 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.js +12 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +157 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +87 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css +81 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +2 -2
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css +27 -0
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/list.css +60 -0
- package/vscode/src/vs/base/browser/ui/list/listPaging.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +16 -24
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +5 -5
- package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css +3 -0
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.js +1 -1
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css +33 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/sash/sash.css +118 -0
- package/vscode/src/vs/base/browser/ui/sash/sash.js +1 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +56 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +23 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +98 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +1 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +25 -0
- package/vscode/src/vs/{platform/severityIcon/browser → base/browser/ui/severityIcon}/severityIcon.d.ts +1 -1
- package/vscode/src/vs/{platform/severityIcon/browser → base/browser/ui/severityIcon}/severityIcon.js +4 -4
- package/vscode/src/vs/base/browser/ui/splitview/splitview.css +54 -0
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +1 -1
- package/vscode/src/vs/base/browser/ui/table/table.css +45 -0
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +58 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css +7 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +128 -0
- package/vscode/src/vs/base/browser/webWorkerFactory.d.ts +14 -0
- package/vscode/src/vs/base/browser/{defaultWorkerFactory.js → webWorkerFactory.js} +35 -45
- package/vscode/src/vs/base/common/arrays.d.ts +1 -0
- package/vscode/src/vs/base/common/arrays.js +6 -1
- package/vscode/src/vs/base/common/diff/diff.d.ts +1 -0
- package/vscode/src/vs/base/common/diff/diff.js +126 -1
- package/vscode/src/vs/base/common/history.d.ts +2 -0
- package/vscode/src/vs/base/common/history.js +7 -1
- package/vscode/src/vs/base/common/hotReload.js +80 -0
- package/vscode/src/vs/base/common/hotReloadHelpers.js +33 -4
- package/vscode/src/vs/base/common/htmlContent.d.ts +5 -0
- package/vscode/src/vs/base/common/htmlContent.js +10 -4
- package/vscode/src/vs/base/common/iterator.d.ts +1 -0
- package/vscode/src/vs/base/common/iterator.js +8 -0
- package/vscode/src/vs/base/common/json.js +36 -1
- package/vscode/src/vs/base/common/lifecycle.d.ts +1 -0
- package/vscode/src/vs/base/common/lifecycle.js +13 -1
- package/vscode/src/vs/base/common/marshallingIds.d.ts +2 -1
- package/vscode/src/vs/base/common/marshallingIds.js +1 -0
- package/vscode/src/vs/base/common/mime.d.ts +1 -0
- package/vscode/src/vs/base/common/mime.js +1 -0
- package/vscode/src/vs/base/common/network.d.ts +1 -0
- package/vscode/src/vs/base/common/network.js +4 -4
- package/vscode/src/vs/base/common/objects.d.ts +0 -3
- package/vscode/src/vs/base/common/objects.js +1 -31
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +14 -7
- package/vscode/src/vs/base/common/observableInternal/autorun.js +37 -21
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +11 -5
- package/vscode/src/vs/base/common/observableInternal/base.js +31 -0
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +15 -7
- package/vscode/src/vs/base/common/observableInternal/derived.js +32 -20
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +6 -1
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/debuggerRpc.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/debuggerRpc.js +63 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +41 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +436 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/rpc.d.ts +41 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/rpc.js +57 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.d.ts +20 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +79 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +4 -3
- package/vscode/src/vs/base/common/observableInternal/utils.js +19 -16
- package/vscode/src/vs/base/common/policy.d.ts +8 -0
- package/vscode/src/vs/base/common/product.d.ts +26 -5
- package/vscode/src/vs/base/common/strings.js +11 -18
- package/vscode/src/vs/base/common/worker/{simpleWorker.d.ts → webWorker.d.ts} +16 -27
- package/vscode/src/vs/base/common/worker/{simpleWorker.js → webWorker.js} +18 -46
- package/vscode/src/vs/base/common/worker/webWorkerBootstrap.d.ts +3 -0
- package/vscode/src/vs/base/common/worker/webWorkerBootstrap.js +27 -0
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +6 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +39 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +3 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +30 -11
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +3 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +25 -5
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +16 -14
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css +19 -0
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/css/decorationCssRuleExtractor.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css +4 -0
- package/vscode/src/vs/editor/browser/rect.d.ts +11 -0
- package/vscode/src/vs/editor/browser/rect.js +39 -11
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +9 -8
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +7 -7
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +97 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +23 -13
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +22 -10
- package/vscode/src/vs/editor/browser/view.d.ts +3 -1
- package/vscode/src/vs/editor/browser/view.js +57 -3
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css +21 -0
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css +16 -0
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css +14 -0
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css +24 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css +9 -0
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.css +3 -0
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css +6 -0
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +46 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css +5 -0
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css +7 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.css +21 -0
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css +66 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +53 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +0 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +18 -55
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css +92 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +54 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +16 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +7 -11
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +9 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.service.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css +337 -0
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +1 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css +15 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.d.ts +2 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +58 -31
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +1 -4
- package/vscode/src/vs/editor/common/config/editorOptions.js +391 -396
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +9 -3
- package/vscode/src/vs/editor/common/languages.js +61 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.d.ts +3 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +18 -6
- package/vscode/src/vs/editor/common/services/{editorSimpleWorker.d.ts → editorWebWorker.d.ts} +7 -18
- package/vscode/src/vs/editor/common/services/{editorSimpleWorker.js → editorWebWorker.js} +12 -38
- package/vscode/src/vs/editor/common/services/editorWebWorkerMain.d.ts +1 -0
- package/vscode/src/vs/editor/common/services/editorWebWorkerMain.js +5 -0
- package/vscode/src/vs/editor/common/services/editorWorker.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWorkerHost.d.ts +3 -3
- package/vscode/src/vs/editor/common/services/textModelSync/textModelSync.impl.d.ts +4 -4
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/treeSitterParserService.service.d.ts +2 -2
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +5 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +6 -3
- package/vscode/src/vs/editor/common/viewModel.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.d.ts +21 -12
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +29 -12
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css +4 -0
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +7 -7
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css +5 -0
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +7 -7
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +18 -23
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +10 -10
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css +49 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +10 -10
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +5 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +54 -0
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +171 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerBody.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +4 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerInsertButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/images/opacity-background.png +0 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css +25 -0
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css +19 -0
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css +6 -0
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css +223 -0
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +28 -28
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css +42 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -21
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/folding/browser/syntaxRangeProvider.js +3 -0
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +17 -20
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css +55 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css +5 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css +64 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +5 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverController.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css +61 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +25 -25
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css +3 -0
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +3 -3
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +10 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +35 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +22 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +85 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +10 -29
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +115 -101
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +7 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +41 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +62 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +18 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +62 -36
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +22 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +310 -61
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +35 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +58 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +10 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +103 -130
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +18 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js +10 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{viewAndDiffProducer.d.ts → inlineEditsViewProducer.d.ts} +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{viewAndDiffProducer.js → inlineEditsViewProducer.js} +56 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.d.ts +17 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +107 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.d.ts +8 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +77 -51
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +7 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +88 -69
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +10 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +55 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +6 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +182 -150
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +5 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +40 -119
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +13 -56
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.d.ts +9 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +85 -54
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +2 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +11 -75
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +156 -0
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css +21 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css +4 -0
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +3 -3
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +2 -1
- package/vscode/src/vs/editor/contrib/links/browser/links.css +9 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -14
- package/vscode/src/vs/editor/contrib/message/browser/messageController.css +67 -0
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +2 -2
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +23 -23
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css +120 -0
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +64 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +12 -0
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css +42 -0
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +8 -8
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css +13 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +58 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +12 -15
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +4 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +13 -10
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +5 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +35 -25
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +348 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +3 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +26 -21
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +68 -0
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +39 -39
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css +66 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css +5 -0
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +6 -5
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +51 -43
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css +32 -0
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +10 -10
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css +11 -0
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css +18 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/keyboard-dark.svg +10 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/keyboard-light.svg +10 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css +49 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +0 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.d.ts +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +2 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +6 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +4 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +68 -54
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +5 -5
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +138 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +8 -8
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css +49 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +7 -7
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +1 -0
- package/vscode/src/vs/platform/actions/common/actions.js +1 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configuration.js +24 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +4 -4
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +2 -6
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +24 -18
- package/vscode/src/vs/platform/configuration/common/configurations.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configurations.js +18 -9
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.d.ts +1 -0
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +14 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +1 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +3 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.d.ts +9 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.js +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +33 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +23 -11
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +8 -7
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service.d.ts +3 -3
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +5 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +15 -6
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +17 -8
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
- package/vscode/src/vs/platform/hover/browser/hover.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +1 -1
- package/vscode/src/vs/platform/ipc/common/services.d.ts +1 -1
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.d.ts +7 -1
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +40 -3
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.d.ts +2 -1
- package/vscode/src/vs/platform/log/common/log.js +13 -9
- package/vscode/src/vs/platform/log/common/log.service.d.ts +1 -1
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +4 -0
- package/vscode/src/vs/platform/markers/common/markerService.js +79 -29
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.service.d.ts +2 -0
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +28 -3
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +42 -4
- package/vscode/src/vs/platform/opener/browser/link.css +6 -0
- package/vscode/src/vs/platform/opener/browser/link.js +1 -1
- package/vscode/src/vs/platform/policy/common/policy.d.ts +7 -4
- package/vscode/src/vs/platform/policy/common/policy.js +1 -0
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +3 -1
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +311 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +12 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +0 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +16 -18
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +5 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +2 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +2 -0
- package/vscode/src/vs/platform/remote/common/remoteSocketFactoryService.service.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/storage/common/storage.d.ts +0 -1
- package/vscode/src/vs/platform/storage/common/storage.js +1 -2
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -2
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -0
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +3 -3
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +0 -3
- package/vscode/src/vs/platform/theme/common/themeService.js +1 -1
- package/vscode/src/vs/platform/theme/common/themeService.service.d.ts +2 -2
- package/vscode/src/vs/platform/tunnel/common/tunnel.d.ts +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.service.d.ts +1 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -1
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.d.ts +12 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.js +14 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.service.d.ts +13 -0
- package/vscode/src/vs/platform/webContentExtractor/common/webContentExtractor.service.js +7 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +7 -0
- package/vscode/src/vs/platform/window/common/window.js +24 -1
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +4 -4
- package/vscode/src/vs/platform/workspace/common/workspace.js +13 -15
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +41 -9
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +34 -5
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +10 -5
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +37 -45
- package/vscode/src/vs/workbench/api/common/extHostChatStatus.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostChatStatus.js +77 -0
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +4 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +34 -7
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +8 -7
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +23 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +193 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +10 -1
- package/vscode/src/vs/workbench/api/common/extHostTask.js +28 -0
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -48
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +44 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +121 -29
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +9 -4
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +131 -11
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +67 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +97 -3
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extensionHostMain.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +32 -32
- package/vscode/src/vs/workbench/browser/actions/media/actions.css +45 -0
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +162 -162
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +176 -141
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatusItemService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatusItemService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +4 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +16 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +51 -36
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +1 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +15 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +12 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +49 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +33 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +27 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +21 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +20 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +19 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +53 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.js +27 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +23 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css +27 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +7 -9
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -35
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfigPathsService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfigPathsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +205 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +164 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +7 -8
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +20 -20
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/scm.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +22 -15
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -15
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +67 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +183 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.js +6 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +2 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +7 -12
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +40 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +149 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +9 -20
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +94 -129
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +9 -8
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +9 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +91 -83
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +2 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +2 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.d.ts +8 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +34 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +2 -2
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
- package/vscode-dts/vscode.d.ts +22 -5
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +21 -2
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +9 -1
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +4 -4
- package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +61 -0
- package/vscode-dts/vscode.proposed.d.ts +5 -2
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -8
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +1 -1
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +98 -0
- package/vscode-dts/{vscode.proposed.chatReadonlyPromptReference.d.ts → vscode.proposed.languageModelToolsForAgent.d.ts} +1 -10
- package/vscode-dts/vscode.proposed.mcpConfigurationProvider.d.ts +45 -0
- package/vscode-dts/vscode.proposed.taskProblemMatcherStatus.d.ts +42 -0
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +1 -1
- package/vscode-dts/vscode.proposed.textDocumentEncoding.d.ts +16 -1
- package/workers/editor.worker.d.ts +1 -1
- package/workers/editor.worker.js +1 -1
- package/external/rollup-plugin-styles/dist/runtime/inject-css.js +0 -3
- package/vscode/src/vs/base/browser/defaultWorkerFactory.d.ts +0 -11
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/aria/aria.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/button/button.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon-modifiers.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/contextview/contextview.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/countBadge/countBadge.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/findinput/findInput.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/list/list.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/mouseCursor/mouseCursor.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/sash/sash.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/splitview/splitview.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/table/table.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +0 -6
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css.js +0 -6
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.css.js +0 -6
- package/vscode/src/vs/editor/browser/gpu/css/media/decorationCssRuleExtractor.css.js +0 -6
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/gpuMark/gpuMark.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css.js +0 -6
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.css.js +0 -6
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +0 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css.js +0 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +0 -6
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/renderedMarkdown.css.js +0 -6
- package/vscode/src/vs/editor/common/services/editorWorkerBootstrap.d.ts +0 -2
- package/vscode/src/vs/editor/common/services/editorWorkerBootstrap.js +0 -25
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.css.js +0 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.css.js +0 -6
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css.js +0 -6
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.css.js +0 -6
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/folding/browser/folding.css.js +0 -6
- package/vscode/src/vs/editor/contrib/gotoError/browser/media/gotoErrorWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.css.js +0 -6
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/indicatorView.d.ts +0 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/indicatorView.js +0 -77
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.css.js +0 -6
- package/vscode/src/vs/editor/contrib/links/browser/links.css.js +0 -6
- package/vscode/src/vs/editor/contrib/message/browser/messageController.css.js +0 -6
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.css.js +0 -6
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css.js +0 -6
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css.js +0 -6
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.css.js +0 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css.js +0 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css.js +0 -6
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css.js +0 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.css.js +0 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.css.js +0 -6
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.css.js +0 -6
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.css.js +0 -6
- package/vscode/src/vs/editor/editor.worker.d.ts +0 -1
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css.js +0 -6
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInput.css.js +0 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css.js +0 -6
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.css.js +0 -6
- package/vscode/src/vs/platform/opener/browser/link.css.js +0 -6
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +0 -6
- package/vscode/src/vs/platform/severityIcon/browser/media/severityIcon.css.js +0 -6
- package/vscode/src/vs/workbench/api/common/shared/tasks.d.ts +0 -114
- package/vscode/src/vs/workbench/browser/actions/media/actions.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +0 -254
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -469
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementsService.service.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementsService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatQuotasService.service.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatQuotasService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.css.js +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.js +0 -6
- package/vscode-dts/vscode.proposed.terminalShellType.d.ts +0 -40
- /package/vscode/src/vs/workbench/contrib/notebook/browser/{contrib/chatEdit → diff/inlineDiff}/notebookOriginalCellModelFactory.service.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/notebook/browser/{contrib/chatEdit → diff/inlineDiff}/notebookOriginalCellModelFactory.service.js +0 -0
- /package/vscode/src/vs/workbench/contrib/notebook/browser/{contrib/chatEdit → diff/inlineDiff}/notebookOriginalModelRefFactory.service.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/notebook/browser/{contrib/chatEdit → diff/inlineDiff}/notebookOriginalModelRefFactory.service.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VSBufferReadableStream } from "../../../base/common/buffer.js";
|
|
2
2
|
import { IStringDictionary } from "../../../base/common/collections.js";
|
|
3
3
|
import { Event } from "../../../base/common/event.js";
|
|
4
|
-
import { FormattingOptions } from "@codingame/monaco-vscode-
|
|
4
|
+
import { FormattingOptions } from "@codingame/monaco-vscode-68b3311c-eb96-5711-8f72-f5f4b2e31932-common/vscode/vs/base/common/jsonFormatter";
|
|
5
5
|
import { URI } from "../../../base/common/uri.js";
|
|
6
6
|
import { IHeaders } from "@codingame/monaco-vscode-039b5553-0838-562a-97c2-30d6e54a7b42-common/vscode/vs/base/parts/request/common/request";
|
|
7
7
|
import { ILogService } from "../../log/common/log.service.js";
|
|
@@ -56,6 +56,7 @@ export interface IUserDataSyncEnablementService {
|
|
|
56
56
|
isResourceEnabled(resource: SyncResource, defaultValue?: boolean): boolean;
|
|
57
57
|
setResourceEnablement(resource: SyncResource, enabled: boolean): void;
|
|
58
58
|
getResourceSyncStateVersion(resource: SyncResource): string | undefined;
|
|
59
|
+
isResourceEnablementConfigured(resource: SyncResource): boolean;
|
|
59
60
|
}
|
|
60
61
|
export declare const IUserDataSyncService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IUserDataSyncService>;
|
|
61
62
|
export interface IUserDataSyncService {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VSBuffer } from "../../../base/common/buffer.js";
|
|
2
|
+
import { CancellationToken } from "../../../base/common/cancellation.js";
|
|
3
|
+
import { URI } from "../../../base/common/uri.js";
|
|
4
|
+
import { IWebContentExtractorService, type ISharedWebContentExtractorService } from "./webContentExtractor.service.js";
|
|
5
|
+
export declare class NullWebContentExtractorService implements IWebContentExtractorService {
|
|
6
|
+
_serviceBrand: undefined;
|
|
7
|
+
extract(_uri: URI[]): Promise<string[]>;
|
|
8
|
+
}
|
|
9
|
+
export declare class NullSharedWebContentExtractorService implements ISharedWebContentExtractorService {
|
|
10
|
+
_serviceBrand: undefined;
|
|
11
|
+
readImage(_uri: URI, _token: CancellationToken): Promise<VSBuffer | undefined>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
class NullWebContentExtractorService {
|
|
4
|
+
extract(_uri) {
|
|
5
|
+
throw ( new Error('Not implemented'));
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
class NullSharedWebContentExtractorService {
|
|
9
|
+
readImage(_uri, _token) {
|
|
10
|
+
throw ( new Error('Not implemented'));
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { NullSharedWebContentExtractorService, NullWebContentExtractorService };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VSBuffer } from "../../../base/common/buffer.js";
|
|
2
|
+
import { CancellationToken } from "../../../base/common/cancellation.js";
|
|
3
|
+
import { URI } from "../../../base/common/uri.js";
|
|
4
|
+
export declare const IWebContentExtractorService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IWebContentExtractorService>;
|
|
5
|
+
export interface IWebContentExtractorService {
|
|
6
|
+
_serviceBrand: undefined;
|
|
7
|
+
extract(uri: URI[]): Promise<string[]>;
|
|
8
|
+
}
|
|
9
|
+
export declare const ISharedWebContentExtractorService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ISharedWebContentExtractorService>;
|
|
10
|
+
export interface ISharedWebContentExtractorService {
|
|
11
|
+
_serviceBrand: undefined;
|
|
12
|
+
readImage(uri: URI, token: CancellationToken): Promise<VSBuffer | undefined>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
import { createDecorator } from '../../instantiation/common/instantiation.js';
|
|
3
|
+
|
|
4
|
+
const IWebContentExtractorService = ( createDecorator('IWebContentExtractorService'));
|
|
5
|
+
const ISharedWebContentExtractorService = ( createDecorator('ISharedWebContentExtractorService'));
|
|
6
|
+
|
|
7
|
+
export { ISharedWebContentExtractorService, IWebContentExtractorService };
|
|
@@ -90,6 +90,7 @@ export interface IWindowSettings {
|
|
|
90
90
|
readonly restoreFullscreen: boolean;
|
|
91
91
|
readonly zoomLevel: number;
|
|
92
92
|
readonly titleBarStyle: TitlebarStyle;
|
|
93
|
+
readonly controlsStyle: WindowControlsStyle;
|
|
93
94
|
readonly autoDetectHighContrast: boolean;
|
|
94
95
|
readonly autoDetectColorScheme: boolean;
|
|
95
96
|
readonly menuBarVisibility: MenuBarVisibility;
|
|
@@ -113,6 +114,11 @@ export declare enum TitlebarStyle {
|
|
|
113
114
|
NATIVE = "native",
|
|
114
115
|
CUSTOM = "custom"
|
|
115
116
|
}
|
|
117
|
+
export declare enum WindowControlsStyle {
|
|
118
|
+
NATIVE = "native",
|
|
119
|
+
CUSTOM = "custom",
|
|
120
|
+
HIDDEN = "hidden"
|
|
121
|
+
}
|
|
116
122
|
export declare enum CustomTitleBarVisibility {
|
|
117
123
|
AUTO = "auto",
|
|
118
124
|
WINDOWED = "windowed",
|
|
@@ -121,6 +127,7 @@ export declare enum CustomTitleBarVisibility {
|
|
|
121
127
|
export declare function hasCustomTitlebar(configurationService: IConfigurationService, titleBarStyle?: TitlebarStyle): boolean;
|
|
122
128
|
export declare function hasNativeTitlebar(configurationService: IConfigurationService, titleBarStyle?: TitlebarStyle): boolean;
|
|
123
129
|
export declare function getTitleBarStyle(configurationService: IConfigurationService): TitlebarStyle;
|
|
130
|
+
export declare function getWindowControlsStyle(configurationService: IConfigurationService): WindowControlsStyle;
|
|
124
131
|
export declare const DEFAULT_CUSTOM_TITLEBAR_HEIGHT = 35;
|
|
125
132
|
export declare function useWindowControlsOverlay(configurationService: IConfigurationService): boolean;
|
|
126
133
|
export declare function useNativeFullScreen(configurationService: IConfigurationService): boolean;
|
|
@@ -34,6 +34,12 @@ var TitlebarStyle;
|
|
|
34
34
|
TitlebarStyle["NATIVE"] = "native";
|
|
35
35
|
TitlebarStyle["CUSTOM"] = "custom";
|
|
36
36
|
})(TitlebarStyle || (TitlebarStyle = {}));
|
|
37
|
+
var WindowControlsStyle;
|
|
38
|
+
(function (WindowControlsStyle) {
|
|
39
|
+
WindowControlsStyle["NATIVE"] = "native";
|
|
40
|
+
WindowControlsStyle["CUSTOM"] = "custom";
|
|
41
|
+
WindowControlsStyle["HIDDEN"] = "hidden";
|
|
42
|
+
})(WindowControlsStyle || (WindowControlsStyle = {}));
|
|
37
43
|
var CustomTitleBarVisibility;
|
|
38
44
|
(function (CustomTitleBarVisibility) {
|
|
39
45
|
CustomTitleBarVisibility["AUTO"] = "auto";
|
|
@@ -70,6 +76,17 @@ function getTitleBarStyle(configurationService) {
|
|
|
70
76
|
}
|
|
71
77
|
return TitlebarStyle.CUSTOM;
|
|
72
78
|
}
|
|
79
|
+
function getWindowControlsStyle(configurationService) {
|
|
80
|
+
if (isWeb || isMacintosh || getTitleBarStyle(configurationService) === TitlebarStyle.NATIVE) {
|
|
81
|
+
return WindowControlsStyle.NATIVE;
|
|
82
|
+
}
|
|
83
|
+
const configuration = configurationService.getValue('window');
|
|
84
|
+
const style = configuration?.controlsStyle;
|
|
85
|
+
if (style === WindowControlsStyle.CUSTOM || style === WindowControlsStyle.HIDDEN) {
|
|
86
|
+
return style;
|
|
87
|
+
}
|
|
88
|
+
return WindowControlsStyle.NATIVE;
|
|
89
|
+
}
|
|
73
90
|
const DEFAULT_CUSTOM_TITLEBAR_HEIGHT = 35;
|
|
74
91
|
function useWindowControlsOverlay(configurationService) {
|
|
75
92
|
if (isWeb) {
|
|
@@ -78,9 +95,15 @@ function useWindowControlsOverlay(configurationService) {
|
|
|
78
95
|
if (hasNativeTitlebar(configurationService)) {
|
|
79
96
|
return false;
|
|
80
97
|
}
|
|
98
|
+
if (!isMacintosh) {
|
|
99
|
+
const setting = getWindowControlsStyle(configurationService);
|
|
100
|
+
if (setting === WindowControlsStyle.CUSTOM || setting === WindowControlsStyle.HIDDEN) {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
81
104
|
return true;
|
|
82
105
|
}
|
|
83
106
|
const DEFAULT_WINDOW_SIZE = { width: 1200, height: 800 };
|
|
84
107
|
const DEFAULT_AUX_WINDOW_SIZE = { width: 1024, height: 768 };
|
|
85
108
|
|
|
86
|
-
export { CustomTitleBarVisibility, DEFAULT_AUX_WINDOW_SIZE, DEFAULT_CUSTOM_TITLEBAR_HEIGHT, DEFAULT_WINDOW_SIZE, TitleBarSetting, TitlebarStyle, WindowMinimumSize, getMenuBarVisibility, getTitleBarStyle, hasCustomTitlebar, hasNativeTitlebar, isFileToOpen, isFolderToOpen, isWorkspaceToOpen, useWindowControlsOverlay };
|
|
109
|
+
export { CustomTitleBarVisibility, DEFAULT_AUX_WINDOW_SIZE, DEFAULT_CUSTOM_TITLEBAR_HEIGHT, DEFAULT_WINDOW_SIZE, TitleBarSetting, TitlebarStyle, WindowControlsStyle, WindowMinimumSize, getMenuBarVisibility, getTitleBarStyle, getWindowControlsStyle, hasCustomTitlebar, hasNativeTitlebar, isFileToOpen, isFolderToOpen, isWorkspaceToOpen, useWindowControlsOverlay };
|
|
@@ -72,13 +72,13 @@ export declare class Workspace implements IWorkspace {
|
|
|
72
72
|
private _id;
|
|
73
73
|
private _transient;
|
|
74
74
|
private _configuration;
|
|
75
|
-
private
|
|
76
|
-
private
|
|
75
|
+
private ignorePathCasing;
|
|
76
|
+
private foldersMap;
|
|
77
77
|
private _folders;
|
|
78
|
-
constructor(_id: string, folders: WorkspaceFolder[], _transient: boolean, _configuration: URI | null, _ignorePathCasing: (key: URI) => boolean);
|
|
79
|
-
update(workspace: Workspace): void;
|
|
80
78
|
get folders(): WorkspaceFolder[];
|
|
81
79
|
set folders(folders: WorkspaceFolder[]);
|
|
80
|
+
constructor(_id: string, folders: WorkspaceFolder[], _transient: boolean, _configuration: URI | null, ignorePathCasing: (key: URI) => boolean);
|
|
81
|
+
update(workspace: Workspace): void;
|
|
82
82
|
get id(): string;
|
|
83
83
|
get transient(): boolean;
|
|
84
84
|
get configuration(): URI | null;
|
|
@@ -67,28 +67,26 @@ function isWorkspaceFolder(thing) {
|
|
|
67
67
|
&& typeof candidate.toResource === 'function');
|
|
68
68
|
}
|
|
69
69
|
let Workspace$1 = class Workspace {
|
|
70
|
-
|
|
70
|
+
get folders() { return this._folders; }
|
|
71
|
+
set folders(folders) {
|
|
72
|
+
this._folders = folders;
|
|
73
|
+
this.updateFoldersMap();
|
|
74
|
+
}
|
|
75
|
+
constructor(_id, folders, _transient, _configuration, ignorePathCasing) {
|
|
71
76
|
this._id = _id;
|
|
72
77
|
this._transient = _transient;
|
|
73
78
|
this._configuration = _configuration;
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
79
|
+
this.ignorePathCasing = ignorePathCasing;
|
|
80
|
+
this.foldersMap = TernarySearchTree.forUris(this.ignorePathCasing, () => true);
|
|
76
81
|
this.folders = folders;
|
|
77
82
|
}
|
|
78
83
|
update(workspace) {
|
|
79
84
|
this._id = workspace.id;
|
|
80
85
|
this._configuration = workspace.configuration;
|
|
81
86
|
this._transient = workspace.transient;
|
|
82
|
-
this.
|
|
87
|
+
this.ignorePathCasing = workspace.ignorePathCasing;
|
|
83
88
|
this.folders = workspace.folders;
|
|
84
89
|
}
|
|
85
|
-
get folders() {
|
|
86
|
-
return this._folders;
|
|
87
|
-
}
|
|
88
|
-
set folders(folders) {
|
|
89
|
-
this._folders = folders;
|
|
90
|
-
this.updateFoldersMap();
|
|
91
|
-
}
|
|
92
90
|
get id() {
|
|
93
91
|
return this._id;
|
|
94
92
|
}
|
|
@@ -105,12 +103,12 @@ let Workspace$1 = class Workspace {
|
|
|
105
103
|
if (!resource) {
|
|
106
104
|
return null;
|
|
107
105
|
}
|
|
108
|
-
return this.
|
|
106
|
+
return this.foldersMap.findSubstr(resource) || null;
|
|
109
107
|
}
|
|
110
108
|
updateFoldersMap() {
|
|
111
|
-
this.
|
|
109
|
+
this.foldersMap = TernarySearchTree.forUris(this.ignorePathCasing, () => true);
|
|
112
110
|
for (const folder of this.folders) {
|
|
113
|
-
this.
|
|
111
|
+
this.foldersMap.set(folder.uri, folder);
|
|
114
112
|
}
|
|
115
113
|
}
|
|
116
114
|
toJSON() {
|
|
@@ -140,7 +138,7 @@ function toWorkspaceFolder(resource) {
|
|
|
140
138
|
}
|
|
141
139
|
const WORKSPACE_EXTENSION = 'code-workspace';
|
|
142
140
|
const WORKSPACE_SUFFIX = `.${WORKSPACE_EXTENSION}`;
|
|
143
|
-
const WORKSPACE_FILTER = [{ name: ( localize(
|
|
141
|
+
const WORKSPACE_FILTER = [{ name: ( localize(2362, "Code Workspace")), extensions: [WORKSPACE_EXTENSION] }];
|
|
144
142
|
const UNTITLED_WORKSPACE_NAME = 'workspace.json';
|
|
145
143
|
function isUntitledWorkspace(path, environmentService) {
|
|
146
144
|
return extUriBiasedIgnorePathCase.isEqualOrParent(path, environmentService.untitledWorkspacesHome);
|
|
@@ -5,7 +5,7 @@ import { Command } from "../../../editor/common/languages.js";
|
|
|
5
5
|
import { IAccessibilityInformation } from "../../../platform/accessibility/common/accessibility.js";
|
|
6
6
|
import { IMarkdownString } from "../../../base/common/htmlContent.js";
|
|
7
7
|
import { Event } from "../../../base/common/event.js";
|
|
8
|
-
import { IManagedHoverTooltipMarkdownString } from "
|
|
8
|
+
import { IManagedHoverTooltipMarkdownString } from "../../../base/browser/ui/hover/hover.js";
|
|
9
9
|
export declare const IExtensionStatusBarItemService: import("../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IExtensionStatusBarItemService>;
|
|
10
10
|
export interface IExtensionStatusBarItemChangeEvent {
|
|
11
11
|
readonly added?: ExtensionStatusBarEntry;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type * as vscode from "vscode";
|
|
1
2
|
import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
|
|
2
3
|
import { ServicesAccessor } from "../../../platform/instantiation/common/instantiation.js";
|
|
3
|
-
import { ExtHostConfigProvider } from "./extHostConfiguration.js";
|
|
4
4
|
import { ExtensionDescriptionRegistry } from "../../services/extensions/common/extensionDescriptionRegistry.js";
|
|
5
|
-
import
|
|
5
|
+
import { ExtHostConfigProvider } from "./extHostConfiguration.js";
|
|
6
6
|
export interface IExtensionRegistries {
|
|
7
7
|
mine: ExtensionDescriptionRegistry;
|
|
8
8
|
all: ExtensionDescriptionRegistry;
|
|
@@ -17,6 +17,10 @@ import { ILoggerService, ILogService } from '../../../platform/log/common/log.se
|
|
|
17
17
|
import { getRemoteName } from '../../../platform/remote/common/remoteHosts.js';
|
|
18
18
|
import { TelemetryTrustedValue } from '../../../platform/telemetry/common/telemetryUtils.js';
|
|
19
19
|
import { EditSessionIdentityMatch } from '../../../platform/workspace/common/editSessions.js';
|
|
20
|
+
import { DebugConfigurationProviderTriggerKind } from '../../contrib/debug/common/debug.js';
|
|
21
|
+
import { UIKind } from '../../services/extensions/common/extensionHostProtocol.js';
|
|
22
|
+
import { checkProposedApiEnabled, isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
23
|
+
import { TextSearchCompleteMessageType, TextSearchMatch2, TextSearchContext2, ExcludeSettingOptions } from '../../services/search/common/searchExtTypes.js';
|
|
20
24
|
import { ExtHostContext, MainContext, CandidatePortSource } from './extHost.protocol.js';
|
|
21
25
|
import { ExtHostRelatedInformation } from './extHostAiRelatedInformation.js';
|
|
22
26
|
import { ExtHostApiCommands } from './extHostApiCommands.js';
|
|
@@ -24,8 +28,10 @@ import { IExtHostApiDeprecationService } from './extHostApiDeprecationService.js
|
|
|
24
28
|
import { IExtHostAuthentication } from './extHostAuthentication.js';
|
|
25
29
|
import { ExtHostBulkEdits } from './extHostBulkEdits.js';
|
|
26
30
|
import { ExtHostChatAgents2 } from './extHostChatAgents2.js';
|
|
31
|
+
import { ExtHostChatStatus } from './extHostChatStatus.js';
|
|
27
32
|
import { ExtHostClipboard } from './extHostClipboard.js';
|
|
28
33
|
import { ExtHostEditorInsets } from './extHostCodeInsets.js';
|
|
34
|
+
import { ExtHostCodeMapper } from './extHostCodeMapper.js';
|
|
29
35
|
import { IExtHostCommands } from './extHostCommands.js';
|
|
30
36
|
import { createExtHostComments } from './extHostComments.js';
|
|
31
37
|
import { IExtHostConfiguration } from './extHostConfiguration.js';
|
|
@@ -55,6 +61,7 @@ import { IExtHostLanguageModels } from './extHostLanguageModels.js';
|
|
|
55
61
|
import { ExtHostLanguages } from './extHostLanguages.js';
|
|
56
62
|
import { IExtHostLocalizationService } from './extHostLocalizationService.js';
|
|
57
63
|
import { IExtHostManagedSockets } from './extHostManagedSockets.js';
|
|
64
|
+
import { IExtHostMpcService } from './extHostMcp.js';
|
|
58
65
|
import { ExtHostMessageService } from './extHostMessageService.js';
|
|
59
66
|
import { ExtHostNotebookController } from './extHostNotebook.js';
|
|
60
67
|
import { ExtHostNotebookDocumentSaveParticipant } from './extHostNotebookDocumentSaveParticipant.js';
|
|
@@ -87,7 +94,7 @@ import { ExtHostTimeline } from './extHostTimeline.js';
|
|
|
87
94
|
import { ExtHostTreeViews } from './extHostTreeViews.js';
|
|
88
95
|
import { IExtHostTunnelService } from './extHostTunnelService.js';
|
|
89
96
|
import { LanguageSelector } from './extHostTypeConverters.js';
|
|
90
|
-
import { ExtensionKind, ProgressLocation, ChatErrorLevel, InlineEditTriggerKind, InlineEdit, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, PreparedTerminalToolInvocation, ExtendedLanguageModelToolResult, LanguageModelToolResult, LanguageModelError, LanguageModelToolCallPart, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatLocation, ChatResponseTurn, ChatRequestTurn, ChatResponseReferencePartStatusKind, ChatResponseMovePart, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, KeywordRecognitionStatus, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookEdit, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookCellOutputItem, NotebookCellOutput, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookData, NotebookCellData, NotebookCellExecutionState, NotebookCellKind, NotebookRange, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, WorkspaceEdit, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, SnippetTextEdit, TextEdit, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRevealKind, TaskPanelKind, TaskGroup, Task, SymbolTag, SymbolKind, SymbolInformation, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SnippetString, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, Selection, RelativePattern, Range, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, Position, PortAutoForwardAction, ParameterInformation, MarkdownString, Location, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, EndOfLine, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DiagnosticTag, DiagnosticSeverity, DiagnosticRelatedInformation, Diagnostic, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeActionKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
97
|
+
import { ExtensionKind, ProgressLocation, McpStdioServerDefinition, McpSSEServerDefinition, ChatErrorLevel, InlineEditTriggerKind, InlineEdit, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, PreparedTerminalToolInvocation, ExtendedLanguageModelToolResult, ChatImageMimeType, LanguageModelDataPart, LanguageModelToolResult, LanguageModelError, LanguageModelToolCallPart, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatLocation, ChatResponseTurn, ChatRequestTurn, ChatResponseReferencePartStatusKind, ChatResponseMovePart, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, KeywordRecognitionStatus, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookEdit, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookCellOutputItem, NotebookCellOutput, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookData, NotebookCellData, NotebookCellExecutionState, NotebookCellKind, NotebookRange, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, WorkspaceEdit, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, SnippetTextEdit, TextEdit, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRevealKind, TaskPanelKind, TaskGroup, TaskEventKind, Task, SymbolTag, SymbolKind, SymbolInformation, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SnippetString, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, Selection, RelativePattern, Range, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, Position, PortAutoForwardAction, ParameterInformation, MarkdownString, Location, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, EndOfLine, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DiagnosticTag, DiagnosticSeverity, DiagnosticRelatedInformation, Diagnostic, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeActionKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
91
98
|
import { ExtHostUriOpeners } from './extHostUriOpener.js';
|
|
92
99
|
import { IURITransformerService } from './extHostUriTransformerService.js';
|
|
93
100
|
import { ExtHostUrls } from './extHostUrls.js';
|
|
@@ -96,11 +103,6 @@ import { ExtHostWebviewPanels } from './extHostWebviewPanels.js';
|
|
|
96
103
|
import { ExtHostWebviewViews } from './extHostWebviewView.js';
|
|
97
104
|
import { IExtHostWindow } from './extHostWindow.js';
|
|
98
105
|
import { IExtHostWorkspace } from './extHostWorkspace.js';
|
|
99
|
-
import { DebugConfigurationProviderTriggerKind } from '../../contrib/debug/common/debug.js';
|
|
100
|
-
import { UIKind } from '../../services/extensions/common/extensionHostProtocol.js';
|
|
101
|
-
import { checkProposedApiEnabled, isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
102
|
-
import { TextSearchCompleteMessageType, TextSearchMatch2, TextSearchContext2, ExcludeSettingOptions } from '../../services/search/common/searchExtTypes.js';
|
|
103
|
-
import { ExtHostCodeMapper } from './extHostCodeMapper.js';
|
|
104
106
|
|
|
105
107
|
function createApiFactoryAndRegisterActors(accessor) {
|
|
106
108
|
const initData = accessor.get(IExtHostInitDataService);
|
|
@@ -124,6 +126,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
124
126
|
const extHostManagedSockets = accessor.get(IExtHostManagedSockets);
|
|
125
127
|
const extHostAuthentication = accessor.get(IExtHostAuthentication);
|
|
126
128
|
const extHostLanguageModels = accessor.get(IExtHostLanguageModels);
|
|
129
|
+
const extHostMcp = accessor.get(IExtHostMpcService);
|
|
127
130
|
rpcProtocol.set(ExtHostContext.ExtHostFileSystemInfo, extHostFileSystemInfo);
|
|
128
131
|
rpcProtocol.set(ExtHostContext.ExtHostLogLevelServiceShape, extHostLoggerService);
|
|
129
132
|
rpcProtocol.set(ExtHostContext.ExtHostWorkspace, extHostWorkspace);
|
|
@@ -224,26 +227,29 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
224
227
|
extHostCommands,
|
|
225
228
|
extHostLogService
|
|
226
229
|
)));
|
|
230
|
+
const extHostLanguageModelTools = rpcProtocol.set(ExtHostContext.ExtHostLanguageModelTools, ( new ExtHostLanguageModelTools(rpcProtocol, extHostLanguageModels)));
|
|
227
231
|
const extHostChatAgents2 = rpcProtocol.set(ExtHostContext.ExtHostChatAgents2, ( new ExtHostChatAgents2(
|
|
228
232
|
rpcProtocol,
|
|
229
233
|
extHostLogService,
|
|
230
234
|
extHostCommands,
|
|
231
235
|
extHostDocuments,
|
|
232
236
|
extHostLanguageModels,
|
|
233
|
-
extHostDiagnostics
|
|
237
|
+
extHostDiagnostics,
|
|
238
|
+
extHostLanguageModelTools
|
|
234
239
|
)));
|
|
235
|
-
const extHostLanguageModelTools = rpcProtocol.set(ExtHostContext.ExtHostLanguageModelTools, ( new ExtHostLanguageModelTools(rpcProtocol)));
|
|
236
240
|
const extHostAiRelatedInformation = rpcProtocol.set(ExtHostContext.ExtHostAiRelatedInformation, ( new ExtHostRelatedInformation(rpcProtocol)));
|
|
237
241
|
const extHostAiEmbeddingVector = rpcProtocol.set(ExtHostContext.ExtHostAiEmbeddingVector, ( new ExtHostAiEmbeddingVector(rpcProtocol)));
|
|
238
242
|
const extHostStatusBar = rpcProtocol.set(ExtHostContext.ExtHostStatusBar, ( new ExtHostStatusBar(rpcProtocol, extHostCommands.converter)));
|
|
239
243
|
const extHostSpeech = rpcProtocol.set(ExtHostContext.ExtHostSpeech, ( new ExtHostSpeech(rpcProtocol)));
|
|
240
244
|
const extHostEmbeddings = rpcProtocol.set(ExtHostContext.ExtHostEmbeddings, ( new ExtHostEmbeddings(rpcProtocol)));
|
|
245
|
+
rpcProtocol.set(ExtHostContext.ExtHostMcp, accessor.get(IExtHostMpcService));
|
|
241
246
|
const expected = ( Object.values(ExtHostContext));
|
|
242
247
|
rpcProtocol.assertRegistered(expected);
|
|
243
248
|
const extHostBulkEdits = ( new ExtHostBulkEdits(rpcProtocol, extHostDocumentsAndEditors));
|
|
244
249
|
const extHostClipboard = ( new ExtHostClipboard(rpcProtocol));
|
|
245
250
|
const extHostMessageService = ( new ExtHostMessageService(rpcProtocol, extHostLogService));
|
|
246
251
|
const extHostDialogs = ( new ExtHostDialogs(rpcProtocol));
|
|
252
|
+
const extHostChatStatus = ( new ExtHostChatStatus(rpcProtocol));
|
|
247
253
|
ExtHostApiCommands.register(extHostCommands);
|
|
248
254
|
return function (extension, extensionInfo, configProvider) {
|
|
249
255
|
function _asExtensionEvent(actual) {
|
|
@@ -910,7 +916,11 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
910
916
|
get nativeHandle() {
|
|
911
917
|
checkProposedApiEnabled(extension, 'nativeWindowHandle');
|
|
912
918
|
return extHostWindow.nativeHandle;
|
|
913
|
-
}
|
|
919
|
+
},
|
|
920
|
+
createChatStatusItem: (id) => {
|
|
921
|
+
checkProposedApiEnabled(extension, 'chatStatusItem');
|
|
922
|
+
return extHostChatStatus.createChatStatusItem(extension, id);
|
|
923
|
+
},
|
|
914
924
|
};
|
|
915
925
|
const workspace = {
|
|
916
926
|
get rootPath() {
|
|
@@ -1318,6 +1328,14 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1318
1328
|
},
|
|
1319
1329
|
onDidEndTaskProcess: (listeners, thisArgs, disposables) => {
|
|
1320
1330
|
return _asExtensionEvent(extHostTask.onDidEndTaskProcess)(listeners, thisArgs, disposables);
|
|
1331
|
+
},
|
|
1332
|
+
onDidStartTaskProblemMatchers: (listeners, thisArgs, disposables) => {
|
|
1333
|
+
checkProposedApiEnabled(extension, 'taskProblemMatcherStatus');
|
|
1334
|
+
return _asExtensionEvent(extHostTask.onDidStartTaskProblemMatchers)(listeners, thisArgs, disposables);
|
|
1335
|
+
},
|
|
1336
|
+
onDidEndTaskProblemMatchers: (listeners, thisArgs, disposables) => {
|
|
1337
|
+
checkProposedApiEnabled(extension, 'taskProblemMatcherStatus');
|
|
1338
|
+
return _asExtensionEvent(extHostTask.onDidEndTaskProblemMatchers)(listeners, thisArgs, disposables);
|
|
1321
1339
|
}
|
|
1322
1340
|
};
|
|
1323
1341
|
const notebooks = {
|
|
@@ -1406,6 +1424,10 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1406
1424
|
registerRelatedFilesProvider(provider, metadata) {
|
|
1407
1425
|
checkProposedApiEnabled(extension, 'chatEditing');
|
|
1408
1426
|
return extHostChatAgents2.registerRelatedFilesProvider(extension, provider, metadata);
|
|
1427
|
+
},
|
|
1428
|
+
onDidDisposeChatSession: (listeners, thisArgs, disposables) => {
|
|
1429
|
+
checkProposedApiEnabled(extension, 'chatParticipantPrivate');
|
|
1430
|
+
return _asExtensionEvent(extHostChatAgents2.onDidDisposeChatSession)(listeners, thisArgs, disposables);
|
|
1409
1431
|
}
|
|
1410
1432
|
};
|
|
1411
1433
|
const lm = {
|
|
@@ -1454,6 +1476,10 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1454
1476
|
},
|
|
1455
1477
|
registerIgnoredFileProvider(provider) {
|
|
1456
1478
|
return extHostLanguageModels.registerIgnoredFileProvider(extension, provider);
|
|
1479
|
+
},
|
|
1480
|
+
registerMcpConfigurationProvider(id, provider) {
|
|
1481
|
+
checkProposedApiEnabled(extension, 'mcpConfigurationProvider');
|
|
1482
|
+
return extHostMcp.registerMcpConfigurationProvider(extension, id, provider);
|
|
1457
1483
|
}
|
|
1458
1484
|
};
|
|
1459
1485
|
const speech = {
|
|
@@ -1592,6 +1618,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1592
1618
|
SymbolKind: SymbolKind,
|
|
1593
1619
|
SymbolTag: SymbolTag,
|
|
1594
1620
|
Task: Task,
|
|
1621
|
+
TaskEventKind: TaskEventKind,
|
|
1595
1622
|
TaskGroup: TaskGroup,
|
|
1596
1623
|
TaskPanelKind: TaskPanelKind,
|
|
1597
1624
|
TaskRevealKind: TaskRevealKind,
|
|
@@ -1727,11 +1754,14 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1727
1754
|
ChatReferenceBinaryData: ChatReferenceBinaryData,
|
|
1728
1755
|
LanguageModelChatMessageRole: LanguageModelChatMessageRole,
|
|
1729
1756
|
LanguageModelChatMessage: LanguageModelChatMessage,
|
|
1757
|
+
LanguageModelChatMessage2: LanguageModelChatMessage2,
|
|
1730
1758
|
LanguageModelToolResultPart: LanguageModelToolResultPart,
|
|
1731
1759
|
LanguageModelTextPart: LanguageModelTextPart,
|
|
1732
1760
|
LanguageModelToolCallPart: LanguageModelToolCallPart,
|
|
1733
1761
|
LanguageModelError: LanguageModelError,
|
|
1734
1762
|
LanguageModelToolResult: LanguageModelToolResult,
|
|
1763
|
+
LanguageModelDataPart: LanguageModelDataPart,
|
|
1764
|
+
ChatImageMimeType: ChatImageMimeType,
|
|
1735
1765
|
ExtendedLanguageModelToolResult: ExtendedLanguageModelToolResult,
|
|
1736
1766
|
PreparedTerminalToolInvocation: PreparedTerminalToolInvocation,
|
|
1737
1767
|
LanguageModelChatToolMode: LanguageModelChatToolMode,
|
|
@@ -1746,6 +1776,8 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1746
1776
|
TextSearchMatch2: TextSearchMatch2,
|
|
1747
1777
|
TextSearchCompleteMessageTypeNew: TextSearchCompleteMessageType,
|
|
1748
1778
|
ChatErrorLevel: ChatErrorLevel,
|
|
1779
|
+
McpSSEServerDefinition: McpSSEServerDefinition,
|
|
1780
|
+
McpStdioServerDefinition: McpStdioServerDefinition,
|
|
1749
1781
|
};
|
|
1750
1782
|
};
|
|
1751
1783
|
}
|
|
@@ -27,6 +27,7 @@ import { IExtHostAuthentication, ExtHostAuthentication } from './extHostAuthenti
|
|
|
27
27
|
import { IExtHostLanguageModels, ExtHostLanguageModels } from './extHostLanguageModels.js';
|
|
28
28
|
import { IExtHostTerminalShellIntegration, ExtHostTerminalShellIntegration } from './extHostTerminalShellIntegration.js';
|
|
29
29
|
import { IExtHostTesting, ExtHostTesting } from './extHostTesting.js';
|
|
30
|
+
import { IExtHostMpcService, ExtHostMcpService } from './extHostMcp.js';
|
|
30
31
|
|
|
31
32
|
registerSingleton(IExtHostLocalizationService, ExtHostLocalizationService, InstantiationType.Delayed);
|
|
32
33
|
registerSingleton(ILoggerService, ExtHostLoggerService, InstantiationType.Delayed);
|
|
@@ -54,3 +55,4 @@ registerSingleton(IExtHostWorkspace, ExtHostWorkspace, InstantiationType.Eager);
|
|
|
54
55
|
registerSingleton(IExtHostSecretState, ExtHostSecretState, InstantiationType.Eager);
|
|
55
56
|
registerSingleton(IExtHostEditorTabs, ExtHostEditorTabs, InstantiationType.Eager);
|
|
56
57
|
registerSingleton(IExtHostVariableResolverProvider, ExtHostVariableResolverProviderService, InstantiationType.Eager);
|
|
58
|
+
registerSingleton(IExtHostMpcService, ExtHostMcpService, InstantiationType.Eager);
|
|
@@ -46,15 +46,17 @@ import { WorkspaceTrustRequestOptions } from "../../../platform/workspace/common
|
|
|
46
46
|
import { SaveReason } from "../../common/editor.js";
|
|
47
47
|
import { IRevealOptions, ITreeItem, IViewBadge } from "../../common/views.js";
|
|
48
48
|
import { CallHierarchyItem } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/callHierarchy/common/callHierarchy";
|
|
49
|
-
import {
|
|
49
|
+
import { IChatAgentMetadata, IChatAgentRequest, IChatAgentResult } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/chat/common/chatAgents";
|
|
50
50
|
import { ICodeMapperRequest, ICodeMapperResult } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService";
|
|
51
51
|
import { IChatRelatedFile, IChatRelatedFileProviderMetadata as IChatRelatedFilesProviderMetadata, IChatRequestDraft } from "../../contrib/chat/common/chatEditingService.js";
|
|
52
52
|
import { IChatProgressHistoryResponseContent } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/chat/common/chatModel";
|
|
53
53
|
import { IChatContentInlineReference, IChatFollowup, IChatNotebookEdit, IChatProgress, IChatResponseErrorDetails, IChatTask, IChatTaskDto, IChatUserActionEvent, IChatVoteAction } from "../../contrib/chat/common/chatService.js";
|
|
54
54
|
import { IChatRequestVariableValue } from "../../contrib/chat/common/chatVariables.js";
|
|
55
|
+
import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
|
|
55
56
|
import { IChatMessage, IChatResponseFragment, ILanguageModelChatMetadata, ILanguageModelChatSelector, ILanguageModelsChangeEvent } from "../../contrib/chat/common/languageModels.js";
|
|
56
57
|
import { IPreparedToolInvocation, IToolData, IToolInvocation, IToolResult } from "../../contrib/chat/common/languageModelToolsService.js";
|
|
57
58
|
import { DebugConfigurationProviderTriggerKind, IAdapterDescriptor, IConfig, IDebugSessionReplMode, IDebugTestRunReference, IDebugVisualization, IDebugVisualizationContext, IDebugVisualizationTreeItem, MainThreadDebugVisualization } from "../../contrib/debug/common/debug.js";
|
|
59
|
+
import { McpCollectionDefinition, McpConnectionState, McpServerDefinition, McpServerLaunch } from "../../contrib/mcp/common/mcpTypes.js";
|
|
58
60
|
import * as notebookCommon from "../../contrib/notebook/common/notebookCommon.js";
|
|
59
61
|
import { CellExecutionUpdateType } from "../../contrib/notebook/common/notebookExecutionService.js";
|
|
60
62
|
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
@@ -81,7 +83,7 @@ import * as search from "../../services/search/common/search.js";
|
|
|
81
83
|
import { TextSearchCompleteMessage } from "../../services/search/common/searchExtTypes.js";
|
|
82
84
|
import { ISaveProfileResult } from "@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common/vscode/vs/workbench/services/userDataProfile/common/userDataProfile";
|
|
83
85
|
import { TerminalShellExecutionCommandLineConfidence } from "./extHostTypes.js";
|
|
84
|
-
import * as tasks from "
|
|
86
|
+
import * as tasks from "@codingame/monaco-vscode-extensions-service-override/vscode/vs/workbench/api/common/shared/tasks";
|
|
85
87
|
export interface IWorkspaceData extends IStaticWorkspaceData {
|
|
86
88
|
folders: {
|
|
87
89
|
uri: UriComponents;
|
|
@@ -1082,7 +1084,7 @@ export interface ExtHostSpeechShape {
|
|
|
1082
1084
|
export interface MainThreadLanguageModelsShape extends IDisposable {
|
|
1083
1085
|
$registerLanguageModelProvider(handle: number, identifier: string, metadata: ILanguageModelChatMetadata): void;
|
|
1084
1086
|
$unregisterProvider(handle: number): void;
|
|
1085
|
-
$tryStartChatRequest(extension: ExtensionIdentifier, provider: string, requestId: number, messages: IChatMessage[]
|
|
1087
|
+
$tryStartChatRequest(extension: ExtensionIdentifier, provider: string, requestId: number, messages: SerializableObjectWithBuffers<IChatMessage[]>, options: {}, token: CancellationToken): Promise<void>;
|
|
1086
1088
|
$reportResponsePart(requestId: number, chunk: IChatResponseFragment): Promise<void>;
|
|
1087
1089
|
$reportResponseDone(requestId: number, error: SerializedError | undefined): Promise<void>;
|
|
1088
1090
|
$selectChatModels(selector: ILanguageModelChatSelector): Promise<string[]>;
|
|
@@ -1099,7 +1101,7 @@ export interface ExtHostLanguageModelsShape {
|
|
|
1099
1101
|
to: ExtensionIdentifier;
|
|
1100
1102
|
enabled: boolean;
|
|
1101
1103
|
}[]): void;
|
|
1102
|
-
$startChatRequest(handle: number, requestId: number, from: ExtensionIdentifier, messages: IChatMessage[]
|
|
1104
|
+
$startChatRequest(handle: number, requestId: number, from: ExtensionIdentifier, messages: SerializableObjectWithBuffers<IChatMessage[]>, options: {
|
|
1103
1105
|
[name: string]: any;
|
|
1104
1106
|
}, token: CancellationToken): Promise<void>;
|
|
1105
1107
|
$acceptResponsePart(requestId: number, chunk: IChatResponseFragment): Promise<void>;
|
|
@@ -1185,7 +1187,6 @@ export interface ExtHostChatAgentsShape2 {
|
|
|
1185
1187
|
$acceptFeedback(handle: number, result: IChatAgentResult, voteAction: IChatVoteAction): void;
|
|
1186
1188
|
$acceptAction(handle: number, result: IChatAgentResult, action: IChatUserActionEvent): void;
|
|
1187
1189
|
$invokeCompletionProvider(handle: number, query: string, token: CancellationToken): Promise<IChatAgentCompletionItem[]>;
|
|
1188
|
-
$provideWelcomeMessage(handle: number, token: CancellationToken): Promise<IChatWelcomeMessageContent | undefined>;
|
|
1189
1190
|
$provideChatTitle(handle: number, context: IChatAgentHistoryEntryDto[], token: CancellationToken): Promise<string | undefined>;
|
|
1190
1191
|
$provideSampleQuestions(handle: number, location: ChatAgentLocation, token: CancellationToken): Promise<IChatFollowup[] | undefined>;
|
|
1191
1192
|
$releaseSession(sessionId: string): void;
|
|
@@ -2306,6 +2307,8 @@ export interface ExtHostTaskShape {
|
|
|
2306
2307
|
$onDidStartTaskProcess(value: tasks.ITaskProcessStartedDTO): void;
|
|
2307
2308
|
$onDidEndTaskProcess(value: tasks.ITaskProcessEndedDTO): void;
|
|
2308
2309
|
$OnDidEndTask(execution: tasks.ITaskExecutionDTO): void;
|
|
2310
|
+
$onDidStartTaskProblemMatchers(status: tasks.ITaskProblemMatcherStartedDto): void;
|
|
2311
|
+
$onDidEndTaskProblemMatchers(status: tasks.ITaskProblemMatcherEndedDto): void;
|
|
2309
2312
|
$resolveVariables(workspaceFolder: UriComponents, toResolve: {
|
|
2310
2313
|
process?: {
|
|
2311
2314
|
name: string;
|
|
@@ -2674,6 +2677,19 @@ export interface ExtHostTestingShape {
|
|
|
2674
2677
|
$executeTestFollowup(id: number): Promise<void>;
|
|
2675
2678
|
$disposeTestFollowups(id: number[]): void;
|
|
2676
2679
|
}
|
|
2680
|
+
export interface ExtHostMcpShape {
|
|
2681
|
+
$startMcp(id: number, launch: McpServerLaunch.Serialized): void;
|
|
2682
|
+
$stopMcp(id: number): void;
|
|
2683
|
+
$sendMessage(id: number, message: string): void;
|
|
2684
|
+
$waitForInitialCollectionProviders(): Promise<void>;
|
|
2685
|
+
}
|
|
2686
|
+
export interface MainThreadMcpShape {
|
|
2687
|
+
$onDidChangeState(id: number, state: McpConnectionState): void;
|
|
2688
|
+
$onDidPublishLog(id: number, level: LogLevel, log: string): void;
|
|
2689
|
+
$onDidReceiveMessage(id: number, message: string): void;
|
|
2690
|
+
$upsertMcpCollection(collection: McpCollectionDefinition.FromExtHost, servers: Dto<McpServerDefinition>[]): void;
|
|
2691
|
+
$deleteMcpCollection(collectionId: string): void;
|
|
2692
|
+
}
|
|
2677
2693
|
export interface ExtHostLocalizationShape {
|
|
2678
2694
|
getMessage(extensionId: string, details: IStringDetails): string;
|
|
2679
2695
|
getBundle(extensionId: string): {
|
|
@@ -2714,6 +2730,16 @@ export interface MainThreadTestingShape {
|
|
|
2714
2730
|
$finishedExtensionTestRun(runId: string): void;
|
|
2715
2731
|
$markTestRetired(testIds: string[] | undefined): void;
|
|
2716
2732
|
}
|
|
2733
|
+
export type ChatStatusItemDto = {
|
|
2734
|
+
id: string;
|
|
2735
|
+
title: string;
|
|
2736
|
+
description: string;
|
|
2737
|
+
detail: string | undefined;
|
|
2738
|
+
};
|
|
2739
|
+
export interface MainThreadChatStatusShape {
|
|
2740
|
+
$setEntry(id: string, entry: ChatStatusItemDto): void;
|
|
2741
|
+
$disposeEntry(id: string): void;
|
|
2742
|
+
}
|
|
2717
2743
|
export declare const MainContext: {
|
|
2718
2744
|
MainThreadAuthentication: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAuthenticationShape>;
|
|
2719
2745
|
MainThreadBulkEdits: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadBulkEditsShape>;
|
|
@@ -2783,8 +2809,10 @@ export declare const MainContext: {
|
|
|
2783
2809
|
MainThreadTimeline: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadTimelineShape>;
|
|
2784
2810
|
MainThreadTesting: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadTestingShape>;
|
|
2785
2811
|
MainThreadLocalization: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadLocalizationShape>;
|
|
2812
|
+
MainThreadMcp: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadMcpShape>;
|
|
2786
2813
|
MainThreadAiRelatedInformation: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiRelatedInformationShape>;
|
|
2787
2814
|
MainThreadAiEmbeddingVector: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiEmbeddingVectorShape>;
|
|
2815
|
+
MainThreadChatStatus: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadChatStatusShape>;
|
|
2788
2816
|
};
|
|
2789
2817
|
export declare const ExtHostContext: {
|
|
2790
2818
|
ExtHostCodeMapper: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostCodeMapperShape>;
|
|
@@ -2854,5 +2882,6 @@ export declare const ExtHostContext: {
|
|
|
2854
2882
|
ExtHostTesting: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostTestingShape>;
|
|
2855
2883
|
ExtHostTelemetry: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostTelemetryShape>;
|
|
2856
2884
|
ExtHostLocalization: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostLocalizationShape>;
|
|
2885
|
+
ExtHostMcp: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostMcpShape>;
|
|
2857
2886
|
};
|
|
2858
2887
|
export {};
|
|
@@ -169,8 +169,10 @@ const MainContext = {
|
|
|
169
169
|
MainThreadTimeline: ( createProxyIdentifier('MainThreadTimeline')),
|
|
170
170
|
MainThreadTesting: ( createProxyIdentifier('MainThreadTesting')),
|
|
171
171
|
MainThreadLocalization: ( createProxyIdentifier('MainThreadLocalizationShape')),
|
|
172
|
+
MainThreadMcp: ( createProxyIdentifier('MainThreadMcpShape')),
|
|
172
173
|
MainThreadAiRelatedInformation: ( createProxyIdentifier('MainThreadAiRelatedInformation')),
|
|
173
|
-
MainThreadAiEmbeddingVector: ( createProxyIdentifier('MainThreadAiEmbeddingVector'))
|
|
174
|
+
MainThreadAiEmbeddingVector: ( createProxyIdentifier('MainThreadAiEmbeddingVector')),
|
|
175
|
+
MainThreadChatStatus: ( createProxyIdentifier('MainThreadChatStatus')),
|
|
174
176
|
};
|
|
175
177
|
const ExtHostContext = {
|
|
176
178
|
ExtHostCodeMapper: ( createProxyIdentifier('ExtHostCodeMapper')),
|
|
@@ -239,7 +241,8 @@ const ExtHostContext = {
|
|
|
239
241
|
ExtHostTimeline: ( createProxyIdentifier('ExtHostTimeline')),
|
|
240
242
|
ExtHostTesting: ( createProxyIdentifier('ExtHostTesting')),
|
|
241
243
|
ExtHostTelemetry: ( createProxyIdentifier('ExtHostTelemetry')),
|
|
242
|
-
ExtHostLocalization: ( createProxyIdentifier('ExtHostLocalization'))
|
|
244
|
+
ExtHostLocalization: ( createProxyIdentifier('ExtHostLocalization')),
|
|
245
|
+
ExtHostMcp: ( createProxyIdentifier('ExtHostMcp')),
|
|
243
246
|
};
|
|
244
247
|
|
|
245
248
|
export { CandidatePortSource, CellOutputKind, ExtHostContext, ExtHostTestingResource, ISuggestDataDtoField, ISuggestResultDtoField, MainContext, NotebookEditorRevealType, TabInputKind, TabModelOperationKind, TextEditorRevealType, WebviewEditorCapabilities, WebviewMessageArrayBufferViewType };
|
|
@@ -25,7 +25,9 @@ let ExtHostAuthentication = class ExtHostAuthentication {
|
|
|
25
25
|
async getSession(requestingExtension, providerId, scopes, options = {}) {
|
|
26
26
|
const extensionId = ExtensionIdentifier.toKey(requestingExtension.identifier);
|
|
27
27
|
const sortedScopes = [...scopes].sort().join(' ');
|
|
28
|
-
|
|
28
|
+
const keys = ( Object.keys(options));
|
|
29
|
+
const optionsStr = ( keys.sort().map(key => `${key}:${!!options[key]}`)).join(', ');
|
|
30
|
+
return await this._getSessionTaskSingler.getOrCreate(`${extensionId} ${providerId} ${sortedScopes} ${optionsStr}`, async () => {
|
|
29
31
|
await this._proxy.$ensureProvider(providerId);
|
|
30
32
|
const extensionName = requestingExtension.displayName || requestingExtension.name;
|
|
31
33
|
return this._proxy.$getSession(providerId, scopes, extensionId, extensionName, options);
|