@codingame/monaco-vscode-api 18.3.1 → 19.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 +1217 -2932
- package/monaco.js +0 -3
- package/package.json +8 -8
- package/services.d.ts +13 -8
- package/services.js +13 -7
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.d.ts +83 -2
- package/vscode/src/vs/base/browser/dom.js +280 -3
- package/vscode/src/vs/base/browser/domStylesheets.d.ts +2 -0
- package/vscode/src/vs/base/browser/domStylesheets.js +11 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +1 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +34 -18
- package/vscode/src/vs/base/browser/ui/button/button.js +4 -1
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.js +5 -5
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +5 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +3 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +21 -4
- package/vscode/src/vs/base/common/arrays.d.ts +0 -1
- package/vscode/src/vs/base/common/arrays.js +1 -6
- package/vscode/src/vs/base/common/async.d.ts +1 -0
- package/vscode/src/vs/base/common/async.js +2 -1
- package/vscode/src/vs/base/common/buffer.d.ts +1 -0
- package/vscode/src/vs/base/common/buffer.js +3 -0
- package/vscode/src/vs/base/common/codicons.d.ts +7 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +7 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +7 -0
- package/vscode/src/vs/base/common/collections.d.ts +1 -0
- package/vscode/src/vs/base/common/collections.js +14 -1
- package/vscode/src/vs/base/common/color.js +2 -2
- package/vscode/src/vs/base/common/dataTransfer.d.ts +1 -1
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/event.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.js +2 -2
- package/vscode/src/vs/base/common/hotReloadHelpers.js +1 -1
- package/vscode/src/vs/base/common/iterator.d.ts +1 -1
- package/vscode/src/vs/base/common/network.d.ts +1 -0
- package/vscode/src/vs/base/common/network.js +1 -0
- package/vscode/src/vs/base/common/oauth.d.ts +34 -4
- package/vscode/src/vs/base/common/oauth.js +77 -6
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/utils.js +8 -1
- package/vscode/src/vs/base/common/observableInternal/set.js +0 -1
- package/vscode/src/vs/base/common/performance.js +1 -1
- package/vscode/src/vs/base/common/product.d.ts +2 -1
- package/vscode/src/vs/base/common/types.d.ts +4 -8
- package/vscode/src/vs/base/common/types.js +3 -3
- package/vscode/src/vs/base/common/worker/webWorker.js +1 -1
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +8 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +2 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +18 -14
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +5 -3
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +3 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +3 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +5 -4
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +3 -1
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +2 -3
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +6 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +38 -1
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +9 -1
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +4 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +18 -2
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +32 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +141 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.d.ts +11 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.service.js +6 -0
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +2 -2
- package/vscode/src/vs/editor/browser/view/viewController.js +5 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -6
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +3 -7
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +12 -2
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +8 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +39 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.css +52 -49
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +15 -15
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +7 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +54 -54
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +173 -160
- package/vscode/src/vs/editor/common/config/editorOptions.js +645 -570
- package/vscode/src/vs/editor/common/config/fontInfo.js +1 -1
- package/vscode/src/vs/editor/common/core/2d/point.d.ts +5 -0
- package/vscode/src/vs/editor/common/core/2d/point.js +23 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +6 -0
- package/vscode/src/vs/editor/common/core/edits/edit.js +41 -0
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +17 -11
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +36 -9
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +63 -16
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +205 -48
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +5 -1
- package/vscode/src/vs/editor/common/core/edits/textEdit.js +18 -2
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +3 -1
- package/vscode/src/vs/editor/common/core/text/abstractText.js +10 -1
- package/vscode/src/vs/editor/common/core/text/getPositionOffsetTransformerFromTextModel.js +2 -1
- package/vscode/src/vs/editor/common/core/text/positionToOffset.d.ts +2 -28
- package/vscode/src/vs/editor/common/core/text/positionToOffset.js +11 -92
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +37 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.js +104 -0
- package/vscode/src/vs/editor/common/cursor/cursor.d.ts +3 -2
- package/vscode/src/vs/editor/common/cursor/cursor.js +24 -16
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +3 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +11 -1
- package/vscode/src/vs/editor/common/editorCommon.d.ts +2 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +5 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.d.ts +1 -0
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +7 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +31 -27
- package/vscode/src/vs/editor/common/languages.js +57 -62
- package/vscode/src/vs/editor/common/model/editStack.d.ts +2 -1
- package/vscode/src/vs/editor/common/model/editStack.js +4 -3
- package/vscode/src/vs/editor/common/model/intervalTree.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/intervalTree.js +24 -7
- package/vscode/src/vs/editor/common/model/textModel.d.ts +24 -10
- package/vscode/src/vs/editor/common/model/textModel.js +114 -53
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +1 -1
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.d.ts +0 -3
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +1 -13
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +2 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.js +13 -2
- package/vscode/src/vs/editor/common/model.d.ts +8 -2
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +4 -0
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +14 -0
- package/vscode/src/vs/editor/common/services/editorWorker.service.d.ts +4 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +7 -0
- package/vscode/src/vs/editor/common/services/languageFeatures.service.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -1
- package/vscode/src/vs/editor/common/services/model.service.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/modelService.d.ts +2 -1
- package/vscode/src/vs/editor/common/services/modelService.js +3 -2
- package/vscode/src/vs/editor/common/services/textResourceConfiguration.service.d.ts +1 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +159 -157
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +160 -159
- package/vscode/src/vs/editor/common/standaloneStrings.js +50 -49
- package/vscode/src/vs/editor/common/textModelEditReason.d.ts +94 -12
- package/vscode/src/vs/editor/common/textModelEditReason.js +86 -20
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +24 -0
- package/vscode/src/vs/editor/common/textModelEvents.js +33 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +22 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +79 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +5 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +10 -4
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +3 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +39 -12
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +3 -3
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +6 -6
- package/vscode/src/vs/editor/common/viewModel.d.ts +3 -1
- package/vscode/src/vs/editor/common/viewModel.js +2 -1
- 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/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css +2 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +9 -5
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +29 -29
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +10 -5
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +10 -6
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +22 -47
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +11 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +35 -30
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/graph.js +66 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +12 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +144 -100
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +100 -49
- 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 +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +37 -29
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +39 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +150 -162
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +9 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +13 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +103 -62
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +25 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js +13 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +4 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +7 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +16 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +34 -34
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +13 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +6 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +20 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +4 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +10 -7
- 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/middleScroll/browser/middleScroll.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.contribution.js +5 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScroll.css +20 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.d.ts +9 -0
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +132 -0
- 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 +9 -9
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +21 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.css +0 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +14 -12
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -5
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +3 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScroll.css +24 -24
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +13 -13
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +18 -10
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.d.ts +4 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +34 -39
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +5 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +65 -70
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +13 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +4 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +5 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +79 -69
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/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 +0 -1
- package/vscode/src/vs/platform/actions/common/actions.js +0 -1
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configuration.js +4 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +11 -11
- 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.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +11 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +9 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +9 -3
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.d.ts +6 -1
- package/vscode/src/vs/platform/files/common/files.js +11 -7
- package/vscode/src/vs/platform/files/common/files.service.d.ts +1 -0
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +2 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/keybinding/common/keybinding.service.d.ts +2 -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 -7
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.d.ts +4 -0
- package/vscode/src/vs/platform/log/common/log.js +15 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +4 -3
- package/vscode/src/vs/platform/markers/common/markers.d.ts +2 -0
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +9 -4
- package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.service.d.ts +10 -0
- package/vscode/src/vs/platform/mcp/common/mcpResourceScannerService.service.js +6 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +1 -0
- package/vscode/src/vs/platform/notification/common/notification.js +12 -2
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +7 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +7 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +2 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentEnvironment.d.ts +1 -0
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.d.ts +2 -2
- 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/commonProperties.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +2 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.d.ts +1 -0
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +3 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +6 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +2 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +7 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +1 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +1 -0
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +5 -7
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +10 -4
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +109 -77
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +22 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +3 -0
- 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/extHostDocuments.d.ts +4 -2
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +35 -5
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -4
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +1 -5
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +34 -182
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +7 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +2 -3
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +71 -20
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +7 -5
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +7 -3
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +4 -3
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +3 -0
- 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 +16 -7
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +20 -8
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +16 -13
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +11 -12
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/contextkeys.js +6 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -72
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -1
- package/vscode/src/vs/workbench/common/editor.js +6 -6
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +157 -160
- 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/chatAttachmentResolveService.service.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +9 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +62 -41
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +24 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +29 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSlashCommands.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +152 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +160 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +2 -1
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -24
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +22 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +2 -17
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/{types.d.ts → promptsService.d.ts} +14 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/{types.service.d.ts → promptsService.service.d.ts} +6 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/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 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +73 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugUtils.js +7 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- 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 +1 -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/mcpTypes.d.ts +55 -9
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +29 -13
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +16 -6
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +119 -31
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +10 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +13 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +13 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/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.d.ts +1 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +6 -4
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +132 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.service.js +6 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.js +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- 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/environment/common/environmentService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +17 -17
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +5 -1
- 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/mcp/common/mcpWorkbenchManagementService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.js +6 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +3 -3
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.service.js +7 -0
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode-dts/vscode.proposed.authProviderSpecific.d.ts +30 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +10 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +10 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +139 -10
- package/vscode-dts/vscode.proposed.d.ts +3 -1
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +5 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +21 -4
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +1 -0
- package/vscode-dts/vscode.proposed.remoteCodingAgents.d.ts +8 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.textDocumentChangeReason.d.ts +30 -0
- package/workbench.d.ts +1 -1
- package/vscode/src/vs/base/browser/domImpl/domObservable.d.ts +0 -3
- package/vscode/src/vs/base/browser/domImpl/domObservable.js +0 -16
- package/vscode/src/vs/base/browser/domImpl/n.d.ts +0 -83
- package/vscode/src/vs/base/browser/domImpl/n.js +0 -283
- package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +0 -5
- package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +0 -20
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +0 -25
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +0 -84
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.d.ts +0 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +0 -94
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +0 -243
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +0 -426
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +0 -601
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +0 -1185
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +0 -130
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +0 -235
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/index.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfigPathsService.service.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfigPathsService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.js +0 -6
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +0 -103
- /package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/{types.service.js → promptsService.service.js} +0 -0
|
@@ -51,12 +51,12 @@ function registerConfiguration() {
|
|
|
51
51
|
configurationRegistry.registerConfiguration({
|
|
52
52
|
id: 'settingsSync',
|
|
53
53
|
order: 30,
|
|
54
|
-
title: ( localize(
|
|
54
|
+
title: ( localize(2395, "Settings Sync")),
|
|
55
55
|
type: 'object',
|
|
56
56
|
properties: {
|
|
57
57
|
[CONFIG_SYNC_KEYBINDINGS_PER_PLATFORM]: {
|
|
58
58
|
type: 'boolean',
|
|
59
|
-
description: ( localize(
|
|
59
|
+
description: ( localize(2396, "Synchronize keybindings for each platform.")),
|
|
60
60
|
default: true,
|
|
61
61
|
scope: ConfigurationScope.APPLICATION,
|
|
62
62
|
tags: ['sync', 'usesOnlineServices']
|
|
@@ -64,13 +64,13 @@ function registerConfiguration() {
|
|
|
64
64
|
'settingsSync.ignoredExtensions': {
|
|
65
65
|
'type': 'array',
|
|
66
66
|
markdownDescription: ( localize(
|
|
67
|
-
|
|
67
|
+
2397,
|
|
68
68
|
"List of extensions to be ignored while synchronizing. The identifier of an extension is always `${publisher}.${name}`. For example: `vscode.csharp`."
|
|
69
69
|
)),
|
|
70
70
|
items: [{
|
|
71
71
|
type: 'string',
|
|
72
72
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
73
|
-
errorMessage: ( localize(
|
|
73
|
+
errorMessage: ( localize(2398, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
74
74
|
}],
|
|
75
75
|
'default': [],
|
|
76
76
|
'scope': ConfigurationScope.APPLICATION,
|
|
@@ -80,7 +80,7 @@ function registerConfiguration() {
|
|
|
80
80
|
},
|
|
81
81
|
'settingsSync.ignoredSettings': {
|
|
82
82
|
'type': 'array',
|
|
83
|
-
description: ( localize(
|
|
83
|
+
description: ( localize(2399, "Configure settings to be ignored while synchronizing.")),
|
|
84
84
|
'default': [],
|
|
85
85
|
'scope': ConfigurationScope.APPLICATION,
|
|
86
86
|
$ref: ignoredSettingsSchemaId,
|
|
@@ -120,12 +120,13 @@ var SyncResource;
|
|
|
120
120
|
SyncResource["Snippets"] = "snippets";
|
|
121
121
|
SyncResource["Prompts"] = "prompts";
|
|
122
122
|
SyncResource["Tasks"] = "tasks";
|
|
123
|
+
SyncResource["Mcp"] = "mcp";
|
|
123
124
|
SyncResource["Extensions"] = "extensions";
|
|
124
125
|
SyncResource["GlobalState"] = "globalState";
|
|
125
126
|
SyncResource["Profiles"] = "profiles";
|
|
126
127
|
SyncResource["WorkspaceState"] = "workspaceState";
|
|
127
128
|
})(SyncResource || (SyncResource = {}));
|
|
128
|
-
const ALL_SYNC_RESOURCES = [SyncResource.Settings, SyncResource.Keybindings, SyncResource.Snippets, SyncResource.Prompts, SyncResource.Tasks, SyncResource.Extensions, SyncResource.GlobalState, SyncResource.Profiles];
|
|
129
|
+
const ALL_SYNC_RESOURCES = [SyncResource.Settings, SyncResource.Keybindings, SyncResource.Snippets, SyncResource.Prompts, SyncResource.Tasks, SyncResource.Extensions, SyncResource.GlobalState, SyncResource.Profiles, SyncResource.Mcp];
|
|
129
130
|
function getPathSegments(collection, ...paths) {
|
|
130
131
|
return collection ? [collection, ...paths] : paths;
|
|
131
132
|
}
|
|
@@ -3,7 +3,7 @@ import { IStringDictionary } from "../../../base/common/collections.js";
|
|
|
3
3
|
import { Event } from "../../../base/common/event.js";
|
|
4
4
|
import { FormattingOptions } from "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-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-23aade48-f094-5c08-9555-97fc9cca96c9-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-249dc928-1da3-51c1-82d0-45e0ba9d08a1-common/vscode/vs/platform/userDataSync/common/userDataSyncMachines";
|
|
@@ -114,6 +114,7 @@ export interface IWindowSettings {
|
|
|
114
114
|
readonly clickThroughInactive: boolean;
|
|
115
115
|
readonly newWindowProfile: string;
|
|
116
116
|
readonly density: IDensitySettings;
|
|
117
|
+
readonly border: "off" | "default" | string;
|
|
117
118
|
}
|
|
118
119
|
export interface IDensitySettings {
|
|
119
120
|
readonly editorTabHeight: "default" | "compact";
|
|
@@ -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(2403, "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);
|
|
@@ -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, SettingsSearchResultKind, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel,
|
|
97
|
+
import { ExtensionKind, ProgressLocation, SettingsSearchResultKind, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, PreparedTerminalToolInvocation, ExtendedLanguageModelToolResult, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelToolCallPart, LanguageModelTextPart, LanguageModelToolResultPart2, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatLocation, ChatResponseTurn, ChatRequestTurn, ChatResponseReferencePartStatusKind, ChatPrepareToolInvocationPart, 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, InlineCompletionsDisposeReasonKind, 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 { IExtHostUrlsService } from './extHostUrls.js';
|
|
@@ -643,10 +643,6 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
643
643
|
}
|
|
644
644
|
return extHostLanguageFeatures.registerInlineCompletionsProvider(extension, checkSelector(selector), provider, metadata);
|
|
645
645
|
},
|
|
646
|
-
registerInlineEditProvider(selector, provider) {
|
|
647
|
-
checkProposedApiEnabled(extension, 'inlineEdit');
|
|
648
|
-
return extHostLanguageFeatures.registerInlineEditProvider(extension, checkSelector(selector), provider);
|
|
649
|
-
},
|
|
650
646
|
registerDocumentLinkProvider(selector, provider) {
|
|
651
647
|
return extHostLanguageFeatures.registerDocumentLinkProvider(extension, checkSelector(selector), provider);
|
|
652
648
|
},
|
|
@@ -1052,6 +1048,9 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1052
1048
|
return _asExtensionEvent(extHostDocuments.onDidRemoveDocument)(listener, thisArgs, disposables);
|
|
1053
1049
|
},
|
|
1054
1050
|
onDidChangeTextDocument: (listener, thisArgs, disposables) => {
|
|
1051
|
+
if (isProposedApiEnabled(extension, 'textDocumentChangeReason')) {
|
|
1052
|
+
return _asExtensionEvent(extHostDocuments.onDidChangeDocumentWithReason)(listener, thisArgs, disposables);
|
|
1053
|
+
}
|
|
1055
1054
|
return _asExtensionEvent(extHostDocuments.onDidChangeDocument)(listener, thisArgs, disposables);
|
|
1056
1055
|
},
|
|
1057
1056
|
onDidSaveTextDocument: (listener, thisArgs, disposables) => {
|
|
@@ -1567,6 +1566,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1567
1566
|
InlineValueVariableLookup: InlineValueVariableLookup,
|
|
1568
1567
|
InlineValueEvaluatableExpression: InlineValueEvaluatableExpression,
|
|
1569
1568
|
InlineCompletionTriggerKind: InlineCompletionTriggerKind,
|
|
1569
|
+
InlineCompletionsDisposeReasonKind: InlineCompletionsDisposeReasonKind,
|
|
1570
1570
|
EventEmitter: Emitter,
|
|
1571
1571
|
ExtensionKind: ExtensionKind,
|
|
1572
1572
|
ExtensionMode: ExtensionMode,
|
|
@@ -1776,8 +1776,6 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1776
1776
|
NewSymbolName: NewSymbolName,
|
|
1777
1777
|
NewSymbolNameTag: NewSymbolNameTag,
|
|
1778
1778
|
NewSymbolNameTriggerKind: NewSymbolNameTriggerKind,
|
|
1779
|
-
InlineEdit: InlineEdit,
|
|
1780
|
-
InlineEditTriggerKind: InlineEditTriggerKind,
|
|
1781
1779
|
ExcludeSettingOptions: ExcludeSettingOptions,
|
|
1782
1780
|
TextSearchContext2: TextSearchContext2,
|
|
1783
1781
|
TextSearchMatch2: TextSearchMatch2,
|
|
@@ -23,7 +23,7 @@ import * as languages from "../../../editor/common/languages.js";
|
|
|
23
23
|
import { CompletionItemLabel } from "../../../editor/common/languages.js";
|
|
24
24
|
import { CharacterPair, CommentRule, EnterAction } from "../../../editor/common/languages/languageConfiguration.js";
|
|
25
25
|
import { EndOfLineSequence } from "../../../editor/common/model.js";
|
|
26
|
-
import {
|
|
26
|
+
import { ISerializedModelContentChangedEvent } from "../../../editor/common/textModelEvents.js";
|
|
27
27
|
import { IAccessibilityInformation } from "../../../platform/accessibility/common/accessibility.js";
|
|
28
28
|
import { ILocalizedString } from "../../../platform/action/common/action.js";
|
|
29
29
|
import { ConfigurationTarget, IConfigurationChange, IConfigurationData, IConfigurationOverrides } from "../../../platform/configuration/common/configuration.js";
|
|
@@ -48,23 +48,24 @@ import { WorkspaceTrustRequestOptions } from "../../../platform/workspace/common
|
|
|
48
48
|
import { SaveReason } from "../../common/editor.js";
|
|
49
49
|
import { IRevealOptions, ITreeItem, IViewBadge } from "../../common/views.js";
|
|
50
50
|
import { CallHierarchyItem } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/callHierarchy/common/callHierarchy";
|
|
51
|
-
import { IChatAgentMetadata, IChatAgentRequest, IChatAgentResult } from "
|
|
51
|
+
import { IChatAgentMetadata, IChatAgentRequest, IChatAgentResult } from "@codingame/monaco-vscode-9ebd6daf-8734-5a28-ad24-b238f5e5819d-common/vscode/vs/workbench/contrib/chat/common/chatAgents";
|
|
52
52
|
import { ICodeMapperRequest, ICodeMapperResult } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatCodeMapperService";
|
|
53
53
|
import { IChatRelatedFile, IChatRelatedFileProviderMetadata as IChatRelatedFilesProviderMetadata, IChatRequestDraft } from "../../contrib/chat/common/chatEditingService.js";
|
|
54
|
-
import { IChatProgressHistoryResponseContent } from "
|
|
54
|
+
import { IChatProgressHistoryResponseContent } from "@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/common/chatModel";
|
|
55
55
|
import { IChatContentInlineReference, IChatFollowup, IChatNotebookEdit, IChatProgress, IChatResponseErrorDetails, IChatTask, IChatTaskDto, IChatUserActionEvent, IChatVoteAction } from "../../contrib/chat/common/chatService.js";
|
|
56
56
|
import { IChatRequestVariableValue } from "../../contrib/chat/common/chatVariables.js";
|
|
57
57
|
import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
|
|
58
58
|
import { IChatMessage, IChatResponseFragment, ILanguageModelChatMetadata, ILanguageModelChatSelector, ILanguageModelsChangeEvent } from "../../contrib/chat/common/languageModels.js";
|
|
59
|
-
import { IPreparedToolInvocation, IToolInvocation, IToolProgressStep, IToolResult } from "../../contrib/chat/common/languageModelToolsService.js";
|
|
59
|
+
import { IPreparedToolInvocation, IToolInvocation, IToolInvocationPreparationContext, IToolProgressStep, IToolResult } from "../../contrib/chat/common/languageModelToolsService.js";
|
|
60
60
|
import { DebugConfigurationProviderTriggerKind, IAdapterDescriptor, IConfig, IDebugSessionReplMode, IDebugTestRunReference, IDebugVisualization, IDebugVisualizationContext, IDebugVisualizationTreeItem, MainThreadDebugVisualization } from "../../contrib/debug/common/debug.js";
|
|
61
61
|
import { McpCollectionDefinition, McpConnectionState, McpServerDefinition, McpServerLaunch } from "../../contrib/mcp/common/mcpTypes.js";
|
|
62
62
|
import * as notebookCommon from "../../contrib/notebook/common/notebookCommon.js";
|
|
63
63
|
import { CellExecutionUpdateType } from "../../contrib/notebook/common/notebookExecutionService.js";
|
|
64
64
|
import { ICellExecutionComplete, ICellExecutionStateUpdate } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
65
|
-
import { ICellRange } from "@codingame/monaco-vscode-
|
|
65
|
+
import { ICellRange } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookRange";
|
|
66
|
+
import { ISCMHistoryOptions } from "../../contrib/scm/common/history.js";
|
|
66
67
|
import { InputValidationType } from "@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common/vscode/vs/workbench/contrib/scm/common/scm";
|
|
67
|
-
import { IWorkspaceSymbol, NotebookPriorityInfo } from "@codingame/monaco-vscode-
|
|
68
|
+
import { IWorkspaceSymbol, NotebookPriorityInfo } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/contrib/search/common/search";
|
|
68
69
|
import { IRawClosedNotebookFileMatch } from "../../contrib/search/common/searchNotebookHelpers.js";
|
|
69
70
|
import { IKeywordRecognitionEvent, ISpeechProviderMetadata, ISpeechToTextEvent, ITextToSpeechEvent } from "../../contrib/speech/common/speechService.js";
|
|
70
71
|
import { CoverageDetails, ExtensionRunTestsRequest, ICallProfileRunHandler, IFileCoverage, ISerializedTestResults, IStartControllerTests, ITestItem, ITestMessage, ITestRunProfile, ITestRunTask, ResolvedTestRunRequest, TestControllerCapability, TestMessageFollowupRequest, TestMessageFollowupResponse, TestResultState, TestsDiffOp } from "../../contrib/testing/common/testTypes.js";
|
|
@@ -72,8 +73,8 @@ import { Timeline, TimelineChangeEvent, TimelineOptions, TimelineProviderDescrip
|
|
|
72
73
|
import { TypeHierarchyItem } from "@codingame/monaco-vscode-7f39b6f1-3542-5430-8760-0f404d7a7cee-common/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy";
|
|
73
74
|
import { RelatedInformationResult, RelatedInformationType } from "@codingame/monaco-vscode-quickaccess-service-override/vscode/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation";
|
|
74
75
|
import { AiSettingsSearchProviderOptions, AiSettingsSearchResult } from "../../services/aiSettingsSearch/common/aiSettingsSearch.js";
|
|
75
|
-
import { AuthenticationSession, AuthenticationSessionAccount, AuthenticationSessionsChangeEvent, IAuthenticationCreateSessionOptions,
|
|
76
|
-
import { EditorGroupColumn } from "@codingame/monaco-vscode-
|
|
76
|
+
import { AuthenticationSession, AuthenticationSessionAccount, AuthenticationSessionsChangeEvent, IAuthenticationCreateSessionOptions, IAuthenticationGetSessionsOptions } from "../../services/authentication/common/authentication.js";
|
|
77
|
+
import { EditorGroupColumn } from "@codingame/monaco-vscode-2726569c-a06b-5f25-b851-14311bef12fa-common/vscode/vs/workbench/services/editor/common/editorGroupColumn";
|
|
77
78
|
import { IExtensionDescriptionDelta, IStaticWorkspaceData } from "../../services/extensions/common/extensionHostProtocol.js";
|
|
78
79
|
import { IResolveAuthorityResult } from "../../services/extensions/common/extensionHostProxy.js";
|
|
79
80
|
import { ActivationKind, ExtensionActivationReason, MissingExtensionDependency } from "../../services/extensions/common/extensions.js";
|
|
@@ -183,6 +184,12 @@ export interface MainThreadAuthenticationShape extends IDisposable {
|
|
|
183
184
|
$setSessionsForDynamicAuthProvider(authProviderId: string, clientId: string, sessions: (IAuthorizationTokenResponse & {
|
|
184
185
|
created_at: number;
|
|
185
186
|
})[]): Promise<void>;
|
|
187
|
+
$sendDidChangeDynamicProviderInfo({ providerId, clientId, authorizationServer, label }: {
|
|
188
|
+
providerId: string;
|
|
189
|
+
clientId?: string;
|
|
190
|
+
authorizationServer?: UriComponents;
|
|
191
|
+
label?: string;
|
|
192
|
+
}): Promise<void>;
|
|
186
193
|
}
|
|
187
194
|
export interface MainThreadSecretStateShape extends IDisposable {
|
|
188
195
|
$getPassword(extensionId: string, key: string): Promise<string | undefined>;
|
|
@@ -190,7 +197,7 @@ export interface MainThreadSecretStateShape extends IDisposable {
|
|
|
190
197
|
$deletePassword(extensionId: string, key: string): Promise<void>;
|
|
191
198
|
}
|
|
192
199
|
export interface MainThreadConfigurationShape extends IDisposable {
|
|
193
|
-
$updateConfigurationOption(target: ConfigurationTarget | null, key: string, value:
|
|
200
|
+
$updateConfigurationOption(target: ConfigurationTarget | null, key: string, value: unknown, overrides: IConfigurationOverrides | undefined, scopeToLanguage: boolean | undefined): Promise<void>;
|
|
194
201
|
$removeConfigurationOption(target: ConfigurationTarget | null, key: string, overrides: IConfigurationOverrides | undefined, scopeToLanguage: boolean | undefined): Promise<void>;
|
|
195
202
|
}
|
|
196
203
|
export interface MainThreadDiagnosticsShape extends IDisposable {
|
|
@@ -428,9 +435,6 @@ export interface IdentifiableInlineCompletions extends languages.InlineCompletio
|
|
|
428
435
|
export interface IdentifiableInlineCompletion extends languages.InlineCompletion {
|
|
429
436
|
idx: number;
|
|
430
437
|
}
|
|
431
|
-
export interface IdentifiableInlineEdit extends languages.IInlineEdit {
|
|
432
|
-
pid: number;
|
|
433
|
-
}
|
|
434
438
|
export interface MainThreadLanguageFeaturesShape extends IDisposable {
|
|
435
439
|
$unregister(handle: number): void;
|
|
436
440
|
$registerDocumentSymbolProvider(handle: number, selector: IDocumentFilterDto[], label: string): void;
|
|
@@ -460,8 +464,7 @@ export interface MainThreadLanguageFeaturesShape extends IDisposable {
|
|
|
460
464
|
$emitDocumentSemanticTokensEvent(eventHandle: number): void;
|
|
461
465
|
$registerDocumentRangeSemanticTokensProvider(handle: number, selector: IDocumentFilterDto[], legend: languages.SemanticTokensLegend): void;
|
|
462
466
|
$registerCompletionsProvider(handle: number, selector: IDocumentFilterDto[], triggerCharacters: string[], supportsResolveDetails: boolean, extensionId: ExtensionIdentifier): void;
|
|
463
|
-
$registerInlineCompletionsSupport(handle: number, selector: IDocumentFilterDto[], supportsHandleDidShowCompletionItem: boolean, extensionId: string, yieldsToExtensionIds: string[], displayName: string | undefined, debounceDelayMs: number | undefined, eventHandle: number | undefined): void;
|
|
464
|
-
$registerInlineEditProvider(handle: number, selector: IDocumentFilterDto[], extensionId: ExtensionIdentifier, displayName: string): void;
|
|
467
|
+
$registerInlineCompletionsSupport(handle: number, selector: IDocumentFilterDto[], supportsHandleDidShowCompletionItem: boolean, extensionId: string, extensionVersion: string, yieldToId: string | undefined, yieldsToExtensionIds: string[], displayName: string | undefined, debounceDelayMs: number | undefined, eventHandle: number | undefined): void;
|
|
465
468
|
$emitInlineCompletionsChange(handle: number): void;
|
|
466
469
|
$registerSignatureHelpProvider(handle: number, selector: IDocumentFilterDto[], metadata: ISignatureHelpProviderMetadataDto): void;
|
|
467
470
|
$registerInlayHintsProvider(handle: number, selector: IDocumentFilterDto[], supportsResolve: boolean, eventHandle: number | undefined, displayName: string | undefined): void;
|
|
@@ -1202,6 +1205,7 @@ export interface ExtHostChatAgentsShape2 {
|
|
|
1202
1205
|
$acceptAction(handle: number, result: IChatAgentResult, action: IChatUserActionEvent): void;
|
|
1203
1206
|
$invokeCompletionProvider(handle: number, query: string, token: CancellationToken): Promise<IChatAgentCompletionItem[]>;
|
|
1204
1207
|
$provideChatTitle(handle: number, context: IChatAgentHistoryEntryDto[], token: CancellationToken): Promise<string | undefined>;
|
|
1208
|
+
$provideChatSummary(handle: number, context: IChatAgentHistoryEntryDto[], token: CancellationToken): Promise<string | undefined>;
|
|
1205
1209
|
$releaseSession(sessionId: string): void;
|
|
1206
1210
|
$detectChatParticipant(handle: number, request: Dto<IChatAgentRequest>, context: {
|
|
1207
1211
|
history: IChatAgentHistoryEntryDto[];
|
|
@@ -1246,7 +1250,7 @@ export interface ExtHostLanguageModelToolsShape {
|
|
|
1246
1250
|
$onDidChangeTools(tools: IToolDataDto[]): void;
|
|
1247
1251
|
$invokeTool(dto: IToolInvocation, token: CancellationToken): Promise<Dto<IToolResult> | SerializableObjectWithBuffers<Dto<IToolResult>>>;
|
|
1248
1252
|
$countTokensForInvocation(callId: string, input: string, token: CancellationToken): Promise<number>;
|
|
1249
|
-
$prepareToolInvocation(toolId: string,
|
|
1253
|
+
$prepareToolInvocation(toolId: string, context: IToolInvocationPreparationContext, token: CancellationToken): Promise<IPreparedToolInvocation | undefined>;
|
|
1250
1254
|
}
|
|
1251
1255
|
export interface MainThreadUrlsShape extends IDisposable {
|
|
1252
1256
|
$registerUriHandler(handle: number, extensionId: ExtensionIdentifier, extensionDisplayName: string): Promise<void>;
|
|
@@ -1665,7 +1669,7 @@ export interface ExtHostDocumentsShape {
|
|
|
1665
1669
|
$acceptModelSaved(strURL: UriComponents): void;
|
|
1666
1670
|
$acceptDirtyStateChanged(strURL: UriComponents, isDirty: boolean): void;
|
|
1667
1671
|
$acceptEncodingChanged(strURL: UriComponents, encoding: string): void;
|
|
1668
|
-
$acceptModelChanged(strURL: UriComponents, e:
|
|
1672
|
+
$acceptModelChanged(strURL: UriComponents, e: ISerializedModelContentChangedEvent, isDirty: boolean): void;
|
|
1669
1673
|
}
|
|
1670
1674
|
export interface ExtHostDocumentSaveParticipantShape {
|
|
1671
1675
|
$participateInSave(resource: UriComponents, reason: SaveReason): Promise<boolean[]>;
|
|
@@ -1785,7 +1789,7 @@ export interface ExtHostLabelServiceShape {
|
|
|
1785
1789
|
$registerResourceLabelFormatter(formatter: ResourceLabelFormatter): IDisposable;
|
|
1786
1790
|
}
|
|
1787
1791
|
export interface ExtHostAuthenticationShape {
|
|
1788
|
-
$getSessions(id: string, scopes: string[] | undefined, options:
|
|
1792
|
+
$getSessions(id: string, scopes: string[] | undefined, options: IAuthenticationGetSessionsOptions): Promise<ReadonlyArray<AuthenticationSession>>;
|
|
1789
1793
|
$createSession(id: string, scopes: string[], options: IAuthenticationCreateSessionOptions): Promise<AuthenticationSession>;
|
|
1790
1794
|
$removeSession(id: string, sessionId: string): Promise<void>;
|
|
1791
1795
|
$onDidChangeAuthenticationSessions(id: string, label: string, extensionIdFilter?: string[]): Promise<void>;
|
|
@@ -2167,7 +2171,6 @@ export interface ExtHostLanguageFeaturesShape {
|
|
|
2167
2171
|
$resolveCompletionItem(handle: number, id: ChainedCacheId, token: CancellationToken): Promise<ISuggestDataDto | undefined>;
|
|
2168
2172
|
$releaseCompletionItems(handle: number, id: number): void;
|
|
2169
2173
|
$provideInlineCompletions(handle: number, resource: UriComponents, position: IPosition, context: languages.InlineCompletionContext, token: CancellationToken): Promise<IdentifiableInlineCompletions | undefined>;
|
|
2170
|
-
$provideInlineEditsForRange(handle: number, resource: UriComponents, range: IRange, context: languages.InlineCompletionContext, token: CancellationToken): Promise<IdentifiableInlineCompletions | undefined>;
|
|
2171
2174
|
$handleInlineCompletionDidShow(handle: number, pid: number, idx: number, updatedInsertText: string): void;
|
|
2172
2175
|
$handleInlineCompletionPartialAccept(handle: number, pid: number, idx: number, acceptedCharacters: number, info: languages.PartialAcceptInfo): void;
|
|
2173
2176
|
$handleInlineCompletionEndOfLifetime(handle: number, pid: number, idx: number, reason: languages.InlineCompletionEndOfLifeReason<{
|
|
@@ -2175,7 +2178,7 @@ export interface ExtHostLanguageFeaturesShape {
|
|
|
2175
2178
|
idx: number;
|
|
2176
2179
|
}>): void;
|
|
2177
2180
|
$handleInlineCompletionRejection(handle: number, pid: number, idx: number): void;
|
|
2178
|
-
$freeInlineCompletionsList(handle: number, pid: number): void;
|
|
2181
|
+
$freeInlineCompletionsList(handle: number, pid: number, reason: languages.InlineCompletionsDisposeReason): void;
|
|
2179
2182
|
$provideSignatureHelp(handle: number, resource: UriComponents, position: IPosition, context: languages.SignatureHelpContext, token: CancellationToken): Promise<ISignatureHelpDto | undefined>;
|
|
2180
2183
|
$releaseSignatureHelp(handle: number, id: number): void;
|
|
2181
2184
|
$provideInlayHints(handle: number, resource: UriComponents, range: IRange, token: CancellationToken): Promise<IInlayHintsDto | undefined>;
|
|
@@ -2199,8 +2202,6 @@ export interface ExtHostLanguageFeaturesShape {
|
|
|
2199
2202
|
$releaseTypeHierarchy(handle: number, sessionId: string): void;
|
|
2200
2203
|
$provideDocumentOnDropEdits(handle: number, requestId: number, resource: UriComponents, position: IPosition, dataTransferDto: DataTransferDTO, token: CancellationToken): Promise<IDocumentDropEditDto[] | undefined>;
|
|
2201
2204
|
$releaseDocumentOnDropEdits(handle: number, cacheId: number): void;
|
|
2202
|
-
$provideInlineEdit(handle: number, document: UriComponents, context: languages.IInlineEditContext, token: CancellationToken): Promise<IdentifiableInlineEdit | undefined>;
|
|
2203
|
-
$freeInlineEdit(handle: number, pid: number): void;
|
|
2204
2205
|
}
|
|
2205
2206
|
export interface ExtHostQuickOpenShape {
|
|
2206
2207
|
$onItemSelected(handle: number): void;
|
|
@@ -2325,11 +2326,11 @@ export interface ExtHostTerminalServiceShape {
|
|
|
2325
2326
|
}
|
|
2326
2327
|
export interface ExtHostTerminalShellIntegrationShape {
|
|
2327
2328
|
$shellIntegrationChange(instanceId: number): void;
|
|
2328
|
-
$shellExecutionStart(instanceId: number, commandLineValue: string, commandLineConfidence: TerminalShellExecutionCommandLineConfidence, isTrusted: boolean, cwd:
|
|
2329
|
+
$shellExecutionStart(instanceId: number, commandLineValue: string, commandLineConfidence: TerminalShellExecutionCommandLineConfidence, isTrusted: boolean, cwd: string | undefined): void;
|
|
2329
2330
|
$shellExecutionEnd(instanceId: number, commandLineValue: string, commandLineConfidence: TerminalShellExecutionCommandLineConfidence, isTrusted: boolean, exitCode: number | undefined): void;
|
|
2330
2331
|
$shellExecutionData(instanceId: number, data: string): void;
|
|
2331
2332
|
$shellEnvChange(instanceId: number, shellEnvKeys: string[], shellEnvValues: string[], isTrusted: boolean): void;
|
|
2332
|
-
$cwdChange(instanceId: number, cwd:
|
|
2333
|
+
$cwdChange(instanceId: number, cwd: string | undefined): void;
|
|
2333
2334
|
$closeTerminal(instanceId: number): void;
|
|
2334
2335
|
}
|
|
2335
2336
|
export interface ExtHostSCMShape {
|
|
@@ -2343,7 +2344,7 @@ export interface ExtHostSCMShape {
|
|
|
2343
2344
|
] | undefined>;
|
|
2344
2345
|
$setSelectedSourceControl(selectedSourceControlHandle: number | undefined): Promise<void>;
|
|
2345
2346
|
$provideHistoryItemRefs(sourceControlHandle: number, historyItemRefs: string[] | undefined, token: CancellationToken): Promise<SCMHistoryItemRefDto[] | undefined>;
|
|
2346
|
-
$provideHistoryItems(sourceControlHandle: number, options:
|
|
2347
|
+
$provideHistoryItems(sourceControlHandle: number, options: ISCMHistoryOptions, token: CancellationToken): Promise<SCMHistoryItemDto[] | undefined>;
|
|
2347
2348
|
$provideHistoryItemChanges(sourceControlHandle: number, historyItemId: string, historyItemParentId: string | undefined, token: CancellationToken): Promise<SCMHistoryItemChangeDto[] | undefined>;
|
|
2348
2349
|
$resolveHistoryItemChatContext(sourceControlHandle: number, historyItemId: string, token: CancellationToken): Promise<string | undefined>;
|
|
2349
2350
|
$resolveHistoryItemRefsCommonAncestor(sourceControlHandle: number, historyItemRefs: string[], token: CancellationToken): Promise<string | undefined>;
|
|
@@ -9,6 +9,7 @@ import { IExtHostWindow } from "./extHostWindow.js";
|
|
|
9
9
|
import { IExtHostInitDataService } from "./extHostInitDataService.js";
|
|
10
10
|
import { ILogger } from "../../../platform/log/common/log.js";
|
|
11
11
|
import { ILoggerService } from "../../../platform/log/common/log.service.js";
|
|
12
|
+
import { ILogService } from "../../../platform/log/common/log.service.js";
|
|
12
13
|
import { IExtHostUrlsService } from "./extHostUrls.js";
|
|
13
14
|
import { IExtHostProgress } from "./extHostProgress.js";
|
|
14
15
|
export interface IExtHostAuthentication extends ExtHostAuthentication {
|
|
@@ -20,14 +21,16 @@ export declare class ExtHostAuthentication implements ExtHostAuthenticationShape
|
|
|
20
21
|
private readonly _extHostUrls;
|
|
21
22
|
private readonly _extHostProgress;
|
|
22
23
|
private readonly _extHostLoggerService;
|
|
24
|
+
private readonly _logService;
|
|
23
25
|
_serviceBrand: undefined;
|
|
24
26
|
protected readonly _dynamicAuthProviderCtor: typeof DynamicAuthProvider;
|
|
25
27
|
private _proxy;
|
|
26
28
|
private _authenticationProviders;
|
|
29
|
+
private _providerOperations;
|
|
27
30
|
private _onDidChangeSessions;
|
|
28
31
|
private _getSessionTaskSingler;
|
|
29
32
|
private _onDidDynamicAuthProviderTokensChange;
|
|
30
|
-
constructor(extHostRpc: IExtHostRpcService, _initData: IExtHostInitDataService, _extHostWindow: IExtHostWindow, _extHostUrls: IExtHostUrlsService, _extHostProgress: IExtHostProgress, _extHostLoggerService: ILoggerService);
|
|
33
|
+
constructor(extHostRpc: IExtHostRpcService, _initData: IExtHostInitDataService, _extHostWindow: IExtHostWindow, _extHostUrls: IExtHostUrlsService, _extHostProgress: IExtHostProgress, _extHostLoggerService: ILoggerService, _logService: ILogService);
|
|
31
34
|
getExtensionScopedSessionsEvent(extensionId: string): Event<vscode.AuthenticationSessionsChangeEvent>;
|
|
32
35
|
getSession(requestingExtension: IExtensionDescription, providerId: string, scopes: readonly string[], options: vscode.AuthenticationGetSessionOptions & ({
|
|
33
36
|
createIfNone: true;
|
|
@@ -44,7 +47,6 @@ export declare class ExtHostAuthentication implements ExtHostAuthenticationShape
|
|
|
44
47
|
}): Promise<vscode.AuthenticationSession>;
|
|
45
48
|
getSession(requestingExtension: IExtensionDescription, providerId: string, scopes: readonly string[], options: vscode.AuthenticationGetSessionOptions): Promise<vscode.AuthenticationSession | undefined>;
|
|
46
49
|
getAccounts(providerId: string): Promise<readonly import("../../services/authentication/common/authentication.js").AuthenticationSessionAccount[]>;
|
|
47
|
-
removeSession(providerId: string, sessionId: string): Promise<void>;
|
|
48
50
|
registerAuthenticationProvider(id: string, label: string, provider: vscode.AuthenticationProvider, options?: vscode.AuthenticationProviderOptions): vscode.Disposable;
|
|
49
51
|
$createSession(providerId: string, scopes: string[], options: vscode.AuthenticationProviderSessionOptions): Promise<vscode.AuthenticationSession>;
|
|
50
52
|
$removeSession(providerId: string, sessionId: string): Promise<void>;
|
|
@@ -63,11 +65,13 @@ export declare class DynamicAuthProvider implements vscode.AuthenticationProvide
|
|
|
63
65
|
readonly authorizationServer: URI;
|
|
64
66
|
protected readonly _serverMetadata: IAuthorizationServerMetadata;
|
|
65
67
|
protected readonly _resourceMetadata: IAuthorizationProtectedResourceMetadata | undefined;
|
|
66
|
-
|
|
68
|
+
protected _clientId: string;
|
|
67
69
|
readonly id: string;
|
|
68
70
|
readonly label: string;
|
|
69
71
|
private _onDidChangeSessions;
|
|
70
72
|
readonly onDidChangeSessions: Event<vscode.AuthenticationProviderAuthenticationSessionsChangeEvent>;
|
|
73
|
+
private readonly _onDidChangeClientId;
|
|
74
|
+
readonly onDidChangeClientId: Event<void>;
|
|
71
75
|
private readonly _tokenStore;
|
|
72
76
|
protected readonly _createFlows: Array<{
|
|
73
77
|
label: string;
|
|
@@ -77,11 +81,12 @@ export declare class DynamicAuthProvider implements vscode.AuthenticationProvide
|
|
|
77
81
|
}>;
|
|
78
82
|
protected readonly _logger: ILogger;
|
|
79
83
|
private readonly _disposable;
|
|
80
|
-
constructor(_extHostWindow: IExtHostWindow, _extHostUrls: IExtHostUrlsService, _initData: IExtHostInitDataService, _extHostProgress: IExtHostProgress, loggerService: ILoggerService, _proxy: MainThreadAuthenticationShape, authorizationServer: URI, _serverMetadata: IAuthorizationServerMetadata, _resourceMetadata: IAuthorizationProtectedResourceMetadata | undefined,
|
|
84
|
+
constructor(_extHostWindow: IExtHostWindow, _extHostUrls: IExtHostUrlsService, _initData: IExtHostInitDataService, _extHostProgress: IExtHostProgress, loggerService: ILoggerService, _proxy: MainThreadAuthenticationShape, authorizationServer: URI, _serverMetadata: IAuthorizationServerMetadata, _resourceMetadata: IAuthorizationProtectedResourceMetadata | undefined, _clientId: string, onDidDynamicAuthProviderTokensChange: Emitter<{
|
|
81
85
|
authProviderId: string;
|
|
82
86
|
clientId: string;
|
|
83
87
|
tokens: IAuthorizationToken[];
|
|
84
88
|
}>, initialTokens: IAuthorizationToken[]);
|
|
89
|
+
get clientId(): string;
|
|
85
90
|
getSessions(scopes: readonly string[] | undefined, _options: vscode.AuthenticationProviderSessionOptions): Promise<vscode.AuthenticationSession[]>;
|
|
86
91
|
createSession(scopes: string[], _options: vscode.AuthenticationProviderSessionOptions): Promise<vscode.AuthenticationSession>;
|
|
87
92
|
removeSession(sessionId: string): Promise<void>;
|
|
@@ -92,6 +97,7 @@ export declare class DynamicAuthProvider implements vscode.AuthenticationProvide
|
|
|
92
97
|
private waitForAuthorizationCode;
|
|
93
98
|
protected exchangeCodeForToken(code: string, codeVerifier: string, redirectUri: string): Promise<IAuthorizationTokenResponse>;
|
|
94
99
|
protected exchangeRefreshTokenForToken(refreshToken: string): Promise<IAuthorizationToken>;
|
|
100
|
+
protected _generateNewClientId(): Promise<void>;
|
|
95
101
|
}
|
|
96
102
|
type IAuthorizationToken = IAuthorizationTokenResponse & {
|
|
97
103
|
created_at: number;
|