@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
|
@@ -3,142 +3,62 @@
|
|
|
3
3
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// @API extension ship a d.ts files for their options
|
|
10
|
-
|
|
11
|
-
// @API the LanguageModelChatProvider2 is an alternative that combines a source, like ollama etc, with
|
|
12
|
-
// concrete models. The `provideLanguageModelChatData` would do the discovery and auth dances and later
|
|
13
|
-
// the model data is passed to the concrete function for making a requested or counting token
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
// TODO@API name scheme
|
|
17
|
-
export interface LanguageModelChatRequestHandleOptions {
|
|
18
|
-
|
|
19
|
-
// initiator
|
|
20
|
-
readonly extensionId: string;
|
|
6
|
+
// version: 4
|
|
21
7
|
|
|
22
|
-
|
|
23
|
-
* A set of options that control the behavior of the language model. These options are specific to the language model
|
|
24
|
-
* and need to be looked up in the respective documentation.
|
|
25
|
-
*/
|
|
26
|
-
readonly modelOptions: { [name: string]: any };
|
|
8
|
+
declare module 'vscode' {
|
|
27
9
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
* If the LLM requests to call one of these tools, it will return a {@link LanguageModelToolCallPart} in
|
|
33
|
-
* {@link LanguageModelChatResponse.stream}. It's the caller's responsibility to invoke the tool. If it's a tool
|
|
34
|
-
* registered in {@link lm.tools}, that means calling {@link lm.invokeTool}.
|
|
35
|
-
*
|
|
36
|
-
* Then, the tool result can be provided to the LLM by creating an Assistant-type {@link LanguageModelChatMessage} with a
|
|
37
|
-
* {@link LanguageModelToolCallPart}, followed by a User-type message with a {@link LanguageModelToolResultPart}.
|
|
38
|
-
*/
|
|
39
|
-
tools?: LanguageModelChatTool[];
|
|
10
|
+
/**
|
|
11
|
+
* The provider version of {@linkcode LanguageModelChatRequestOptions}
|
|
12
|
+
*/
|
|
13
|
+
export interface ProvideLanguageModelChatResponseOptions {
|
|
40
14
|
|
|
41
15
|
/**
|
|
42
|
-
*
|
|
16
|
+
* What extension initiated the request to the language model
|
|
43
17
|
*/
|
|
44
|
-
|
|
18
|
+
readonly requestInitiator: string;
|
|
45
19
|
}
|
|
46
20
|
|
|
47
|
-
|
|
21
|
+
/**
|
|
22
|
+
* All the information representing a single language model contributed by a {@linkcode LanguageModelChatProvider}.
|
|
23
|
+
*/
|
|
48
24
|
export interface LanguageModelChatInformation {
|
|
49
25
|
|
|
50
|
-
readonly id: string;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Human-readable name of the language model.
|
|
54
|
-
*/
|
|
55
|
-
readonly name: string;
|
|
56
|
-
/**
|
|
57
|
-
* Opaque family-name of the language model. Values might be `gpt-3.5-turbo`, `gpt4`, `phi2`, or `llama`
|
|
58
|
-
* but they are defined by extensions contributing languages and subject to change.
|
|
59
|
-
*/
|
|
60
|
-
readonly family: string;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* An optional, human-readable description of the language model.
|
|
64
|
-
*/
|
|
65
|
-
readonly description?: string;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* An optional, human-readable string representing the cost of using the language model.
|
|
69
|
-
*/
|
|
70
|
-
readonly cost?: string;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Opaque version string of the model. This is defined by the extension contributing the language model
|
|
74
|
-
* and subject to change while the identifier is stable.
|
|
75
|
-
*/
|
|
76
|
-
readonly version: string;
|
|
77
|
-
|
|
78
|
-
readonly maxInputTokens: number;
|
|
79
|
-
|
|
80
|
-
readonly maxOutputTokens: number;
|
|
81
|
-
|
|
82
26
|
/**
|
|
83
27
|
* When present, this gates the use of `requestLanguageModelAccess` behind an authorization flow where
|
|
84
28
|
* the user must approve of another extension accessing the models contributed by this extension.
|
|
85
29
|
* Additionally, the extension can provide a label that will be shown in the UI.
|
|
30
|
+
* A common example of a label is an account name that is signed in.
|
|
31
|
+
*
|
|
86
32
|
*/
|
|
87
|
-
|
|
33
|
+
requiresAuthorization?: true | { label: string };
|
|
88
34
|
|
|
89
|
-
|
|
90
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Whether or not this will be selected by default in the model picker
|
|
37
|
+
* NOT BEING FINALIZED
|
|
38
|
+
*/
|
|
91
39
|
readonly isDefault?: boolean;
|
|
92
40
|
|
|
93
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Whether or not the model will show up in the model picker immediately upon being made known via {@linkcode LanguageModelChatProvider.provideLanguageModelChatInformation}.
|
|
43
|
+
* NOT BEING FINALIZED
|
|
44
|
+
*/
|
|
94
45
|
readonly isUserSelectable?: boolean;
|
|
95
46
|
|
|
96
|
-
readonly capabilities?: {
|
|
97
|
-
|
|
98
|
-
// TODO@API have mimeTypes that you support
|
|
99
|
-
readonly vision?: boolean;
|
|
100
|
-
|
|
101
|
-
// TODO@API should be `boolean | number` so extensions can express how many tools they support
|
|
102
|
-
readonly toolCalling?: boolean | number;
|
|
103
|
-
|
|
104
|
-
// TODO@API DO NOT SUPPORT THIS
|
|
105
|
-
// readonly agentMode?: boolean;
|
|
106
|
-
|
|
107
|
-
// TODO@API support prompt TSX style messages, MAYBE leave it out for now
|
|
108
|
-
readonly promptTsx?: boolean;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
47
|
/**
|
|
112
48
|
* Optional category to group models by in the model picker.
|
|
113
49
|
* The lower the order, the higher the category appears in the list.
|
|
114
50
|
* Has no effect if `isUserSelectable` is `false`.
|
|
115
|
-
*
|
|
51
|
+
*
|
|
52
|
+
* WONT BE FINALIZED
|
|
116
53
|
*/
|
|
117
54
|
readonly category?: { label: string; order: number };
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export interface LanguageModelChatProvider2<T extends LanguageModelChatInformation = LanguageModelChatInformation> {
|
|
121
|
-
|
|
122
|
-
// signals a change from the provider to the editor so that prepareLanguageModelChat is called again
|
|
123
|
-
onDidChange?: Event<void>;
|
|
124
55
|
|
|
125
|
-
|
|
126
|
-
prepareLanguageModelChat(options: { silent: boolean }, token: CancellationToken): ProviderResult<T[]>;
|
|
127
|
-
|
|
128
|
-
provideLanguageModelChatResponse(model: T, messages: Array<LanguageModelChatMessage | LanguageModelChatMessage2>, options: LanguageModelChatRequestHandleOptions, progress: Progress<ChatResponseFragment2>, token: CancellationToken): Thenable<any>;
|
|
129
|
-
|
|
130
|
-
provideTokenCount(model: T, text: string | LanguageModelChatMessage | LanguageModelChatMessage2, token: CancellationToken): Thenable<number>;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export namespace lm {
|
|
134
|
-
|
|
135
|
-
export function registerChatModelProvider(vendor: string, provider: LanguageModelChatProvider2): Disposable;
|
|
56
|
+
readonly statusIcon?: ThemeIcon;
|
|
136
57
|
}
|
|
137
58
|
|
|
59
|
+
export type LanguageModelResponsePart2 = LanguageModelResponsePart | LanguageModelDataPart | LanguageModelThinkingPart;
|
|
138
60
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
index: number;
|
|
142
|
-
part: LanguageModelTextPart | LanguageModelToolCallPart;
|
|
61
|
+
export interface LanguageModelChatProvider<T extends LanguageModelChatInformation = LanguageModelChatInformation> {
|
|
62
|
+
provideLanguageModelChatResponse(model: T, messages: readonly LanguageModelChatRequestMessage[], options: ProvideLanguageModelChatResponseOptions, progress: Progress<LanguageModelResponsePart2>, token: CancellationToken): Thenable<void>;
|
|
143
63
|
}
|
|
144
64
|
}
|
|
@@ -4,6 +4,26 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
declare module 'vscode' {
|
|
7
|
+
/**
|
|
8
|
+
* Represents the status of a chat session.
|
|
9
|
+
*/
|
|
10
|
+
export enum ChatSessionStatus {
|
|
11
|
+
/**
|
|
12
|
+
* The chat session failed to complete.
|
|
13
|
+
*/
|
|
14
|
+
Failed = 0,
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The chat session completed successfully.
|
|
18
|
+
*/
|
|
19
|
+
Completed = 1,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The chat session is currently in progress.
|
|
23
|
+
*/
|
|
24
|
+
InProgress = 2
|
|
25
|
+
}
|
|
26
|
+
|
|
7
27
|
/**
|
|
8
28
|
* Provides a list of information about chat sessions.
|
|
9
29
|
*/
|
|
@@ -13,16 +33,34 @@ declare module 'vscode' {
|
|
|
13
33
|
*/
|
|
14
34
|
readonly onDidChangeChatSessionItems: Event<void>;
|
|
15
35
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Creates a new chat session.
|
|
38
|
+
*
|
|
39
|
+
* @param options Options for the new session including an optional initial prompt and history
|
|
40
|
+
* @param token A cancellation token
|
|
41
|
+
* @returns Metadata for the chat session
|
|
42
|
+
*/
|
|
43
|
+
provideNewChatSessionItem?(options: {
|
|
44
|
+
/**
|
|
45
|
+
* The chat request that initiated the session creation
|
|
46
|
+
*/
|
|
47
|
+
readonly request: ChatRequest;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Initial prompt to initiate the session
|
|
51
|
+
*/
|
|
52
|
+
readonly prompt?: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* History to initialize the session with
|
|
56
|
+
*/
|
|
57
|
+
readonly history?: ReadonlyArray<ChatRequestTurn | ChatResponseTurn>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Additional metadata to use for session creation
|
|
61
|
+
*/
|
|
62
|
+
metadata?: any;
|
|
63
|
+
}, token: CancellationToken): ProviderResult<ChatSessionItem>;
|
|
26
64
|
|
|
27
65
|
/**
|
|
28
66
|
* Provides a list of chat sessions.
|
|
@@ -46,10 +84,53 @@ declare module 'vscode' {
|
|
|
46
84
|
* An icon for the participant shown in UI.
|
|
47
85
|
*/
|
|
48
86
|
iconPath?: IconPath;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* An optional description that provides additional context about the chat session.
|
|
90
|
+
*/
|
|
91
|
+
description?: string | MarkdownString;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* An optional status indicating the current state of the session.
|
|
95
|
+
*/
|
|
96
|
+
status?: ChatSessionStatus;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The tooltip text when you hover over this item.
|
|
100
|
+
*/
|
|
101
|
+
tooltip?: string | MarkdownString;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The times at which session started and ended
|
|
105
|
+
*/
|
|
106
|
+
timing?: {
|
|
107
|
+
/**
|
|
108
|
+
* Session start timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.
|
|
109
|
+
*/
|
|
110
|
+
startTime: number;
|
|
111
|
+
/**
|
|
112
|
+
* Session end timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.
|
|
113
|
+
*/
|
|
114
|
+
endTime?: number;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Statistics about the chat session.
|
|
119
|
+
*/
|
|
120
|
+
statistics?: {
|
|
121
|
+
/**
|
|
122
|
+
* Number of insertions made during the session.
|
|
123
|
+
*/
|
|
124
|
+
insertions: number;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Number of deletions made during the session.
|
|
128
|
+
*/
|
|
129
|
+
deletions: number;
|
|
130
|
+
};
|
|
49
131
|
}
|
|
50
132
|
|
|
51
133
|
export interface ChatSession {
|
|
52
|
-
|
|
53
134
|
/**
|
|
54
135
|
* The full history of the session
|
|
55
136
|
*
|
|
@@ -74,6 +155,7 @@ declare module 'vscode' {
|
|
|
74
155
|
* If not set, then the session will be considered read-only and no requests can be made.
|
|
75
156
|
*/
|
|
76
157
|
// TODO: Should we introduce our own type for `ChatRequestHandler` since not all field apply to chat sessions?
|
|
158
|
+
// TODO: Revisit this to align with code.
|
|
77
159
|
readonly requestHandler: ChatRequestHandler | undefined;
|
|
78
160
|
}
|
|
79
161
|
|
|
@@ -108,7 +190,14 @@ declare module 'vscode' {
|
|
|
108
190
|
*
|
|
109
191
|
* @returns A disposable that unregisters the provider when disposed.
|
|
110
192
|
*/
|
|
111
|
-
export function registerChatSessionContentProvider(chatSessionType: string, provider: ChatSessionContentProvider): Disposable;
|
|
193
|
+
export function registerChatSessionContentProvider(chatSessionType: string, provider: ChatSessionContentProvider, capabilities?: ChatSessionCapabilities): Disposable;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export interface ChatSessionCapabilities {
|
|
197
|
+
/**
|
|
198
|
+
* Whether sessions can be interrupted and resumed without side-effects.
|
|
199
|
+
*/
|
|
200
|
+
supportsInterruptions?: boolean;
|
|
112
201
|
}
|
|
113
202
|
|
|
114
203
|
export interface ChatSessionShowOptions {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
// empty placeholder declaration for the `secondarySidebar`-contribution point
|
|
@@ -7,6 +7,7 @@ import "./vscode.proposed.authIssuers.d.ts"
|
|
|
7
7
|
import "./vscode.proposed.authLearnMore.d.ts"
|
|
8
8
|
import "./vscode.proposed.authProviderSpecific.d.ts"
|
|
9
9
|
import "./vscode.proposed.authSession.d.ts"
|
|
10
|
+
import "./vscode.proposed.authenticationChallenges.d.ts"
|
|
10
11
|
import "./vscode.proposed.canonicalUriProvider.d.ts"
|
|
11
12
|
import "./vscode.proposed.chatEditing.d.ts"
|
|
12
13
|
import "./vscode.proposed.chatOutputRenderer.d.ts"
|
|
@@ -42,6 +43,7 @@ import "./vscode.proposed.contribMergeEditorMenus.d.ts"
|
|
|
42
43
|
import "./vscode.proposed.contribMultiDiffEditorMenus.d.ts"
|
|
43
44
|
import "./vscode.proposed.contribNotebookStaticPreloads.d.ts"
|
|
44
45
|
import "./vscode.proposed.contribRemoteHelp.d.ts"
|
|
46
|
+
import "./vscode.proposed.contribSecondarySidebar.d.ts"
|
|
45
47
|
import "./vscode.proposed.contribShareMenu.d.ts"
|
|
46
48
|
import "./vscode.proposed.contribSourceControlHistoryItemMenu.d.ts"
|
|
47
49
|
import "./vscode.proposed.contribSourceControlHistoryTitleMenu.d.ts"
|
|
@@ -79,6 +81,7 @@ import "./vscode.proposed.ipc.d.ts"
|
|
|
79
81
|
import "./vscode.proposed.languageModelCapabilities.d.ts"
|
|
80
82
|
import "./vscode.proposed.languageModelDataPart.d.ts"
|
|
81
83
|
import "./vscode.proposed.languageModelSystem.d.ts"
|
|
84
|
+
import "./vscode.proposed.languageModelThinkingPart.d.ts"
|
|
82
85
|
import "./vscode.proposed.languageModelToolResultAudience.d.ts"
|
|
83
86
|
import "./vscode.proposed.languageStatusText.d.ts"
|
|
84
87
|
import "./vscode.proposed.mappedEditsProvider.d.ts"
|
|
@@ -39,11 +39,6 @@ declare module 'vscode' {
|
|
|
39
39
|
*/
|
|
40
40
|
helpTextPrefix?: string | MarkdownString;
|
|
41
41
|
|
|
42
|
-
/**
|
|
43
|
-
* A string that will be added before the listing of chat variables in `/help`.
|
|
44
|
-
*/
|
|
45
|
-
helpTextVariablesPrefix?: string | MarkdownString;
|
|
46
|
-
|
|
47
42
|
/**
|
|
48
43
|
* A string that will be appended after the listing of chat participants in `/help`.
|
|
49
44
|
*/
|
|
@@ -21,6 +21,24 @@ declare module 'vscode' {
|
|
|
21
21
|
* @return A {@link Disposable} that unregisters this provider when being disposed.
|
|
22
22
|
*/
|
|
23
23
|
export function registerInlineCompletionItemProvider(selector: DocumentSelector, provider: InlineCompletionItemProvider, metadata: InlineCompletionItemProviderMetadata): Disposable;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* temporary: to be removed
|
|
27
|
+
*/
|
|
28
|
+
export const inlineCompletionsUnificationState: InlineCompletionsUnificationState;
|
|
29
|
+
/**
|
|
30
|
+
* temporary: to be removed
|
|
31
|
+
*/
|
|
32
|
+
export const onDidChangeCompletionsUnificationState: Event<void>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* temporary: to be removed
|
|
37
|
+
*/
|
|
38
|
+
export interface InlineCompletionsUnificationState {
|
|
39
|
+
codeUnification: boolean;
|
|
40
|
+
modelUnification: boolean;
|
|
41
|
+
expAssignments: string[];
|
|
24
42
|
}
|
|
25
43
|
|
|
26
44
|
export interface InlineCompletionItem {
|
|
@@ -46,10 +64,19 @@ declare module 'vscode' {
|
|
|
46
64
|
action?: Command;
|
|
47
65
|
|
|
48
66
|
displayLocation?: InlineCompletionDisplayLocation;
|
|
67
|
+
|
|
68
|
+
/** Used for telemetry. Can be an arbitrary string. */
|
|
69
|
+
correlationId?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export enum InlineCompletionDisplayLocationKind {
|
|
73
|
+
Code = 1,
|
|
74
|
+
Label = 2
|
|
49
75
|
}
|
|
50
76
|
|
|
51
77
|
export interface InlineCompletionDisplayLocation {
|
|
52
78
|
range: Range;
|
|
79
|
+
kind: InlineCompletionDisplayLocationKind;
|
|
53
80
|
label: string;
|
|
54
81
|
}
|
|
55
82
|
|
|
@@ -72,6 +99,8 @@ declare module 'vscode' {
|
|
|
72
99
|
debounceDelayMs?: number;
|
|
73
100
|
|
|
74
101
|
displayName?: string;
|
|
102
|
+
|
|
103
|
+
excludes?: string[];
|
|
75
104
|
}
|
|
76
105
|
|
|
77
106
|
export interface InlineCompletionItemProvider {
|
|
@@ -156,6 +185,8 @@ declare module 'vscode' {
|
|
|
156
185
|
readonly requestUuid: string;
|
|
157
186
|
|
|
158
187
|
readonly requestIssuedDateTime: number;
|
|
188
|
+
|
|
189
|
+
readonly earliestShownDateTime: number;
|
|
159
190
|
}
|
|
160
191
|
|
|
161
192
|
export interface PartialAcceptInfo {
|
|
@@ -42,7 +42,7 @@ declare module 'vscode' {
|
|
|
42
42
|
* A string or heterogeneous array of things that a message can contain as content. Some parts may be message-type
|
|
43
43
|
* specific for some models.
|
|
44
44
|
*/
|
|
45
|
-
content: Array<LanguageModelTextPart | LanguageModelToolResultPart2 | LanguageModelToolCallPart | LanguageModelDataPart>;
|
|
45
|
+
content: Array<LanguageModelTextPart | LanguageModelToolResultPart2 | LanguageModelToolCallPart | LanguageModelDataPart | LanguageModelThinkingPart>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* The optional name of a user for this message.
|
|
@@ -56,7 +56,7 @@ declare module 'vscode' {
|
|
|
56
56
|
* @param content The content of the message.
|
|
57
57
|
* @param name The optional name of a user for the message.
|
|
58
58
|
*/
|
|
59
|
-
constructor(role: LanguageModelChatMessageRole, content: string | Array<LanguageModelTextPart | LanguageModelToolResultPart2 | LanguageModelToolCallPart | LanguageModelDataPart>, name?: string);
|
|
59
|
+
constructor(role: LanguageModelChatMessageRole, content: string | Array<LanguageModelTextPart | LanguageModelToolResultPart2 | LanguageModelToolCallPart | LanguageModelDataPart | LanguageModelThinkingPart>, name?: string);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
// version: 1
|
|
7
|
+
|
|
8
|
+
declare module 'vscode' {
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* A language model response part containing thinking/reasoning content.
|
|
12
|
+
* Thinking tokens represent the model's internal reasoning process that
|
|
13
|
+
* typically streams before the final response.
|
|
14
|
+
*/
|
|
15
|
+
export class LanguageModelThinkingPart {
|
|
16
|
+
/**
|
|
17
|
+
* The thinking/reasoning text content.
|
|
18
|
+
*/
|
|
19
|
+
value: string | string[];
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Optional unique identifier for this thinking sequence.
|
|
23
|
+
* This ID is typically provided at the end of the thinking stream
|
|
24
|
+
* and can be used for retrieval or reference purposes.
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Optional metadata associated with this thinking sequence.
|
|
30
|
+
*/
|
|
31
|
+
metadata?: { readonly [key: string]: any };
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Construct a thinking part with the given content.
|
|
35
|
+
* @param value The thinking text content.
|
|
36
|
+
* @param id Optional unique identifier for this thinking sequence.
|
|
37
|
+
* @param metadata Optional metadata associated with this thinking sequence.
|
|
38
|
+
*/
|
|
39
|
+
constructor(value: string | string[], id?: string, metadata?: { readonly [key: string]: any });
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface LanguageModelChatResponse {
|
|
43
|
+
/**
|
|
44
|
+
* An async iterable that is a stream of text, thinking, and tool-call parts forming the overall response.
|
|
45
|
+
* This includes {@link LanguageModelThinkingPart} which represents the model's internal reasoning process.
|
|
46
|
+
*/
|
|
47
|
+
stream: AsyncIterable<LanguageModelTextPart | LanguageModelThinkingPart | LanguageModelToolCallPart | unknown>;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -5,21 +5,32 @@
|
|
|
5
5
|
|
|
6
6
|
declare module 'vscode' {
|
|
7
7
|
|
|
8
|
-
export enum
|
|
8
|
+
export enum LanguageModelPartAudience {
|
|
9
|
+
/**
|
|
10
|
+
* The part should be shown to the language model.
|
|
11
|
+
*/
|
|
9
12
|
Assistant = 0,
|
|
13
|
+
/**
|
|
14
|
+
* The part should be shown to the user.
|
|
15
|
+
*/
|
|
10
16
|
User = 1,
|
|
17
|
+
/**
|
|
18
|
+
* The part should should be retained for internal bookkeeping within
|
|
19
|
+
* extensions.
|
|
20
|
+
*/
|
|
21
|
+
Extension = 2,
|
|
11
22
|
}
|
|
12
23
|
|
|
13
24
|
/**
|
|
14
25
|
* A language model response part containing a piece of text, returned from a {@link LanguageModelChatResponse}.
|
|
15
26
|
*/
|
|
16
27
|
export class LanguageModelTextPart2 extends LanguageModelTextPart {
|
|
17
|
-
audience:
|
|
18
|
-
constructor(value: string, audience?:
|
|
28
|
+
audience: LanguageModelPartAudience[] | undefined;
|
|
29
|
+
constructor(value: string, audience?: LanguageModelPartAudience[]);
|
|
19
30
|
}
|
|
20
31
|
|
|
21
32
|
export class LanguageModelDataPart2 extends LanguageModelDataPart {
|
|
22
|
-
audience:
|
|
23
|
-
constructor(data: Uint8Array, mimeType: string, audience?:
|
|
33
|
+
audience: LanguageModelPartAudience[] | undefined;
|
|
34
|
+
constructor(data: Uint8Array, mimeType: string, audience?: LanguageModelPartAudience[]);
|
|
24
35
|
}
|
|
25
36
|
}
|
|
@@ -68,6 +68,13 @@ declare module 'vscode' {
|
|
|
68
68
|
Flag = 7,
|
|
69
69
|
SymbolicLinkFile = 8,
|
|
70
70
|
SymbolicLinkFolder = 9,
|
|
71
|
+
Commit = 10,
|
|
72
|
+
Branch = 11,
|
|
73
|
+
Tag = 12,
|
|
74
|
+
Stash = 13,
|
|
75
|
+
Remote = 14,
|
|
76
|
+
PullRequest = 15,
|
|
77
|
+
PullRequestDone = 16,
|
|
71
78
|
}
|
|
72
79
|
|
|
73
80
|
export interface TerminalCompletionContext {
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
// Type definitions for DOM Purify 3.0
|
|
2
|
-
// Project: https://github.com/cure53/DOMPurify
|
|
3
|
-
// Definitions by: Dave Taylor https://github.com/davetayls
|
|
4
|
-
// Samira Bazuzi <https://github.com/bazuzi>
|
|
5
|
-
// FlowCrypt <https://github.com/FlowCrypt>
|
|
6
|
-
// Exigerr <https://github.com/Exigerr>
|
|
7
|
-
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
8
|
-
// Nicholas Ellul <https://github.com/NicholasEllul>
|
|
9
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
10
|
-
// Minimum TypeScript Version: 4.5
|
|
11
|
-
export default DOMPurify;
|
|
12
|
-
declare const DOMPurify: createDOMPurifyI;
|
|
13
|
-
type WindowLike = Pick<typeof globalThis, "NodeFilter" | "Node" | "Element" | "HTMLTemplateElement" | "DocumentFragment" | "HTMLFormElement" | "DOMParser" | "NamedNodeMap">;
|
|
14
|
-
interface createDOMPurifyI extends DOMPurify.DOMPurifyI {
|
|
15
|
-
(window?: Window | WindowLike): DOMPurify.DOMPurifyI;
|
|
16
|
-
}
|
|
17
|
-
declare namespace DOMPurify {
|
|
18
|
-
interface DOMPurifyI {
|
|
19
|
-
sanitize(source: string | Node): string;
|
|
20
|
-
sanitize(source: string | Node, config: Config & {
|
|
21
|
-
RETURN_TRUSTED_TYPE: true;
|
|
22
|
-
}): TrustedHTML;
|
|
23
|
-
sanitize(source: string | Node, config: Config & {
|
|
24
|
-
RETURN_DOM_FRAGMENT?: false | undefined;
|
|
25
|
-
RETURN_DOM?: false | undefined;
|
|
26
|
-
}): string;
|
|
27
|
-
sanitize(source: string | Node, config: Config & {
|
|
28
|
-
RETURN_DOM_FRAGMENT: true;
|
|
29
|
-
}): DocumentFragment;
|
|
30
|
-
sanitize(source: string | Node, config: Config & {
|
|
31
|
-
RETURN_DOM: true;
|
|
32
|
-
}): HTMLElement;
|
|
33
|
-
sanitize(source: string | Node, config: Config): string | HTMLElement | DocumentFragment;
|
|
34
|
-
addHook(hook: "uponSanitizeElement", cb: (currentNode: Element, data: SanitizeElementHookEvent, config: Config) => void): void;
|
|
35
|
-
addHook(hook: "uponSanitizeAttribute", cb: (currentNode: Element, data: SanitizeAttributeHookEvent, config: Config) => void): void;
|
|
36
|
-
addHook(hook: HookName, cb: (currentNode: Element, data: HookEvent, config: Config) => void): void;
|
|
37
|
-
setConfig(cfg: Config): void;
|
|
38
|
-
clearConfig(): void;
|
|
39
|
-
isValidAttribute(tag: string, attr: string, value: string): boolean;
|
|
40
|
-
removeHook(entryPoint: HookName): void;
|
|
41
|
-
removeHooks(entryPoint: HookName): void;
|
|
42
|
-
removeAllHooks(): void;
|
|
43
|
-
version: string;
|
|
44
|
-
removed: any[];
|
|
45
|
-
isSupported: boolean;
|
|
46
|
-
}
|
|
47
|
-
interface Config {
|
|
48
|
-
ADD_ATTR?: string[] | undefined;
|
|
49
|
-
ADD_DATA_URI_TAGS?: string[] | undefined;
|
|
50
|
-
ADD_TAGS?: string[] | undefined;
|
|
51
|
-
ADD_URI_SAFE_ATTR?: string[] | undefined;
|
|
52
|
-
ALLOW_ARIA_ATTR?: boolean | undefined;
|
|
53
|
-
ALLOW_DATA_ATTR?: boolean | undefined;
|
|
54
|
-
ALLOW_UNKNOWN_PROTOCOLS?: boolean | undefined;
|
|
55
|
-
ALLOW_SELF_CLOSE_IN_ATTR?: boolean | undefined;
|
|
56
|
-
ALLOWED_ATTR?: string[] | undefined;
|
|
57
|
-
ALLOWED_TAGS?: string[] | undefined;
|
|
58
|
-
ALLOWED_NAMESPACES?: string[] | undefined;
|
|
59
|
-
ALLOWED_URI_REGEXP?: RegExp | undefined;
|
|
60
|
-
FORBID_ATTR?: string[] | undefined;
|
|
61
|
-
FORBID_CONTENTS?: string[] | undefined;
|
|
62
|
-
FORBID_TAGS?: string[] | undefined;
|
|
63
|
-
FORCE_BODY?: boolean | undefined;
|
|
64
|
-
IN_PLACE?: boolean | undefined;
|
|
65
|
-
KEEP_CONTENT?: boolean | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* change the default namespace from HTML to something different
|
|
68
|
-
*/
|
|
69
|
-
NAMESPACE?: string | undefined;
|
|
70
|
-
PARSER_MEDIA_TYPE?: string | undefined;
|
|
71
|
-
RETURN_DOM_FRAGMENT?: boolean | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* This defaults to `true` starting DOMPurify 2.2.0. Note that setting it to `false`
|
|
74
|
-
* might cause XSS from attacks hidden in closed shadowroots in case the browser
|
|
75
|
-
* supports Declarative Shadow: DOM https://web.dev/declarative-shadow-dom/
|
|
76
|
-
*/
|
|
77
|
-
RETURN_DOM_IMPORT?: boolean | undefined;
|
|
78
|
-
RETURN_DOM?: boolean | undefined;
|
|
79
|
-
RETURN_TRUSTED_TYPE?: boolean | undefined;
|
|
80
|
-
SAFE_FOR_TEMPLATES?: boolean | undefined;
|
|
81
|
-
SANITIZE_DOM?: boolean | undefined;
|
|
82
|
-
/** @default false */
|
|
83
|
-
SANITIZE_NAMED_PROPS?: boolean | undefined;
|
|
84
|
-
USE_PROFILES?: false | {
|
|
85
|
-
mathMl?: boolean | undefined;
|
|
86
|
-
svg?: boolean | undefined;
|
|
87
|
-
svgFilters?: boolean | undefined;
|
|
88
|
-
html?: boolean | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
WHOLE_DOCUMENT?: boolean | undefined;
|
|
91
|
-
CUSTOM_ELEMENT_HANDLING?: {
|
|
92
|
-
tagNameCheck?: RegExp | ((tagName: string) => boolean) | null | undefined;
|
|
93
|
-
attributeNameCheck?: RegExp | ((lcName: string) => boolean) | null | undefined;
|
|
94
|
-
allowCustomizedBuiltInElements?: boolean | undefined;
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
type HookName = "beforeSanitizeElements" | "uponSanitizeElement" | "afterSanitizeElements" | "beforeSanitizeAttributes" | "uponSanitizeAttribute" | "afterSanitizeAttributes" | "beforeSanitizeShadowDOM" | "uponSanitizeShadowNode" | "afterSanitizeShadowDOM";
|
|
98
|
-
type HookEvent = SanitizeElementHookEvent | SanitizeAttributeHookEvent | null;
|
|
99
|
-
interface SanitizeElementHookEvent {
|
|
100
|
-
tagName: string;
|
|
101
|
-
allowedTags: {
|
|
102
|
-
[key: string]: boolean;
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
interface SanitizeAttributeHookEvent {
|
|
106
|
-
attrName: string;
|
|
107
|
-
attrValue: string;
|
|
108
|
-
keepAttr: boolean;
|
|
109
|
-
allowedAttributes: {
|
|
110
|
-
[key: string]: boolean;
|
|
111
|
-
};
|
|
112
|
-
forceKeepAttr?: boolean | undefined;
|
|
113
|
-
}
|
|
114
|
-
}
|