@codingame/monaco-vscode-api 16.1.1 → 17.1.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 +105 -0
- package/monaco.d.ts +2 -2
- package/package.json +10 -9
- package/services.d.ts +4 -4
- package/services.js +3 -3
- package/vscode/product.json.js +3 -0
- package/vscode/src/vs/base/browser/dom.d.ts +1 -0
- package/vscode/src/vs/base/browser/dom.js +6 -1
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +2 -0
- package/vscode/src/vs/base/browser/mouseEvent.js +1 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +2 -3
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +6 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +1 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +5 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +17 -4
- package/vscode/src/vs/base/common/arrays.d.ts +1 -0
- package/vscode/src/vs/base/common/arrays.js +5 -2
- package/vscode/src/vs/base/common/async.js +9 -2
- package/vscode/src/vs/base/common/codicons.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
- package/vscode/src/vs/base/common/color.d.ts +1 -0
- package/vscode/src/vs/base/common/color.js +10 -0
- package/vscode/src/vs/base/common/comparers.d.ts +2 -2
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.js +10 -1
- package/vscode/src/vs/base/common/marshallingIds.d.ts +2 -1
- package/vscode/src/vs/base/common/marshallingIds.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +6 -8
- package/vscode/src/vs/base/common/observableInternal/autorun.js +15 -11
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +0 -10
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +23 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.js +30 -0
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +18 -13
- package/vscode/src/vs/base/common/observableInternal/derived.js +47 -18
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +6 -5
- package/vscode/src/vs/base/common/observableInternal/index.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/promise.d.ts +28 -0
- package/vscode/src/vs/base/common/observableInternal/promise.js +65 -0
- package/vscode/src/vs/base/common/observableInternal/reducer.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/reducer.js +36 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +2 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +19 -11
- package/vscode/src/vs/base/common/product.d.ts +5 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +26 -0
- package/vscode/src/vs/base/common/sseParser.js +134 -0
- package/vscode/src/vs/base/common/stopwatch.js +2 -2
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +8 -19
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +1 -0
- package/vscode/src/vs/base/common/ternarySearchTree.js +55 -13
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +1 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +3 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +6 -3
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +86 -54
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +12 -8
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -6
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +3 -3
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +2 -2
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +8 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +6 -1
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +1 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.js +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +3 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +13 -6
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +4 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -5
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +5 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +15 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +7 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +10 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +19 -15
- package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +5 -0
- package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +20 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +24 -23
- package/vscode/src/vs/editor/common/config/editorOptions.js +1 -2
- package/vscode/src/vs/editor/common/core/columnRange.d.ts +11 -0
- package/vscode/src/vs/editor/common/core/columnRange.js +32 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +10 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +15 -3
- package/vscode/src/vs/editor/common/core/positionToOffset.js +45 -11
- package/vscode/src/vs/editor/common/core/rangeSingleLine.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/rangeSingleLine.js +27 -0
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/textEdit.js +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -0
- package/vscode/src/vs/editor/common/languages/modesRegistry.d.ts +2 -2
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +4 -2
- package/vscode/src/vs/editor/common/languages.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages.js +7 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +5 -1
- package/vscode/src/vs/editor/common/model/textModel.js +80 -18
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +2 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +5 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +7 -1
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +11 -0
- package/vscode/src/vs/editor/common/textModelEvents.js +14 -1
- package/vscode/src/vs/editor/common/tokens/common.d.ts +7 -0
- package/vscode/src/vs/editor/common/tokens/common.js +18 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +2 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +2 -1
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +9 -4
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +4 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +25 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.js +73 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +35 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +339 -0
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +8 -6
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +42 -49
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +6 -3
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +16 -5
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +44 -7
- package/vscode/src/vs/editor/common/viewModel.d.ts +5 -0
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.d.ts +11 -3
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +14 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -14
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +3 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +4 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +5 -11
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +1 -7
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -15
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +24 -23
- 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 +5 -5
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- 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 +14 -12
- 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 +21 -21
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +0 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +29 -41
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +11 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +31 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +16 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +156 -202
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +21 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +135 -431
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +98 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +487 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +34 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +141 -132
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +2 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +21 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +19 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +17 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +5 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +139 -188
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +8 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +157 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +37 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.d.ts +6 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +28 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +215 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- 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 +17 -17
- 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 +23 -49
- 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.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/stickyScroll/browser/stickyScrollController.js +8 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +24 -14
- 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 +19 -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 +5 -10
- 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/contrib/zoneWidget/browser/zoneWidget.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +23 -14
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +2 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +17 -3
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +6 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +2 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -1
- 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/clipboard/browser/clipboardService.d.ts +1 -0
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +3 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +15 -13
- package/vscode/src/vs/platform/configuration/common/configurations.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +5 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +6 -2
- package/vscode/src/vs/platform/editor/common/editor.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +8 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +94 -4
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -7
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +10 -11
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +7 -6
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +9 -8
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +5 -4
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -1
- 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.d.ts +2 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +5 -5
- package/vscode/src/vs/platform/markers/common/markers.d.ts +7 -0
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.service.d.ts +2 -7
- package/vscode/src/vs/platform/native/common/native.d.ts +168 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +6 -2
- package/vscode/src/vs/platform/notification/common/notification.js +3 -2
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +2 -3
- package/vscode/src/vs/platform/product/common/product.js +7 -90
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +4 -19
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +6 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +33 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +2 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +6 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +25 -18
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.d.ts +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +58 -43
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
- package/vscode/src/vs/platform/registry/common/platform.js +9 -1
- package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +14 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +14 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -2
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +4 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +7 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +12 -4
- 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 +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.d.ts +2 -0
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +49 -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 +10 -8
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +0 -8
- package/vscode/src/vs/platform/theme/common/themeService.js +4 -3
- 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.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -2
- package/vscode/src/vs/platform/window/common/window.d.ts +4 -0
- package/vscode/src/vs/platform/window/common/window.js +2 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +27 -20
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +54 -19
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.js +38 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +30 -17
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +0 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +15 -4
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +31 -6
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +60 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +15 -9
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +4 -3
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +279 -82
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +21 -0
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +1 -1
- 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.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +27 -9
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +201 -29
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +67 -27
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +79 -28
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +7 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +34 -9
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +1 -0
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -0
- 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/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +10 -16
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +3 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -71
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +13 -9
- 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 +164 -147
- 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 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +245 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +435 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +6 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +51 -49
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -26
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +16 -23
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +585 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +1179 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +116 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +211 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +12 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +33 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +14 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +18 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/index.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +14 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +28 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +10 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +8 -25
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +11 -97
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +0 -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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +171 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +127 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
- 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/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +3 -1
- 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.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +19 -8
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -10
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +77 -16
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.d.ts +17 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.js +10 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +13 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.js +6 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +2 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +61 -12
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +25 -29
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +4 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +4 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +2 -4
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +2 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/output/common/output.js +6 -4
- 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/search/common/search.d.ts +2 -1
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +5 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +6 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +2 -2
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +31 -23
- package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +64 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +560 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +165 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +74 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +12 -2
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +204 -9
- package/vscode-dts/vscode.proposed.aiSettingsSearch.d.ts +30 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +18 -16
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +84 -5
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +18 -16
- package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +1 -1
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +1 -1
- package/vscode-dts/vscode.proposed.contribDebugCreateConfiguration.d.ts +1 -1
- package/vscode-dts/vscode.proposed.d.ts +2 -2
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -2
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +46 -8
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +106 -16
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.mcpConfigurationProvider.d.ts +115 -21
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +7 -3
- package/vscode-dts/vscode.proposed.textSearchProvider2.d.ts +23 -1
- package/vscode-dts/vscode.proposed.toolProgress.d.ts +25 -0
- package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +1 -1
- package/workbench.d.ts +1 -1
- package/vscode-dts/vscode.proposed.languageModelToolsForAgent.d.ts +0 -8
- package/vscode-dts/vscode.proposed.textDocumentEncoding.d.ts +0 -170
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VSBufferReadableStream } from "../../../base/common/buffer.js";
|
|
2
2
|
import { IStringDictionary } from "../../../base/common/collections.js";
|
|
3
3
|
import { Event } from "../../../base/common/event.js";
|
|
4
|
-
import { FormattingOptions } from "@codingame/monaco-vscode-
|
|
4
|
+
import { FormattingOptions } from "@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common/vscode/vs/base/common/jsonFormatter";
|
|
5
5
|
import { URI } from "../../../base/common/uri.js";
|
|
6
|
-
import { IHeaders } from "@codingame/monaco-vscode-
|
|
6
|
+
import { IHeaders } from "@codingame/monaco-vscode-912ff6c1-e6aa-58cf-bd7f-50cf27bdb591-common/vscode/vs/base/parts/request/common/request";
|
|
7
7
|
import { ILogService } from "../../log/common/log.service.js";
|
|
8
8
|
import { IUserDataSyncStore, UserDataSyncStoreType, type IResourceRefHandle, type ISyncResourceHandle, type ISyncUserDataProfile, type IUserData, type IUserDataManifest, type IUserDataManualSyncTask, type IUserDataSyncResource, type IUserDataSyncResourceConflicts, type IUserDataSyncResourceError, type IUserDataSyncTask, type ServerResource, type SyncOptions, type SyncResource, type SyncStatus, type UserDataSyncError, type UserDataSyncErrorCode } from "./userDataSync.js";
|
|
9
9
|
import { IUserDataSyncMachine } from "@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common/vscode/vs/platform/userDataSync/common/userDataSyncMachines";
|
|
@@ -105,5 +105,6 @@ function useWindowControlsOverlay(configurationService) {
|
|
|
105
105
|
}
|
|
106
106
|
const DEFAULT_WINDOW_SIZE = { width: 1200, height: 800 };
|
|
107
107
|
const DEFAULT_AUX_WINDOW_SIZE = { width: 1024, height: 768 };
|
|
108
|
+
const DEFAULT_COMPACT_AUX_WINDOW_SIZE = { width: 640, height: 640 };
|
|
108
109
|
|
|
109
|
-
export { CustomTitleBarVisibility, DEFAULT_AUX_WINDOW_SIZE, DEFAULT_CUSTOM_TITLEBAR_HEIGHT, DEFAULT_WINDOW_SIZE, TitleBarSetting, TitlebarStyle, WindowControlsStyle, WindowMinimumSize, getMenuBarVisibility, getTitleBarStyle, getWindowControlsStyle, hasCustomTitlebar, hasNativeTitlebar, isFileToOpen, isFolderToOpen, isWorkspaceToOpen, useWindowControlsOverlay };
|
|
110
|
+
export { CustomTitleBarVisibility, DEFAULT_AUX_WINDOW_SIZE, DEFAULT_COMPACT_AUX_WINDOW_SIZE, DEFAULT_CUSTOM_TITLEBAR_HEIGHT, DEFAULT_WINDOW_SIZE, TitleBarSetting, TitlebarStyle, WindowControlsStyle, WindowMinimumSize, getMenuBarVisibility, getTitleBarStyle, getWindowControlsStyle, hasCustomTitlebar, hasNativeTitlebar, isFileToOpen, isFolderToOpen, isWorkspaceToOpen, useWindowControlsOverlay };
|
|
@@ -138,7 +138,7 @@ function toWorkspaceFolder(resource) {
|
|
|
138
138
|
}
|
|
139
139
|
const WORKSPACE_EXTENSION = 'code-workspace';
|
|
140
140
|
const WORKSPACE_SUFFIX = `.${WORKSPACE_EXTENSION}`;
|
|
141
|
-
const WORKSPACE_FILTER = [{ name: ( localize(
|
|
141
|
+
const WORKSPACE_FILTER = [{ name: ( localize(2380, "Code Workspace")), extensions: [WORKSPACE_EXTENSION] }];
|
|
142
142
|
const UNTITLED_WORKSPACE_NAME = 'workspace.json';
|
|
143
143
|
function isUntitledWorkspace(path, environmentService) {
|
|
144
144
|
return extUriBiasedIgnorePathCase.isEqualOrParent(path, environmentService.untitledWorkspacesHome);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Event } from "../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../base/common/uri.js";
|
|
3
|
-
import { IWorkspaceBackupInfo, IFolderBackupInfo } from "@codingame/monaco-vscode-
|
|
3
|
+
import { IWorkspaceBackupInfo, IFolderBackupInfo } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/backup/common/backup";
|
|
4
4
|
import { IWorkspaceIdentifier } from "../../workspace/common/workspace.js";
|
|
5
|
-
import { IEnterWorkspaceResult, IWorkspaceFolderCreationData, IRecent, IRecentlyOpened } from "@codingame/monaco-vscode-
|
|
5
|
+
import { IEnterWorkspaceResult, IWorkspaceFolderCreationData, IRecent, IRecentlyOpened } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces";
|
|
6
6
|
export declare const IWorkspacesService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<IWorkspacesService>;
|
|
7
7
|
export interface IWorkspacesService {
|
|
8
8
|
readonly _serviceBrand: undefined;
|
|
@@ -20,7 +20,7 @@ import { EditSessionIdentityMatch } from '../../../platform/workspace/common/edi
|
|
|
20
20
|
import { DebugConfigurationProviderTriggerKind } from '../../contrib/debug/common/debug.js';
|
|
21
21
|
import { UIKind } from '../../services/extensions/common/extensionHostProtocol.js';
|
|
22
22
|
import { checkProposedApiEnabled, isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
23
|
-
import { TextSearchCompleteMessageType, TextSearchMatch2, TextSearchContext2, ExcludeSettingOptions } from '../../services/search/common/searchExtTypes.js';
|
|
23
|
+
import { TextSearchCompleteMessageType, AISearchKeyword, TextSearchMatch2, TextSearchContext2, ExcludeSettingOptions } from '../../services/search/common/searchExtTypes.js';
|
|
24
24
|
import { ExtHostContext, MainContext, CandidatePortSource } from './extHost.protocol.js';
|
|
25
25
|
import { ExtHostRelatedInformation } from './extHostAiRelatedInformation.js';
|
|
26
26
|
import { ExtHostApiCommands } from './extHostApiCommands.js';
|
|
@@ -94,7 +94,7 @@ import { ExtHostTimeline } from './extHostTimeline.js';
|
|
|
94
94
|
import { ExtHostTreeViews } from './extHostTreeViews.js';
|
|
95
95
|
import { IExtHostTunnelService } from './extHostTunnelService.js';
|
|
96
96
|
import { LanguageSelector } from './extHostTypeConverters.js';
|
|
97
|
-
import { ExtensionKind, ProgressLocation, McpStdioServerDefinition,
|
|
97
|
+
import { ExtensionKind, ProgressLocation, SettingsSearchResultKind, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel, InlineEditTriggerKind, InlineEdit, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, PreparedTerminalToolInvocation, ExtendedLanguageModelToolResult, LanguageModelExtraDataPart, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelToolCallPart, LanguageModelTextPart, LanguageModelToolResultPart2, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatLocation, ChatResponseTurn, ChatRequestTurn, ChatResponseReferencePartStatusKind, ChatResponseExtensionsPart, ChatResponseMovePart, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, ChatImageMimeType, KeywordRecognitionStatus, InlineCompletionEndOfLifeReasonKind, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookEdit, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookCellOutputItem, NotebookCellOutput, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookData, NotebookCellData, NotebookCellExecutionState, NotebookCellKind, NotebookRange, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, WorkspaceEdit, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, SnippetTextEdit, TextEdit, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRevealKind, TaskPanelKind, TaskGroup, TaskEventKind, Task, SymbolTag, SymbolKind, SymbolInformation, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SnippetString, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, Selection, RelativePattern, Range, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, Position, PortAutoForwardAction, ParameterInformation, MarkdownString, Location, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, EndOfLine, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DiagnosticTag, DiagnosticSeverity, DiagnosticRelatedInformation, Diagnostic, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeActionKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
98
98
|
import { ExtHostUriOpeners } from './extHostUriOpener.js';
|
|
99
99
|
import { IURITransformerService } from './extHostUriTransformerService.js';
|
|
100
100
|
import { ExtHostUrls } from './extHostUrls.js';
|
|
@@ -103,6 +103,7 @@ import { ExtHostWebviewPanels } from './extHostWebviewPanels.js';
|
|
|
103
103
|
import { ExtHostWebviewViews } from './extHostWebviewView.js';
|
|
104
104
|
import { IExtHostWindow } from './extHostWindow.js';
|
|
105
105
|
import { IExtHostWorkspace } from './extHostWorkspace.js';
|
|
106
|
+
import { ExtHostAiSettingsSearch } from './extHostAiSettingsSearch.js';
|
|
106
107
|
|
|
107
108
|
function createApiFactoryAndRegisterActors(accessor) {
|
|
108
109
|
const initData = accessor.get(IExtHostInitDataService);
|
|
@@ -239,6 +240,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
239
240
|
)));
|
|
240
241
|
const extHostAiRelatedInformation = rpcProtocol.set(ExtHostContext.ExtHostAiRelatedInformation, ( new ExtHostRelatedInformation(rpcProtocol)));
|
|
241
242
|
const extHostAiEmbeddingVector = rpcProtocol.set(ExtHostContext.ExtHostAiEmbeddingVector, ( new ExtHostAiEmbeddingVector(rpcProtocol)));
|
|
243
|
+
const extHostAiSettingsSearch = rpcProtocol.set(ExtHostContext.ExtHostAiSettingsSearch, ( new ExtHostAiSettingsSearch(rpcProtocol)));
|
|
242
244
|
const extHostStatusBar = rpcProtocol.set(ExtHostContext.ExtHostStatusBar, ( new ExtHostStatusBar(rpcProtocol, extHostCommands.converter)));
|
|
243
245
|
const extHostSpeech = rpcProtocol.set(ExtHostContext.ExtHostSpeech, ( new ExtHostSpeech(rpcProtocol)));
|
|
244
246
|
const extHostEmbeddings = rpcProtocol.set(ExtHostContext.ExtHostEmbeddings, ( new ExtHostEmbeddings(rpcProtocol)));
|
|
@@ -902,9 +904,9 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
902
904
|
checkProposedApiEnabled(extension, 'profileContentHandlers');
|
|
903
905
|
return extHostProfileContentHandlers.registerProfileContentHandler(extension, id, handler);
|
|
904
906
|
},
|
|
905
|
-
registerQuickDiffProvider(selector, quickDiffProvider, label, rootUri) {
|
|
907
|
+
registerQuickDiffProvider(selector, quickDiffProvider, id, label, rootUri) {
|
|
906
908
|
checkProposedApiEnabled(extension, 'quickDiffProvider');
|
|
907
|
-
return extHostQuickDiff.registerQuickDiffProvider(checkSelector(selector), quickDiffProvider, label, rootUri);
|
|
909
|
+
return extHostQuickDiff.registerQuickDiffProvider(extension, checkSelector(selector), quickDiffProvider, id, label, rootUri);
|
|
908
910
|
},
|
|
909
911
|
get tabGroups() {
|
|
910
912
|
return extHostEditorTabs.tabGroups;
|
|
@@ -1013,9 +1015,6 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1013
1015
|
openTextDocument(uriOrFileNameOrOptions, options) {
|
|
1014
1016
|
let uriPromise;
|
|
1015
1017
|
options = (options ?? uriOrFileNameOrOptions);
|
|
1016
|
-
if (typeof options?.encoding === 'string') {
|
|
1017
|
-
checkProposedApiEnabled(extension, 'textDocumentEncoding');
|
|
1018
|
-
}
|
|
1019
1018
|
if (typeof uriOrFileNameOrOptions === 'string') {
|
|
1020
1019
|
uriPromise = Promise.resolve(URI.file(uriOrFileNameOrOptions));
|
|
1021
1020
|
}
|
|
@@ -1214,13 +1213,11 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1214
1213
|
checkProposedApiEnabled(extension, 'canonicalUriProvider');
|
|
1215
1214
|
return extHostWorkspace.provideCanonicalUri(uri, options, token);
|
|
1216
1215
|
},
|
|
1217
|
-
decode(content,
|
|
1218
|
-
|
|
1219
|
-
return extHostWorkspace.decode(content, uri, options);
|
|
1216
|
+
decode(content, options) {
|
|
1217
|
+
return extHostWorkspace.decode(content, options);
|
|
1220
1218
|
},
|
|
1221
|
-
encode(content,
|
|
1222
|
-
|
|
1223
|
-
return extHostWorkspace.encode(content, uri, options);
|
|
1219
|
+
encode(content, options) {
|
|
1220
|
+
return extHostWorkspace.encode(content, options);
|
|
1224
1221
|
}
|
|
1225
1222
|
};
|
|
1226
1223
|
const scm = {
|
|
@@ -1395,13 +1392,13 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1395
1392
|
registerEmbeddingVectorProvider(model, provider) {
|
|
1396
1393
|
checkProposedApiEnabled(extension, 'aiRelatedInformation');
|
|
1397
1394
|
return extHostAiEmbeddingVector.registerEmbeddingVectorProvider(extension, model, provider);
|
|
1395
|
+
},
|
|
1396
|
+
registerSettingsSearchProvider(provider) {
|
|
1397
|
+
checkProposedApiEnabled(extension, 'aiSettingsSearch');
|
|
1398
|
+
return extHostAiSettingsSearch.registerSettingsSearchProvider(extension, provider);
|
|
1398
1399
|
}
|
|
1399
1400
|
};
|
|
1400
1401
|
const chat = {
|
|
1401
|
-
registerChatResponseProvider(id, provider, metadata) {
|
|
1402
|
-
checkProposedApiEnabled(extension, 'chatProvider');
|
|
1403
|
-
return extHostLanguageModels.registerLanguageModel(extension, id, provider, metadata);
|
|
1404
|
-
},
|
|
1405
1402
|
registerMappedEditsProvider(_selector, _provider) {
|
|
1406
1403
|
checkProposedApiEnabled(extension, 'mappedEditsProvider');
|
|
1407
1404
|
return { dispose() { } };
|
|
@@ -1477,11 +1474,12 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1477
1474
|
registerIgnoredFileProvider(provider) {
|
|
1478
1475
|
return extHostLanguageModels.registerIgnoredFileProvider(extension, provider);
|
|
1479
1476
|
},
|
|
1480
|
-
|
|
1477
|
+
registerMcpServerDefinitionProvider(id, provider) {
|
|
1481
1478
|
checkProposedApiEnabled(extension, 'mcpConfigurationProvider');
|
|
1482
1479
|
return extHostMcp.registerMcpConfigurationProvider(extension, id, provider);
|
|
1483
1480
|
}
|
|
1484
1481
|
};
|
|
1482
|
+
lm.registerMcpConfigurationProvider = lm.registerMcpServerDefinitionProvider;
|
|
1485
1483
|
const speech = {
|
|
1486
1484
|
registerSpeechProvider(id, provider) {
|
|
1487
1485
|
checkProposedApiEnabled(extension, 'speech');
|
|
@@ -1728,7 +1726,9 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1728
1726
|
SpeechToTextStatus: SpeechToTextStatus,
|
|
1729
1727
|
TextToSpeechStatus: TextToSpeechStatus,
|
|
1730
1728
|
PartialAcceptTriggerKind: PartialAcceptTriggerKind,
|
|
1729
|
+
InlineCompletionEndOfLifeReasonKind: InlineCompletionEndOfLifeReasonKind,
|
|
1731
1730
|
KeywordRecognitionStatus: KeywordRecognitionStatus,
|
|
1731
|
+
ChatImageMimeType: ChatImageMimeType,
|
|
1732
1732
|
ChatResponseMarkdownPart: ChatResponseMarkdownPart,
|
|
1733
1733
|
ChatResponseFileTreePart: ChatResponseFileTreePart,
|
|
1734
1734
|
ChatResponseAnchorPart: ChatResponseAnchorPart,
|
|
@@ -1745,23 +1745,28 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1745
1745
|
ChatResponseCommandButtonPart: ChatResponseCommandButtonPart,
|
|
1746
1746
|
ChatResponseConfirmationPart: ChatResponseConfirmationPart,
|
|
1747
1747
|
ChatResponseMovePart: ChatResponseMovePart,
|
|
1748
|
+
ChatResponseExtensionsPart: ChatResponseExtensionsPart,
|
|
1748
1749
|
ChatResponseReferencePartStatusKind: ChatResponseReferencePartStatusKind,
|
|
1749
1750
|
ChatRequestTurn: ChatRequestTurn,
|
|
1751
|
+
ChatRequestTurn2: ChatRequestTurn,
|
|
1750
1752
|
ChatResponseTurn: ChatResponseTurn,
|
|
1751
1753
|
ChatLocation: ChatLocation,
|
|
1752
1754
|
ChatRequestEditorData: ChatRequestEditorData,
|
|
1753
1755
|
ChatRequestNotebookData: ChatRequestNotebookData,
|
|
1754
1756
|
ChatReferenceBinaryData: ChatReferenceBinaryData,
|
|
1757
|
+
ChatRequestEditedFileEventKind: ChatRequestEditedFileEventKind,
|
|
1755
1758
|
LanguageModelChatMessageRole: LanguageModelChatMessageRole,
|
|
1756
1759
|
LanguageModelChatMessage: LanguageModelChatMessage,
|
|
1757
1760
|
LanguageModelChatMessage2: LanguageModelChatMessage2,
|
|
1758
1761
|
LanguageModelToolResultPart: LanguageModelToolResultPart,
|
|
1762
|
+
LanguageModelToolResultPart2: LanguageModelToolResultPart2,
|
|
1759
1763
|
LanguageModelTextPart: LanguageModelTextPart,
|
|
1760
1764
|
LanguageModelToolCallPart: LanguageModelToolCallPart,
|
|
1761
1765
|
LanguageModelError: LanguageModelError,
|
|
1762
1766
|
LanguageModelToolResult: LanguageModelToolResult,
|
|
1767
|
+
LanguageModelToolResult2: LanguageModelToolResult2,
|
|
1763
1768
|
LanguageModelDataPart: LanguageModelDataPart,
|
|
1764
|
-
|
|
1769
|
+
LanguageModelExtraDataPart: LanguageModelExtraDataPart,
|
|
1765
1770
|
ExtendedLanguageModelToolResult: ExtendedLanguageModelToolResult,
|
|
1766
1771
|
PreparedTerminalToolInvocation: PreparedTerminalToolInvocation,
|
|
1767
1772
|
LanguageModelChatToolMode: LanguageModelChatToolMode,
|
|
@@ -1774,10 +1779,12 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1774
1779
|
ExcludeSettingOptions: ExcludeSettingOptions,
|
|
1775
1780
|
TextSearchContext2: TextSearchContext2,
|
|
1776
1781
|
TextSearchMatch2: TextSearchMatch2,
|
|
1782
|
+
AISearchKeyword: AISearchKeyword,
|
|
1777
1783
|
TextSearchCompleteMessageTypeNew: TextSearchCompleteMessageType,
|
|
1778
1784
|
ChatErrorLevel: ChatErrorLevel,
|
|
1779
|
-
|
|
1785
|
+
McpHttpServerDefinition: McpHttpServerDefinition,
|
|
1780
1786
|
McpStdioServerDefinition: McpStdioServerDefinition,
|
|
1787
|
+
SettingsSearchResultKind: SettingsSearchResultKind
|
|
1781
1788
|
};
|
|
1782
1789
|
};
|
|
1783
1790
|
}
|
|
@@ -29,7 +29,7 @@ import { ConfigurationScope } from "../../../platform/configuration/common/confi
|
|
|
29
29
|
import { IExtensionIdWithVersion } from "@codingame/monaco-vscode-a2719803-af40-5ae9-a29f-8a2231c33056-common/vscode/vs/platform/extensionManagement/common/extensionStorage";
|
|
30
30
|
import { ExtensionIdentifier, IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
|
|
31
31
|
import * as files from "../../../platform/files/common/files.js";
|
|
32
|
-
import { ResourceLabelFormatter } from "@codingame/monaco-vscode-
|
|
32
|
+
import { ResourceLabelFormatter } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/label/common/label";
|
|
33
33
|
import { ILoggerOptions, ILoggerResource, LogLevel } from "../../../platform/log/common/log.js";
|
|
34
34
|
import { IMarkerData } from "../../../platform/markers/common/markers.js";
|
|
35
35
|
import { IProgressOptions, IProgressStep } from "../../../platform/progress/common/progress.js";
|
|
@@ -46,21 +46,21 @@ import { WorkspaceTrustRequestOptions } from "../../../platform/workspace/common
|
|
|
46
46
|
import { SaveReason } from "../../common/editor.js";
|
|
47
47
|
import { IRevealOptions, ITreeItem, IViewBadge } from "../../common/views.js";
|
|
48
48
|
import { CallHierarchyItem } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/callHierarchy/common/callHierarchy";
|
|
49
|
-
import { IChatAgentMetadata, IChatAgentRequest, IChatAgentResult } from "
|
|
49
|
+
import { IChatAgentMetadata, IChatAgentRequest, IChatAgentResult } from "../../contrib/chat/common/chatAgents.js";
|
|
50
50
|
import { ICodeMapperRequest, ICodeMapperResult } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService";
|
|
51
51
|
import { IChatRelatedFile, IChatRelatedFileProviderMetadata as IChatRelatedFilesProviderMetadata, IChatRequestDraft } from "../../contrib/chat/common/chatEditingService.js";
|
|
52
|
-
import { IChatProgressHistoryResponseContent } from "
|
|
52
|
+
import { IChatProgressHistoryResponseContent } from "../../contrib/chat/common/chatModel.js";
|
|
53
53
|
import { IChatContentInlineReference, IChatFollowup, IChatNotebookEdit, IChatProgress, IChatResponseErrorDetails, IChatTask, IChatTaskDto, IChatUserActionEvent, IChatVoteAction } from "../../contrib/chat/common/chatService.js";
|
|
54
54
|
import { IChatRequestVariableValue } from "../../contrib/chat/common/chatVariables.js";
|
|
55
55
|
import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
|
|
56
56
|
import { IChatMessage, IChatResponseFragment, ILanguageModelChatMetadata, ILanguageModelChatSelector, ILanguageModelsChangeEvent } from "../../contrib/chat/common/languageModels.js";
|
|
57
|
-
import { IPreparedToolInvocation, IToolData, IToolInvocation, IToolResult } from "../../contrib/chat/common/languageModelToolsService.js";
|
|
57
|
+
import { IPreparedToolInvocation, IToolData, IToolInvocation, IToolProgressStep, IToolResult } from "../../contrib/chat/common/languageModelToolsService.js";
|
|
58
58
|
import { DebugConfigurationProviderTriggerKind, IAdapterDescriptor, IConfig, IDebugSessionReplMode, IDebugTestRunReference, IDebugVisualization, IDebugVisualizationContext, IDebugVisualizationTreeItem, MainThreadDebugVisualization } from "../../contrib/debug/common/debug.js";
|
|
59
59
|
import { McpCollectionDefinition, McpConnectionState, McpServerDefinition, McpServerLaunch } from "../../contrib/mcp/common/mcpTypes.js";
|
|
60
60
|
import * as notebookCommon from "../../contrib/notebook/common/notebookCommon.js";
|
|
61
61
|
import { CellExecutionUpdateType } from "../../contrib/notebook/common/notebookExecutionService.js";
|
|
62
|
-
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "@codingame/monaco-vscode-
|
|
63
|
-
import { ICellRange } from "@codingame/monaco-vscode-
|
|
62
|
+
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
63
|
+
import { ICellRange } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookRange";
|
|
64
64
|
import { InputValidationType } from "@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common/vscode/vs/workbench/contrib/scm/common/scm";
|
|
65
65
|
import { IWorkspaceSymbol, NotebookPriorityInfo } from "@codingame/monaco-vscode-42931eb9-e564-530c-bafc-fa23ab43a070-common/vscode/vs/workbench/contrib/search/common/search";
|
|
66
66
|
import { IRawClosedNotebookFileMatch } from "../../contrib/search/common/searchNotebookHelpers.js";
|
|
@@ -68,9 +68,9 @@ import { IKeywordRecognitionEvent, ISpeechProviderMetadata, ISpeechToTextEvent,
|
|
|
68
68
|
import { CoverageDetails, ExtensionRunTestsRequest, ICallProfileRunHandler, IFileCoverage, ISerializedTestResults, IStartControllerTests, ITestItem, ITestMessage, ITestRunProfile, ITestRunTask, ResolvedTestRunRequest, TestControllerCapability, TestMessageFollowupRequest, TestMessageFollowupResponse, TestResultState, TestsDiffOp } from "../../contrib/testing/common/testTypes.js";
|
|
69
69
|
import { Timeline, TimelineChangeEvent, TimelineOptions, TimelineProviderDescriptor } from "../../contrib/timeline/common/timeline.js";
|
|
70
70
|
import { TypeHierarchyItem } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy";
|
|
71
|
-
import { RelatedInformationResult, RelatedInformationType } from "@codingame/monaco-vscode-
|
|
71
|
+
import { RelatedInformationResult, RelatedInformationType } from "@codingame/monaco-vscode-quickaccess-service-override/vscode/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation";
|
|
72
72
|
import { AuthenticationSession, AuthenticationSessionAccount, AuthenticationSessionsChangeEvent, IAuthenticationCreateSessionOptions, IAuthenticationProviderSessionOptions } from "../../services/authentication/common/authentication.js";
|
|
73
|
-
import { EditorGroupColumn } from "@codingame/monaco-vscode-
|
|
73
|
+
import { EditorGroupColumn } from "@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common/vscode/vs/workbench/services/editor/common/editorGroupColumn";
|
|
74
74
|
import { IExtensionDescriptionDelta, IStaticWorkspaceData } from "../../services/extensions/common/extensionHostProtocol.js";
|
|
75
75
|
import { IResolveAuthorityResult } from "../../services/extensions/common/extensionHostProxy.js";
|
|
76
76
|
import { ActivationKind, ExtensionActivationReason, MissingExtensionDependency } from "../../services/extensions/common/extensions.js";
|
|
@@ -80,7 +80,8 @@ import { OutputChannelUpdateMode } from "../../services/output/common/output.js"
|
|
|
80
80
|
import { CandidatePort } from "../../services/remote/common/tunnelModel.js";
|
|
81
81
|
import { IFileQueryBuilderOptions, ITextQueryBuilderOptions } from "../../services/search/common/queryBuilder.js";
|
|
82
82
|
import * as search from "../../services/search/common/search.js";
|
|
83
|
-
import { TextSearchCompleteMessage } from "../../services/search/common/searchExtTypes.js";
|
|
83
|
+
import { AISearchKeyword, TextSearchCompleteMessage } from "../../services/search/common/searchExtTypes.js";
|
|
84
|
+
import { AiSettingsSearchProviderOptions, AiSettingsSearchResult } from "../../services/aiSettingsSearch/common/aiSettingsSearch.js";
|
|
84
85
|
import { ISaveProfileResult } from "@codingame/monaco-vscode-e72c94ca-257a-5b75-8b68-5a5fa3c18255-common/vscode/vs/workbench/services/userDataProfile/common/userDataProfile";
|
|
85
86
|
import { TerminalShellExecutionCommandLineConfidence } from "./extHostTypes.js";
|
|
86
87
|
import * as tasks from "@codingame/monaco-vscode-extensions-service-override/vscode/vs/workbench/api/common/shared/tasks";
|
|
@@ -133,7 +134,7 @@ export type CommentThreadChanges<T = IRange> = Partial<{
|
|
|
133
134
|
contextValue: string | null;
|
|
134
135
|
comments: CommentChanges[];
|
|
135
136
|
collapseState: languages.CommentThreadCollapsibleState;
|
|
136
|
-
canReply: boolean;
|
|
137
|
+
canReply: boolean | languages.CommentAuthorInformation;
|
|
137
138
|
state: languages.CommentThreadState;
|
|
138
139
|
applicability: languages.CommentThreadApplicability;
|
|
139
140
|
isTemplate: boolean;
|
|
@@ -450,8 +451,9 @@ export interface MainThreadLanguageFeaturesShape extends IDisposable {
|
|
|
450
451
|
$emitDocumentSemanticTokensEvent(eventHandle: number): void;
|
|
451
452
|
$registerDocumentRangeSemanticTokensProvider(handle: number, selector: IDocumentFilterDto[], legend: languages.SemanticTokensLegend): void;
|
|
452
453
|
$registerCompletionsProvider(handle: number, selector: IDocumentFilterDto[], triggerCharacters: string[], supportsResolveDetails: boolean, extensionId: ExtensionIdentifier): void;
|
|
453
|
-
$registerInlineCompletionsSupport(handle: number, selector: IDocumentFilterDto[], supportsHandleDidShowCompletionItem: boolean, extensionId: string, yieldsToExtensionIds: string[], displayName: string | undefined, debounceDelayMs: number | undefined): void;
|
|
454
|
+
$registerInlineCompletionsSupport(handle: number, selector: IDocumentFilterDto[], supportsHandleDidShowCompletionItem: boolean, extensionId: string, yieldsToExtensionIds: string[], displayName: string | undefined, debounceDelayMs: number | undefined, eventHandle: number | undefined): void;
|
|
454
455
|
$registerInlineEditProvider(handle: number, selector: IDocumentFilterDto[], extensionId: ExtensionIdentifier, displayName: string): void;
|
|
456
|
+
$emitInlineCompletionsChange(handle: number): void;
|
|
455
457
|
$registerSignatureHelpProvider(handle: number, selector: IDocumentFilterDto[], metadata: ISignatureHelpProviderMetadataDto): void;
|
|
456
458
|
$registerInlayHintsProvider(handle: number, selector: IDocumentFilterDto[], supportsResolve: boolean, eventHandle: number | undefined, displayName: string | undefined): void;
|
|
457
459
|
$emitInlayHintsEvent(eventHandle: number): void;
|
|
@@ -1214,7 +1216,8 @@ export interface IChatParticipantDetectionResult {
|
|
|
1214
1216
|
export type IToolDataDto = Omit<IToolData, "when">;
|
|
1215
1217
|
export interface MainThreadLanguageModelToolsShape extends IDisposable {
|
|
1216
1218
|
$getTools(): Promise<Dto<IToolDataDto>[]>;
|
|
1217
|
-
$
|
|
1219
|
+
$acceptToolProgress(callId: string, progress: IToolProgressStep): void;
|
|
1220
|
+
$invokeTool(dto: IToolInvocation, token?: CancellationToken): Promise<Dto<IToolResult> | SerializableObjectWithBuffers<Dto<IToolResult>>>;
|
|
1218
1221
|
$countTokensForInvocation(callId: string, input: string, token: CancellationToken): Promise<number>;
|
|
1219
1222
|
$registerTool(id: string): void;
|
|
1220
1223
|
$unregisterTool(name: string): void;
|
|
@@ -1222,7 +1225,7 @@ export interface MainThreadLanguageModelToolsShape extends IDisposable {
|
|
|
1222
1225
|
export type IChatRequestVariableValueDto = Dto<IChatRequestVariableValue>;
|
|
1223
1226
|
export interface ExtHostLanguageModelToolsShape {
|
|
1224
1227
|
$onDidChangeTools(tools: IToolDataDto[]): void;
|
|
1225
|
-
$invokeTool(dto: IToolInvocation, token: CancellationToken): Promise<Dto<IToolResult
|
|
1228
|
+
$invokeTool(dto: IToolInvocation, token: CancellationToken): Promise<Dto<IToolResult> | SerializableObjectWithBuffers<Dto<IToolResult>>>;
|
|
1226
1229
|
$countTokensForInvocation(callId: string, input: string, token: CancellationToken): Promise<number>;
|
|
1227
1230
|
$prepareToolInvocation(toolId: string, parameters: any, token: CancellationToken): Promise<IPreparedToolInvocation | undefined>;
|
|
1228
1231
|
}
|
|
@@ -1302,12 +1305,22 @@ export interface MainThreadWorkspaceShape extends IDisposable {
|
|
|
1302
1305
|
$unregisterEditSessionIdentityProvider(handle: number): void;
|
|
1303
1306
|
$registerCanonicalUriProvider(handle: number, scheme: string): void;
|
|
1304
1307
|
$unregisterCanonicalUriProvider(handle: number): void;
|
|
1305
|
-
$
|
|
1308
|
+
$resolveDecoding(resource: UriComponents | undefined, options?: {
|
|
1309
|
+
encoding?: string;
|
|
1310
|
+
}): Promise<{
|
|
1311
|
+
preferredEncoding: string;
|
|
1312
|
+
guessEncoding: boolean;
|
|
1313
|
+
candidateGuessEncodings: string[];
|
|
1314
|
+
}>;
|
|
1315
|
+
$validateDetectedEncoding(resource: UriComponents | undefined, detectedEncoding: string, options?: {
|
|
1306
1316
|
encoding?: string;
|
|
1307
1317
|
}): Promise<string>;
|
|
1308
|
-
$
|
|
1318
|
+
$resolveEncoding(resource: UriComponents | undefined, options?: {
|
|
1309
1319
|
encoding?: string;
|
|
1310
|
-
}): Promise<
|
|
1320
|
+
}): Promise<{
|
|
1321
|
+
encoding: string;
|
|
1322
|
+
addBOM: boolean;
|
|
1323
|
+
}>;
|
|
1311
1324
|
}
|
|
1312
1325
|
export interface IFileChangeDto {
|
|
1313
1326
|
resource: UriComponents;
|
|
@@ -1345,6 +1358,7 @@ export interface MainThreadSearchShape extends IDisposable {
|
|
|
1345
1358
|
$unregisterProvider(handle: number): void;
|
|
1346
1359
|
$handleFileMatch(handle: number, session: number, data: UriComponents[]): void;
|
|
1347
1360
|
$handleTextMatch(handle: number, session: number, data: search.IRawFileMatch2[]): void;
|
|
1361
|
+
$handleKeywordResult(handle: number, session: number, data: AISearchKeyword): void;
|
|
1348
1362
|
$handleTelemetry(eventName: string, data: any): void;
|
|
1349
1363
|
}
|
|
1350
1364
|
export interface MainThreadShareShape extends IDisposable {
|
|
@@ -1381,6 +1395,8 @@ export interface SCMProviderFeatures {
|
|
|
1381
1395
|
hasHistoryProvider?: boolean;
|
|
1382
1396
|
hasQuickDiffProvider?: boolean;
|
|
1383
1397
|
quickDiffLabel?: string;
|
|
1398
|
+
hasSecondaryQuickDiffProvider?: boolean;
|
|
1399
|
+
secondaryQuickDiffLabel?: string;
|
|
1384
1400
|
count?: number;
|
|
1385
1401
|
commitTemplate?: string;
|
|
1386
1402
|
acceptInputCommand?: languages.Command;
|
|
@@ -1489,7 +1505,7 @@ export interface MainThreadSCMShape extends IDisposable {
|
|
|
1489
1505
|
$onDidChangeHistoryProviderHistoryItemRefs(sourceControlHandle: number, historyItemRefs: SCMHistoryItemRefsChangeEventDto): Promise<void>;
|
|
1490
1506
|
}
|
|
1491
1507
|
export interface MainThreadQuickDiffShape extends IDisposable {
|
|
1492
|
-
$registerQuickDiffProvider(handle: number, selector: IDocumentFilterDto[], label: string, rootUri: UriComponents | undefined
|
|
1508
|
+
$registerQuickDiffProvider(handle: number, selector: IDocumentFilterDto[], id: string, label: string, rootUri: UriComponents | undefined): Promise<void>;
|
|
1493
1509
|
$unregisterQuickDiffProvider(handle: number): Promise<void>;
|
|
1494
1510
|
}
|
|
1495
1511
|
export type DebugSessionUUID = string;
|
|
@@ -1763,6 +1779,14 @@ export interface MainThreadAiRelatedInformationShape {
|
|
|
1763
1779
|
$registerAiRelatedInformationProvider(handle: number, type: RelatedInformationType): void;
|
|
1764
1780
|
$unregisterAiRelatedInformationProvider(handle: number): void;
|
|
1765
1781
|
}
|
|
1782
|
+
export interface ExtHostAiSettingsSearchShape {
|
|
1783
|
+
$startSearch(handle: number, query: string, option: AiSettingsSearchProviderOptions, token: CancellationToken): Promise<void>;
|
|
1784
|
+
}
|
|
1785
|
+
export interface MainThreadAiSettingsSearchShape {
|
|
1786
|
+
$registerAiSettingsSearchProvider(handle: number): void;
|
|
1787
|
+
$unregisterAiSettingsSearchProvider(handle: number): void;
|
|
1788
|
+
$handleSearchResult(handle: number, result: AiSettingsSearchResult): void;
|
|
1789
|
+
}
|
|
1766
1790
|
export interface ExtHostAiEmbeddingVectorShape {
|
|
1767
1791
|
$provideAiEmbeddingVector(handle: number, strings: string[], token: CancellationToken): Promise<number[][]>;
|
|
1768
1792
|
}
|
|
@@ -2120,6 +2144,10 @@ export interface ExtHostLanguageFeaturesShape {
|
|
|
2120
2144
|
$provideInlineEditsForRange(handle: number, resource: UriComponents, range: IRange, context: languages.InlineCompletionContext, token: CancellationToken): Promise<IdentifiableInlineCompletions | undefined>;
|
|
2121
2145
|
$handleInlineCompletionDidShow(handle: number, pid: number, idx: number, updatedInsertText: string): void;
|
|
2122
2146
|
$handleInlineCompletionPartialAccept(handle: number, pid: number, idx: number, acceptedCharacters: number, info: languages.PartialAcceptInfo): void;
|
|
2147
|
+
$handleInlineCompletionEndOfLifetime(handle: number, pid: number, idx: number, reason: languages.InlineCompletionEndOfLifeReason<{
|
|
2148
|
+
pid: number;
|
|
2149
|
+
idx: number;
|
|
2150
|
+
}>): void;
|
|
2123
2151
|
$handleInlineCompletionRejection(handle: number, pid: number, idx: number): void;
|
|
2124
2152
|
$freeInlineCompletionsList(handle: number, pid: number): void;
|
|
2125
2153
|
$provideSignatureHelp(handle: number, resource: UriComponents, position: IPosition, context: languages.SignatureHelpContext, token: CancellationToken): Promise<ISignatureHelpDto | undefined>;
|
|
@@ -2280,6 +2308,7 @@ export interface ExtHostTerminalShellIntegrationShape {
|
|
|
2280
2308
|
}
|
|
2281
2309
|
export interface ExtHostSCMShape {
|
|
2282
2310
|
$provideOriginalResource(sourceControlHandle: number, uri: UriComponents, token: CancellationToken): Promise<UriComponents | null>;
|
|
2311
|
+
$provideSecondaryOriginalResource(sourceControlHandle: number, uri: UriComponents, token: CancellationToken): Promise<UriComponents | null>;
|
|
2283
2312
|
$onInputBoxValueChange(sourceControlHandle: number, value: string): void;
|
|
2284
2313
|
$executeResourceCommand(sourceControlHandle: number, groupHandle: number, handle: number, preserveFocus: boolean): Promise<void>;
|
|
2285
2314
|
$validateInput(sourceControlHandle: number, value: string, cursorPosition: number): Promise<[
|
|
@@ -2678,6 +2707,7 @@ export interface ExtHostTestingShape {
|
|
|
2678
2707
|
$disposeTestFollowups(id: number[]): void;
|
|
2679
2708
|
}
|
|
2680
2709
|
export interface ExtHostMcpShape {
|
|
2710
|
+
$resolveMcpLaunch(collectionId: string, label: string): Promise<McpServerLaunch.Serialized | undefined>;
|
|
2681
2711
|
$startMcp(id: number, launch: McpServerLaunch.Serialized): void;
|
|
2682
2712
|
$stopMcp(id: number): void;
|
|
2683
2713
|
$sendMessage(id: number, message: string): void;
|
|
@@ -2687,7 +2717,7 @@ export interface MainThreadMcpShape {
|
|
|
2687
2717
|
$onDidChangeState(id: number, state: McpConnectionState): void;
|
|
2688
2718
|
$onDidPublishLog(id: number, level: LogLevel, log: string): void;
|
|
2689
2719
|
$onDidReceiveMessage(id: number, message: string): void;
|
|
2690
|
-
$upsertMcpCollection(collection: McpCollectionDefinition.FromExtHost, servers:
|
|
2720
|
+
$upsertMcpCollection(collection: McpCollectionDefinition.FromExtHost, servers: McpServerDefinition.Serialized[]): void;
|
|
2691
2721
|
$deleteMcpCollection(collectionId: string): void;
|
|
2692
2722
|
}
|
|
2693
2723
|
export interface ExtHostLocalizationShape {
|
|
@@ -2732,7 +2762,10 @@ export interface MainThreadTestingShape {
|
|
|
2732
2762
|
}
|
|
2733
2763
|
export type ChatStatusItemDto = {
|
|
2734
2764
|
id: string;
|
|
2735
|
-
title: string
|
|
2765
|
+
title: string | {
|
|
2766
|
+
label: string;
|
|
2767
|
+
link: string;
|
|
2768
|
+
};
|
|
2736
2769
|
description: string;
|
|
2737
2770
|
detail: string | undefined;
|
|
2738
2771
|
};
|
|
@@ -2813,6 +2846,7 @@ export declare const MainContext: {
|
|
|
2813
2846
|
MainThreadAiRelatedInformation: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiRelatedInformationShape>;
|
|
2814
2847
|
MainThreadAiEmbeddingVector: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiEmbeddingVectorShape>;
|
|
2815
2848
|
MainThreadChatStatus: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadChatStatusShape>;
|
|
2849
|
+
MainThreadAiSettingsSearch: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiSettingsSearchShape>;
|
|
2816
2850
|
};
|
|
2817
2851
|
export declare const ExtHostContext: {
|
|
2818
2852
|
ExtHostCodeMapper: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostCodeMapperShape>;
|
|
@@ -2874,6 +2908,7 @@ export declare const ExtHostContext: {
|
|
|
2874
2908
|
ExtHostEmbeddings: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostEmbeddingsShape>;
|
|
2875
2909
|
ExtHostAiRelatedInformation: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostAiRelatedInformationShape>;
|
|
2876
2910
|
ExtHostAiEmbeddingVector: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostAiEmbeddingVectorShape>;
|
|
2911
|
+
ExtHostAiSettingsSearch: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostAiSettingsSearchShape>;
|
|
2877
2912
|
ExtHostTheming: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostThemingShape>;
|
|
2878
2913
|
ExtHostTunnelService: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostTunnelServiceShape>;
|
|
2879
2914
|
ExtHostManagedSockets: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<ExtHostManagedSocketsShape>;
|
|
@@ -173,6 +173,7 @@ const MainContext = {
|
|
|
173
173
|
MainThreadAiRelatedInformation: ( createProxyIdentifier('MainThreadAiRelatedInformation')),
|
|
174
174
|
MainThreadAiEmbeddingVector: ( createProxyIdentifier('MainThreadAiEmbeddingVector')),
|
|
175
175
|
MainThreadChatStatus: ( createProxyIdentifier('MainThreadChatStatus')),
|
|
176
|
+
MainThreadAiSettingsSearch: ( createProxyIdentifier('MainThreadAiSettingsSearch')),
|
|
176
177
|
};
|
|
177
178
|
const ExtHostContext = {
|
|
178
179
|
ExtHostCodeMapper: ( createProxyIdentifier('ExtHostCodeMapper')),
|
|
@@ -234,6 +235,7 @@ const ExtHostContext = {
|
|
|
234
235
|
ExtHostEmbeddings: ( createProxyIdentifier('ExtHostEmbeddings')),
|
|
235
236
|
ExtHostAiRelatedInformation: ( createProxyIdentifier('ExtHostAiRelatedInformation')),
|
|
236
237
|
ExtHostAiEmbeddingVector: ( createProxyIdentifier('ExtHostAiEmbeddingVector')),
|
|
238
|
+
ExtHostAiSettingsSearch: ( createProxyIdentifier('ExtHostAiSettingsSearch')),
|
|
237
239
|
ExtHostTheming: ( createProxyIdentifier('ExtHostTheming')),
|
|
238
240
|
ExtHostTunnelService: ( createProxyIdentifier('ExtHostTunnelService')),
|
|
239
241
|
ExtHostManagedSockets: ( createProxyIdentifier('ExtHostManagedSockets')),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SettingsSearchProvider } from "vscode";
|
|
2
|
+
import { CancellationToken } from "../../../base/common/cancellation.js";
|
|
3
|
+
import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
|
|
4
|
+
import { AiSettingsSearchProviderOptions } from "../../services/aiSettingsSearch/common/aiSettingsSearch.js";
|
|
5
|
+
import { ExtHostAiSettingsSearchShape, IMainContext } from "./extHost.protocol.js";
|
|
6
|
+
import { Disposable } from "./extHostTypes.js";
|
|
7
|
+
export declare class ExtHostAiSettingsSearch implements ExtHostAiSettingsSearchShape {
|
|
8
|
+
private _settingsSearchProviders;
|
|
9
|
+
private _nextHandle;
|
|
10
|
+
private readonly _proxy;
|
|
11
|
+
constructor(mainContext: IMainContext);
|
|
12
|
+
$startSearch(handle: number, query: string, option: AiSettingsSearchProviderOptions, token: CancellationToken): Promise<void>;
|
|
13
|
+
registerSettingsSearchProvider(extension: IExtensionDescription, provider: SettingsSearchProvider): Disposable;
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
import { MainContext } from './extHost.protocol.js';
|
|
3
|
+
import { Disposable } from './extHostTypes.js';
|
|
4
|
+
import { Progress } from '../../../platform/progress/common/progress.js';
|
|
5
|
+
import { AiSettingsSearch } from './extHostTypeConverters.js';
|
|
6
|
+
|
|
7
|
+
class ExtHostAiSettingsSearch {
|
|
8
|
+
constructor(mainContext) {
|
|
9
|
+
this._settingsSearchProviders = ( new Map());
|
|
10
|
+
this._nextHandle = 0;
|
|
11
|
+
this._proxy = ( mainContext.getProxy(MainContext.MainThreadAiSettingsSearch));
|
|
12
|
+
}
|
|
13
|
+
async $startSearch(handle, query, option, token) {
|
|
14
|
+
if (this._settingsSearchProviders.size === 0) {
|
|
15
|
+
throw ( new Error('No related information providers registered'));
|
|
16
|
+
}
|
|
17
|
+
const provider = this._settingsSearchProviders.get(handle);
|
|
18
|
+
if (!provider) {
|
|
19
|
+
throw ( new Error('Settings search provider not found'));
|
|
20
|
+
}
|
|
21
|
+
const progressReporter = ( new Progress((data) => {
|
|
22
|
+
this._proxy.$handleSearchResult(handle, AiSettingsSearch.fromSettingsSearchResult(data));
|
|
23
|
+
}));
|
|
24
|
+
return provider.provideSettingsSearchResults(query, option, progressReporter, token);
|
|
25
|
+
}
|
|
26
|
+
registerSettingsSearchProvider(extension, provider) {
|
|
27
|
+
const handle = this._nextHandle;
|
|
28
|
+
this._nextHandle++;
|
|
29
|
+
this._settingsSearchProviders.set(handle, provider);
|
|
30
|
+
this._proxy.$registerAiSettingsSearchProvider(handle);
|
|
31
|
+
return ( new Disposable(() => {
|
|
32
|
+
this._proxy.$unregisterAiSettingsSearchProvider(handle);
|
|
33
|
+
this._settingsSearchProviders.delete(handle);
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ExtHostAiSettingsSearch };
|
|
@@ -740,6 +740,7 @@ const newCommands = [
|
|
|
740
740
|
initialRange: v.initialRange ? Range.from(v.initialRange) : undefined,
|
|
741
741
|
initialSelection: Selection$1.isSelection(v.initialSelection) ? Selection.from(v.initialSelection) : undefined,
|
|
742
742
|
message: v.message,
|
|
743
|
+
attachments: v.attachments,
|
|
743
744
|
autoSend: v.autoSend,
|
|
744
745
|
position: v.position ? Position$1.from(v.position) : undefined,
|
|
745
746
|
};
|
|
@@ -3,7 +3,7 @@ import { CancellationToken } from "../../../base/common/cancellation.js";
|
|
|
3
3
|
import { Disposable } from "../../../base/common/lifecycle.js";
|
|
4
4
|
import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
|
|
5
5
|
import { ILogService } from "../../../platform/log/common/log.service.js";
|
|
6
|
-
import { IChatAgentRequest, IChatAgentResult } from "
|
|
6
|
+
import { IChatAgentRequest, IChatAgentResult } from "../../contrib/chat/common/chatAgents.js";
|
|
7
7
|
import { IChatRelatedFile, IChatRequestDraft } from "../../contrib/chat/common/chatEditingService.js";
|
|
8
8
|
import { IChatFollowup, IChatUserActionEvent, IChatVoteAction } from "../../contrib/chat/common/chatService.js";
|
|
9
9
|
import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
|
|
@@ -53,6 +53,7 @@ export declare class ExtHostChatAgents2 extends Disposable implements ExtHostCha
|
|
|
53
53
|
history: IChatAgentHistoryEntryDto[];
|
|
54
54
|
}, token: CancellationToken): Promise<IChatAgentResult | undefined>;
|
|
55
55
|
private getDiagnosticsWhenEnabled;
|
|
56
|
+
private getTools2ForRequest;
|
|
56
57
|
private getToolsForRequest;
|
|
57
58
|
private prepareHistoryTurns;
|
|
58
59
|
$releaseSession(sessionId: string): void;
|