@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
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as vscode from "vscode";
|
|
2
|
+
import { Disposable, IDisposable } from "../../../base/common/lifecycle.js";
|
|
3
|
+
import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
|
|
4
|
+
import { McpServerLaunch } from "../../contrib/mcp/common/mcpTypes.js";
|
|
5
|
+
import { ExtHostMcpShape, MainThreadMcpShape } from "./extHost.protocol.js";
|
|
6
|
+
import { IExtHostRpcService } from "./extHostRpcService.js";
|
|
7
|
+
export declare const IExtHostMpcService: import("../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IExtHostMpcService>;
|
|
8
|
+
export interface IExtHostMpcService extends ExtHostMcpShape {
|
|
9
|
+
registerMcpConfigurationProvider(extension: IExtensionDescription, id: string, provider: vscode.McpConfigurationProvider): IDisposable;
|
|
10
|
+
}
|
|
11
|
+
export declare class ExtHostMcpService extends Disposable implements IExtHostMpcService {
|
|
12
|
+
protected _proxy: MainThreadMcpShape;
|
|
13
|
+
private readonly _initialProviderPromises;
|
|
14
|
+
private readonly _sseEventSources;
|
|
15
|
+
private readonly _eventSource;
|
|
16
|
+
constructor(extHostRpc: IExtHostRpcService);
|
|
17
|
+
$startMcp(id: number, launch: McpServerLaunch.Serialized): void;
|
|
18
|
+
protected _startMcp(id: number, launch: McpServerLaunch): void;
|
|
19
|
+
$stopMcp(id: number): void;
|
|
20
|
+
$sendMessage(id: number, message: string): void;
|
|
21
|
+
$waitForInitialCollectionProviders(): Promise<void>;
|
|
22
|
+
registerMcpConfigurationProvider(extension: IExtensionDescription, id: string, provider: vscode.McpConfigurationProvider): IDisposable;
|
|
23
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
|
|
2
|
+
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { importAMDNodeModule } from '../../../amdX.js';
|
|
4
|
+
import { Sequencer, DeferredPromise } from '../../../base/common/async.js';
|
|
5
|
+
import { CancellationToken } from '../../../base/common/cancellation.js';
|
|
6
|
+
import { Lazy } from '../../../base/common/lazy.js';
|
|
7
|
+
import { Disposable, DisposableMap, DisposableStore, toDisposable } from '../../../base/common/lifecycle.js';
|
|
8
|
+
import { ExtensionIdentifier } from '../../../platform/extensions/common/extensions.js';
|
|
9
|
+
import { createDecorator } from '../../../platform/instantiation/common/instantiation.js';
|
|
10
|
+
import { StorageScope } from '../../../platform/storage/common/storage.js';
|
|
11
|
+
import { McpServerLaunch, McpServerTransportType, McpConnectionState, extensionPrefixedIdentifier } from '../../contrib/mcp/common/mcpTypes.js';
|
|
12
|
+
import { MainContext } from './extHost.protocol.js';
|
|
13
|
+
import { IExtHostRpcService } from './extHostRpcService.js';
|
|
14
|
+
import { LogLevel } from '../../../platform/log/common/log.js';
|
|
15
|
+
|
|
16
|
+
const IExtHostMpcService = ( createDecorator('IExtHostMpcService'));
|
|
17
|
+
let ExtHostMcpService = class ExtHostMcpService extends Disposable {
|
|
18
|
+
constructor(extHostRpc) {
|
|
19
|
+
super();
|
|
20
|
+
this._initialProviderPromises = ( new Set());
|
|
21
|
+
this._sseEventSources = this._register(( new DisposableMap()));
|
|
22
|
+
this._eventSource = ( new Lazy(async () => {
|
|
23
|
+
const es = await importAMDNodeModule('@c4312/eventsource-umd', 'dist/index.umd.js');
|
|
24
|
+
return es.EventSource;
|
|
25
|
+
}));
|
|
26
|
+
this._proxy = ( extHostRpc.getProxy(MainContext.MainThreadMcp));
|
|
27
|
+
}
|
|
28
|
+
$startMcp(id, launch) {
|
|
29
|
+
this._startMcp(id, McpServerLaunch.fromSerialized(launch));
|
|
30
|
+
}
|
|
31
|
+
_startMcp(id, launch) {
|
|
32
|
+
if (launch.type === McpServerTransportType.SSE) {
|
|
33
|
+
this._sseEventSources.set(id, ( new McpSSEHandle(this._eventSource.value, id, launch, this._proxy)));
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
throw ( new Error('not implemented'));
|
|
37
|
+
}
|
|
38
|
+
$stopMcp(id) {
|
|
39
|
+
if (( this._sseEventSources.has(id))) {
|
|
40
|
+
this._sseEventSources.deleteAndDispose(id);
|
|
41
|
+
this._proxy.$onDidChangeState(id, { state: McpConnectionState.Kind.Stopped });
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
$sendMessage(id, message) {
|
|
45
|
+
this._sseEventSources.get(id)?.send(message);
|
|
46
|
+
}
|
|
47
|
+
async $waitForInitialCollectionProviders() {
|
|
48
|
+
await Promise.all(this._initialProviderPromises);
|
|
49
|
+
}
|
|
50
|
+
registerMcpConfigurationProvider(extension, id, provider) {
|
|
51
|
+
const store = ( new DisposableStore());
|
|
52
|
+
const metadata = extension.contributes?.modelContextServerCollections?.find(m => m.id === id);
|
|
53
|
+
if (!metadata) {
|
|
54
|
+
throw ( new Error(
|
|
55
|
+
`MCP configuration providers must be registered in the contributes.modelContextServerCollections array within your package.json, but "${id}" was not`
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
const mcp = {
|
|
59
|
+
id: extensionPrefixedIdentifier(extension.identifier, id),
|
|
60
|
+
isTrustedByDefault: true,
|
|
61
|
+
label: metadata?.label ?? extension.displayName ?? extension.name,
|
|
62
|
+
scope: StorageScope.WORKSPACE
|
|
63
|
+
};
|
|
64
|
+
const update = async () => {
|
|
65
|
+
const list = await provider.provideMcpServerDefinitions(CancellationToken.None);
|
|
66
|
+
function isSSEConfig(candidate) {
|
|
67
|
+
return !!candidate.uri;
|
|
68
|
+
}
|
|
69
|
+
const servers = [];
|
|
70
|
+
for (const item of list ?? []) {
|
|
71
|
+
servers.push({
|
|
72
|
+
id: ExtensionIdentifier.toKey(extension.identifier),
|
|
73
|
+
label: item.label,
|
|
74
|
+
launch: isSSEConfig(item)
|
|
75
|
+
? {
|
|
76
|
+
type: McpServerTransportType.SSE,
|
|
77
|
+
uri: item.uri,
|
|
78
|
+
headers: item.headers,
|
|
79
|
+
}
|
|
80
|
+
: {
|
|
81
|
+
type: McpServerTransportType.Stdio,
|
|
82
|
+
cwd: item.cwd,
|
|
83
|
+
args: item.args,
|
|
84
|
+
command: item.command,
|
|
85
|
+
env: item.env,
|
|
86
|
+
envFile: undefined,
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
this._proxy.$upsertMcpCollection(mcp, servers);
|
|
91
|
+
};
|
|
92
|
+
store.add(toDisposable(() => {
|
|
93
|
+
this._proxy.$deleteMcpCollection(mcp.id);
|
|
94
|
+
}));
|
|
95
|
+
if (provider.onDidChange) {
|
|
96
|
+
store.add(provider.onDidChange(update));
|
|
97
|
+
}
|
|
98
|
+
const promise = ( new Promise(resolve => {
|
|
99
|
+
setTimeout(() => update().finally(() => {
|
|
100
|
+
this._initialProviderPromises.delete(promise);
|
|
101
|
+
resolve();
|
|
102
|
+
}), 0);
|
|
103
|
+
}));
|
|
104
|
+
this._initialProviderPromises.add(promise);
|
|
105
|
+
return store;
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
ExtHostMcpService = ( __decorate([
|
|
109
|
+
( __param(0, IExtHostRpcService))
|
|
110
|
+
], ExtHostMcpService));
|
|
111
|
+
class McpSSEHandle extends Disposable {
|
|
112
|
+
constructor(eventSourceCtor, _id, launch, _proxy) {
|
|
113
|
+
super();
|
|
114
|
+
this._id = _id;
|
|
115
|
+
this._proxy = _proxy;
|
|
116
|
+
this._requestSequencer = ( new Sequencer());
|
|
117
|
+
this._postEndpoint = ( new DeferredPromise());
|
|
118
|
+
eventSourceCtor.then(EventSourceCtor => this._attach(EventSourceCtor, launch));
|
|
119
|
+
}
|
|
120
|
+
_attach(EventSourceCtor, launch) {
|
|
121
|
+
if (this._store.isDisposed) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const eventSource = ( new EventSourceCtor(( launch.uri.toString()), {
|
|
125
|
+
fetch: (input, init) => fetch(input, {
|
|
126
|
+
...init,
|
|
127
|
+
headers: {
|
|
128
|
+
...Object.fromEntries(launch.headers),
|
|
129
|
+
...init?.headers,
|
|
130
|
+
},
|
|
131
|
+
}).then(async (res) => {
|
|
132
|
+
if (res.status >= 300) {
|
|
133
|
+
this._proxy.$onDidChangeState(this._id, { state: McpConnectionState.Kind.Error, message: `${res.status} status connecting to ${launch.uri}: ${await this._getErrText(res)}` });
|
|
134
|
+
eventSource.close();
|
|
135
|
+
}
|
|
136
|
+
return res;
|
|
137
|
+
}, err => {
|
|
138
|
+
this._proxy.$onDidChangeState(this._id, { state: McpConnectionState.Kind.Error, message: `Error connecting to ${launch.uri}: ${String(err)}` });
|
|
139
|
+
eventSource.close();
|
|
140
|
+
return Promise.reject(err);
|
|
141
|
+
})
|
|
142
|
+
}));
|
|
143
|
+
this._register(toDisposable(() => eventSource.close()));
|
|
144
|
+
eventSource.addEventListener('endpoint', e => {
|
|
145
|
+
this._postEndpoint.complete(( ( new URL(e.data, ( launch.uri.toString()))).toString()));
|
|
146
|
+
});
|
|
147
|
+
eventSource.addEventListener('message', e => {
|
|
148
|
+
this._proxy.$onDidReceiveMessage(this._id, e.data);
|
|
149
|
+
});
|
|
150
|
+
eventSource.addEventListener('open', () => {
|
|
151
|
+
this._proxy.$onDidChangeState(this._id, { state: McpConnectionState.Kind.Running });
|
|
152
|
+
});
|
|
153
|
+
eventSource.addEventListener('error', (err) => {
|
|
154
|
+
this._postEndpoint.cancel();
|
|
155
|
+
this._proxy.$onDidChangeState(this._id, {
|
|
156
|
+
state: McpConnectionState.Kind.Error,
|
|
157
|
+
message: `Error connecting to ${launch.uri}: ${err.code || 0} ${err.message || JSON.stringify(err)}`,
|
|
158
|
+
});
|
|
159
|
+
eventSource.close();
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
async send(message) {
|
|
163
|
+
try {
|
|
164
|
+
const res = await this._requestSequencer.queue(async () => {
|
|
165
|
+
const endpoint = await this._postEndpoint.p;
|
|
166
|
+
const asBytes = ( new TextEncoder()).encode(message);
|
|
167
|
+
return fetch(endpoint, {
|
|
168
|
+
method: 'POST',
|
|
169
|
+
headers: {
|
|
170
|
+
'Content-Type': 'application/json',
|
|
171
|
+
'Content-Length': String(asBytes.length),
|
|
172
|
+
},
|
|
173
|
+
body: asBytes,
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
if (res.status >= 300) {
|
|
177
|
+
this._proxy.$onDidPublishLog(this._id, LogLevel.Warning, `${res.status} status sending message to ${this._postEndpoint}: ${await this._getErrText(res)}`);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
catch (err) {
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
async _getErrText(res) {
|
|
184
|
+
try {
|
|
185
|
+
return await res.text();
|
|
186
|
+
}
|
|
187
|
+
catch {
|
|
188
|
+
return res.statusText;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export { ExtHostMcpService, IExtHostMpcService };
|
|
@@ -260,7 +260,7 @@ class ExtHostNotebookController {
|
|
|
260
260
|
throw ( new Error('Document version mismatch'));
|
|
261
261
|
}
|
|
262
262
|
if (!this._extHostFileSystem.value.isWritableFileSystem(uri.scheme)) {
|
|
263
|
-
throw new FileOperationError(( localize(
|
|
263
|
+
throw new FileOperationError(( localize(2546, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
|
|
264
264
|
}
|
|
265
265
|
const data = {
|
|
266
266
|
metadata: filter(document.apiNotebook.metadata, key => !(serializer.options?.transientDocumentMetadata ?? {})[key]),
|
|
@@ -432,7 +432,7 @@ class ExtHostNotebookController {
|
|
|
432
432
|
if (typeof options?.mtime === 'number' && typeof options.etag === 'string' && options.etag !== ETAG_DISABLED &&
|
|
433
433
|
typeof stat.mtime === 'number' && typeof stat.size === 'number' &&
|
|
434
434
|
options.mtime < stat.mtime && options.etag !== etag({ mtime: options.mtime , size: stat.size })) {
|
|
435
|
-
throw new FileOperationError(( localize(
|
|
435
|
+
throw new FileOperationError(( localize(2547, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
|
|
436
436
|
}
|
|
437
437
|
return;
|
|
438
438
|
}
|
|
@@ -188,7 +188,7 @@ class ExtHostStatusBarEntry {
|
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
190
190
|
name = ( localize(
|
|
191
|
-
|
|
191
|
+
2548,
|
|
192
192
|
"{0} (Extension)",
|
|
193
193
|
this._extension.displayName || this._extension.name
|
|
194
194
|
));
|
|
@@ -221,7 +221,7 @@ class StatusBarMessage {
|
|
|
221
221
|
constructor(statusBar) {
|
|
222
222
|
this._messages = [];
|
|
223
223
|
this._item = statusBar.createStatusBarEntry(undefined, 'status.extensionMessage', StatusBarAlignment.Left, Number.MIN_VALUE);
|
|
224
|
-
this._item.name = ( localize(
|
|
224
|
+
this._item.name = ( localize(2549, "Extension Status"));
|
|
225
225
|
}
|
|
226
226
|
dispose() {
|
|
227
227
|
this._messages.length = 0;
|
|
@@ -4,7 +4,7 @@ import { MainThreadTaskShape, ExtHostTaskShape } from "./extHost.protocol.js";
|
|
|
4
4
|
import * as types from "./extHostTypes.js";
|
|
5
5
|
import { IExtHostWorkspaceProvider, IExtHostWorkspace } from "./extHostWorkspace.js";
|
|
6
6
|
import type * as vscode from "vscode";
|
|
7
|
-
import * as tasks from "
|
|
7
|
+
import * as tasks from "@codingame/monaco-vscode-extensions-service-override/vscode/vs/workbench/api/common/shared/tasks";
|
|
8
8
|
import { IExtHostDocumentsAndEditors } from "./extHostDocumentsAndEditors.js";
|
|
9
9
|
import { IExtHostConfiguration } from "./extHostConfiguration.js";
|
|
10
10
|
import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
|
|
@@ -13,6 +13,7 @@ import { IExtHostRpcService } from "./extHostRpcService.js";
|
|
|
13
13
|
import { IExtHostInitDataService } from "./extHostInitDataService.js";
|
|
14
14
|
import { ILogService } from "../../../platform/log/common/log.service.js";
|
|
15
15
|
import { IExtHostApiDeprecationService } from "./extHostApiDeprecationService.js";
|
|
16
|
+
import { ITaskProblemMatcherStartedDto, ITaskProblemMatcherEndedDto } from "@codingame/monaco-vscode-extensions-service-override/vscode/vs/workbench/api/common/shared/tasks";
|
|
16
17
|
export interface IExtHostTask extends ExtHostTaskShape {
|
|
17
18
|
readonly _serviceBrand: undefined;
|
|
18
19
|
taskExecutions: vscode.TaskExecution[];
|
|
@@ -20,6 +21,8 @@ export interface IExtHostTask extends ExtHostTaskShape {
|
|
|
20
21
|
onDidEndTask: Event<vscode.TaskEndEvent>;
|
|
21
22
|
onDidStartTaskProcess: Event<vscode.TaskProcessStartEvent>;
|
|
22
23
|
onDidEndTaskProcess: Event<vscode.TaskProcessEndEvent>;
|
|
24
|
+
onDidStartTaskProblemMatchers: Event<vscode.TaskProblemMatcherStartedEvent>;
|
|
25
|
+
onDidEndTaskProblemMatchers: Event<vscode.TaskProblemMatcherEndedEvent>;
|
|
23
26
|
registerTaskProvider(extension: IExtensionDescription, type: string, provider: vscode.TaskProvider): vscode.Disposable;
|
|
24
27
|
registerTaskSystem(scheme: string, info: tasks.ITaskSystemInfoDTO): void;
|
|
25
28
|
fetchTasks(filter?: vscode.TaskFilter): Promise<vscode.Task[]>;
|
|
@@ -75,6 +78,8 @@ export declare abstract class ExtHostTaskBase implements ExtHostTaskShape, IExtH
|
|
|
75
78
|
protected readonly _onDidTerminateTask: Emitter<vscode.TaskEndEvent>;
|
|
76
79
|
protected readonly _onDidTaskProcessStarted: Emitter<vscode.TaskProcessStartEvent>;
|
|
77
80
|
protected readonly _onDidTaskProcessEnded: Emitter<vscode.TaskProcessEndEvent>;
|
|
81
|
+
protected readonly _onDidStartTaskProblemMatchers: Emitter<vscode.TaskProblemMatcherStartedEvent>;
|
|
82
|
+
protected readonly _onDidEndTaskProblemMatchers: Emitter<vscode.TaskProblemMatcherEndedEvent>;
|
|
78
83
|
constructor(extHostRpc: IExtHostRpcService, initData: IExtHostInitDataService, workspaceService: IExtHostWorkspace, editorService: IExtHostDocumentsAndEditors, configurationService: IExtHostConfiguration, extHostTerminalService: IExtHostTerminalService, logService: ILogService, deprecationService: IExtHostApiDeprecationService);
|
|
79
84
|
registerTaskProvider(extension: IExtensionDescription, type: string, provider: vscode.TaskProvider): vscode.Disposable;
|
|
80
85
|
registerTaskSystem(scheme: string, info: tasks.ITaskSystemInfoDTO): void;
|
|
@@ -90,6 +95,10 @@ export declare abstract class ExtHostTaskBase implements ExtHostTaskShape, IExtH
|
|
|
90
95
|
$onDidStartTaskProcess(value: tasks.ITaskProcessStartedDTO): Promise<void>;
|
|
91
96
|
get onDidEndTaskProcess(): Event<vscode.TaskProcessEndEvent>;
|
|
92
97
|
$onDidEndTaskProcess(value: tasks.ITaskProcessEndedDTO): Promise<void>;
|
|
98
|
+
get onDidStartTaskProblemMatchers(): Event<vscode.TaskProblemMatcherStartedEvent>;
|
|
99
|
+
$onDidStartTaskProblemMatchers(value: ITaskProblemMatcherStartedDto): Promise<void>;
|
|
100
|
+
get onDidEndTaskProblemMatchers(): Event<vscode.TaskProblemMatcherEndedEvent>;
|
|
101
|
+
$onDidEndTaskProblemMatchers(value: ITaskProblemMatcherEndedDto): Promise<void>;
|
|
93
102
|
protected abstract provideTasksInternal(validTypes: {
|
|
94
103
|
[key: string]: boolean;
|
|
95
104
|
}, taskIdPromises: Promise<void>[], handler: HandlerData, value: vscode.Task[] | null | undefined): {
|
|
@@ -384,6 +384,8 @@ let ExtHostTaskBase = class ExtHostTaskBase {
|
|
|
384
384
|
this._onDidTerminateTask = ( new Emitter());
|
|
385
385
|
this._onDidTaskProcessStarted = ( new Emitter());
|
|
386
386
|
this._onDidTaskProcessEnded = ( new Emitter());
|
|
387
|
+
this._onDidStartTaskProblemMatchers = ( new Emitter());
|
|
388
|
+
this._onDidEndTaskProblemMatchers = ( new Emitter());
|
|
387
389
|
this._proxy = ( extHostRpc.getProxy(MainContext.MainThreadTask));
|
|
388
390
|
this._workspaceProvider = workspaceService;
|
|
389
391
|
this._editorService = editorService;
|
|
@@ -487,6 +489,32 @@ let ExtHostTaskBase = class ExtHostTaskBase {
|
|
|
487
489
|
exitCode: value.exitCode
|
|
488
490
|
});
|
|
489
491
|
}
|
|
492
|
+
get onDidStartTaskProblemMatchers() {
|
|
493
|
+
return this._onDidStartTaskProblemMatchers.event;
|
|
494
|
+
}
|
|
495
|
+
async $onDidStartTaskProblemMatchers(value) {
|
|
496
|
+
let execution;
|
|
497
|
+
try {
|
|
498
|
+
execution = await this.getTaskExecution(value.execution.id);
|
|
499
|
+
}
|
|
500
|
+
catch (error) {
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
this._onDidStartTaskProblemMatchers.fire({ execution });
|
|
504
|
+
}
|
|
505
|
+
get onDidEndTaskProblemMatchers() {
|
|
506
|
+
return this._onDidEndTaskProblemMatchers.event;
|
|
507
|
+
}
|
|
508
|
+
async $onDidEndTaskProblemMatchers(value) {
|
|
509
|
+
let execution;
|
|
510
|
+
try {
|
|
511
|
+
execution = await this.getTaskExecution(value.execution.id);
|
|
512
|
+
}
|
|
513
|
+
catch (error) {
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
this._onDidEndTaskProblemMatchers.fire({ execution, hasErrors: value.hasErrors });
|
|
517
|
+
}
|
|
490
518
|
$provideTasks(handle, validTypes) {
|
|
491
519
|
const handler = this._handlers.get(handle);
|
|
492
520
|
if (!handler) {
|
|
@@ -28,7 +28,7 @@ let ExtHostTelemetry = class ExtHostTelemetry extends Disposable {
|
|
|
28
28
|
const id = initData.remote.isRemote ? 'remoteExtHostTelemetry' : isWorker ? 'workerExtHostTelemetry' : 'extHostTelemetry';
|
|
29
29
|
this._outputLogger = this._register(loggerService.createLogger(id, {
|
|
30
30
|
name: ( localize(
|
|
31
|
-
|
|
31
|
+
2550,
|
|
32
32
|
"Extension Telemetry{0}",
|
|
33
33
|
this._inLoggingOnlyMode ? ' (Not Sent)' : ''
|
|
34
34
|
)),
|
|
@@ -6,13 +6,13 @@ import { createDecorator } from '../../../platform/instantiation/common/instanti
|
|
|
6
6
|
import { URI } from '../../../base/common/uri.js';
|
|
7
7
|
import { IExtHostRpcService } from './extHostRpcService.js';
|
|
8
8
|
import { Disposable, MutableDisposable, DisposableStore } from '../../../base/common/lifecycle.js';
|
|
9
|
-
import {
|
|
9
|
+
import { Disposable as Disposable$1, EnvironmentVariableMutatorType } from './extHostTypes.js';
|
|
10
10
|
import { localize } from '../../../nls.js';
|
|
11
11
|
import { NotSupportedError } from '../../../base/common/errors.js';
|
|
12
12
|
import { serializeEnvironmentVariableCollection, serializeEnvironmentDescriptionMap } from '../../../platform/terminal/common/environmentVariableShared.js';
|
|
13
13
|
import { CancellationTokenSource } from '../../../base/common/cancellation.js';
|
|
14
14
|
import { generateUuid } from '../../../base/common/uuid.js';
|
|
15
|
-
import {
|
|
15
|
+
import { ProcessPropertyType } from '../../../platform/terminal/common/terminal.js';
|
|
16
16
|
import { TerminalDataBufferer } from '../../../platform/terminal/common/terminalDataBuffering.js';
|
|
17
17
|
import { ThemeColor } from '../../../base/common/themables.js';
|
|
18
18
|
import { Promises } from '../../../base/common/async.js';
|
|
@@ -29,7 +29,7 @@ class ExtHostTerminal extends Disposable {
|
|
|
29
29
|
this._creationOptions = _creationOptions;
|
|
30
30
|
this._name = _name;
|
|
31
31
|
this._disposed = false;
|
|
32
|
-
this._state = { isInteractedWith: false,
|
|
32
|
+
this._state = { isInteractedWith: false, shell: undefined };
|
|
33
33
|
this.isOpen = false;
|
|
34
34
|
this._onWillDispose = this._register(( new Emitter()));
|
|
35
35
|
this.onWillDispose = this._onWillDispose.event;
|
|
@@ -176,52 +176,10 @@ class ExtHostTerminal extends Disposable {
|
|
|
176
176
|
return false;
|
|
177
177
|
}
|
|
178
178
|
setShellType(shellType) {
|
|
179
|
-
|
|
180
|
-
switch (shellType) {
|
|
181
|
-
case PosixShellType.Sh:
|
|
182
|
-
extHostType = TerminalShellType.Sh;
|
|
183
|
-
break;
|
|
184
|
-
case PosixShellType.Bash:
|
|
185
|
-
extHostType = TerminalShellType.Bash;
|
|
186
|
-
break;
|
|
187
|
-
case PosixShellType.Fish:
|
|
188
|
-
extHostType = TerminalShellType.Fish;
|
|
189
|
-
break;
|
|
190
|
-
case PosixShellType.Csh:
|
|
191
|
-
extHostType = TerminalShellType.Csh;
|
|
192
|
-
break;
|
|
193
|
-
case PosixShellType.Ksh:
|
|
194
|
-
extHostType = TerminalShellType.Ksh;
|
|
195
|
-
break;
|
|
196
|
-
case PosixShellType.Zsh:
|
|
197
|
-
extHostType = TerminalShellType.Zsh;
|
|
198
|
-
break;
|
|
199
|
-
case WindowsShellType.CommandPrompt:
|
|
200
|
-
extHostType = TerminalShellType.CommandPrompt;
|
|
201
|
-
break;
|
|
202
|
-
case WindowsShellType.GitBash:
|
|
203
|
-
extHostType = TerminalShellType.GitBash;
|
|
204
|
-
break;
|
|
205
|
-
case GeneralShellType.PowerShell:
|
|
206
|
-
extHostType = TerminalShellType.PowerShell;
|
|
207
|
-
break;
|
|
208
|
-
case GeneralShellType.Python:
|
|
209
|
-
extHostType = TerminalShellType.Python;
|
|
210
|
-
break;
|
|
211
|
-
case GeneralShellType.Julia:
|
|
212
|
-
extHostType = TerminalShellType.Julia;
|
|
213
|
-
break;
|
|
214
|
-
case GeneralShellType.NuShell:
|
|
215
|
-
extHostType = TerminalShellType.NuShell;
|
|
216
|
-
break;
|
|
217
|
-
default:
|
|
218
|
-
extHostType = undefined;
|
|
219
|
-
break;
|
|
220
|
-
}
|
|
221
|
-
if (this._state.shellType !== shellType) {
|
|
179
|
+
if (this._state.shell !== shellType) {
|
|
222
180
|
this._state = {
|
|
223
181
|
...this._state,
|
|
224
|
-
|
|
182
|
+
shell: shellType
|
|
225
183
|
};
|
|
226
184
|
return true;
|
|
227
185
|
}
|
|
@@ -524,7 +482,7 @@ let BaseExtHostTerminalService = class BaseExtHostTerminalService extends Dispos
|
|
|
524
482
|
async $startExtensionTerminal(id, initialDimensions) {
|
|
525
483
|
const terminal = this.getTerminalById(id);
|
|
526
484
|
if (!terminal) {
|
|
527
|
-
return { message: ( localize(
|
|
485
|
+
return { message: ( localize(2551, "Could not find the terminal with id {0} on the extension host", id)) };
|
|
528
486
|
}
|
|
529
487
|
if (!terminal.isOpen) {
|
|
530
488
|
await ( new Promise(r => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as vscode from "vscode";
|
|
2
2
|
import { TerminalShellExecutionCommandLineConfidence } from "./extHostTypes.js";
|
|
3
|
-
import { Disposable } from "../../../base/common/lifecycle.js";
|
|
3
|
+
import { Disposable, DisposableStore } from "../../../base/common/lifecycle.js";
|
|
4
4
|
import { type ExtHostTerminalShellIntegrationShape, type MainThreadTerminalShellIntegrationShape } from "./extHost.protocol.js";
|
|
5
5
|
import { IExtHostRpcService } from "./extHostRpcService.js";
|
|
6
6
|
import { IExtHostTerminalService } from "./extHostTerminalService.js";
|
|
7
7
|
import { Emitter, type Event } from "../../../base/common/event.js";
|
|
8
|
-
import { type UriComponents } from "../../../base/common/uri.js";
|
|
8
|
+
import { URI, type UriComponents } from "../../../base/common/uri.js";
|
|
9
9
|
export interface IExtHostTerminalShellIntegration extends ExtHostTerminalShellIntegrationShape {
|
|
10
10
|
readonly _serviceBrand: undefined;
|
|
11
11
|
readonly onDidChangeTerminalShellIntegration: Event<vscode.TerminalShellIntegrationChangeEvent>;
|
|
@@ -33,3 +33,45 @@ export declare class ExtHostTerminalShellIntegration extends Disposable implemen
|
|
|
33
33
|
$cwdChange(instanceId: number, cwd: UriComponents | undefined): void;
|
|
34
34
|
$closeTerminal(instanceId: number): void;
|
|
35
35
|
}
|
|
36
|
+
export declare class InternalTerminalShellIntegration extends Disposable {
|
|
37
|
+
private readonly _terminal;
|
|
38
|
+
private readonly _onDidStartTerminalShellExecution;
|
|
39
|
+
private _pendingExecutions;
|
|
40
|
+
private _pendingEndingExecution;
|
|
41
|
+
private _currentExecutionProperties;
|
|
42
|
+
private _currentExecution;
|
|
43
|
+
get currentExecution(): InternalTerminalShellExecution | undefined;
|
|
44
|
+
private _env;
|
|
45
|
+
private _cwd;
|
|
46
|
+
readonly store: DisposableStore;
|
|
47
|
+
readonly value: vscode.TerminalShellIntegration;
|
|
48
|
+
protected readonly _onDidRequestChangeShellIntegration: Emitter<vscode.TerminalShellIntegrationChangeEvent>;
|
|
49
|
+
readonly onDidRequestChangeShellIntegration: Event<vscode.TerminalShellIntegrationChangeEvent>;
|
|
50
|
+
protected readonly _onDidRequestShellExecution: Emitter<string>;
|
|
51
|
+
readonly onDidRequestShellExecution: Event<string>;
|
|
52
|
+
protected readonly _onDidRequestEndExecution: Emitter<vscode.TerminalShellExecutionEndEvent>;
|
|
53
|
+
readonly onDidRequestEndExecution: Event<vscode.TerminalShellExecutionEndEvent>;
|
|
54
|
+
protected readonly _onDidRequestNewExecution: Emitter<string>;
|
|
55
|
+
readonly onDidRequestNewExecution: Event<string>;
|
|
56
|
+
constructor(_terminal: vscode.Terminal, _onDidStartTerminalShellExecution: Emitter<vscode.TerminalShellExecutionStartEvent>);
|
|
57
|
+
requestNewShellExecution(commandLine: vscode.TerminalShellExecutionCommandLine, cwd: URI | undefined): InternalTerminalShellExecution;
|
|
58
|
+
startShellExecution(commandLine: vscode.TerminalShellExecutionCommandLine, cwd: URI | undefined): undefined;
|
|
59
|
+
emitData(data: string): void;
|
|
60
|
+
endShellExecution(commandLine: vscode.TerminalShellExecutionCommandLine | undefined, exitCode: number | undefined): void;
|
|
61
|
+
setEnv(keys: string[], values: string[], isTrusted: boolean): void;
|
|
62
|
+
setCwd(cwd: URI | undefined): void;
|
|
63
|
+
private _fireChangeEvent;
|
|
64
|
+
}
|
|
65
|
+
declare class InternalTerminalShellExecution {
|
|
66
|
+
private _commandLine;
|
|
67
|
+
readonly cwd: URI | undefined;
|
|
68
|
+
readonly value: vscode.TerminalShellExecution;
|
|
69
|
+
private _dataStream;
|
|
70
|
+
private _isEnded;
|
|
71
|
+
constructor(_commandLine: vscode.TerminalShellExecutionCommandLine, cwd: URI | undefined);
|
|
72
|
+
private _createDataStream;
|
|
73
|
+
emitData(data: string): void;
|
|
74
|
+
endExecution(commandLine: vscode.TerminalShellExecutionCommandLine | undefined): void;
|
|
75
|
+
flush(): Promise<void>;
|
|
76
|
+
}
|
|
77
|
+
export {};
|