@codingame/monaco-vscode-api 21.6.0 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +68 -78
- package/package.json +8 -8
- package/services.d.ts +4 -4
- package/services.js +5 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +6 -3
- package/vscode/src/vs/base/browser/domSanitize.d.ts +8 -0
- package/vscode/src/vs/base/browser/domSanitize.js +49 -27
- package/vscode/src/vs/base/browser/domStylesheets.js +5 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +7 -5
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +2 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -1
- package/vscode/src/vs/base/common/async.js +6 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +21 -0
- package/vscode/src/vs/base/common/cancellation.js +42 -1
- 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/decorators/cancelPreviousCalls.d.ts +84 -0
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/htmlContent.d.ts +2 -0
- package/vscode/src/vs/base/common/htmlContent.js +9 -6
- package/vscode/src/vs/base/common/lifecycle.js +21 -7
- package/vscode/src/vs/base/common/numbers.d.ts +0 -45
- package/vscode/src/vs/base/common/oauth.d.ts +33 -0
- package/vscode/src/vs/base/common/oauth.js +79 -3
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/index.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +98 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +8 -1
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
- package/vscode/src/vs/base/common/product.d.ts +7 -1
- package/vscode/src/vs/base/common/strings.d.ts +0 -1
- package/vscode/src/vs/base/common/strings.js +9 -4
- package/vscode/src/vs/base/common/uriIpc.js +24 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +26 -16
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +3 -3
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +93 -85
- package/vscode/src/vs/editor/common/config/editorOptions.js +386 -351
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +3 -3
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +5 -1
- package/vscode/src/vs/editor/common/languages.js +56 -56
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +86 -85
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +86 -85
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +9 -7
- package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +1 -0
- 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 +17 -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/codelensController.js +2 -2
- 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.js +1 -1
- 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/floatingMenu/browser/floatingMenu.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +8 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +44 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +81 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -20
- 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/format.js +3 -0
- 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/clickLinkGesture.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +20 -11
- 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/contentHoverController.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- 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/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +2 -7
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- 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 +18 -13
- 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 +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +14 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +154 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +45 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.js +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +16 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +24 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
- 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.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +36 -35
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +3 -3
- 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 +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -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/stickyScroll/browser/stickyScrollController.js +12 -19
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +10 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
- 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 +26 -26
- 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/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +0 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -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 +9 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +13 -14
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -5
- package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -0
- package/vscode/src/vs/platform/actions/common/actions.js +2 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +6 -1
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +2 -0
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +32 -3
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +0 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -11
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +32 -0
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +86 -0
- 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 +1 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -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/extensionManagement/common/implicitActivationEvents.d.ts +1 -3
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +4 -3
- 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/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.js +6 -6
- 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 +10 -2
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +10 -2
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +3 -3
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +23 -15
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +47 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -61
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +10 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +10 -5
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +10 -1
- package/vscode/src/vs/platform/request/common/request.js +34 -18
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -3
- package/vscode/src/vs/platform/terminal/common/terminal.js +6 -7
- 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/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +11 -10
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -4
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +10 -18
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +16 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -3
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +9 -5
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +0 -3
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +9 -4
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +97 -9
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +66 -62
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +22 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +0 -1
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +0 -3
- 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 +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -8
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +53 -3
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +60 -9
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +18 -14
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +262 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -7
- package/vscode/src/vs/workbench/browser/contextkeys.js +15 -43
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -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.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +167 -167
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +175 -158
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -66
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +24 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +28 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +35 -6
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -6
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +50 -42
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +23 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -3
- 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 +7 -6
- 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/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/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- 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/mcpRegistryTypes.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +16 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +217 -60
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -7
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +16 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +42 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +12 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -4
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +6 -6
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +286 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +861 -0
- package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.d.ts +8 -2
- 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/extensions/common/extensionsRegistry.js +87 -87
- package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -30
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +1 -1
- 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-dts/vscode.d.ts +92 -47
- package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +7 -80
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +12 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +19 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +19 -11
- package/vscode-dts/vscode.proposed.d.ts +1 -1
- package/vscode-dts/{vscode.proposed.secretStorageKeys.d.ts → vscode.proposed.devDeviceId.d.ts} +3 -4
- package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +5 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +70 -16
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +0 -55
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +0 -91
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -125
- /package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.js +0 -0
package/missing-services.js
CHANGED
|
@@ -121,7 +121,6 @@ import { IChatStatusItemService } from './vscode/src/vs/workbench/contrib/chat/b
|
|
|
121
121
|
import { IChatAgentService, IChatAgentNameService } from './vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.js';
|
|
122
122
|
import { ICodeMapperService } from './vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.js';
|
|
123
123
|
import { IChatEditingService } from './vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.js';
|
|
124
|
-
import { IChatEntitlementService } from './vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.js';
|
|
125
124
|
import { IChatService } from './vscode/src/vs/workbench/contrib/chat/common/chatService.service.js';
|
|
126
125
|
import { IChatSessionsService } from './vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.js';
|
|
127
126
|
import { IChatSlashCommandService } from './vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.js';
|
|
@@ -180,7 +179,7 @@ import { NoOpWorkspaceTagsService } from './vscode/src/vs/workbench/contrib/tags
|
|
|
180
179
|
import { IWorkspaceTagsService } from './vscode/src/vs/workbench/contrib/tags/common/workspaceTags.service.js';
|
|
181
180
|
import { ITaskService } from './vscode/src/vs/workbench/contrib/tasks/common/taskService.service.js';
|
|
182
181
|
import { TerminalConnectionState } from './vscode/src/vs/workbench/contrib/terminal/browser/terminal.js';
|
|
183
|
-
import { ITerminalService, ITerminalConfigurationService, ITerminalEditorService, ITerminalGroupService, ITerminalInstanceService } from './vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js';
|
|
182
|
+
import { ITerminalService, ITerminalConfigurationService, ITerminalEditorService, ITerminalGroupService, ITerminalInstanceService, ITerminalEditingService } from './vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js';
|
|
184
183
|
import { IEnvironmentVariableService } from './vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.js';
|
|
185
184
|
import { ITerminalProfileService, ITerminalProfileResolverService } from './vscode/src/vs/workbench/contrib/terminal/common/terminal.service.js';
|
|
186
185
|
import { ITerminalContributionService } from './vscode/src/vs/workbench/contrib/terminal/common/terminalExtensionPoints.service.js';
|
|
@@ -220,6 +219,7 @@ import { IDynamicAuthenticationProviderStorageService } from './vscode/src/vs/wo
|
|
|
220
219
|
import { IAuxiliaryWindowService } from './vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.service.js';
|
|
221
220
|
import { IBannerService } from './vscode/src/vs/workbench/services/banner/browser/bannerService.service.js';
|
|
222
221
|
import { IBrowserElementsService } from './vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.js';
|
|
222
|
+
import { IChatEntitlementService } from './vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.js';
|
|
223
223
|
import { IJSONEditingService } from './vscode/src/vs/workbench/services/configuration/common/jsonEditing.service.js';
|
|
224
224
|
import { IConfigurationResolverService } from './vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.js';
|
|
225
225
|
import { IDecorationsService } from './vscode/src/vs/workbench/services/decorations/common/decorations.service.js';
|
|
@@ -294,11 +294,13 @@ import { IImageResizeService } from './vscode/src/vs/platform/imageResize/common
|
|
|
294
294
|
import { McpGalleryManifestStatus } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js';
|
|
295
295
|
import { IMcpGalleryManifestService } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js';
|
|
296
296
|
import { IChatLayoutService } from './vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.js';
|
|
297
|
+
import { IChatModeService } from './vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js';
|
|
297
298
|
import { IAiEditTelemetryService } from './vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.js';
|
|
299
|
+
import { LazyCollectionState } from './vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js';
|
|
300
|
+
import { ChatEntitlement } from './vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js';
|
|
298
301
|
import { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/services/inlineCompletions/common/inlineCompletionsUnification.service.js';
|
|
299
302
|
import { getBuiltInExtensionTranslationsUris, getExtensionIdProvidingCurrentLocale } from './l10n.js';
|
|
300
303
|
import { unsupported } from './tools.js';
|
|
301
|
-
import { IChatModeService } from './vscode/src/vs/workbench/contrib/chat/common/chatModes.service.js';
|
|
302
304
|
import { constObservable } from './vscode/src/vs/base/common/observableInternal/observables/constObservable.js';
|
|
303
305
|
|
|
304
306
|
function Unsupported(target, propertyKey, descriptor) {
|
|
@@ -929,9 +931,6 @@ class EmptyEditorGroupsService {
|
|
|
929
931
|
this.onDidChangeEditorPartOptions = Event.None;
|
|
930
932
|
this.enforcePartOptions = unsupported;
|
|
931
933
|
}
|
|
932
|
-
get contentDimension() {
|
|
933
|
-
return unsupported();
|
|
934
|
-
}
|
|
935
934
|
get sideGroup() {
|
|
936
935
|
return unsupported();
|
|
937
936
|
}
|
|
@@ -972,9 +971,6 @@ __decorate([
|
|
|
972
971
|
__decorate([
|
|
973
972
|
Unsupported
|
|
974
973
|
], EmptyEditorGroupsService.prototype, "getLayout", void 0);
|
|
975
|
-
__decorate([
|
|
976
|
-
Unsupported
|
|
977
|
-
], EmptyEditorGroupsService.prototype, "contentDimension", null);
|
|
978
974
|
__decorate([
|
|
979
975
|
Unsupported
|
|
980
976
|
], EmptyEditorGroupsService.prototype, "sideGroup", null);
|
|
@@ -3251,7 +3247,6 @@ class TerminalService {
|
|
|
3251
3247
|
this.revealActiveTerminal = unsupported;
|
|
3252
3248
|
this.isProcessSupportRegistered = false;
|
|
3253
3249
|
this.connectionState = TerminalConnectionState.Connected;
|
|
3254
|
-
this.defaultLocation = TerminalLocation.Panel;
|
|
3255
3250
|
this.onDidChangeActiveGroup = Event.None;
|
|
3256
3251
|
this.onDidCreateInstance = Event.None;
|
|
3257
3252
|
this.onDidChangeInstanceDimensions = Event.None;
|
|
@@ -3260,7 +3255,6 @@ class TerminalService {
|
|
|
3260
3255
|
this.onDidChangeConnectionState = Event.None;
|
|
3261
3256
|
this.createTerminal = unsupported;
|
|
3262
3257
|
this.getInstanceFromId = unsupported;
|
|
3263
|
-
this.getInstanceFromIndex = unsupported;
|
|
3264
3258
|
this.getReconnectedTerminals = () => undefined;
|
|
3265
3259
|
this.getActiveOrCreateInstance = unsupported;
|
|
3266
3260
|
this.moveToEditor = unsupported;
|
|
@@ -3272,16 +3266,11 @@ class TerminalService {
|
|
|
3272
3266
|
this.setContainers = unsupported;
|
|
3273
3267
|
this.requestStartExtensionTerminal = unsupported;
|
|
3274
3268
|
this.isAttachedToTerminal = unsupported;
|
|
3275
|
-
this.getEditableData = unsupported;
|
|
3276
|
-
this.setEditable = unsupported;
|
|
3277
|
-
this.isEditable = unsupported;
|
|
3278
3269
|
this.safeDisposeTerminal = unsupported;
|
|
3279
3270
|
this.getDefaultInstanceHost = unsupported;
|
|
3280
3271
|
this.getInstanceHost = unsupported;
|
|
3281
3272
|
this.resolveLocation = unsupported;
|
|
3282
3273
|
this.setNativeDelegate = unsupported;
|
|
3283
|
-
this.getEditingTerminal = unsupported;
|
|
3284
|
-
this.setEditingTerminal = unsupported;
|
|
3285
3274
|
this.activeInstance = undefined;
|
|
3286
3275
|
this.onDidDisposeInstance = Event.None;
|
|
3287
3276
|
this.onDidFocusInstance = Event.None;
|
|
@@ -3293,9 +3282,6 @@ class TerminalService {
|
|
|
3293
3282
|
this.getInstanceFromResource = unsupported;
|
|
3294
3283
|
this.createAndFocusTerminal = unsupported;
|
|
3295
3284
|
}
|
|
3296
|
-
get configHelper() {
|
|
3297
|
-
return unsupported();
|
|
3298
|
-
}
|
|
3299
3285
|
}
|
|
3300
3286
|
__decorate([
|
|
3301
3287
|
Unsupported
|
|
@@ -3309,9 +3295,6 @@ __decorate([
|
|
|
3309
3295
|
__decorate([
|
|
3310
3296
|
Unsupported
|
|
3311
3297
|
], TerminalService.prototype, "createDetachedTerminal", void 0);
|
|
3312
|
-
__decorate([
|
|
3313
|
-
Unsupported
|
|
3314
|
-
], TerminalService.prototype, "configHelper", null);
|
|
3315
3298
|
__decorate([
|
|
3316
3299
|
Unsupported
|
|
3317
3300
|
], TerminalService.prototype, "revealActiveTerminal", void 0);
|
|
@@ -3323,7 +3306,7 @@ __decorate([
|
|
|
3323
3306
|
], TerminalService.prototype, "getInstanceFromId", void 0);
|
|
3324
3307
|
__decorate([
|
|
3325
3308
|
Unsupported
|
|
3326
|
-
], TerminalService.prototype, "
|
|
3309
|
+
], TerminalService.prototype, "getReconnectedTerminals", void 0);
|
|
3327
3310
|
__decorate([
|
|
3328
3311
|
Unsupported
|
|
3329
3312
|
], TerminalService.prototype, "getActiveOrCreateInstance", void 0);
|
|
@@ -3351,15 +3334,6 @@ __decorate([
|
|
|
3351
3334
|
__decorate([
|
|
3352
3335
|
Unsupported
|
|
3353
3336
|
], TerminalService.prototype, "isAttachedToTerminal", void 0);
|
|
3354
|
-
__decorate([
|
|
3355
|
-
Unsupported
|
|
3356
|
-
], TerminalService.prototype, "getEditableData", void 0);
|
|
3357
|
-
__decorate([
|
|
3358
|
-
Unsupported
|
|
3359
|
-
], TerminalService.prototype, "setEditable", void 0);
|
|
3360
|
-
__decorate([
|
|
3361
|
-
Unsupported
|
|
3362
|
-
], TerminalService.prototype, "isEditable", void 0);
|
|
3363
3337
|
__decorate([
|
|
3364
3338
|
Unsupported
|
|
3365
3339
|
], TerminalService.prototype, "safeDisposeTerminal", void 0);
|
|
@@ -3375,12 +3349,6 @@ __decorate([
|
|
|
3375
3349
|
__decorate([
|
|
3376
3350
|
Unsupported
|
|
3377
3351
|
], TerminalService.prototype, "setNativeDelegate", void 0);
|
|
3378
|
-
__decorate([
|
|
3379
|
-
Unsupported
|
|
3380
|
-
], TerminalService.prototype, "getEditingTerminal", void 0);
|
|
3381
|
-
__decorate([
|
|
3382
|
-
Unsupported
|
|
3383
|
-
], TerminalService.prototype, "setEditingTerminal", void 0);
|
|
3384
3352
|
__decorate([
|
|
3385
3353
|
Unsupported
|
|
3386
3354
|
], TerminalService.prototype, "setActiveInstance", void 0);
|
|
@@ -3396,6 +3364,7 @@ __decorate([
|
|
|
3396
3364
|
registerSingleton(ITerminalService, TerminalService, InstantiationType.Delayed);
|
|
3397
3365
|
class TerminalConfigurationService {
|
|
3398
3366
|
constructor() {
|
|
3367
|
+
this.defaultLocation = TerminalLocation.Panel;
|
|
3399
3368
|
this.onConfigChanged = Event.None;
|
|
3400
3369
|
this.setPanelContainer = unsupported;
|
|
3401
3370
|
this.configFontIsMonospace = unsupported;
|
|
@@ -4140,6 +4109,8 @@ class ChatService {
|
|
|
4140
4109
|
this.requestInProgressObs = constObservable(false);
|
|
4141
4110
|
this.edits2Enabled = false;
|
|
4142
4111
|
this.getPersistedSessionTitle = () => undefined;
|
|
4112
|
+
this.editingSessions = [];
|
|
4113
|
+
this.getChatSessionFromInternalId = () => undefined;
|
|
4143
4114
|
}
|
|
4144
4115
|
}
|
|
4145
4116
|
__decorate([
|
|
@@ -6818,10 +6789,15 @@ class LanguageModelToolsService {
|
|
|
6818
6789
|
this.getToolSetByName = () => undefined;
|
|
6819
6790
|
this.createToolSet = unsupported;
|
|
6820
6791
|
this.toolSets = constObservable([]);
|
|
6821
|
-
this.toToolEnablementMap = unsupported;
|
|
6822
6792
|
this.toToolAndToolSetEnablementMap = unsupported;
|
|
6823
6793
|
this.getToolAutoConfirmation = unsupported;
|
|
6824
6794
|
this.getToolSet = () => undefined;
|
|
6795
|
+
this.getQualifiedToolNames = () => [];
|
|
6796
|
+
this.getToolByQualifiedName = () => undefined;
|
|
6797
|
+
this.getQualifiedToolName = unsupported;
|
|
6798
|
+
this.getDeprecatedQualifiedToolNames = () => new Map();
|
|
6799
|
+
this.toQualifiedToolNames = () => [];
|
|
6800
|
+
this.toToolReferences = () => [];
|
|
6825
6801
|
}
|
|
6826
6802
|
}
|
|
6827
6803
|
__decorate([
|
|
@@ -6839,15 +6815,15 @@ __decorate([
|
|
|
6839
6815
|
__decorate([
|
|
6840
6816
|
Unsupported
|
|
6841
6817
|
], LanguageModelToolsService.prototype, "createToolSet", void 0);
|
|
6842
|
-
__decorate([
|
|
6843
|
-
Unsupported
|
|
6844
|
-
], LanguageModelToolsService.prototype, "toToolEnablementMap", void 0);
|
|
6845
6818
|
__decorate([
|
|
6846
6819
|
Unsupported
|
|
6847
6820
|
], LanguageModelToolsService.prototype, "toToolAndToolSetEnablementMap", void 0);
|
|
6848
6821
|
__decorate([
|
|
6849
6822
|
Unsupported
|
|
6850
6823
|
], LanguageModelToolsService.prototype, "getToolAutoConfirmation", void 0);
|
|
6824
|
+
__decorate([
|
|
6825
|
+
Unsupported
|
|
6826
|
+
], LanguageModelToolsService.prototype, "getQualifiedToolName", void 0);
|
|
6851
6827
|
registerSingleton(ILanguageModelToolsService, LanguageModelToolsService, InstantiationType.Delayed);
|
|
6852
6828
|
class IssueFormService {
|
|
6853
6829
|
constructor() {
|
|
@@ -7015,6 +6991,22 @@ __decorate([
|
|
|
7015
6991
|
Unsupported
|
|
7016
6992
|
], TerminalCompletionService.prototype, "provideCompletions", void 0);
|
|
7017
6993
|
registerSingleton(ITerminalCompletionService, TerminalCompletionService, InstantiationType.Delayed);
|
|
6994
|
+
class TerminalEditingService {
|
|
6995
|
+
constructor() {
|
|
6996
|
+
this.getEditableData = () => undefined;
|
|
6997
|
+
this.setEditable = unsupported;
|
|
6998
|
+
this.isEditable = () => false;
|
|
6999
|
+
this.getEditingTerminal = () => undefined;
|
|
7000
|
+
this.setEditingTerminal = unsupported;
|
|
7001
|
+
}
|
|
7002
|
+
}
|
|
7003
|
+
__decorate([
|
|
7004
|
+
Unsupported
|
|
7005
|
+
], TerminalEditingService.prototype, "setEditable", void 0);
|
|
7006
|
+
__decorate([
|
|
7007
|
+
Unsupported
|
|
7008
|
+
], TerminalEditingService.prototype, "setEditingTerminal", void 0);
|
|
7009
|
+
registerSingleton(ITerminalEditingService, TerminalEditingService, InstantiationType.Delayed);
|
|
7018
7010
|
class ChatEntitlementsService {
|
|
7019
7011
|
constructor() {
|
|
7020
7012
|
this.organisations = undefined;
|
|
@@ -7025,6 +7017,11 @@ class ChatEntitlementsService {
|
|
|
7025
7017
|
this.onDidChangeQuotaRemaining = Event.None;
|
|
7026
7018
|
this.onDidChangeSentiment = Event.None;
|
|
7027
7019
|
this.update = unsupported;
|
|
7020
|
+
this.entitlementObs = constObservable(ChatEntitlement.Unknown);
|
|
7021
|
+
this.sentimentObs = constObservable({});
|
|
7022
|
+
this.onDidChangeAnonymous = Event.None;
|
|
7023
|
+
this.anonymous = false;
|
|
7024
|
+
this.anonymousObs = constObservable(false);
|
|
7028
7025
|
}
|
|
7029
7026
|
get entitlement() {
|
|
7030
7027
|
return unsupported();
|
|
@@ -7051,7 +7048,6 @@ __decorate([
|
|
|
7051
7048
|
registerSingleton(IChatEntitlementService, ChatEntitlementsService, InstantiationType.Eager);
|
|
7052
7049
|
class PromptsService {
|
|
7053
7050
|
constructor() {
|
|
7054
|
-
this.getSyntaxParserFor = unsupported;
|
|
7055
7051
|
this.listPromptFiles = async () => [];
|
|
7056
7052
|
this.getSourceFolders = () => [];
|
|
7057
7053
|
this.dispose = () => { };
|
|
@@ -7060,66 +7056,60 @@ class PromptsService {
|
|
|
7060
7056
|
this.findPromptSlashCommands = async () => [];
|
|
7061
7057
|
this.onDidChangeCustomChatModes = Event.None;
|
|
7062
7058
|
this.getCustomChatModes = async () => [];
|
|
7063
|
-
this.parse = unsupported;
|
|
7064
7059
|
this.getPromptFileType = () => undefined;
|
|
7060
|
+
this.getParsedPromptFile = unsupported;
|
|
7061
|
+
this.listPromptFilesForStorage = async () => [];
|
|
7062
|
+
this.getPromptCommandName = unsupported;
|
|
7063
|
+
this.parseNew = unsupported;
|
|
7064
|
+
this.registerContributedFile = () => Disposable.None;
|
|
7065
|
+
this.getPromptLocationLabel = unsupported;
|
|
7066
|
+
this.findAgentMDsInWorkspace = async () => [];
|
|
7065
7067
|
}
|
|
7066
7068
|
}
|
|
7067
7069
|
__decorate([
|
|
7068
7070
|
Unsupported
|
|
7069
|
-
], PromptsService.prototype, "
|
|
7071
|
+
], PromptsService.prototype, "getParsedPromptFile", void 0);
|
|
7070
7072
|
__decorate([
|
|
7071
7073
|
Unsupported
|
|
7072
|
-
], PromptsService.prototype, "
|
|
7074
|
+
], PromptsService.prototype, "getPromptCommandName", void 0);
|
|
7075
|
+
__decorate([
|
|
7076
|
+
Unsupported
|
|
7077
|
+
], PromptsService.prototype, "parseNew", void 0);
|
|
7078
|
+
__decorate([
|
|
7079
|
+
Unsupported
|
|
7080
|
+
], PromptsService.prototype, "getPromptLocationLabel", void 0);
|
|
7073
7081
|
registerSingleton(IPromptsService, PromptsService, InstantiationType.Eager);
|
|
7074
7082
|
class McpRegistry {
|
|
7075
7083
|
constructor() {
|
|
7076
7084
|
this.onDidChangeInputs = Event.None;
|
|
7085
|
+
this.collections = constObservable([]);
|
|
7086
|
+
this.lazyCollectionState = constObservable({
|
|
7087
|
+
collections: [],
|
|
7088
|
+
state: LazyCollectionState.AllKnown
|
|
7089
|
+
});
|
|
7090
|
+
this.delegates = constObservable([]);
|
|
7077
7091
|
this.discoverCollections = async () => [];
|
|
7078
|
-
this.registerCollection =
|
|
7092
|
+
this.registerCollection = () => Disposable.None;
|
|
7079
7093
|
this.clearSavedInputs = unsupported;
|
|
7080
7094
|
this.editSavedInput = unsupported;
|
|
7081
|
-
this.getSavedInputs =
|
|
7082
|
-
this.resolveConnection =
|
|
7095
|
+
this.getSavedInputs = async () => ({});
|
|
7096
|
+
this.resolveConnection = async () => undefined;
|
|
7083
7097
|
this.registerDelegate = () => {
|
|
7084
7098
|
return Disposable.None;
|
|
7085
7099
|
};
|
|
7086
7100
|
this.setSavedInput = unsupported;
|
|
7087
|
-
this.getServerDefinition =
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
}
|
|
7092
|
-
get lazyCollectionState() {
|
|
7093
|
-
return unsupported();
|
|
7094
|
-
}
|
|
7095
|
-
get delegates() {
|
|
7096
|
-
return unsupported();
|
|
7101
|
+
this.getServerDefinition = () => constObservable({
|
|
7102
|
+
server: undefined,
|
|
7103
|
+
collection: undefined
|
|
7104
|
+
});
|
|
7097
7105
|
}
|
|
7098
7106
|
}
|
|
7099
|
-
__decorate([
|
|
7100
|
-
Unsupported
|
|
7101
|
-
], McpRegistry.prototype, "collections", null);
|
|
7102
|
-
__decorate([
|
|
7103
|
-
Unsupported
|
|
7104
|
-
], McpRegistry.prototype, "lazyCollectionState", null);
|
|
7105
|
-
__decorate([
|
|
7106
|
-
Unsupported
|
|
7107
|
-
], McpRegistry.prototype, "delegates", null);
|
|
7108
|
-
__decorate([
|
|
7109
|
-
Unsupported
|
|
7110
|
-
], McpRegistry.prototype, "registerCollection", void 0);
|
|
7111
7107
|
__decorate([
|
|
7112
7108
|
Unsupported
|
|
7113
7109
|
], McpRegistry.prototype, "clearSavedInputs", void 0);
|
|
7114
7110
|
__decorate([
|
|
7115
7111
|
Unsupported
|
|
7116
7112
|
], McpRegistry.prototype, "editSavedInput", void 0);
|
|
7117
|
-
__decorate([
|
|
7118
|
-
Unsupported
|
|
7119
|
-
], McpRegistry.prototype, "getSavedInputs", void 0);
|
|
7120
|
-
__decorate([
|
|
7121
|
-
Unsupported
|
|
7122
|
-
], McpRegistry.prototype, "resolveConnection", void 0);
|
|
7123
7113
|
__decorate([
|
|
7124
7114
|
Unsupported
|
|
7125
7115
|
], McpRegistry.prototype, "setSavedInput", void 0);
|
|
@@ -7263,10 +7253,10 @@ class McpGalleryService {
|
|
|
7263
7253
|
this.isEnabled = () => false;
|
|
7264
7254
|
this.query = unsupported;
|
|
7265
7255
|
this.getReadme = unsupported;
|
|
7266
|
-
this.getMcpServersFromVSCodeGallery = async () => [];
|
|
7267
7256
|
this.getMcpServersFromGallery = async () => [];
|
|
7268
7257
|
this.getMcpServer = async () => undefined;
|
|
7269
7258
|
this.getMcpServerConfiguration = unsupported;
|
|
7259
|
+
this.getMcpServerByName = async () => undefined;
|
|
7270
7260
|
}
|
|
7271
7261
|
}
|
|
7272
7262
|
__decorate([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-base-service-override": "
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "22.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "22.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "22.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "22.0.0",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "22.0.0",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "22.0.0",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "22.0.0",
|
|
25
25
|
"@vscode/iconv-lite-umd": "0.7.0",
|
|
26
26
|
"dompurify": "3.2.7",
|
|
27
27
|
"jschardet": "3.1.4",
|
package/services.d.ts
CHANGED
|
@@ -97,11 +97,11 @@ export { ILocaleService } from "./vscode/src/vs/workbench/services/localization/
|
|
|
97
97
|
export { NoOpNotification, NoOpProgress } from "./vscode/src/vs/platform/notification/common/notification.js";
|
|
98
98
|
export { NotificationsFilter, NotificationPriority, NeverShowAgainScope } from "./vscode/src/vs/platform/notification/common/notification.js";
|
|
99
99
|
export type { NotificationMessage, INotificationProperties, INeverShowAgainOptions, INotification, INotificationActions, INotificationProgress, INotificationProgressProperties, INotificationHandle, IPromptChoice, IPromptChoiceWithMenu, IPromptOptions, IStatusMessageOptions } from "./vscode/src/vs/platform/notification/common/notification.js";
|
|
100
|
-
export type { IDialogArgs, DialogType, IDialogResult, IConfirmDialogArgs, IInputDialogArgs, IPromptDialogArgs, IBaseDialogOptions, ICheckbox, ICheckboxResult, IConfirmation, IConfirmationResult, IInput, IInputResult, IInputElement, IPrompt, IPromptResult, IPromptBaseButton, IPromptButton, IPromptCancelButton, IPromptResultWithCancel, IPromptWithCustomCancel, IPromptWithDefaultCancel } from "@codingame/monaco-vscode-
|
|
101
|
-
export type { IDialogHandler, ICustomDialogOptions, ICustomDialogMarkdown } from "@codingame/monaco-vscode-
|
|
100
|
+
export type { IDialogArgs, DialogType, IDialogResult, IConfirmDialogArgs, IInputDialogArgs, IPromptDialogArgs, IBaseDialogOptions, ICheckbox, ICheckboxResult, IConfirmation, IConfirmationResult, IInput, IInputResult, IInputElement, IPrompt, IPromptResult, IPromptBaseButton, IPromptButton, IPromptCancelButton, IPromptResultWithCancel, IPromptWithCustomCancel, IPromptWithDefaultCancel } from "@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/platform/dialogs/common/dialogs";
|
|
101
|
+
export type { IDialogHandler, ICustomDialogOptions, ICustomDialogMarkdown } from "@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/platform/dialogs/common/dialogs";
|
|
102
102
|
export type { IMarkdownString, MarkdownStringTrustedOptions } from "./vscode/src/vs/base/common/htmlContent.js";
|
|
103
103
|
export { IActivityService } from "./vscode/src/vs/workbench/services/activity/common/activity.service.js";
|
|
104
|
-
export type { IBadge } from "@codingame/monaco-vscode-
|
|
104
|
+
export type { IBadge } from "@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common/vscode/vs/workbench/services/activity/common/activity";
|
|
105
105
|
export { IHoverService } from "./vscode/src/vs/platform/hover/browser/hover.service.js";
|
|
106
106
|
export { IExplorerService } from "./vscode/src/vs/workbench/contrib/files/browser/files.service.js";
|
|
107
107
|
export { IStatusbarService } from "./vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.js";
|
|
@@ -287,7 +287,7 @@ export { IWorkspaceIdentityService } from "./vscode/src/vs/workbench/services/wo
|
|
|
287
287
|
export { IChatMarkdownAnchorService } from "./vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.js";
|
|
288
288
|
export { getBuiltInExtensionTranslationsUris, getExtensionIdProvidingCurrentLocale } from "./l10n.js";
|
|
289
289
|
export { unsupported } from "./tools.js";
|
|
290
|
-
export { IChatEntitlementService } from "./vscode/src/vs/workbench/
|
|
290
|
+
export { IChatEntitlementService } from "./vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.js";
|
|
291
291
|
export { IPromptsService } from "./vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.js";
|
|
292
292
|
export { ISuggestMemoryService } from "./vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.service.js";
|
|
293
293
|
export { LanguageConfigurationService } from "./vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js";
|
package/services.js
CHANGED
|
@@ -88,6 +88,7 @@ import './vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js'
|
|
|
88
88
|
import './vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js';
|
|
89
89
|
import './vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js';
|
|
90
90
|
import './vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js';
|
|
91
|
+
import './vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js';
|
|
91
92
|
import './vscode/src/vs/editor/common/standaloneStrings.js';
|
|
92
93
|
import './vscode/src/vs/base/browser/ui/codicons/codiconStyles.js';
|
|
93
94
|
import './vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js';
|
|
@@ -357,7 +358,7 @@ export { IWorkspaceIdentityService } from './vscode/src/vs/workbench/services/wo
|
|
|
357
358
|
export { IChatMarkdownAnchorService } from './vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.js';
|
|
358
359
|
export { getBuiltInExtensionTranslationsUris, getExtensionIdProvidingCurrentLocale } from './l10n.js';
|
|
359
360
|
export { unsupported } from './tools.js';
|
|
360
|
-
export { IChatEntitlementService } from './vscode/src/vs/workbench/
|
|
361
|
+
export { IChatEntitlementService } from './vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.js';
|
|
361
362
|
export { IPromptsService } from './vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.js';
|
|
362
363
|
export { ISuggestMemoryService } from './vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.service.js';
|
|
363
364
|
export { LanguageConfigurationService } from './vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js';
|
|
@@ -402,10 +403,10 @@ export { IInlineCompletionsUnificationService } from './vscode/src/vs/workbench/
|
|
|
402
403
|
export { IMcpGalleryManifestService } from './vscode/src/vs/platform/mcp/common/mcpGalleryManifest.service.js';
|
|
403
404
|
export { IDataChannelService } from './vscode/src/vs/platform/dataChannel/common/dataChannel.service.js';
|
|
404
405
|
|
|
405
|
-
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.
|
|
406
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.
|
|
406
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "1.105.0-604a29aa-8c4c-431b-9567-32c94b18ed62") {
|
|
407
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"1.105.0-604a29aa-8c4c-431b-9567-32c94b18ed62"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
407
408
|
}
|
|
408
|
-
window.monacoVscodeApiBuildId = "1.
|
|
409
|
+
window.monacoVscodeApiBuildId = "1.105.0-604a29aa-8c4c-431b-9567-32c94b18ed62";
|
|
409
410
|
function registerCommands(options) {
|
|
410
411
|
function asMenuId(menu) {
|
|
411
412
|
switch (menu) {
|
package/vscode/product.json.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var productJson = {nameShort:"Code - OSS",nameLong:"Code - OSS",applicationName:"code-oss",dataFolderName:".vscode-oss",win32MutexName:"vscodeoss",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverLicenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverGreeting:[],serverLicense:[],serverLicensePrompt:"",serverApplicationName:"code-server-oss",serverDataFolderName:".vscode-server-oss",tunnelApplicationName:"code-tunnel-oss",win32DirName:"Microsoft Code OSS",win32NameVersion:"Microsoft Code OSS",win32RegValueName:"CodeOSS",win32x64AppId:"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}",win32arm64AppId:"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}",win32x64UserAppId:"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}",win32arm64UserAppId:"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}",win32AppUserModelId:"Microsoft.CodeOSS",win32ShellNameShort:"C&ode - OSS",win32TunnelServiceMutex:"vscodeoss-tunnelservice",win32TunnelMutex:"vscodeoss-tunnel",darwinBundleIdentifier:"com.visualstudio.code.oss",darwinProfileUUID:"47827DD9-4734-49A0-AF80-7E19B11495CC",darwinProfilePayloadUUID:"CF808BE7-53F3-46C6-A7E2-7EDB98A5E959",linuxIconName:"code-oss",licenseFileName:"LICENSE.txt",reportIssueUrl:"https://github.com/microsoft/vscode/issues/new",nodejsRepository:"https://nodejs.org",urlProtocol:"code-oss",webviewContentExternalBaseUrlTemplate:"https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/",builtInExtensions:[{name:"ms-vscode.js-debug-companion",version:"1.1.3",sha256:"7380a890787452f14b2db7835dfa94de538caf358ebc263f9d46dd68ac52de93",repo:"https://github.com/microsoft/vscode-js-debug-companion",metadata:{id:"99cb0b7f-7354-4278-b8da-6cc79972169d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.js-debug",version:"1.
|
|
1
|
+
var productJson = {nameShort:"Code - OSS",nameLong:"Code - OSS",applicationName:"code-oss",dataFolderName:".vscode-oss",win32MutexName:"vscodeoss",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverLicenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt",serverGreeting:[],serverLicense:[],serverLicensePrompt:"",serverApplicationName:"code-server-oss",serverDataFolderName:".vscode-server-oss",tunnelApplicationName:"code-tunnel-oss",win32DirName:"Microsoft Code OSS",win32NameVersion:"Microsoft Code OSS",win32RegValueName:"CodeOSS",win32x64AppId:"{{D77B7E06-80BA-4137-BCF4-654B95CCEBC5}",win32arm64AppId:"{{D1ACE434-89C5-48D1-88D3-E2991DF85475}",win32x64UserAppId:"{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}",win32arm64UserAppId:"{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}",win32AppUserModelId:"Microsoft.CodeOSS",win32ShellNameShort:"C&ode - OSS",win32TunnelServiceMutex:"vscodeoss-tunnelservice",win32TunnelMutex:"vscodeoss-tunnel",darwinBundleIdentifier:"com.visualstudio.code.oss",darwinProfileUUID:"47827DD9-4734-49A0-AF80-7E19B11495CC",darwinProfilePayloadUUID:"CF808BE7-53F3-46C6-A7E2-7EDB98A5E959",linuxIconName:"code-oss",licenseFileName:"LICENSE.txt",reportIssueUrl:"https://github.com/microsoft/vscode/issues/new",nodejsRepository:"https://nodejs.org",urlProtocol:"code-oss",webviewContentExternalBaseUrlTemplate:"https://{{uuid}}.vscode-cdn.net/insider/ef65ac1ba57f57f2a3961bfe94aa20481caca4c6/out/vs/workbench/contrib/webview/browser/pre/",builtInExtensions:[{name:"ms-vscode.js-debug-companion",version:"1.1.3",sha256:"7380a890787452f14b2db7835dfa94de538caf358ebc263f9d46dd68ac52de93",repo:"https://github.com/microsoft/vscode-js-debug-companion",metadata:{id:"99cb0b7f-7354-4278-b8da-6cc79972169d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.js-debug",version:"1.105.0",sha256:"0c45b90342e8aafd4ff2963b4006de64208ca58c2fd01fea7a710fe61dcfd12a",repo:"https://github.com/microsoft/vscode-js-debug",metadata:{id:"25629058-ddac-4e17-abba-74678e126c5d",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}},{name:"ms-vscode.vscode-js-profile-table",version:"1.0.10",sha256:"7361748ddf9fd09d8a2ed1f2a2d7376a2cf9aae708692820b799708385c38e08",repo:"https://github.com/microsoft/vscode-js-profile-visualizer",metadata:{id:"7e52b41b-71ad-457b-ab7e-0620f1fc4feb",publisherId:{publisherId:"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee",publisherName:"ms-vscode",displayName:"Microsoft",flags:"verified"},publisherDisplayName:"Microsoft"}}]};
|
|
2
2
|
|
|
3
3
|
export { productJson as default };
|
|
@@ -1011,15 +1011,18 @@ function triggerUpload() {
|
|
|
1011
1011
|
setTimeout(() => input.remove());
|
|
1012
1012
|
}));
|
|
1013
1013
|
}
|
|
1014
|
+
function sanitizeNotificationText(text) {
|
|
1015
|
+
return text.replace(/`/g, '\'');
|
|
1016
|
+
}
|
|
1014
1017
|
async function triggerNotification(message, options) {
|
|
1015
1018
|
const permission = await Notification.requestPermission();
|
|
1016
1019
|
if (permission !== 'granted') {
|
|
1017
1020
|
return;
|
|
1018
1021
|
}
|
|
1019
1022
|
const disposables = ( new DisposableStore());
|
|
1020
|
-
const notification = ( new Notification(message, {
|
|
1021
|
-
body: options?.detail,
|
|
1022
|
-
requireInteraction: options?.sticky
|
|
1023
|
+
const notification = ( new Notification(sanitizeNotificationText(message), {
|
|
1024
|
+
body: options?.detail ? sanitizeNotificationText(options.detail) : undefined,
|
|
1025
|
+
requireInteraction: options?.sticky,
|
|
1023
1026
|
}));
|
|
1024
1027
|
const onClick = new Emitter();
|
|
1025
1028
|
disposables.add(addDisposableListener(notification, 'click', () => onClick.fire()));
|
|
@@ -37,12 +37,20 @@ export interface DomSanitizerConfig {
|
|
|
37
37
|
readonly allowedLinkProtocols?: {
|
|
38
38
|
readonly override?: readonly string[] | "*";
|
|
39
39
|
};
|
|
40
|
+
/**
|
|
41
|
+
* If set, allows relative paths for links.
|
|
42
|
+
*/
|
|
43
|
+
readonly allowRelativeLinkPaths?: boolean;
|
|
40
44
|
/**
|
|
41
45
|
* List of allowed protocols for `src` attributes.
|
|
42
46
|
*/
|
|
43
47
|
readonly allowedMediaProtocols?: {
|
|
44
48
|
readonly override?: readonly string[] | "*";
|
|
45
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* If set, allows relative paths for media (images, videos, etc).
|
|
52
|
+
*/
|
|
53
|
+
readonly allowRelativeMediaPaths?: boolean;
|
|
46
54
|
/**
|
|
47
55
|
* If set, replaces unsupported tags with their plaintext representation instead of removing them.
|
|
48
56
|
*
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { toDisposable, DisposableStore } from '../common/lifecycle.js';
|
|
3
2
|
import { Schemas } from '../common/network.js';
|
|
4
|
-
import {
|
|
3
|
+
import { reset } from './dom.js';
|
|
5
4
|
import dompurify from 'dompurify';
|
|
6
5
|
|
|
7
6
|
const basicMarkupHtmlTags = ( Object.freeze([
|
|
@@ -47,6 +46,7 @@ const basicMarkupHtmlTags = ( Object.freeze([
|
|
|
47
46
|
'rp',
|
|
48
47
|
'rt',
|
|
49
48
|
'ruby',
|
|
49
|
+
's',
|
|
50
50
|
'samp',
|
|
51
51
|
'small',
|
|
52
52
|
'small',
|
|
@@ -92,19 +92,28 @@ const defaultAllowedAttrs = ( Object.freeze([
|
|
|
92
92
|
'height',
|
|
93
93
|
'align',
|
|
94
94
|
]));
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
if (allowedProtocols
|
|
95
|
+
const fakeRelativeUrlProtocol = 'vscode-relative-path';
|
|
96
|
+
function validateLink(value, allowedProtocols) {
|
|
97
|
+
if (allowedProtocols.override === '*') {
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
try {
|
|
101
|
+
const url = ( new URL(value, fakeRelativeUrlProtocol + '://'));
|
|
102
|
+
if (allowedProtocols.override.includes(url.protocol.replace(/:$/, ''))) {
|
|
103
103
|
return true;
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
if (allowedProtocols.allowRelativePaths
|
|
106
|
+
&& url.protocol === fakeRelativeUrlProtocol + ':'
|
|
107
|
+
&& !value.trim().toLowerCase().startsWith(fakeRelativeUrlProtocol)) {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
return false;
|
|
107
111
|
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function hookDomPurifyHrefAndSrcSanitizer(allowedLinkProtocols, allowedMediaProtocols) {
|
|
108
117
|
dompurify.addHook('afterSanitizeAttributes', (node) => {
|
|
109
118
|
for (const attr of ['href', 'src']) {
|
|
110
119
|
if (node.hasAttribute(attr)) {
|
|
@@ -122,18 +131,16 @@ function hookDomPurifyHrefAndSrcSanitizer(allowedLinkProtocols, allowedMediaProt
|
|
|
122
131
|
}
|
|
123
132
|
}
|
|
124
133
|
});
|
|
125
|
-
return toDisposable(() => dompurify.removeHook('afterSanitizeAttributes'));
|
|
126
134
|
}
|
|
127
135
|
const defaultDomPurifyConfig = ( Object.freeze({
|
|
128
136
|
ALLOWED_TAGS: [...basicMarkupHtmlTags],
|
|
129
137
|
ALLOWED_ATTR: [...defaultAllowedAttrs],
|
|
130
|
-
RETURN_DOM: false,
|
|
131
|
-
RETURN_DOM_FRAGMENT: false,
|
|
132
|
-
RETURN_TRUSTED_TYPE: true,
|
|
133
138
|
ALLOW_UNKNOWN_PROTOCOLS: true,
|
|
134
139
|
}));
|
|
135
140
|
function sanitizeHtml(untrusted, config) {
|
|
136
|
-
|
|
141
|
+
return doSanitizeHtml(untrusted, config, 'trusted');
|
|
142
|
+
}
|
|
143
|
+
function doSanitizeHtml(untrusted, config, outputType) {
|
|
137
144
|
try {
|
|
138
145
|
const resolvedConfig = { ...defaultDomPurifyConfig };
|
|
139
146
|
if (config?.allowedTags) {
|
|
@@ -173,12 +180,18 @@ function sanitizeHtml(untrusted, config) {
|
|
|
173
180
|
}
|
|
174
181
|
}
|
|
175
182
|
resolvedConfig.ALLOWED_ATTR = Array.from(allowedAttrNames);
|
|
176
|
-
|
|
183
|
+
hookDomPurifyHrefAndSrcSanitizer({
|
|
184
|
+
override: config?.allowedLinkProtocols?.override ?? [Schemas.http, Schemas.https],
|
|
185
|
+
allowRelativePaths: config?.allowRelativeLinkPaths ?? false
|
|
186
|
+
}, {
|
|
187
|
+
override: config?.allowedMediaProtocols?.override ?? [Schemas.http, Schemas.https],
|
|
188
|
+
allowRelativePaths: config?.allowRelativeMediaPaths ?? false
|
|
189
|
+
});
|
|
177
190
|
if (config?.replaceWithPlaintext) {
|
|
178
|
-
|
|
191
|
+
dompurify.addHook('uponSanitizeElement', replaceWithPlainTextHook);
|
|
179
192
|
}
|
|
180
193
|
if (allowedAttrPredicates.size) {
|
|
181
|
-
|
|
194
|
+
dompurify.addHook('uponSanitizeAttribute', (node, e) => {
|
|
182
195
|
const predicate = allowedAttrPredicates.get(e.attrName);
|
|
183
196
|
if (predicate) {
|
|
184
197
|
const result = predicate.shouldKeep(node, e);
|
|
@@ -193,15 +206,23 @@ function sanitizeHtml(untrusted, config) {
|
|
|
193
206
|
else {
|
|
194
207
|
e.keepAttr = ( allowedAttrNames.has(e.attrName));
|
|
195
208
|
}
|
|
196
|
-
})
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
if (outputType === 'dom') {
|
|
212
|
+
return dompurify.sanitize(untrusted, {
|
|
213
|
+
...resolvedConfig,
|
|
214
|
+
RETURN_DOM_FRAGMENT: true
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
return dompurify.sanitize(untrusted, {
|
|
219
|
+
...resolvedConfig,
|
|
220
|
+
RETURN_TRUSTED_TYPE: true
|
|
221
|
+
});
|
|
197
222
|
}
|
|
198
|
-
return dompurify.sanitize(untrusted, {
|
|
199
|
-
...resolvedConfig,
|
|
200
|
-
RETURN_TRUSTED_TYPE: true
|
|
201
|
-
});
|
|
202
223
|
}
|
|
203
224
|
finally {
|
|
204
|
-
|
|
225
|
+
dompurify.removeAllHooks();
|
|
205
226
|
}
|
|
206
227
|
}
|
|
207
228
|
const selfClosingTags = ['area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
|
|
@@ -248,7 +269,8 @@ function convertTagToPlaintext(element) {
|
|
|
248
269
|
return fragment;
|
|
249
270
|
}
|
|
250
271
|
function safeSetInnerHtml(node, untrusted, config) {
|
|
251
|
-
|
|
272
|
+
const fragment = doSanitizeHtml(untrusted, config, 'dom');
|
|
273
|
+
reset(node, fragment);
|
|
252
274
|
}
|
|
253
275
|
|
|
254
276
|
export { basicMarkupHtmlTags, convertTagToPlaintext, defaultAllowedAttrs, safeSetInnerHtml, sanitizeHtml };
|