@codingame/monaco-vscode-api 20.5.0 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +136 -50
- package/package.json +8 -8
- package/services.d.ts +8 -4
- package/services.js +8 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +3 -3
- package/vscode/src/vs/base/browser/domSanitize.d.ts +23 -11
- package/vscode/src/vs/base/browser/domSanitize.js +86 -7
- package/vscode/src/vs/base/browser/domStylesheets.js +2 -2
- package/vscode/src/vs/base/browser/event.d.ts +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +8 -4
- package/vscode/src/vs/base/browser/markdownRenderer.js +72 -126
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +10 -10
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +4 -4
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +32 -7
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +4 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +7 -7
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +7 -7
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +6 -6
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +6 -6
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +5 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -1
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +4 -4
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +2 -2
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +3 -3
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -3
- package/vscode/src/vs/base/browser/ui/menu/menu.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/menu/menu.js +21 -16
- package/vscode/src/vs/base/browser/ui/resizable/resizable.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/resizable/resizable.js +2 -2
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +4 -4
- package/vscode/src/vs/base/browser/ui/sash/sash.js +16 -22
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +2 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +2 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +4 -4
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +3 -3
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -12
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +2 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/actions.d.ts +3 -3
- package/vscode/src/vs/base/common/actions.js +3 -3
- package/vscode/src/vs/base/common/async.d.ts +18 -7
- package/vscode/src/vs/base/common/async.js +71 -14
- package/vscode/src/vs/base/common/codicons.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +23 -0
- package/vscode/src/vs/base/common/event.d.ts +0 -5
- package/vscode/src/vs/base/common/event.js +0 -12
- package/vscode/src/vs/base/common/hotReloadHelpers.js +2 -33
- package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
- package/vscode/src/vs/base/common/htmlContent.js +2 -2
- package/vscode/src/vs/base/common/lazy.d.ts +1 -1
- package/vscode/src/vs/base/common/lazy.js +14 -4
- package/vscode/src/vs/base/common/lifecycle.d.ts +7 -11
- package/vscode/src/vs/base/common/lifecycle.js +19 -2
- package/vscode/src/vs/base/common/marshallingIds.d.ts +5 -4
- package/vscode/src/vs/base/common/marshallingIds.js +5 -4
- package/vscode/src/vs/base/common/mime.d.ts +4 -0
- package/vscode/src/vs/base/common/mime.js +4 -1
- package/vscode/src/vs/base/common/network.d.ts +5 -0
- package/vscode/src/vs/base/common/network.js +2 -0
- package/vscode/src/vs/base/common/oauth.d.ts +18 -2
- package/vscode/src/vs/base/common/oauth.js +114 -19
- package/vscode/src/vs/base/common/observableInternal/debugLocation.d.ts +20 -0
- package/vscode/src/vs/base/common/observableInternal/debugLocation.js +63 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/reducer.js +2 -1
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +2 -1
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +15 -33
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.d.ts +0 -7
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +1 -42
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/logging/logging.js +4 -4
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +6 -5
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +4 -3
- package/vscode/src/vs/base/common/observableInternal/observables/derived.js +12 -11
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +4 -4
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/lazyObservableValue.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -3
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +10 -8
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.js +6 -5
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +5 -4
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +3 -2
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.js +7 -6
- package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/observables/observableValueOpts.js +4 -3
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +11 -3
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +27 -7
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +2 -1
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/utils/utilsCancellation.js +1 -0
- package/vscode/src/vs/base/common/policy.d.ts +29 -0
- package/vscode/src/vs/base/common/product.d.ts +15 -1
- package/vscode/src/vs/base/common/strings.d.ts +0 -6
- package/vscode/src/vs/base/common/strings.js +1 -8
- package/vscode/src/vs/base/common/types.js +1 -4
- package/vscode/src/vs/base/common/uuid.d.ts +2 -0
- package/vscode/src/vs/base/common/uuid.js +4 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +9 -2
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.d.ts +2 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +10 -3
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +2 -3
- package/vscode/src/vs/editor/browser/editorDom.d.ts +1 -0
- package/vscode/src/vs/editor/browser/editorDom.js +7 -4
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +2 -2
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -4
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +3 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +14 -1
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +4 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +3 -1
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +31 -44
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -10
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +6 -4
- package/vscode/src/vs/editor/common/config/editorOptions.js +302 -275
- package/vscode/src/vs/editor/common/core/2d/rect.js +5 -2
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +1 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +9 -3
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +2 -2
- package/vscode/src/vs/editor/common/core/text/textLength.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/text/textLength.js +6 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -1
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +19 -1
- package/vscode/src/vs/editor/common/languages.js +77 -57
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/mirrorTextModel.d.ts +19 -1
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +4 -4
- package/vscode/src/vs/editor/common/model/textModel.js +4 -4
- package/vscode/src/vs/editor/common/model/textModelStringEdit.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +7 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +13 -10
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +4 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +6 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +48 -2
- package/vscode/src/vs/editor/common/textModelEditSource.js +54 -1
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +1 -18
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +6 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- 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 +28 -17
- 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 +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- 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/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.js +2 -2
- 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/findWidget.js +26 -26
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
- 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/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.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- 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.js +3 -3
- 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/contentHoverComputer.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +2 -2
- 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 +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +12 -12
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +9 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +56 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +76 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +6 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +9 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +18 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +31 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +6 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +11 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +36 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +17 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +10 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +7 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +15 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +49 -13
- 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 +31 -31
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +8 -3
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +11 -14
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- 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.js +10 -10
- 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/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +26 -15
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- 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.js +33 -33
- 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.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- 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/standalone/browser/standaloneServices.js +4 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/floatingMenu.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +11 -11
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -6
- package/vscode/src/vs/platform/actions/browser/toolbar.js +3 -6
- package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -1
- package/vscode/src/vs/platform/actions/common/actions.js +2 -1
- 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/assignment/common/assignment.d.ts +70 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +11 -8
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/configuration/common/configurations.js +2 -3
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -2
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +11 -10
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.d.ts +14 -0
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.js +15 -0
- package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.d.ts +2 -2
- package/vscode/src/vs/{workbench/services → platform}/dataChannel/common/dataChannel.service.js +1 -1
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.d.ts +1 -1
- package/vscode/src/vs/platform/debug/common/extensionHostDebug.service.d.ts +1 -0
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +0 -1
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +21 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -1
- 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/instantiation/common/instantiation.d.ts +1 -0
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -0
- 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 +1 -1
- package/vscode/src/vs/platform/log/common/log.js +7 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +18 -0
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +28 -0
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.d.ts +10 -0
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js +6 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -4
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +4 -4
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +15 -20
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +2 -28
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +3 -42
- package/vscode/src/vs/platform/policy/common/policy.d.ts +3 -3
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/progress/common/progress.d.ts +0 -12
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +13 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -7
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +0 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +0 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +5 -17
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +0 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +3 -6
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +1 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +5 -30
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +0 -3
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +2 -6
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +53 -26
- package/vscode/src/vs/platform/request/common/request.d.ts +2 -0
- package/vscode/src/vs/platform/request/common/request.js +25 -19
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +5 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- 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 +47 -47
- 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/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/window/common/window.d.ts +6 -2
- package/vscode/src/vs/platform/window/common/window.js +3 -2
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +37 -9
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +53 -26
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +7 -1
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +6 -4
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +67 -13
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -3
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +23 -30
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +12 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +73 -12
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostComments.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.d.ts +7 -4
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +27 -6
- package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +8 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +39 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +5 -5
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +52 -84
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +36 -33
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +5 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +69 -53
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +14 -12
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +5 -1
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +16 -8
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +93 -20
- package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.d.ts +19 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/codeActionKind.js +37 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.d.ts +31 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/diagnostic.js +91 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/es5ClassCompat.js +27 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/location.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/location.js +44 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/markdownString.js +65 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.d.ts +84 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/notebooks.js +229 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/position.d.ts +29 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/position.js +169 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.d.ts +26 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/range.js +137 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.d.ts +20 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/selection.js +76 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.d.ts +12 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetString.js +84 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.d.ts +13 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/snippetTextEdit.js +28 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.d.ts +45 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/symbolInformation.js +75 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.d.ts +24 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/textEdit.js +82 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.d.ts +99 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes/workspaceEdit.js +146 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +86 -420
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +65 -1186
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/contextkeys.js +13 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +7 -0
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +74 -73
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -0
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +157 -157
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +13 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +64 -56
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +18 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +71 -15
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +49 -22
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +24 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +13 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +18 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +25 -7
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +15 -8
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +36 -18
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +46 -36
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/confirmationTool.js +76 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +205 -107
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +14 -8
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- 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/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +1 -0
- 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.js +65 -65
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -7
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- 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/mcpTypes.d.ts +10 -7
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -6
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +1 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
- 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/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -21
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +34 -6
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +48 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +7 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +7 -6
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +94 -86
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js +6 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +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 +4 -0
- 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 +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +218 -2
- package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +161 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +47 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +3 -1
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +28 -108
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +101 -12
- package/vscode-dts/vscode.proposed.contribSecondarySidebar.d.ts +6 -0
- package/vscode-dts/vscode.proposed.d.ts +3 -0
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +31 -0
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +2 -2
- package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +49 -0
- package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +16 -5
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +7 -0
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +0 -114
- package/vscode/src/vs/base/common/hotReload.js +0 -80
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +0 -6
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +0 -6
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +0 -7
|
@@ -19,25 +19,38 @@ import { generateUuid } from '../../../base/common/uuid.js';
|
|
|
19
19
|
import { RenderLineNumbersType } from '../../../editor/common/config/editorOptions.js';
|
|
20
20
|
import { Range as Range$2 } from '../../../editor/common/core/range.js';
|
|
21
21
|
import { StandardTokenType } from '../../../editor/common/encodedTokenAttributes.js';
|
|
22
|
-
import { SymbolKind as SymbolKind$1, SymbolTag as SymbolTag$2, CompletionTriggerKind as CompletionTriggerKind$2, CompletionItemTag as CompletionItemTag$2, CompletionItemKind as CompletionItemKind$2, CompletionItemInsertTextRule, Command, FoldingRangeKind as FoldingRangeKind$2, CodeActionTriggerType, PartialAcceptTriggerKind as PartialAcceptTriggerKind$2, InlineCompletionEndOfLifeReasonKind } from '../../../editor/common/languages.js';
|
|
22
|
+
import { SymbolKind as SymbolKind$1, SymbolTag as SymbolTag$2, CompletionTriggerKind as CompletionTriggerKind$2, CompletionItemTag as CompletionItemTag$2, CompletionItemKind as CompletionItemKind$2, CompletionItemInsertTextRule, Command, FoldingRangeKind as FoldingRangeKind$2, CodeActionTriggerType, PartialAcceptTriggerKind as PartialAcceptTriggerKind$2, InlineCompletionEndOfLifeReasonKind, InlineCompletionDisplayLocationKind as InlineCompletionDisplayLocationKind$2 } from '../../../editor/common/languages.js';
|
|
23
23
|
import { TrackedRangeStickiness, EndOfLineSequence } from '../../../editor/common/model.js';
|
|
24
24
|
import { MarkerTag, MarkerSeverity } from '../../../platform/markers/common/markers.js';
|
|
25
25
|
import { ProgressLocation as ProgressLocation$2 } from '../../../platform/progress/common/progress.js';
|
|
26
26
|
import { SaveReason, DEFAULT_EDITOR_ASSOCIATION } from '../../common/editor.js';
|
|
27
27
|
import { isImageVariableEntry } from '../../contrib/chat/common/chatVariableEntries.js';
|
|
28
|
+
import { ChatAgentLocation } from '../../contrib/chat/common/constants.js';
|
|
29
|
+
import { ToolDataSource } from '../../contrib/chat/common/languageModelToolsService.js';
|
|
28
30
|
import { ChatMessageRole } from '../../contrib/chat/common/languageModels.js';
|
|
29
31
|
import { DebugTreeItemCollapsibleState } from '../../contrib/debug/common/debug.js';
|
|
32
|
+
import { McpServerLaunch, McpServerTransportType } from '../../contrib/mcp/common/mcpTypes.js';
|
|
30
33
|
import { CellEditType, CellKind, CellStatusbarAlignment } from '../../contrib/notebook/common/notebookCommon.js';
|
|
31
34
|
import { TestId } from '../../contrib/testing/common/testId.js';
|
|
32
35
|
import { TestMessageType, namespaceTestTag, denamespaceTestTag, TestRunProfileBitset, DetailType } from '../../contrib/testing/common/testTypes.js';
|
|
36
|
+
import { AiSettingsSearchResultKind } from '../../services/aiSettingsSearch/common/aiSettingsSearch.js';
|
|
33
37
|
import { SIDE_GROUP, ACTIVE_GROUP } from '../../services/editor/common/editorService.js';
|
|
34
38
|
import { isProposedApiEnabled, checkProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
35
39
|
import { SerializableObjectWithBuffers } from '../../services/extensions/common/proxyIdentifier.js';
|
|
36
40
|
import { getPrivateApiFor } from './extHostTestingPrivateApi.js';
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
+
import { StandardTokenType as StandardTokenType$1, ViewColumn as ViewColumn$1, DecorationRangeBehavior as DecorationRangeBehavior$1, DocumentSymbol as DocumentSymbol$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, VerboseHover, EvaluatableExpression as EvaluatableExpression$1, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext as InlineValueContext$1, DocumentHighlight as DocumentHighlight$1, MultiDocumentHighlight as MultiDocumentHighlight$1, CompletionTriggerKind as CompletionTriggerKind$1, CompletionItemTag as CompletionItemTag$1, CompletionItemKind as CompletionItemKind$1, CompletionItem as CompletionItem$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, DocumentLink as DocumentLink$1, ColorPresentation as ColorPresentation$1, Color as Color$1, SelectionRange as SelectionRange$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, ProgressLocation as ProgressLocation$1, FoldingRangeKind as FoldingRangeKind$1, RelativePattern, NotebookCellStatusBarAlignment, NotebookRendererScript as NotebookRendererScript$1, TestMessage as TestMessage$1, TestRunProfileKind as TestRunProfileKind$1, TestTag as TestTag$1, StatementCoverage, BranchCoverage, DeclarationCoverage, validateTestCoverageCount, FileCoverage, CodeActionTriggerKind as CodeActionTriggerKind$1, TypeHierarchyItem as TypeHierarchyItem$1, InternalFileDataTransferItem, DataTransferFile, InternalDataTransferItem, DataTransfer as DataTransfer$1, LanguageModelChatMessageRole as LanguageModelChatMessageRole$1, LanguageModelTextPart, LanguageModelPromptTsxPart, LanguageModelToolResultPart, LanguageModelToolCallPart, LanguageModelChatMessage as LanguageModelChatMessage$1, LanguageModelDataPart, LanguageModelToolResultPart2, LanguageModelThinkingPart, LanguageModelChatMessage2 as LanguageModelChatMessage2$1, ChatImageMimeType, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatResponseFileTreePart, ChatResponseMultiDiffPart as ChatResponseMultiDiffPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponseProgressPart as ChatResponseProgressPart$1, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseMovePart as ChatResponseMovePart$1, ChatPrepareToolInvocationPart as ChatPrepareToolInvocationPart$1, ChatToolInvocationPart as ChatToolInvocationPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseExtensionsPart as ChatResponseExtensionsPart$1, ChatResponsePullRequestPart as ChatResponsePullRequestPart$1, ChatLocation as ChatLocation$1, ChatReferenceBinaryData, ChatReferenceDiagnostic, LanguageModelToolResult as LanguageModelToolResult$1, ChatEditingSessionActionOutcome, PartialAcceptTriggerKind as PartialAcceptTriggerKind$1, InlineCompletionEndOfLifeReasonKind as InlineCompletionEndOfLifeReasonKind$1, InlineCompletionDisplayLocationKind as InlineCompletionDisplayLocationKind$1, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, LanguageModelToolResult2 as LanguageModelToolResult2$1 } from './extHostTypes.js';
|
|
42
|
+
import { SymbolKind as SymbolKind$2, SymbolTag as SymbolTag$1, SymbolInformation } from './extHostTypes/symbolInformation.js';
|
|
43
|
+
import { Position as Position$1 } from './extHostTypes/position.js';
|
|
44
|
+
import { Selection as Selection$1 } from './extHostTypes/selection.js';
|
|
45
|
+
import { Range as Range$1 } from './extHostTypes/range.js';
|
|
46
|
+
import { Location as Location$1 } from './extHostTypes/location.js';
|
|
47
|
+
import { DiagnosticTag as DiagnosticTag$1, Diagnostic as Diagnostic$1, DiagnosticRelatedInformation as DiagnosticRelatedInformation$1, DiagnosticSeverity as DiagnosticSeverity$1 } from './extHostTypes/diagnostic.js';
|
|
48
|
+
import { MarkdownString as MarkdownString$1 } from './extHostTypes/markdownString.js';
|
|
49
|
+
import { TextEdit as TextEdit$1, EndOfLine as EndOfLine$1 } from './extHostTypes/textEdit.js';
|
|
50
|
+
import { WorkspaceEdit as WorkspaceEdit$1, FileEditType } from './extHostTypes/workspaceEdit.js';
|
|
51
|
+
import { SnippetTextEdit } from './extHostTypes/snippetTextEdit.js';
|
|
52
|
+
import { SnippetString } from './extHostTypes/snippetString.js';
|
|
53
|
+
import { NotebookRange as NotebookRange$1, NotebookCellKind as NotebookCellKind$1, NotebookCellData as NotebookCellData$1, NotebookData as NotebookData$1, NotebookCellOutputItem as NotebookCellOutputItem$1, NotebookCellOutput as NotebookCellOutput$1 } from './extHostTypes/notebooks.js';
|
|
41
54
|
|
|
42
55
|
var Selection;
|
|
43
56
|
(function (Selection) {
|
|
@@ -2155,14 +2168,17 @@ var LanguageModelChatMessage;
|
|
|
2155
2168
|
return ( new LanguageModelTextPart(c.value, c.audience));
|
|
2156
2169
|
}
|
|
2157
2170
|
else if (c.type === 'tool_result') {
|
|
2158
|
-
const content = ( c.value.map(part => {
|
|
2171
|
+
const content = coalesce(( c.value.map(part => {
|
|
2159
2172
|
if (part.type === 'text') {
|
|
2160
2173
|
return new LanguageModelTextPart(part.value, part.audience);
|
|
2161
2174
|
}
|
|
2162
|
-
else {
|
|
2175
|
+
else if (part.type === 'prompt_tsx') {
|
|
2163
2176
|
return new LanguageModelPromptTsxPart(part.value);
|
|
2164
2177
|
}
|
|
2165
|
-
|
|
2178
|
+
else {
|
|
2179
|
+
return undefined;
|
|
2180
|
+
}
|
|
2181
|
+
})));
|
|
2166
2182
|
return new LanguageModelToolResultPart(c.toolCallId, content, c.isError);
|
|
2167
2183
|
}
|
|
2168
2184
|
else if (c.type === 'image_url') {
|
|
@@ -2256,7 +2272,7 @@ var LanguageModelChatMessage2;
|
|
|
2256
2272
|
return new LanguageModelTextPart(part.value, part.audience);
|
|
2257
2273
|
}
|
|
2258
2274
|
else if (part.type === 'data') {
|
|
2259
|
-
return new LanguageModelDataPart(part.
|
|
2275
|
+
return new LanguageModelDataPart(part.data.buffer, part.mimeType);
|
|
2260
2276
|
}
|
|
2261
2277
|
else {
|
|
2262
2278
|
return new LanguageModelPromptTsxPart(part.value);
|
|
@@ -2270,6 +2286,9 @@ var LanguageModelChatMessage2;
|
|
|
2270
2286
|
else if (c.type === 'data') {
|
|
2271
2287
|
return new LanguageModelDataPart(c.data.buffer, c.mimeType);
|
|
2272
2288
|
}
|
|
2289
|
+
else if (c.type === 'thinking') {
|
|
2290
|
+
return new LanguageModelThinkingPart(c.value, c.id, c.metadata);
|
|
2291
|
+
}
|
|
2273
2292
|
else {
|
|
2274
2293
|
return new LanguageModelToolCallPart(c.toolCallId, c.name, c.parameters);
|
|
2275
2294
|
}
|
|
@@ -2308,10 +2327,8 @@ var LanguageModelChatMessage2;
|
|
|
2308
2327
|
else if (part instanceof LanguageModelDataPart) {
|
|
2309
2328
|
return {
|
|
2310
2329
|
type: 'data',
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
data: VSBuffer.wrap(part.data)
|
|
2314
|
-
},
|
|
2330
|
+
mimeType: part.mimeType,
|
|
2331
|
+
data: VSBuffer.wrap(part.data),
|
|
2315
2332
|
audience: part.audience
|
|
2316
2333
|
};
|
|
2317
2334
|
}
|
|
@@ -2356,6 +2373,14 @@ var LanguageModelChatMessage2;
|
|
|
2356
2373
|
value: c.value
|
|
2357
2374
|
};
|
|
2358
2375
|
}
|
|
2376
|
+
else if (c instanceof LanguageModelThinkingPart) {
|
|
2377
|
+
return {
|
|
2378
|
+
type: 'thinking',
|
|
2379
|
+
value: c.value,
|
|
2380
|
+
id: c.id,
|
|
2381
|
+
metadata: c.metadata
|
|
2382
|
+
};
|
|
2383
|
+
}
|
|
2359
2384
|
else {
|
|
2360
2385
|
if (typeof c !== 'string') {
|
|
2361
2386
|
throw ( new Error('Unexpected chat message content type llm 2'));
|
|
@@ -2493,7 +2518,9 @@ var ChatResponseMultiDiffPart;
|
|
|
2493
2518
|
resources: ( part.value.map(entry => ({
|
|
2494
2519
|
originalUri: entry.originalUri,
|
|
2495
2520
|
modifiedUri: entry.modifiedUri,
|
|
2496
|
-
goToFileUri: entry.goToFileUri
|
|
2521
|
+
goToFileUri: entry.goToFileUri,
|
|
2522
|
+
added: entry.added,
|
|
2523
|
+
removed: entry.removed,
|
|
2497
2524
|
})))
|
|
2498
2525
|
}
|
|
2499
2526
|
};
|
|
@@ -2503,7 +2530,9 @@ var ChatResponseMultiDiffPart;
|
|
|
2503
2530
|
const resources = ( part.multiDiffData.resources.map(resource => ({
|
|
2504
2531
|
originalUri: resource.originalUri ? URI.revive(resource.originalUri) : undefined,
|
|
2505
2532
|
modifiedUri: resource.modifiedUri ? URI.revive(resource.modifiedUri) : undefined,
|
|
2506
|
-
goToFileUri: resource.goToFileUri ? URI.revive(resource.goToFileUri) : undefined
|
|
2533
|
+
goToFileUri: resource.goToFileUri ? URI.revive(resource.goToFileUri) : undefined,
|
|
2534
|
+
added: resource.added,
|
|
2535
|
+
removed: resource.removed,
|
|
2507
2536
|
})));
|
|
2508
2537
|
return new ChatResponseMultiDiffPart$1(resources, part.multiDiffData.title);
|
|
2509
2538
|
}
|
|
@@ -2549,6 +2578,22 @@ var ChatResponseProgressPart;
|
|
|
2549
2578
|
}
|
|
2550
2579
|
ChatResponseProgressPart.to = to;
|
|
2551
2580
|
})(ChatResponseProgressPart || (ChatResponseProgressPart = {}));
|
|
2581
|
+
var ChatResponseThinkingProgressPart;
|
|
2582
|
+
(function (ChatResponseThinkingProgressPart) {
|
|
2583
|
+
function from(part) {
|
|
2584
|
+
return {
|
|
2585
|
+
kind: 'thinking',
|
|
2586
|
+
value: part.value,
|
|
2587
|
+
id: part.id,
|
|
2588
|
+
metadata: part.metadata
|
|
2589
|
+
};
|
|
2590
|
+
}
|
|
2591
|
+
ChatResponseThinkingProgressPart.from = from;
|
|
2592
|
+
function to(part) {
|
|
2593
|
+
return new ChatResponseThinkingProgressPart$1(part.value ?? '', part.id, part.metadata);
|
|
2594
|
+
}
|
|
2595
|
+
ChatResponseThinkingProgressPart.to = to;
|
|
2596
|
+
})(ChatResponseThinkingProgressPart || (ChatResponseThinkingProgressPart = {}));
|
|
2552
2597
|
var ChatResponseWarningPart;
|
|
2553
2598
|
(function (ChatResponseWarningPart) {
|
|
2554
2599
|
function from(part) {
|
|
@@ -2628,8 +2673,7 @@ var ChatToolInvocationPart;
|
|
|
2628
2673
|
pastTenseMessage: part.pastTenseMessage ? MarkdownString.from(part.pastTenseMessage) : undefined,
|
|
2629
2674
|
isConfirmed: part.isConfirmed,
|
|
2630
2675
|
isComplete: part.isComplete ?? true,
|
|
2631
|
-
|
|
2632
|
-
resultDetails: undefined,
|
|
2676
|
+
source: ToolDataSource.External,
|
|
2633
2677
|
toolSpecificData: part.toolSpecificData ? convertToolSpecificData(part.toolSpecificData) : undefined,
|
|
2634
2678
|
presentation: undefined
|
|
2635
2679
|
};
|
|
@@ -2853,6 +2897,9 @@ var ChatResponsePart;
|
|
|
2853
2897
|
else if (part instanceof ChatResponseProgressPart$1) {
|
|
2854
2898
|
return ChatResponseProgressPart.from(part);
|
|
2855
2899
|
}
|
|
2900
|
+
else if (part instanceof ChatResponseThinkingProgressPart$1) {
|
|
2901
|
+
return ChatResponseThinkingProgressPart.from(part);
|
|
2902
|
+
}
|
|
2856
2903
|
else if (part instanceof ChatResponseFileTreePart) {
|
|
2857
2904
|
return ChatResponseFilesPart.from(part);
|
|
2858
2905
|
}
|
|
@@ -3125,7 +3172,10 @@ var ChatAgentResult;
|
|
|
3125
3172
|
return new LanguageModelToolResult$1(cloneAndChange(value.content, reviveMetadata));
|
|
3126
3173
|
}
|
|
3127
3174
|
else if (value.$mid === MarshalledId.LanguageModelTextPart) {
|
|
3128
|
-
return new LanguageModelTextPart(value.value
|
|
3175
|
+
return new LanguageModelTextPart(value.value);
|
|
3176
|
+
}
|
|
3177
|
+
else if (value.$mid === MarshalledId.LanguageModelThinkingPart) {
|
|
3178
|
+
return new LanguageModelThinkingPart(value.value, value.id, value.metadata);
|
|
3129
3179
|
}
|
|
3130
3180
|
else if (value.$mid === MarshalledId.LanguageModelPromptTsxPart) {
|
|
3131
3181
|
return new LanguageModelPromptTsxPart(value.value);
|
|
@@ -3182,7 +3232,9 @@ var ChatAgentUserActionEvent;
|
|
|
3182
3232
|
outcome: outcomes.get(event.action.outcome) ?? ChatEditingSessionActionOutcome.Rejected,
|
|
3183
3233
|
uri: URI.revive(event.action.uri),
|
|
3184
3234
|
hasRemainingEdits: event.action.hasRemainingEdits,
|
|
3185
|
-
lineCount: event.action.lineCount
|
|
3235
|
+
lineCount: event.action.lineCount,
|
|
3236
|
+
linesAdded: event.action.linesAdded,
|
|
3237
|
+
linesRemoved: event.action.linesRemoved
|
|
3186
3238
|
}, result: ehResult
|
|
3187
3239
|
};
|
|
3188
3240
|
}
|
|
@@ -3289,6 +3341,27 @@ var InlineCompletionEndOfLifeReason;
|
|
|
3289
3341
|
}
|
|
3290
3342
|
InlineCompletionEndOfLifeReason.to = to;
|
|
3291
3343
|
})(InlineCompletionEndOfLifeReason || (InlineCompletionEndOfLifeReason = {}));
|
|
3344
|
+
var InlineCompletionDisplayLocationKind;
|
|
3345
|
+
(function (InlineCompletionDisplayLocationKind) {
|
|
3346
|
+
function from(value) {
|
|
3347
|
+
if (value === InlineCompletionDisplayLocationKind$1.Label) {
|
|
3348
|
+
return InlineCompletionDisplayLocationKind$1.Label;
|
|
3349
|
+
}
|
|
3350
|
+
else {
|
|
3351
|
+
return InlineCompletionDisplayLocationKind$1.Code;
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
InlineCompletionDisplayLocationKind.from = from;
|
|
3355
|
+
function to(kind) {
|
|
3356
|
+
switch (kind) {
|
|
3357
|
+
case InlineCompletionDisplayLocationKind$2.Label:
|
|
3358
|
+
return InlineCompletionDisplayLocationKind$1.Label;
|
|
3359
|
+
default:
|
|
3360
|
+
return InlineCompletionDisplayLocationKind$1.Code;
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
InlineCompletionDisplayLocationKind.to = to;
|
|
3364
|
+
})(InlineCompletionDisplayLocationKind || (InlineCompletionDisplayLocationKind = {}));
|
|
3292
3365
|
var DebugTreeItem;
|
|
3293
3366
|
(function (DebugTreeItem) {
|
|
3294
3367
|
function from(item, id) {
|
|
@@ -3503,4 +3576,4 @@ var McpServerDefinition;
|
|
|
3503
3576
|
McpServerDefinition.from = from;
|
|
3504
3577
|
})(McpServerDefinition || (McpServerDefinition = {}));
|
|
3505
3578
|
|
|
3506
|
-
export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatLanguageModelToolReference, ChatLocation, ChatPrepareToolInvocationPart, ChatPromptReference, ChatRequestDraft, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionEndOfLifeReason, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalQuickFix, TerminalResourceRequestConfig, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
|
|
3579
|
+
export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatLanguageModelToolReference, ChatLocation, ChatPrepareToolInvocationPart, ChatPromptReference, ChatRequestDraft, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseWarningPart, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReason, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalQuickFix, TerminalResourceRequestConfig, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class CodeActionKind {
|
|
2
|
+
readonly value: string;
|
|
3
|
+
private static readonly sep;
|
|
4
|
+
static Empty: CodeActionKind;
|
|
5
|
+
static QuickFix: CodeActionKind;
|
|
6
|
+
static Refactor: CodeActionKind;
|
|
7
|
+
static RefactorExtract: CodeActionKind;
|
|
8
|
+
static RefactorInline: CodeActionKind;
|
|
9
|
+
static RefactorMove: CodeActionKind;
|
|
10
|
+
static RefactorRewrite: CodeActionKind;
|
|
11
|
+
static Source: CodeActionKind;
|
|
12
|
+
static SourceOrganizeImports: CodeActionKind;
|
|
13
|
+
static SourceFixAll: CodeActionKind;
|
|
14
|
+
static Notebook: CodeActionKind;
|
|
15
|
+
constructor(value: string);
|
|
16
|
+
append(parts: string): CodeActionKind;
|
|
17
|
+
intersects(other: CodeActionKind): boolean;
|
|
18
|
+
contains(other: CodeActionKind): boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
import { __decorate } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { es5ClassCompat } from './es5ClassCompat.js';
|
|
4
|
+
|
|
5
|
+
var CodeActionKind_1;
|
|
6
|
+
let CodeActionKind = class CodeActionKind {
|
|
7
|
+
static { CodeActionKind_1 = this; }
|
|
8
|
+
static { this.sep = '.'; }
|
|
9
|
+
constructor(value) {
|
|
10
|
+
this.value = value;
|
|
11
|
+
}
|
|
12
|
+
append(parts) {
|
|
13
|
+
return ( new CodeActionKind_1(this.value ? this.value + CodeActionKind_1.sep + parts : parts));
|
|
14
|
+
}
|
|
15
|
+
intersects(other) {
|
|
16
|
+
return this.contains(other) || other.contains(this);
|
|
17
|
+
}
|
|
18
|
+
contains(other) {
|
|
19
|
+
return this.value === other.value || other.value.startsWith(this.value + CodeActionKind_1.sep);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
CodeActionKind = CodeActionKind_1 = ( __decorate([
|
|
23
|
+
es5ClassCompat
|
|
24
|
+
], CodeActionKind));
|
|
25
|
+
CodeActionKind.Empty = ( new CodeActionKind(''));
|
|
26
|
+
CodeActionKind.QuickFix = CodeActionKind.Empty.append('quickfix');
|
|
27
|
+
CodeActionKind.Refactor = CodeActionKind.Empty.append('refactor');
|
|
28
|
+
CodeActionKind.RefactorExtract = CodeActionKind.Refactor.append('extract');
|
|
29
|
+
CodeActionKind.RefactorInline = CodeActionKind.Refactor.append('inline');
|
|
30
|
+
CodeActionKind.RefactorMove = CodeActionKind.Refactor.append('move');
|
|
31
|
+
CodeActionKind.RefactorRewrite = CodeActionKind.Refactor.append('rewrite');
|
|
32
|
+
CodeActionKind.Source = CodeActionKind.Empty.append('source');
|
|
33
|
+
CodeActionKind.SourceOrganizeImports = CodeActionKind.Source.append('organizeImports');
|
|
34
|
+
CodeActionKind.SourceFixAll = CodeActionKind.Source.append('fixAll');
|
|
35
|
+
CodeActionKind.Notebook = CodeActionKind.Empty.append('notebook');
|
|
36
|
+
|
|
37
|
+
export { CodeActionKind };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Location } from "./location.js";
|
|
2
|
+
import { Range } from "./range.js";
|
|
3
|
+
export declare enum DiagnosticTag {
|
|
4
|
+
Unnecessary = 1,
|
|
5
|
+
Deprecated = 2
|
|
6
|
+
}
|
|
7
|
+
export declare enum DiagnosticSeverity {
|
|
8
|
+
Hint = 3,
|
|
9
|
+
Information = 2,
|
|
10
|
+
Warning = 1,
|
|
11
|
+
Error = 0
|
|
12
|
+
}
|
|
13
|
+
export declare class DiagnosticRelatedInformation {
|
|
14
|
+
static is(thing: any): thing is DiagnosticRelatedInformation;
|
|
15
|
+
location: Location;
|
|
16
|
+
message: string;
|
|
17
|
+
constructor(location: Location, message: string);
|
|
18
|
+
static isEqual(a: DiagnosticRelatedInformation, b: DiagnosticRelatedInformation): boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare class Diagnostic {
|
|
21
|
+
range: Range;
|
|
22
|
+
message: string;
|
|
23
|
+
severity: DiagnosticSeverity;
|
|
24
|
+
source?: string;
|
|
25
|
+
code?: string | number;
|
|
26
|
+
relatedInformation?: DiagnosticRelatedInformation[];
|
|
27
|
+
tags?: DiagnosticTag[];
|
|
28
|
+
constructor(range: Range, message: string, severity?: DiagnosticSeverity);
|
|
29
|
+
toJSON(): any;
|
|
30
|
+
static isEqual(a: Diagnostic | undefined, b: Diagnostic | undefined): boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
|
|
2
|
+
import { __decorate } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { equals } from '../../../../base/common/arrays.js';
|
|
4
|
+
import { URI } from '../../../../base/common/uri.js';
|
|
5
|
+
import { es5ClassCompat } from './es5ClassCompat.js';
|
|
6
|
+
import { Range } from './range.js';
|
|
7
|
+
|
|
8
|
+
var DiagnosticTag;
|
|
9
|
+
(function (DiagnosticTag) {
|
|
10
|
+
DiagnosticTag[DiagnosticTag["Unnecessary"] = 1] = "Unnecessary";
|
|
11
|
+
DiagnosticTag[DiagnosticTag["Deprecated"] = 2] = "Deprecated";
|
|
12
|
+
})(DiagnosticTag || (DiagnosticTag = {}));
|
|
13
|
+
var DiagnosticSeverity;
|
|
14
|
+
(function (DiagnosticSeverity) {
|
|
15
|
+
DiagnosticSeverity[DiagnosticSeverity["Hint"] = 3] = "Hint";
|
|
16
|
+
DiagnosticSeverity[DiagnosticSeverity["Information"] = 2] = "Information";
|
|
17
|
+
DiagnosticSeverity[DiagnosticSeverity["Warning"] = 1] = "Warning";
|
|
18
|
+
DiagnosticSeverity[DiagnosticSeverity["Error"] = 0] = "Error";
|
|
19
|
+
})(DiagnosticSeverity || (DiagnosticSeverity = {}));
|
|
20
|
+
let DiagnosticRelatedInformation = class DiagnosticRelatedInformation {
|
|
21
|
+
static is(thing) {
|
|
22
|
+
if (!thing) {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
return typeof thing.message === 'string'
|
|
26
|
+
&& thing.location
|
|
27
|
+
&& Range.isRange(thing.location.range)
|
|
28
|
+
&& URI.isUri(thing.location.uri);
|
|
29
|
+
}
|
|
30
|
+
constructor(location, message) {
|
|
31
|
+
this.location = location;
|
|
32
|
+
this.message = message;
|
|
33
|
+
}
|
|
34
|
+
static isEqual(a, b) {
|
|
35
|
+
if (a === b) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
if (!a || !b) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
return a.message === b.message
|
|
42
|
+
&& a.location.range.isEqual(b.location.range)
|
|
43
|
+
&& ( a.location.uri.toString()) === ( b.location.uri.toString());
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
DiagnosticRelatedInformation = ( __decorate([
|
|
47
|
+
es5ClassCompat
|
|
48
|
+
], DiagnosticRelatedInformation));
|
|
49
|
+
let Diagnostic = class Diagnostic {
|
|
50
|
+
constructor(range, message, severity = DiagnosticSeverity.Error) {
|
|
51
|
+
if (!Range.isRange(range)) {
|
|
52
|
+
throw ( new TypeError('range must be set'));
|
|
53
|
+
}
|
|
54
|
+
if (!message) {
|
|
55
|
+
throw ( new TypeError('message must be set'));
|
|
56
|
+
}
|
|
57
|
+
this.range = range;
|
|
58
|
+
this.message = message;
|
|
59
|
+
this.severity = severity;
|
|
60
|
+
}
|
|
61
|
+
toJSON() {
|
|
62
|
+
return {
|
|
63
|
+
severity: DiagnosticSeverity[this.severity],
|
|
64
|
+
message: this.message,
|
|
65
|
+
range: this.range,
|
|
66
|
+
source: this.source,
|
|
67
|
+
code: this.code,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static isEqual(a, b) {
|
|
71
|
+
if (a === b) {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
if (!a || !b) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return a.message === b.message
|
|
78
|
+
&& a.severity === b.severity
|
|
79
|
+
&& a.code === b.code
|
|
80
|
+
&& a.severity === b.severity
|
|
81
|
+
&& a.source === b.source
|
|
82
|
+
&& a.range.isEqual(b.range)
|
|
83
|
+
&& equals(a.tags, b.tags)
|
|
84
|
+
&& equals(a.relatedInformation, b.relatedInformation, DiagnosticRelatedInformation.isEqual);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
Diagnostic = ( __decorate([
|
|
88
|
+
es5ClassCompat
|
|
89
|
+
], Diagnostic));
|
|
90
|
+
|
|
91
|
+
export { Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
function es5ClassCompat(target) {
|
|
4
|
+
const interceptFunctions = {
|
|
5
|
+
apply: function (...args) {
|
|
6
|
+
if (args.length === 0) {
|
|
7
|
+
return Reflect.construct(target, []);
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
const argsList = args.length === 1 ? [] : args[1];
|
|
11
|
+
return Reflect.construct(target, argsList, args[0].constructor);
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
call: function (...args) {
|
|
15
|
+
if (args.length === 0) {
|
|
16
|
+
return Reflect.construct(target, []);
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
const [thisArg, ...restArgs] = args;
|
|
20
|
+
return Reflect.construct(target, restArgs, thisArg.constructor);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
return Object.assign(target, interceptFunctions);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { es5ClassCompat };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as vscode from "vscode";
|
|
2
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
+
import { Position } from "./position.js";
|
|
4
|
+
import { Range } from "./range.js";
|
|
5
|
+
export declare class Location {
|
|
6
|
+
static isLocation(thing: any): thing is vscode.Location;
|
|
7
|
+
uri: URI;
|
|
8
|
+
range: Range;
|
|
9
|
+
constructor(uri: URI, rangeOrPosition: Range | Position);
|
|
10
|
+
toJSON(): any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
import { __decorate } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { URI } from '../../../../base/common/uri.js';
|
|
4
|
+
import { es5ClassCompat } from './es5ClassCompat.js';
|
|
5
|
+
import { Position } from './position.js';
|
|
6
|
+
import { Range } from './range.js';
|
|
7
|
+
|
|
8
|
+
var Location_1;
|
|
9
|
+
let Location = Location_1 = class Location {
|
|
10
|
+
static isLocation(thing) {
|
|
11
|
+
if (thing instanceof Location_1) {
|
|
12
|
+
return true;
|
|
13
|
+
}
|
|
14
|
+
if (!thing) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return Range.isRange(thing.range)
|
|
18
|
+
&& URI.isUri(thing.uri);
|
|
19
|
+
}
|
|
20
|
+
constructor(uri, rangeOrPosition) {
|
|
21
|
+
this.uri = uri;
|
|
22
|
+
if (!rangeOrPosition) ;
|
|
23
|
+
else if (Range.isRange(rangeOrPosition)) {
|
|
24
|
+
this.range = Range.of(rangeOrPosition);
|
|
25
|
+
}
|
|
26
|
+
else if (Position.isPosition(rangeOrPosition)) {
|
|
27
|
+
this.range = ( new Range(rangeOrPosition, rangeOrPosition));
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
throw ( new Error('Illegal argument'));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
toJSON() {
|
|
34
|
+
return {
|
|
35
|
+
uri: this.uri,
|
|
36
|
+
range: this.range
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
Location = Location_1 = ( __decorate([
|
|
41
|
+
es5ClassCompat
|
|
42
|
+
], Location));
|
|
43
|
+
|
|
44
|
+
export { Location };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as vscode from "vscode";
|
|
2
|
+
import { MarkdownStringTrustedOptions } from "../../../../base/common/htmlContent.js";
|
|
3
|
+
export declare class MarkdownString implements vscode.MarkdownString {
|
|
4
|
+
#private;
|
|
5
|
+
static isMarkdownString(thing: any): thing is vscode.MarkdownString;
|
|
6
|
+
constructor(value?: string, supportThemeIcons?: boolean);
|
|
7
|
+
get value(): string;
|
|
8
|
+
set value(value: string);
|
|
9
|
+
get isTrusted(): boolean | MarkdownStringTrustedOptions | undefined;
|
|
10
|
+
set isTrusted(value: boolean | MarkdownStringTrustedOptions | undefined);
|
|
11
|
+
get supportThemeIcons(): boolean | undefined;
|
|
12
|
+
set supportThemeIcons(value: boolean | undefined);
|
|
13
|
+
get supportHtml(): boolean | undefined;
|
|
14
|
+
set supportHtml(value: boolean | undefined);
|
|
15
|
+
get baseUri(): vscode.Uri | undefined;
|
|
16
|
+
set baseUri(value: vscode.Uri | undefined);
|
|
17
|
+
appendText(value: string): vscode.MarkdownString;
|
|
18
|
+
appendMarkdown(value: string): vscode.MarkdownString;
|
|
19
|
+
appendCodeblock(value: string, language?: string): vscode.MarkdownString;
|
|
20
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
|
|
2
|
+
import { __decorate } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
+
import { MarkdownString as MarkdownString$1 } from '../../../../base/common/htmlContent.js';
|
|
4
|
+
import { es5ClassCompat } from './es5ClassCompat.js';
|
|
5
|
+
|
|
6
|
+
var MarkdownString_1;
|
|
7
|
+
let MarkdownString = MarkdownString_1 = class MarkdownString {
|
|
8
|
+
#delegate;
|
|
9
|
+
static isMarkdownString(thing) {
|
|
10
|
+
if (thing instanceof MarkdownString_1) {
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
13
|
+
return thing && thing.appendCodeblock && thing.appendMarkdown && thing.appendText && (thing.value !== undefined);
|
|
14
|
+
}
|
|
15
|
+
constructor(value, supportThemeIcons = false) {
|
|
16
|
+
this.#delegate = ( new MarkdownString$1(value, { supportThemeIcons }));
|
|
17
|
+
}
|
|
18
|
+
get value() {
|
|
19
|
+
return this.#delegate.value;
|
|
20
|
+
}
|
|
21
|
+
set value(value) {
|
|
22
|
+
this.#delegate.value = value;
|
|
23
|
+
}
|
|
24
|
+
get isTrusted() {
|
|
25
|
+
return this.#delegate.isTrusted;
|
|
26
|
+
}
|
|
27
|
+
set isTrusted(value) {
|
|
28
|
+
this.#delegate.isTrusted = value;
|
|
29
|
+
}
|
|
30
|
+
get supportThemeIcons() {
|
|
31
|
+
return this.#delegate.supportThemeIcons;
|
|
32
|
+
}
|
|
33
|
+
set supportThemeIcons(value) {
|
|
34
|
+
this.#delegate.supportThemeIcons = value;
|
|
35
|
+
}
|
|
36
|
+
get supportHtml() {
|
|
37
|
+
return this.#delegate.supportHtml;
|
|
38
|
+
}
|
|
39
|
+
set supportHtml(value) {
|
|
40
|
+
this.#delegate.supportHtml = value;
|
|
41
|
+
}
|
|
42
|
+
get baseUri() {
|
|
43
|
+
return this.#delegate.baseUri;
|
|
44
|
+
}
|
|
45
|
+
set baseUri(value) {
|
|
46
|
+
this.#delegate.baseUri = value;
|
|
47
|
+
}
|
|
48
|
+
appendText(value) {
|
|
49
|
+
this.#delegate.appendText(value);
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
appendMarkdown(value) {
|
|
53
|
+
this.#delegate.appendMarkdown(value);
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
appendCodeblock(value, language) {
|
|
57
|
+
this.#delegate.appendCodeblock(language ?? '', value);
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
MarkdownString = MarkdownString_1 = ( __decorate([
|
|
62
|
+
es5ClassCompat
|
|
63
|
+
], MarkdownString));
|
|
64
|
+
|
|
65
|
+
export { MarkdownString };
|