@codingame/monaco-vscode-api 16.1.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +107 -2
- package/monaco.d.ts +2 -2
- package/package.json +10 -9
- package/services.d.ts +4 -4
- package/services.js +7 -18
- 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 +3 -4
- 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 +93 -48
- 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 +33 -33
- 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
|
@@ -3,7 +3,7 @@ import { localize } from '../../../../nls.js';
|
|
|
3
3
|
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
4
4
|
import { IsWebContext } from '../../../../platform/contextkey/common/contextkeys.js';
|
|
5
5
|
import { RemoteNameContext } from '../../../common/contextkeys.js';
|
|
6
|
-
import { ChatMode
|
|
6
|
+
import { ChatMode } from './constants.js';
|
|
7
7
|
|
|
8
8
|
var ChatContextKeys;
|
|
9
9
|
(function (ChatContextKeys) {
|
|
@@ -11,81 +11,88 @@ var ChatContextKeys;
|
|
|
11
11
|
'chatSessionResponseVote',
|
|
12
12
|
'',
|
|
13
13
|
{ type: 'string', description: ( localize(
|
|
14
|
-
|
|
14
|
+
5005,
|
|
15
15
|
"When the response has been voted up, is set to 'up'. When voted down, is set to 'down'. Otherwise an empty string."
|
|
16
16
|
)) }
|
|
17
17
|
));
|
|
18
18
|
ChatContextKeys.responseDetectedAgentCommand = ( new RawContextKey(
|
|
19
19
|
'chatSessionResponseDetectedAgentOrCommand',
|
|
20
20
|
false,
|
|
21
|
-
{ type: 'boolean', description: ( localize(
|
|
21
|
+
{ type: 'boolean', description: ( localize(5006, "When the agent or command was automatically detected")) }
|
|
22
22
|
));
|
|
23
23
|
ChatContextKeys.responseSupportsIssueReporting = ( new RawContextKey(
|
|
24
24
|
'chatResponseSupportsIssueReporting',
|
|
25
25
|
false,
|
|
26
|
-
{ type: 'boolean', description: ( localize(
|
|
26
|
+
{ type: 'boolean', description: ( localize(5007, "True when the current chat response supports issue reporting.")) }
|
|
27
27
|
));
|
|
28
28
|
ChatContextKeys.responseIsFiltered = ( new RawContextKey(
|
|
29
29
|
'chatSessionResponseFiltered',
|
|
30
30
|
false,
|
|
31
|
-
{ type: 'boolean', description: ( localize(
|
|
31
|
+
{ type: 'boolean', description: ( localize(5008, "True when the chat response was filtered out by the server.")) }
|
|
32
32
|
));
|
|
33
33
|
ChatContextKeys.responseHasError = ( new RawContextKey(
|
|
34
34
|
'chatSessionResponseError',
|
|
35
35
|
false,
|
|
36
|
-
{ type: 'boolean', description: ( localize(
|
|
36
|
+
{ type: 'boolean', description: ( localize(5009, "True when the chat response resulted in an error.")) }
|
|
37
37
|
));
|
|
38
38
|
ChatContextKeys.requestInProgress = ( new RawContextKey(
|
|
39
39
|
'chatSessionRequestInProgress',
|
|
40
40
|
false,
|
|
41
|
-
{ type: 'boolean', description: ( localize(
|
|
41
|
+
{ type: 'boolean', description: ( localize(5010, "True when the current request is still in progress.")) }
|
|
42
42
|
));
|
|
43
43
|
ChatContextKeys.isRequestPaused = ( new RawContextKey(
|
|
44
44
|
'chatRequestIsPaused',
|
|
45
45
|
false,
|
|
46
|
-
{ type: 'boolean', description: ( localize(
|
|
46
|
+
{ type: 'boolean', description: ( localize(5011, "True when the current request is paused.")) }
|
|
47
47
|
));
|
|
48
48
|
ChatContextKeys.canRequestBePaused = ( new RawContextKey(
|
|
49
49
|
'chatCanRequestBePaused',
|
|
50
50
|
false,
|
|
51
|
-
{ type: 'boolean', description: ( localize(
|
|
52
|
-
));
|
|
53
|
-
ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(
|
|
54
|
-
ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(
|
|
55
|
-
ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(
|
|
56
|
-
ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(
|
|
57
|
-
ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(
|
|
58
|
-
ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(
|
|
59
|
-
ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(
|
|
60
|
-
ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(
|
|
61
|
-
ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(
|
|
62
|
-
ChatContextKeys.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
));
|
|
68
|
-
ChatContextKeys.
|
|
69
|
-
ChatContextKeys.supported = ( ContextKeyExpr.or(( IsWebContext.toNegated()), ( RemoteNameContext.notEqualsTo(''))));
|
|
51
|
+
{ type: 'boolean', description: ( localize(5012, "True when the current request can be paused.")) }
|
|
52
|
+
));
|
|
53
|
+
ChatContextKeys.isResponse = ( new RawContextKey('chatResponse', false, { type: 'boolean', description: ( localize(5013, "The chat item is a response.")) }));
|
|
54
|
+
ChatContextKeys.isRequest = ( new RawContextKey('chatRequest', false, { type: 'boolean', description: ( localize(5014, "The chat item is a request")) }));
|
|
55
|
+
ChatContextKeys.itemId = ( new RawContextKey('chatItemId', '', { type: 'string', description: ( localize(5015, "The id of the chat item.")) }));
|
|
56
|
+
ChatContextKeys.lastItemId = ( new RawContextKey('chatLastItemId', [], { type: 'string', description: ( localize(5016, "The id of the last chat item.")) }));
|
|
57
|
+
ChatContextKeys.editApplied = ( new RawContextKey('chatEditApplied', false, { type: 'boolean', description: ( localize(5017, "True when the chat text edits have been applied.")) }));
|
|
58
|
+
ChatContextKeys.inputHasText = ( new RawContextKey('chatInputHasText', false, { type: 'boolean', description: ( localize(5018, "True when the chat input has text.")) }));
|
|
59
|
+
ChatContextKeys.inputHasFocus = ( new RawContextKey('chatInputHasFocus', false, { type: 'boolean', description: ( localize(5019, "True when the chat input has focus.")) }));
|
|
60
|
+
ChatContextKeys.inChatInput = ( new RawContextKey('inChatInput', false, { type: 'boolean', description: ( localize(5020, "True when focus is in the chat input, false otherwise.")) }));
|
|
61
|
+
ChatContextKeys.inChatSession = ( new RawContextKey('inChat', false, { type: 'boolean', description: ( localize(5021, "True when focus is in the chat widget, false otherwise.")) }));
|
|
62
|
+
ChatContextKeys.hasPromptFile = ( new RawContextKey(
|
|
63
|
+
'chatPromptFileAttached',
|
|
64
|
+
false,
|
|
65
|
+
{ type: 'boolean', description: ( localize(5022, "True when the chat has a prompt file attached.")) }
|
|
66
|
+
));
|
|
67
|
+
ChatContextKeys.chatMode = ( new RawContextKey('chatMode', ChatMode.Ask, { type: 'string', description: ( localize(5023, "The current chat mode.")) }));
|
|
68
|
+
ChatContextKeys.supported = ( ContextKeyExpr.or(( IsWebContext.negate()), ( RemoteNameContext.notEqualsTo(''))));
|
|
70
69
|
ChatContextKeys.enabled = ( new RawContextKey('chatIsEnabled', false, { type: 'boolean', description: ( localize(
|
|
71
|
-
|
|
70
|
+
5024,
|
|
72
71
|
"True when chat is enabled because a default chat participant is activated with an implementation."
|
|
73
72
|
)) }));
|
|
73
|
+
ChatContextKeys.extensionParticipantRegistered = ( new RawContextKey(
|
|
74
|
+
'chatPanelExtensionParticipantRegistered',
|
|
75
|
+
false,
|
|
76
|
+
{ type: 'boolean', description: ( localize(
|
|
77
|
+
5025,
|
|
78
|
+
"True when a default chat participant is registered for the panel from an extension."
|
|
79
|
+
)) }
|
|
80
|
+
));
|
|
74
81
|
ChatContextKeys.panelParticipantRegistered = ( new RawContextKey(
|
|
75
82
|
'chatPanelParticipantRegistered',
|
|
76
83
|
false,
|
|
77
|
-
{ type: 'boolean', description: ( localize(
|
|
84
|
+
{ type: 'boolean', description: ( localize(5026, "True when a default chat participant is registered for the panel.")) }
|
|
78
85
|
));
|
|
79
86
|
ChatContextKeys.editingParticipantRegistered = ( new RawContextKey(
|
|
80
87
|
'chatEditingParticipantRegistered',
|
|
81
88
|
false,
|
|
82
|
-
{ type: 'boolean', description: ( localize(
|
|
89
|
+
{ type: 'boolean', description: ( localize(5027, "True when a default chat participant is registered for editing.")) }
|
|
83
90
|
));
|
|
84
91
|
ChatContextKeys.chatEditingCanUndo = ( new RawContextKey(
|
|
85
92
|
'chatEditingCanUndo',
|
|
86
93
|
false,
|
|
87
94
|
{ type: 'boolean', description: ( localize(
|
|
88
|
-
|
|
95
|
+
5028,
|
|
89
96
|
"True when it is possible to undo an interaction in the editing panel."
|
|
90
97
|
)) }
|
|
91
98
|
));
|
|
@@ -93,7 +100,7 @@ var ChatContextKeys;
|
|
|
93
100
|
'chatEditingCanRedo',
|
|
94
101
|
false,
|
|
95
102
|
{ type: 'boolean', description: ( localize(
|
|
96
|
-
|
|
103
|
+
5029,
|
|
97
104
|
"True when it is possible to redo an interaction in the editing panel."
|
|
98
105
|
)) }
|
|
99
106
|
));
|
|
@@ -101,63 +108,58 @@ var ChatContextKeys;
|
|
|
101
108
|
'chatExtensionInvalid',
|
|
102
109
|
false,
|
|
103
110
|
{ type: 'boolean', description: ( localize(
|
|
104
|
-
|
|
111
|
+
5030,
|
|
105
112
|
"True when the installed chat extension is invalid and needs to be updated."
|
|
106
113
|
)) }
|
|
107
114
|
));
|
|
108
115
|
ChatContextKeys.inputCursorAtTop = ( new RawContextKey('chatCursorAtTop', false));
|
|
109
116
|
ChatContextKeys.inputHasAgent = ( new RawContextKey('chatInputHasAgent', false));
|
|
110
117
|
ChatContextKeys.location = ( new RawContextKey('chatLocation', undefined));
|
|
111
|
-
ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(
|
|
118
|
+
ChatContextKeys.inQuickChat = ( new RawContextKey('quickChatHasFocus', false, { type: 'boolean', description: ( localize(5031, "True when the quick chat UI has focus, false otherwise.")) }));
|
|
112
119
|
ChatContextKeys.hasFileAttachments = ( new RawContextKey(
|
|
113
120
|
'chatHasFileAttachments',
|
|
114
121
|
false,
|
|
115
|
-
{ type: 'boolean', description: ( localize(
|
|
122
|
+
{ type: 'boolean', description: ( localize(5032, "True when the chat has file attachments.")) }
|
|
116
123
|
));
|
|
117
124
|
ChatContextKeys.languageModelsAreUserSelectable = ( new RawContextKey(
|
|
118
125
|
'chatModelsAreUserSelectable',
|
|
119
126
|
false,
|
|
120
|
-
{ type: 'boolean', description: ( localize(
|
|
127
|
+
{ type: 'boolean', description: ( localize(5033, "True when the chat model can be selected manually by the user.")) }
|
|
121
128
|
));
|
|
122
129
|
ChatContextKeys.Setup = {
|
|
123
130
|
hidden: ( new RawContextKey('chatSetupHidden', false, true)),
|
|
124
131
|
installed: ( new RawContextKey('chatSetupInstalled', false, true)),
|
|
125
|
-
|
|
132
|
+
disabled: ( new RawContextKey('chatSetupDisabled', false, true))
|
|
126
133
|
};
|
|
127
134
|
ChatContextKeys.Entitlement = {
|
|
128
135
|
signedOut: ( new RawContextKey('chatSetupSignedOut', false, true)),
|
|
129
136
|
canSignUp: ( new RawContextKey('chatPlanCanSignUp', false, true)),
|
|
130
137
|
limited: ( new RawContextKey('chatPlanLimited', false, true)),
|
|
131
|
-
pro: ( new RawContextKey('chatPlanPro', false, true))
|
|
138
|
+
pro: ( new RawContextKey('chatPlanPro', false, true)),
|
|
139
|
+
proPlus: ( new RawContextKey('chatPlanProPlus', false, true)),
|
|
140
|
+
business: ( new RawContextKey('chatPlanBusiness', false, true)),
|
|
141
|
+
enterprise: ( new RawContextKey('chatPlanEnterprise', false, true))
|
|
132
142
|
};
|
|
133
|
-
ChatContextKeys.SetupViewKeys = ( new Set(
|
|
134
|
-
[ChatContextKeys.Setup.hidden.key, ChatContextKeys.Setup.installed.key, ChatContextKeys.Entitlement.signedOut.key, ChatContextKeys.Entitlement.canSignUp.key, ...( ChatContextKeys.Setup.fromDialog.keys())]
|
|
135
|
-
));
|
|
136
|
-
ChatContextKeys.SetupViewCondition = ( ContextKeyExpr.and(( ChatContextKeys.Setup.fromDialog.negate()), ( ContextKeyExpr.or(( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()), ( ChatContextKeys.Setup.installed.negate()))), ( ContextKeyExpr.and(ChatContextKeys.Entitlement.canSignUp, ChatContextKeys.Setup.installed)), ( ContextKeyExpr.and(ChatContextKeys.Entitlement.signedOut, ChatContextKeys.Setup.installed))))));
|
|
137
143
|
ChatContextKeys.chatQuotaExceeded = ( new RawContextKey('chatQuotaExceeded', false, true));
|
|
138
144
|
ChatContextKeys.completionsQuotaExceeded = ( new RawContextKey('completionsQuotaExceeded', false, true));
|
|
139
145
|
ChatContextKeys.Editing = {
|
|
140
|
-
hasToolsAgent: ( new RawContextKey('chatHasToolsAgent', false, { type: 'boolean', description: ( localize(4963, "True when a tools agent is registered.")) })),
|
|
141
146
|
agentModeDisallowed: ( new RawContextKey(
|
|
142
147
|
'chatAgentModeDisallowed',
|
|
143
148
|
undefined,
|
|
144
|
-
{ type: 'boolean', description: ( localize(
|
|
149
|
+
{ type: 'boolean', description: ( localize(5034, "True when agent mode is not allowed.")) }
|
|
145
150
|
)),
|
|
146
151
|
hasToolConfirmation: ( new RawContextKey(
|
|
147
152
|
'chatHasToolConfirmation',
|
|
148
153
|
false,
|
|
149
|
-
{ type: 'boolean', description: ( localize(
|
|
154
|
+
{ type: 'boolean', description: ( localize(5035, "True when a tool confirmation is present.")) }
|
|
150
155
|
)),
|
|
151
156
|
};
|
|
152
157
|
ChatContextKeys.Tools = {
|
|
153
|
-
toolsCount: ( new RawContextKey('toolsCount', 0, { type: 'number', description: ( localize(
|
|
158
|
+
toolsCount: ( new RawContextKey('toolsCount', 0, { type: 'number', description: ( localize(5036, "The count of tools available in the chat.")) }))
|
|
154
159
|
};
|
|
155
160
|
})(ChatContextKeys || (ChatContextKeys = {}));
|
|
156
161
|
var ChatContextKeyExprs;
|
|
157
162
|
(function (ChatContextKeyExprs) {
|
|
158
|
-
ChatContextKeyExprs.unifiedChatEnabled = ( ContextKeyExpr.has(`config.${ChatConfiguration.UnifiedChatView}`));
|
|
159
|
-
ChatContextKeyExprs.inEditsOrUnified = ( ContextKeyExpr.or(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.EditingSession)), ChatContextKeys.inUnifiedChat));
|
|
160
|
-
ChatContextKeyExprs.inNonUnifiedPanel = ( ContextKeyExpr.and(( ChatContextKeys.location.isEqualTo(ChatAgentLocation.Panel)), ( ChatContextKeys.inUnifiedChat.negate())));
|
|
161
163
|
ChatContextKeyExprs.inEditingMode = ( ContextKeyExpr.or(( ChatContextKeys.chatMode.isEqualTo(ChatMode.Edit)), ( ChatContextKeys.chatMode.isEqualTo(ChatMode.Agent))));
|
|
162
164
|
})(ChatContextKeyExprs || (ChatContextKeyExprs = {}));
|
|
163
165
|
|
|
@@ -7,7 +7,7 @@ import { TextEdit } from "../../../../editor/common/languages.js";
|
|
|
7
7
|
import { RawContextKey } from "../../../../platform/contextkey/common/contextkey.js";
|
|
8
8
|
import { IEditorPane } from "../../../common/editor.js";
|
|
9
9
|
import { ICellEditOperation } from "../../notebook/common/notebookCommon.js";
|
|
10
|
-
import { IChatResponseModel } from "
|
|
10
|
+
import { IChatResponseModel } from "./chatModel.js";
|
|
11
11
|
export interface IChatRequestDraft {
|
|
12
12
|
readonly prompt: string;
|
|
13
13
|
readonly files: readonly URI[];
|
|
@@ -24,7 +24,7 @@ export interface IChatRelatedFilesProvider {
|
|
|
24
24
|
provideRelatedFiles(chatRequest: IChatRequestDraft, token: CancellationToken): Promise<IChatRelatedFile[] | undefined>;
|
|
25
25
|
}
|
|
26
26
|
export interface WorkingSetDisplayMetadata {
|
|
27
|
-
state:
|
|
27
|
+
state: ModifiedFileEntryState;
|
|
28
28
|
description?: string;
|
|
29
29
|
}
|
|
30
30
|
export interface IStreamingEdits {
|
|
@@ -37,12 +37,11 @@ export declare const chatEditingSnapshotScheme = "chat-editing-snapshot-text-mod
|
|
|
37
37
|
export interface IChatEditingSession extends IDisposable {
|
|
38
38
|
readonly isGlobalEditingSession: boolean;
|
|
39
39
|
readonly chatSessionId: string;
|
|
40
|
-
readonly onDidChange: Event<ChatEditingSessionChangeType>;
|
|
41
40
|
readonly onDidDispose: Event<void>;
|
|
42
41
|
readonly state: IObservable<ChatEditingSessionState>;
|
|
43
42
|
readonly entries: IObservable<readonly IModifiedFileEntry[]>;
|
|
44
|
-
show(): Promise<void>;
|
|
45
|
-
remove(
|
|
43
|
+
show(previousChanges?: boolean): Promise<void>;
|
|
44
|
+
remove(...uris: URI[]): void;
|
|
46
45
|
accept(...uris: URI[]): Promise<void>;
|
|
47
46
|
reject(...uris: URI[]): Promise<void>;
|
|
48
47
|
getEntry(uri: URI): IModifiedFileEntry | undefined;
|
|
@@ -51,7 +50,7 @@ export interface IChatEditingSession extends IDisposable {
|
|
|
51
50
|
getSnapshotUri(requestId: string, uri: URI, stopId: string | undefined): URI | undefined;
|
|
52
51
|
stop(clearState?: boolean): Promise<void>;
|
|
53
52
|
startStreamingEdits(resource: URI, responseModel: IChatResponseModel, inUndoStop: string | undefined): IStreamingEdits;
|
|
54
|
-
getEntryDiffBetweenStops(uri: URI, requestId: string, stopId: string | undefined): IObservable<IEditSessionEntryDiff | undefined> | undefined;
|
|
53
|
+
getEntryDiffBetweenStops(uri: URI, requestId: string | undefined, stopId: string | undefined): IObservable<IEditSessionEntryDiff | undefined> | undefined;
|
|
55
54
|
readonly canUndo: IObservable<boolean>;
|
|
56
55
|
readonly canRedo: IObservable<boolean>;
|
|
57
56
|
undoInteraction(): Promise<void>;
|
|
@@ -65,21 +64,10 @@ export interface IEditSessionEntryDiff {
|
|
|
65
64
|
added: number;
|
|
66
65
|
removed: number;
|
|
67
66
|
}
|
|
68
|
-
export declare enum
|
|
69
|
-
User = 0,
|
|
70
|
-
Programmatic = 1
|
|
71
|
-
}
|
|
72
|
-
export declare enum WorkingSetEntryState {
|
|
67
|
+
export declare enum ModifiedFileEntryState {
|
|
73
68
|
Modified = 0,
|
|
74
69
|
Accepted = 1,
|
|
75
|
-
Rejected = 2
|
|
76
|
-
Transient = 3,
|
|
77
|
-
Attached = 4,
|
|
78
|
-
Sent = 5
|
|
79
|
-
}
|
|
80
|
-
export declare enum ChatEditingSessionChangeType {
|
|
81
|
-
WorkingSet = 0,
|
|
82
|
-
Other = 1
|
|
70
|
+
Rejected = 2
|
|
83
71
|
}
|
|
84
72
|
export interface IModifiedFileEntryChangeHunk {
|
|
85
73
|
accept(): Promise<boolean>;
|
|
@@ -87,21 +75,22 @@ export interface IModifiedFileEntryChangeHunk {
|
|
|
87
75
|
}
|
|
88
76
|
export interface IModifiedFileEntryEditorIntegration extends IDisposable {
|
|
89
77
|
currentIndex: IObservable<number>;
|
|
90
|
-
reveal(firstOrLast: boolean): void;
|
|
78
|
+
reveal(firstOrLast: boolean, preserveFocus?: boolean): void;
|
|
91
79
|
next(wrap: boolean): boolean;
|
|
92
80
|
previous(wrap: boolean): boolean;
|
|
93
81
|
enableAccessibleDiffView(): void;
|
|
94
|
-
acceptNearestChange(change
|
|
95
|
-
rejectNearestChange(change
|
|
96
|
-
toggleDiff(change: IModifiedFileEntryChangeHunk | undefined): Promise<void>;
|
|
82
|
+
acceptNearestChange(change?: IModifiedFileEntryChangeHunk): Promise<void>;
|
|
83
|
+
rejectNearestChange(change?: IModifiedFileEntryChangeHunk): Promise<void>;
|
|
84
|
+
toggleDiff(change: IModifiedFileEntryChangeHunk | undefined, show?: boolean): Promise<void>;
|
|
97
85
|
}
|
|
98
86
|
export interface IModifiedFileEntry {
|
|
99
87
|
readonly entryId: string;
|
|
100
88
|
readonly originalURI: URI;
|
|
101
89
|
readonly modifiedURI: URI;
|
|
102
90
|
readonly lastModifyingRequestId: string;
|
|
103
|
-
readonly state: IObservable<
|
|
91
|
+
readonly state: IObservable<ModifiedFileEntryState>;
|
|
104
92
|
readonly isCurrentlyBeingModifiedBy: IObservable<IChatResponseModel | undefined>;
|
|
93
|
+
readonly lastModifyingResponse: IObservable<IChatResponseModel | undefined>;
|
|
105
94
|
readonly rewriteRatio: IObservable<number>;
|
|
106
95
|
accept(transaction: ITransaction | undefined): Promise<void>;
|
|
107
96
|
reject(transaction: ITransaction | undefined): Promise<void>;
|
|
@@ -126,7 +115,7 @@ export declare enum ChatEditingSessionState {
|
|
|
126
115
|
Disposed = 3
|
|
127
116
|
}
|
|
128
117
|
export declare const CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME = "chat-editing-multi-diff-source";
|
|
129
|
-
export declare const chatEditingWidgetFileStateContextKey: RawContextKey<
|
|
118
|
+
export declare const chatEditingWidgetFileStateContextKey: RawContextKey<ModifiedFileEntryState>;
|
|
130
119
|
export declare const chatEditingAgentSupportsReadonlyReferencesContextKey: RawContextKey<boolean>;
|
|
131
120
|
export declare const decidedChatEditingResourceContextKey: RawContextKey<string[]>;
|
|
132
121
|
export declare const chatEditingResourceContextKey: RawContextKey<string | undefined>;
|
|
@@ -144,4 +133,8 @@ export interface IChatEditingActionContext {
|
|
|
144
133
|
sessionId: string;
|
|
145
134
|
}
|
|
146
135
|
export declare function isChatEditingActionContext(thing: unknown): thing is IChatEditingActionContext;
|
|
147
|
-
export declare function getMultiDiffSourceUri(session: IChatEditingSession): URI;
|
|
136
|
+
export declare function getMultiDiffSourceUri(session: IChatEditingSession, showPreviousChanges?: boolean): URI;
|
|
137
|
+
export declare function parseChatMultiDiffUri(uri: URI): {
|
|
138
|
+
chatSessionId: string;
|
|
139
|
+
showPreviousChanges: boolean;
|
|
140
|
+
};
|
|
@@ -4,25 +4,12 @@ import { localize } from '../../../../nls.js';
|
|
|
4
4
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
5
5
|
|
|
6
6
|
const chatEditingSnapshotScheme = 'chat-editing-snapshot-text-model';
|
|
7
|
-
var
|
|
8
|
-
(function (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
(function (WorkingSetEntryState) {
|
|
14
|
-
WorkingSetEntryState[WorkingSetEntryState["Modified"] = 0] = "Modified";
|
|
15
|
-
WorkingSetEntryState[WorkingSetEntryState["Accepted"] = 1] = "Accepted";
|
|
16
|
-
WorkingSetEntryState[WorkingSetEntryState["Rejected"] = 2] = "Rejected";
|
|
17
|
-
WorkingSetEntryState[WorkingSetEntryState["Transient"] = 3] = "Transient";
|
|
18
|
-
WorkingSetEntryState[WorkingSetEntryState["Attached"] = 4] = "Attached";
|
|
19
|
-
WorkingSetEntryState[WorkingSetEntryState["Sent"] = 5] = "Sent";
|
|
20
|
-
})(WorkingSetEntryState || (WorkingSetEntryState = {}));
|
|
21
|
-
var ChatEditingSessionChangeType;
|
|
22
|
-
(function (ChatEditingSessionChangeType) {
|
|
23
|
-
ChatEditingSessionChangeType[ChatEditingSessionChangeType["WorkingSet"] = 0] = "WorkingSet";
|
|
24
|
-
ChatEditingSessionChangeType[ChatEditingSessionChangeType["Other"] = 1] = "Other";
|
|
25
|
-
})(ChatEditingSessionChangeType || (ChatEditingSessionChangeType = {}));
|
|
7
|
+
var ModifiedFileEntryState;
|
|
8
|
+
(function (ModifiedFileEntryState) {
|
|
9
|
+
ModifiedFileEntryState[ModifiedFileEntryState["Modified"] = 0] = "Modified";
|
|
10
|
+
ModifiedFileEntryState[ModifiedFileEntryState["Accepted"] = 1] = "Accepted";
|
|
11
|
+
ModifiedFileEntryState[ModifiedFileEntryState["Rejected"] = 2] = "Rejected";
|
|
12
|
+
})(ModifiedFileEntryState || (ModifiedFileEntryState = {}));
|
|
26
13
|
var ChatEditingSessionState;
|
|
27
14
|
(function (ChatEditingSessionState) {
|
|
28
15
|
ChatEditingSessionState[ChatEditingSessionState["Initial"] = 0] = "Initial";
|
|
@@ -31,9 +18,9 @@ var ChatEditingSessionState;
|
|
|
31
18
|
ChatEditingSessionState[ChatEditingSessionState["Disposed"] = 3] = "Disposed";
|
|
32
19
|
})(ChatEditingSessionState || (ChatEditingSessionState = {}));
|
|
33
20
|
const CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME = 'chat-editing-multi-diff-source';
|
|
34
|
-
const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(
|
|
21
|
+
const chatEditingWidgetFileStateContextKey = ( new RawContextKey('chatEditingWidgetFileState', undefined, ( localize(5037, "The current state of the file in the chat editing widget"))));
|
|
35
22
|
const chatEditingAgentSupportsReadonlyReferencesContextKey = ( new RawContextKey('chatEditingAgentSupportsReadonlyReferences', undefined, ( localize(
|
|
36
|
-
|
|
23
|
+
5038,
|
|
37
24
|
"Whether the chat editing agent supports readonly references (temporary)"
|
|
38
25
|
))));
|
|
39
26
|
const decidedChatEditingResourceContextKey = ( new RawContextKey('decidedChatEditingResource', []));
|
|
@@ -50,11 +37,17 @@ var ChatEditKind;
|
|
|
50
37
|
function isChatEditingActionContext(thing) {
|
|
51
38
|
return typeof thing === 'object' && !!thing && 'sessionId' in thing;
|
|
52
39
|
}
|
|
53
|
-
function getMultiDiffSourceUri(session) {
|
|
40
|
+
function getMultiDiffSourceUri(session, showPreviousChanges) {
|
|
54
41
|
return ( URI.from({
|
|
55
42
|
scheme: CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME,
|
|
56
43
|
authority: session.chatSessionId,
|
|
44
|
+
query: showPreviousChanges ? 'previous' : undefined,
|
|
57
45
|
}));
|
|
58
46
|
}
|
|
47
|
+
function parseChatMultiDiffUri(uri) {
|
|
48
|
+
const chatSessionId = uri.authority;
|
|
49
|
+
const showPreviousChanges = uri.query === 'previous';
|
|
50
|
+
return { chatSessionId, showPreviousChanges };
|
|
51
|
+
}
|
|
59
52
|
|
|
60
|
-
export { CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME, ChatEditKind,
|
|
53
|
+
export { CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME, ChatEditKind, ChatEditingSessionState, ModifiedFileEntryState, applyingChatEditsFailedContextKey, chatEditingAgentSupportsReadonlyReferencesContextKey, chatEditingResourceContextKey, chatEditingSnapshotScheme, chatEditingWidgetFileStateContextKey, decidedChatEditingResourceContextKey, getMultiDiffSourceUri, hasAppliedChatEditsContextKey, hasUndecidedChatEditingResourceContextKey, inChatEditingSessionContextKey, isChatEditingActionContext, parseChatMultiDiffUri };
|
|
@@ -3,7 +3,7 @@ import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
|
3
3
|
import { IObservable } from "../../../../base/common/observable.js";
|
|
4
4
|
import { URI } from "../../../../base/common/uri.js";
|
|
5
5
|
import { IChatEditingSession, IChatRelatedFilesProvider, IChatRelatedFile } from "./chatEditingService.js";
|
|
6
|
-
import { ChatModel } from "
|
|
6
|
+
import { ChatModel } from "./chatModel.js";
|
|
7
7
|
export declare const IChatEditingService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatEditingService>;
|
|
8
8
|
export interface IChatEditingService {
|
|
9
9
|
_serviceBrand: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CancellationToken } from "../../../../base/common/cancellation.js";
|
|
2
2
|
import { Event } from "../../../../base/common/event.js";
|
|
3
|
-
import { ChatEntitlement,
|
|
3
|
+
import { ChatEntitlement, IQuotas, ChatSentiment } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/chat/common/chatEntitlementService";
|
|
4
4
|
export declare const IChatEntitlementService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatEntitlementService>;
|
|
5
5
|
export interface IChatEntitlementService {
|
|
6
6
|
_serviceBrand: undefined;
|
|
@@ -8,7 +8,7 @@ export interface IChatEntitlementService {
|
|
|
8
8
|
readonly entitlement: ChatEntitlement;
|
|
9
9
|
readonly onDidChangeQuotaExceeded: Event<void>;
|
|
10
10
|
readonly onDidChangeQuotaRemaining: Event<void>;
|
|
11
|
-
readonly quotas:
|
|
11
|
+
readonly quotas: IQuotas;
|
|
12
12
|
update(token: CancellationToken): Promise<void>;
|
|
13
13
|
readonly onDidChangeSentiment: Event<void>;
|
|
14
14
|
readonly sentiment: ChatSentiment;
|