@codingame/monaco-vscode-api 26.2.1 → 27.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 +454 -301
- package/package.json +9 -9
- package/service-override/tools/editor.d.ts +4 -2
- package/service-override/tools/editor.js +1 -0
- package/services.d.ts +16 -1
- package/services.js +21 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.d.ts +0 -15
- package/vscode/src/vs/base/browser/dom.js +3 -30
- package/vscode/src/vs/base/browser/pixelRatio.js +4 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +3 -3
- package/vscode/src/vs/base/browser/ui/animations/animations.d.ts +40 -0
- package/vscode/src/vs/base/browser/ui/animations/animations.js +373 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +11 -4
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +3 -42
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +48 -126
- package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +2 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +2 -1
- package/vscode/src/vs/base/browser/ui/grid/grid.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/grid/grid.js +2 -2
- package/vscode/src/vs/base/browser/ui/grid/gridview.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +6 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +11 -5
- package/vscode/src/vs/base/browser/ui/list/listView.js +9 -2
- package/vscode/src/vs/base/browser/ui/menu/menu.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menu.js +3 -3
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +6 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.css +2 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.css +4 -4
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +3 -2
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +5 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +24 -19
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +3 -1
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/codicons.d.ts +2 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +2 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +2 -0
- package/vscode/src/vs/base/common/date.js +40 -40
- package/vscode/src/vs/base/common/defaultAccount.d.ts +5 -0
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keyCodes.js +4 -2
- package/vscode/src/vs/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/base/common/layout.d.ts +67 -0
- package/vscode/src/vs/base/common/layout.js +96 -0
- package/vscode/src/vs/base/common/lifecycle.d.ts +32 -0
- package/vscode/src/vs/base/common/lifecycle.js +58 -1
- package/vscode/src/vs/base/common/mime.js +7 -5
- package/vscode/src/vs/base/common/platform.d.ts +1 -0
- package/vscode/src/vs/base/common/product.d.ts +2 -0
- package/vscode/src/vs/base/common/strings.d.ts +0 -30
- package/vscode/src/vs/base/common/strings.js +0 -11
- package/vscode/src/vs/base/common/uri.js +5 -1
- package/vscode/src/vs/base/common/yaml.d.ts +29 -53
- package/vscode/src/vs/base/common/yaml.js +1119 -502
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +1 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +2 -2
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.d.ts +0 -1
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.js +4 -8
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +9 -9
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/fullFileRenderStrategy.js +3 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.js +3 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -5
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/vscode/src/vs/editor/browser/view/viewController.js +29 -9
- package/vscode/src/vs/editor/browser/view.d.ts +3 -1
- package/vscode/src/vs/editor/browser/view.js +10 -7
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -4
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +2 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +5 -6
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +50 -50
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +5 -3
- package/vscode/src/vs/editor/common/config/editorOptions.js +416 -383
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +5 -0
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +19 -21
- package/vscode/src/vs/editor/common/core/ranges/offsetRange.d.ts +4 -0
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +49 -48
- package/vscode/src/vs/editor/common/languageFeatureRegistry.d.ts +1 -0
- package/vscode/src/vs/editor/common/languageFeatureRegistry.js +8 -1
- package/vscode/src/vs/editor/common/languageSelector.d.ts +1 -0
- package/vscode/src/vs/editor/common/languageSelector.js +15 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +13 -0
- package/vscode/src/vs/editor/common/languages.js +56 -56
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/prefixSumComputer.js +6 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +9 -4
- package/vscode/src/vs/editor/common/model/textModel.js +99 -34
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.d.ts +3 -2
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +3 -0
- package/vscode/src/vs/editor/common/model/tokens/annotations.js +9 -1
- package/vscode/src/vs/editor/common/model/tokens/tokenizationFontDecorationsProvider.js +2 -2
- package/vscode/src/vs/editor/common/model.d.ts +2 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +2 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +1 -0
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +1 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +55 -49
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +25 -5
- package/vscode/src/vs/editor/common/textModelEvents.js +13 -4
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +14 -4
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +192 -91
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +3 -3
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +11 -15
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +3 -3
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.d.ts +71 -7
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.js +180 -14
- package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.js +8 -2
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.d.ts +2 -2
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +31 -82
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +2 -23
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +19 -114
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +174 -141
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +16 -3
- package/vscode/src/vs/editor/common/viewModel.d.ts +6 -3
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +19 -19
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.d.ts +9 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +56 -13
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +23 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +59 -52
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +3 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerModel.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerModel.js +6 -4
- 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/colorPickerParts/colorPickerSaturationBox.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +5 -5
- 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.d.ts +25 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +38 -20
- package/vscode/src/vs/editor/contrib/find/browser/findModel.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +2 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +29 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +101 -33
- 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/folding/browser/foldingModel.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.js +1 -0
- package/vscode/src/vs/editor/contrib/folding/browser/hiddenRangeModel.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/folding/browser/hiddenRangeModel.js +1 -0
- 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 -13
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerSelectionStatus.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerSelectionStatus.js +60 -0
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +33 -33
- 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 +4 -4
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/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 +22 -22
- package/vscode/src/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverUtils.js +8 -4
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +18 -18
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/common.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/common.js +11 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +6 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +41 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +10 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +44 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +18 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +79 -37
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +53 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/textModelValueReference.d.ts +30 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/textModelValueReference.js +65 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +27 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +30 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +20 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +4 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +6 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +17 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.d.ts +7 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +74 -39
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js +3 -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 +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +14 -0
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +6 -6
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +19 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +9 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +20 -10
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +8 -8
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +5 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +9 -9
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +3 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +22 -17
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +4 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.css +34 -34
- 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 +3 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +3 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +10 -6
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +3 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +68 -65
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.d.ts +7 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +38 -4
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +7 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +6 -0
- package/vscode/src/vs/platform/accessibility/common/accessibility.service.d.ts +2 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +99 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +530 -56
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +63 -13
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +6 -2
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +133 -10
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +2 -2
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +2 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +15 -4
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +7 -1
- package/vscode/src/vs/platform/actions/common/actions.js +19 -2
- 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/configurationRegistry.d.ts +11 -4
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +24 -12
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +26 -12
- 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/contextview/browser/contextView.d.ts +2 -0
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +4 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +4 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +32 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
- package/vscode/src/vs/platform/environment/common/environmentService.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +14 -14
- 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 +21 -21
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +12 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +15 -4
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.js +0 -1
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +3 -2
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +25 -25
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagementIpc.d.ts +42 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagementIpc.js +105 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.d.ts +130 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +665 -0
- package/vscode/src/vs/platform/mcp/common/mcpPlatformTypes.d.ts +13 -0
- package/vscode/src/vs/platform/mcp/common/modelContextProtocol.d.ts +2917 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.d.ts +1 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +32 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.d.ts +44 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.js +62 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.service.d.ts +18 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.service.js +6 -0
- package/vscode/src/vs/platform/native/common/native.d.ts +43 -5
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +10 -2
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +9 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +15 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +76 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +14 -0
- package/vscode/src/vs/platform/remote/common/remoteHosts.d.ts +13 -0
- package/vscode/src/vs/platform/remote/common/remoteHosts.js +11 -1
- package/vscode/src/vs/platform/request/common/request.js +19 -19
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +8 -2
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +12 -2
- package/vscode/src/vs/platform/terminal/common/terminal.js +1 -0
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +31 -31
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.d.ts +0 -13
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +2 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +51 -51
- 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 +16 -16
- 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/sizeRegistry.d.ts +2 -0
- package/vscode/src/vs/platform/theme/common/sizeUtils.d.ts +90 -0
- package/vscode/src/vs/platform/theme/common/sizeUtils.js +142 -0
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.d.ts +11 -0
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +18 -0
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +4 -3
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/update/common/update.d.ts +14 -6
- package/vscode/src/vs/platform/update/common/update.js +4 -3
- package/vscode/src/vs/platform/update/common/update.service.d.ts +5 -2
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/userInteraction/browser/userInteractionService.d.ts +25 -0
- package/vscode/src/vs/platform/userInteraction/browser/userInteractionService.service.d.ts +28 -0
- package/vscode/src/vs/platform/userInteraction/browser/userInteractionService.service.js +6 -0
- package/vscode/src/vs/platform/userInteraction/browser/userInteractionServiceImpl.d.ts +13 -0
- package/vscode/src/vs/platform/userInteraction/browser/userInteractionServiceImpl.js +62 -0
- package/vscode/src/vs/platform/window/common/window.d.ts +1 -0
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +1 -7
- package/vscode/src/vs/platform/workspace/common/workspace.js +3 -16
- package/vscode/src/vs/sessions/contrib/agentFeedback/browser/agentFeedbackService.service.d.ts +47 -0
- package/vscode/src/vs/{workbench/services/layout/common/workbenchModeService.service.js → sessions/contrib/agentFeedback/browser/agentFeedbackService.service.js} +2 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTargetPicker.d.ts +64 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsConfigurationService.service.d.ts +37 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsConfigurationService.service.js +6 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsManagementService.service.d.ts +47 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsManagementService.service.js +6 -0
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +121 -7
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +237 -11
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +17 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +6 -5
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +7 -2
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +32 -5
- package/vscode/src/vs/workbench/api/common/extHostChatContext.js +34 -13
- package/vscode/src/vs/workbench/api/common/extHostChatDebug.d.ts +22 -0
- package/vscode/src/vs/workbench/api/common/extHostChatDebug.js +287 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +4 -12
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +158 -139
- package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostGitExtensionService.d.ts +31 -0
- package/vscode/src/vs/workbench/api/common/extHostGitExtensionService.js +167 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +41 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +0 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +15 -1
- package/vscode/src/vs/workbench/api/common/extHostMeteredConnection.d.ts +19 -0
- package/vscode/src/vs/workbench/api/common/extHostMeteredConnection.js +28 -0
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +6 -3
- package/vscode/src/vs/workbench/api/common/extHostPower.d.ts +45 -0
- package/vscode/src/vs/workbench/api/common/extHostPower.js +88 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +46 -12
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +10 -22
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +9 -3
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +167 -14
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +158 -7
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +132 -7
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +0 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -10
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +32 -32
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +130 -130
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +2 -8
- package/vscode/src/vs/workbench/browser/contextkeys.js +8 -26
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/media/style.css +2 -1
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/panecomposite.js +3 -1
- package/vscode/src/vs/workbench/browser/part.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +15 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +112 -33
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css +26 -6
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css +1 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +44 -40
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +39 -6
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +23 -17
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.d.ts +11 -0
- package/vscode/src/vs/{platform/dialogs/browser → workbench/browser/parts/dialogs}/dialog.js +12 -10
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +19 -7
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +37 -37
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +8 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +3 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +2 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +135 -135
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.d.ts +6 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +216 -20
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +14 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +10 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.d.ts +9 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +79 -22
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +4 -3
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +142 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +65 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +407 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +21 -20
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css +9 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsCenter.css +10 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css +14 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.d.ts +12 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +49 -18
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.d.ts +10 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +87 -15
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +92 -11
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.d.ts +5 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +58 -25
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.d.ts +8 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +62 -7
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +24 -8
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.d.ts +3 -2
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +9 -8
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +13 -7
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +89 -68
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +38 -50
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +44 -7
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +23 -14
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/media/paneviewlet.css +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css +33 -2
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +8 -7
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.d.ts +19 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +27 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +7 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +178 -174
- package/vscode/src/vs/workbench/browser/parts/visibleViewContainersTracker.d.ts +29 -0
- package/vscode/src/vs/workbench/browser/parts/visibleViewContainersTracker.js +104 -0
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +14 -14
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +317 -225
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +4 -2
- package/vscode/src/vs/workbench/common/contextkeys.js +78 -76
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -0
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/notifications.d.ts +11 -0
- package/vscode/src/vs/workbench/common/notifications.js +19 -1
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.d.ts +32 -5
- package/vscode/src/vs/workbench/common/views.js +16 -12
- package/vscode/src/vs/workbench/common/views.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +170 -152
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +498 -77
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +26 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +37 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +243 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.service.d.ts +55 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +15 -14
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +118 -65
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +32 -4
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +38 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +122 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +27 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +10 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +34 -11
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +19 -5
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +19 -4
- package/vscode/src/vs/workbench/contrib/chat/common/contextContrib/chatContext.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +49 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +253 -32
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +32 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +11 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +94 -12
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.js +26 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.d.ts +71 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +298 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatUri.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatUri.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +7 -30
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +10 -73
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +35 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +11 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +190 -89
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +14 -28
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +95 -98
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +52 -8
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +22 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptEditHelper.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptEditHelper.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +478 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +40 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +19 -26
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatTodoListService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +45 -25
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +9 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/promptTsxTypes.js +12 -1
- package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.d.ts +19 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +35 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +9 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- 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 +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +5 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +6 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +7 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +30 -28
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +4 -1
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +9 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +5 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +4 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css +7 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +19 -19
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +3 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +68 -68
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +7 -9
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +49 -47
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +159 -147
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +181 -181
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +29 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsList.js +4 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.d.ts +10 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +93 -13
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +92 -91
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +24 -6
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +58 -31
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +134 -82
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extension.css +24 -3
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css +29 -9
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +3 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +27 -27
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +18 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- 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/git/browser/gitService.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/git/browser/gitService.js +61 -0
- package/vscode/src/vs/workbench/contrib/git/common/gitService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/git/common/gitService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +71 -69
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.d.ts +259 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +1225 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.d.ts +72 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +996 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +49 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +12 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.d.ts +88 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +464 -0
- package/vscode/src/vs/workbench/contrib/mcp/browser/media/mcpServerEditor.css +94 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +118 -31
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayService.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayService.service.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpSandboxService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpSandboxService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +14 -13
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTaskManager.js +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +9 -6
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypesUtils.js +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +1 -2917
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +55 -0
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +62 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +19 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +2 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +151 -57
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +16 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -6
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +18 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +84 -84
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.d.ts +15 -2
- package/vscode/src/vs/workbench/contrib/remote/browser/urlFinder.js +28 -5
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/fileMatch.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +33 -10
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +17 -13
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +30 -27
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +17 -9
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +2 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +71 -61
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +21 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +6 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +118 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +10 -4
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +6 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +193 -100
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/banner/browser/bannerService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.d.ts +2 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +9 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +34 -17
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.d.ts +7 -7
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +39 -20
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +59 -3
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +6 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +14 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +6 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +9 -9
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +90 -90
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/host/browser/host.d.ts +11 -0
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +11 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +3 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +3 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.d.ts +87 -0
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.js +702 -0
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +3 -0
- package/vscode/src/vs/workbench/services/power/common/powerService.d.ts +12 -0
- package/vscode/src/vs/workbench/services/power/common/powerService.service.d.ts +25 -0
- package/vscode/src/vs/workbench/services/power/common/powerService.service.js +6 -0
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferences.d.ts +1 -0
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +13 -13
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +16 -14
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.d.ts +12 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +7 -0
- package/vscode-dts/vscode.d.ts +26 -1
- package/vscode-dts/vscode.proposed.chatContextProvider.d.ts +47 -11
- package/vscode-dts/vscode.proposed.chatDebug.d.ts +657 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +92 -12
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +29 -6
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +14 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +90 -15
- package/vscode-dts/vscode.proposed.d.ts +4 -1
- package/vscode-dts/{vscode.proposed.envIsAppPortable.d.ts → vscode.proposed.envIsConnectionMetered.d.ts} +7 -7
- package/vscode-dts/vscode.proposed.environmentPower.d.ts +166 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +17 -0
- package/vscode-dts/vscode.proposed.mcpServerDefinitions.d.ts +28 -0
- package/vscode-dts/vscode.proposed.terminalTitle.d.ts +37 -0
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +0 -85
- package/vscode/src/vs/platform/dialogs/browser/dialog.d.ts +0 -10
- package/vscode/src/vs/workbench/services/layout/common/workbenchModeService.d.ts +0 -16
- package/vscode/src/vs/workbench/services/layout/common/workbenchModeService.js +0 -20
- package/vscode/src/vs/workbench/services/layout/common/workbenchModeService.service.d.ts +0 -27
- package/vscode/src/vs/workbench/services/views/browser/viewsService.d.ts +0 -77
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +0 -733
- /package/vscode/src/vs/{workbench/contrib → platform}/mcp/common/modelContextProtocol.js +0 -0
- /package/vscode/src/vs/workbench/contrib/url/{browser → common}/trustedDomainService.service.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/url/{browser → common}/trustedDomainService.service.js +0 -0
|
@@ -9,15 +9,12 @@ import { Command } from "../../../../../editor/common/languages.js";
|
|
|
9
9
|
import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js";
|
|
10
10
|
import { IContextKeyService } from "../../../../../platform/contextkey/common/contextkey.service.js";
|
|
11
11
|
import { ExtensionIdentifier } from "../../../../../platform/extensions/common/extensions.js";
|
|
12
|
-
import { ILogService } from "../../../../../platform/log/common/log.service.js";
|
|
13
|
-
import { IProductService } from "../../../../../platform/product/common/productService.service.js";
|
|
14
|
-
import { IRequestService } from "../../../../../platform/request/common/request.service.js";
|
|
15
|
-
import { IStorageService } from "../../../../../platform/storage/common/storage.service.js";
|
|
16
12
|
import { IChatAgentEditedFileEvent, IChatProgressHistoryResponseContent, IChatRequestModeInstructions, IChatRequestVariableData, ISerializableChatAgentData } from "../model/chatModel.js";
|
|
17
13
|
import { IChatRequestHooks } from "../promptSyntax/hookSchema.js";
|
|
18
14
|
import { IRawChatCommandContribution } from "./chatParticipantContribTypes.js";
|
|
19
15
|
import { IChatFollowup, IChatLocationData, IChatProgress, IChatResponseErrorDetails, IChatTaskDto } from "../chatService/chatService.js";
|
|
20
16
|
import { ChatAgentLocation, ChatModeKind } from "../constants.js";
|
|
17
|
+
import { ILanguageModelsService } from "../languageModels.service.js";
|
|
21
18
|
import { IChatAgentService, type IChatAgentNameService } from "./chatAgents.service.js";
|
|
22
19
|
export interface IChatAgentHistoryEntry {
|
|
23
20
|
request: IChatAgentRequest;
|
|
@@ -35,6 +32,7 @@ export interface IChatAgentAttachmentCapabilities {
|
|
|
35
32
|
supportsProblemAttachments?: boolean;
|
|
36
33
|
supportsSymbolAttachments?: boolean;
|
|
37
34
|
supportsTerminalAttachments?: boolean;
|
|
35
|
+
supportsPromptAttachments?: boolean;
|
|
38
36
|
}
|
|
39
37
|
export interface IChatAgentData {
|
|
40
38
|
id: string;
|
|
@@ -76,7 +74,7 @@ export interface IChatWelcomeMessageContent {
|
|
|
76
74
|
export interface IChatAgentImplementation {
|
|
77
75
|
invoke(request: IChatAgentRequest, progress: (parts: IChatProgress[]) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
|
|
78
76
|
setRequestTools?(requestId: string, tools: UserSelectedTools): void;
|
|
79
|
-
setYieldRequested?(requestId: string): void;
|
|
77
|
+
setYieldRequested?(requestId: string, value: boolean): void;
|
|
80
78
|
provideFollowups?(request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
|
|
81
79
|
provideChatTitle?: (history: IChatAgentHistoryEntry[], token: CancellationToken) => Promise<string | undefined>;
|
|
82
80
|
provideChatSummary?: (history: IChatAgentHistoryEntry[], token: CancellationToken) => Promise<string | undefined>;
|
|
@@ -166,16 +164,6 @@ export interface IChatAgentResultTimings {
|
|
|
166
164
|
firstProgress?: number;
|
|
167
165
|
totalElapsed: number;
|
|
168
166
|
}
|
|
169
|
-
export interface IChatAgentPromptTokenDetail {
|
|
170
|
-
category: string;
|
|
171
|
-
label: string;
|
|
172
|
-
percentageOfPrompt: number;
|
|
173
|
-
}
|
|
174
|
-
export interface IChatAgentResultUsage {
|
|
175
|
-
promptTokens: number;
|
|
176
|
-
completionTokens: number;
|
|
177
|
-
promptTokenDetails?: readonly IChatAgentPromptTokenDetail[];
|
|
178
|
-
}
|
|
179
167
|
export interface IChatAgentResult {
|
|
180
168
|
errorDetails?: IChatResponseErrorDetails;
|
|
181
169
|
timings?: IChatAgentResultTimings;
|
|
@@ -185,8 +173,6 @@ export interface IChatAgentResult {
|
|
|
185
173
|
};
|
|
186
174
|
readonly details?: string;
|
|
187
175
|
nextQuestion?: IChatQuestion;
|
|
188
|
-
/** Token usage information for this request */
|
|
189
|
-
readonly usage?: IChatAgentResultUsage;
|
|
190
176
|
}
|
|
191
177
|
export interface IChatAgentCompletionItem {
|
|
192
178
|
id: string;
|
|
@@ -239,7 +225,7 @@ export declare class ChatAgentService extends Disposable implements IChatAgentSe
|
|
|
239
225
|
agentHasDupeName(id: string): boolean;
|
|
240
226
|
invokeAgent(id: string, request: IChatAgentRequest, progress: (parts: IChatProgress[]) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
|
|
241
227
|
setRequestTools(id: string, requestId: string, tools: UserSelectedTools): void;
|
|
242
|
-
setYieldRequested(id: string, requestId: string): void;
|
|
228
|
+
setYieldRequested(id: string, requestId: string, value: boolean): void;
|
|
243
229
|
getFollowups(id: string, request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
|
|
244
230
|
getChatTitle(id: string, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<string | undefined>;
|
|
245
231
|
getChatSummary(id: string, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<string | undefined>;
|
|
@@ -281,28 +267,19 @@ export declare class MergedChatAgent implements IChatAgent {
|
|
|
281
267
|
}[];
|
|
282
268
|
invoke(request: IChatAgentRequest, progress: (parts: IChatProgress[]) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
|
|
283
269
|
setRequestTools(requestId: string, tools: UserSelectedTools): void;
|
|
284
|
-
setYieldRequested(requestId: string): void;
|
|
270
|
+
setYieldRequested(requestId: string, value: boolean): void;
|
|
285
271
|
provideFollowups(request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
|
|
286
272
|
toJSON(): IChatAgentData;
|
|
287
273
|
}
|
|
288
274
|
export declare class ChatAgentNameService implements IChatAgentNameService {
|
|
289
|
-
private readonly
|
|
290
|
-
private readonly logService;
|
|
291
|
-
private readonly storageService;
|
|
292
|
-
private static readonly StorageKey;
|
|
275
|
+
private readonly languageModelsService;
|
|
293
276
|
_serviceBrand: undefined;
|
|
294
|
-
|
|
295
|
-
private registry;
|
|
296
|
-
private disposed;
|
|
297
|
-
constructor(productService: IProductService, requestService: IRequestService, logService: ILogService, storageService: IStorageService);
|
|
298
|
-
private refresh;
|
|
299
|
-
private update;
|
|
277
|
+
constructor(languageModelsService: ILanguageModelsService);
|
|
300
278
|
/**
|
|
301
279
|
* Returns true if the agent is allowed to use this name
|
|
302
280
|
*/
|
|
303
281
|
getAgentNameRestriction(chatAgentData: IChatAgentData): boolean;
|
|
304
282
|
private checkAgentNameRestriction;
|
|
305
|
-
dispose(): void;
|
|
306
283
|
}
|
|
307
284
|
export declare function getFullyQualifiedId(chatAgentData: IChatAgentData): string;
|
|
308
285
|
/**
|
|
@@ -1,29 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../../../external/tslib/tslib.es6.js';
|
|
3
3
|
import { findLast } from '../../../../../base/common/arraysFind.js';
|
|
4
|
-
import { timeout } from '../../../../../base/common/async.js';
|
|
5
|
-
import { CancellationToken } from '../../../../../base/common/cancellation.js';
|
|
6
4
|
import { Emitter } from '../../../../../base/common/event.js';
|
|
7
5
|
import { Iterable } from '../../../../../base/common/iterator.js';
|
|
8
6
|
import { Disposable, toDisposable } from '../../../../../base/common/lifecycle.js';
|
|
9
7
|
import { revive } from '../../../../../base/common/marshalling.js';
|
|
10
|
-
import '../../../../../base/common/observableInternal/index.js';
|
|
11
8
|
import { equalsIgnoreCase } from '../../../../../base/common/strings.js';
|
|
12
9
|
import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.service.js';
|
|
13
10
|
import { ContextKeyExpr } from '../../../../../platform/contextkey/common/contextkey.js';
|
|
14
11
|
import { IContextKeyService } from '../../../../../platform/contextkey/common/contextkey.service.js';
|
|
15
12
|
import { ExtensionIdentifier } from '../../../../../platform/extensions/common/extensions.js';
|
|
16
|
-
import { ILogService } from '../../../../../platform/log/common/log.service.js';
|
|
17
|
-
import { IProductService } from '../../../../../platform/product/common/productService.service.js';
|
|
18
|
-
import { asJson } from '../../../../../platform/request/common/request.js';
|
|
19
|
-
import { IRequestService } from '../../../../../platform/request/common/request.service.js';
|
|
20
|
-
import { StorageScope, StorageTarget } from '../../../../../platform/storage/common/storage.js';
|
|
21
|
-
import { IStorageService } from '../../../../../platform/storage/common/storage.service.js';
|
|
22
13
|
import { ChatContextKeys } from '../actions/chatContextKeys.js';
|
|
23
14
|
import { ChatAgentLocation, ChatModeKind, ChatConfiguration } from '../constants.js';
|
|
24
|
-
import {
|
|
15
|
+
import { ILanguageModelsService } from '../languageModels.service.js';
|
|
25
16
|
|
|
26
|
-
var ChatAgentNameService_1;
|
|
27
17
|
let ChatAgentService = class ChatAgentService extends Disposable {
|
|
28
18
|
static {
|
|
29
19
|
this.AGENT_LEADER = "@";
|
|
@@ -33,7 +23,7 @@ let ChatAgentService = class ChatAgentService extends Disposable {
|
|
|
33
23
|
this.contextKeyService = contextKeyService;
|
|
34
24
|
this.configurationService = configurationService;
|
|
35
25
|
this._agents = ( new Map());
|
|
36
|
-
this._onDidChangeAgents = ( new Emitter());
|
|
26
|
+
this._onDidChangeAgents = this._register(( new Emitter()));
|
|
37
27
|
this.onDidChangeAgents = this._onDidChangeAgents.event;
|
|
38
28
|
this._agentsContextKeys = ( new Set());
|
|
39
29
|
this._hasToolsAgent = false;
|
|
@@ -237,12 +227,12 @@ let ChatAgentService = class ChatAgentService extends Disposable {
|
|
|
237
227
|
}
|
|
238
228
|
data.impl.setRequestTools?.(requestId, tools);
|
|
239
229
|
}
|
|
240
|
-
setYieldRequested(id, requestId) {
|
|
230
|
+
setYieldRequested(id, requestId, value) {
|
|
241
231
|
const data = this._agents.get(id);
|
|
242
232
|
if (!data?.impl) {
|
|
243
233
|
return;
|
|
244
234
|
}
|
|
245
|
-
data.impl.setYieldRequested?.(requestId);
|
|
235
|
+
data.impl.setYieldRequested?.(requestId, value);
|
|
246
236
|
}
|
|
247
237
|
async getFollowups(id, request, result, history, token) {
|
|
248
238
|
const data = this._agents.get(id);
|
|
@@ -381,8 +371,8 @@ class MergedChatAgent {
|
|
|
381
371
|
setRequestTools(requestId, tools) {
|
|
382
372
|
this.impl.setRequestTools?.(requestId, tools);
|
|
383
373
|
}
|
|
384
|
-
setYieldRequested(requestId) {
|
|
385
|
-
this.impl.setYieldRequested?.(requestId);
|
|
374
|
+
setYieldRequested(requestId, value) {
|
|
375
|
+
this.impl.setYieldRequested?.(requestId, value);
|
|
386
376
|
}
|
|
387
377
|
async provideFollowups(request, result, history, token) {
|
|
388
378
|
if (this.impl.provideFollowups) {
|
|
@@ -395,58 +385,8 @@ class MergedChatAgent {
|
|
|
395
385
|
}
|
|
396
386
|
}
|
|
397
387
|
let ChatAgentNameService = class ChatAgentNameService {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
}
|
|
401
|
-
static {
|
|
402
|
-
this.StorageKey = "chat.participantNameRegistry";
|
|
403
|
-
}
|
|
404
|
-
constructor(productService, requestService, logService, storageService) {
|
|
405
|
-
this.requestService = requestService;
|
|
406
|
-
this.logService = logService;
|
|
407
|
-
this.storageService = storageService;
|
|
408
|
-
this.registry = observableValue(this, Object.create(null));
|
|
409
|
-
this.disposed = false;
|
|
410
|
-
if (!productService.chatParticipantRegistry) {
|
|
411
|
-
return;
|
|
412
|
-
}
|
|
413
|
-
this.url = productService.chatParticipantRegistry;
|
|
414
|
-
const raw = storageService.get(ChatAgentNameService_1.StorageKey, StorageScope.APPLICATION);
|
|
415
|
-
try {
|
|
416
|
-
this.registry.set(JSON.parse(raw ?? "{}"), undefined);
|
|
417
|
-
} catch (err) {
|
|
418
|
-
storageService.remove(ChatAgentNameService_1.StorageKey, StorageScope.APPLICATION);
|
|
419
|
-
}
|
|
420
|
-
this.refresh();
|
|
421
|
-
}
|
|
422
|
-
refresh() {
|
|
423
|
-
if (this.disposed) {
|
|
424
|
-
return;
|
|
425
|
-
}
|
|
426
|
-
this.update().catch(
|
|
427
|
-
err => this.logService.warn("Failed to fetch chat participant registry", err)
|
|
428
|
-
).then(() => timeout(5 * 60 * 1000)).then(() => this.refresh());
|
|
429
|
-
}
|
|
430
|
-
async update() {
|
|
431
|
-
const context = await this.requestService.request({
|
|
432
|
-
type: "GET",
|
|
433
|
-
url: this.url
|
|
434
|
-
}, CancellationToken.None);
|
|
435
|
-
if (context.res.statusCode !== 200) {
|
|
436
|
-
throw ( new Error("Could not get extensions report."));
|
|
437
|
-
}
|
|
438
|
-
const result = await asJson(context);
|
|
439
|
-
if (!result || result.version !== 1) {
|
|
440
|
-
throw ( new Error("Unexpected chat participant registry response."));
|
|
441
|
-
}
|
|
442
|
-
const registry = result.restrictedChatParticipants;
|
|
443
|
-
this.registry.set(registry, undefined);
|
|
444
|
-
this.storageService.store(
|
|
445
|
-
ChatAgentNameService_1.StorageKey,
|
|
446
|
-
JSON.stringify(registry),
|
|
447
|
-
StorageScope.APPLICATION,
|
|
448
|
-
StorageTarget.MACHINE
|
|
449
|
-
);
|
|
388
|
+
constructor(languageModelsService) {
|
|
389
|
+
this.languageModelsService = languageModelsService;
|
|
450
390
|
}
|
|
451
391
|
getAgentNameRestriction(chatAgentData) {
|
|
452
392
|
if (chatAgentData.isCore) {
|
|
@@ -457,7 +397,7 @@ let ChatAgentNameService = class ChatAgentNameService {
|
|
|
457
397
|
return nameAllowed && fullNameAllowed;
|
|
458
398
|
}
|
|
459
399
|
checkAgentNameRestriction(name, chatAgentData) {
|
|
460
|
-
const allowList = ( this.
|
|
400
|
+
const allowList = ( this.languageModelsService.restrictedChatParticipants.map(registry => registry[name.toLowerCase()]));
|
|
461
401
|
return ( allowList.map(allowList => {
|
|
462
402
|
if (!allowList) {
|
|
463
403
|
return true;
|
|
@@ -468,11 +408,8 @@ let ChatAgentNameService = class ChatAgentNameService {
|
|
|
468
408
|
)));
|
|
469
409
|
}));
|
|
470
410
|
}
|
|
471
|
-
dispose() {
|
|
472
|
-
this.disposed = true;
|
|
473
|
-
}
|
|
474
411
|
};
|
|
475
|
-
ChatAgentNameService =
|
|
412
|
+
ChatAgentNameService = ( __decorate([( __param(0, ILanguageModelsService))], ChatAgentNameService));
|
|
476
413
|
function getFullyQualifiedId(chatAgentData) {
|
|
477
414
|
return `${chatAgentData.extensionId.value}.${chatAgentData.id}`;
|
|
478
415
|
}
|
|
@@ -27,7 +27,7 @@ export interface IChatAgentService {
|
|
|
27
27
|
hasChatParticipantDetectionProviders(): boolean;
|
|
28
28
|
invokeAgent(agent: string, request: IChatAgentRequest, progress: (parts: IChatProgress[]) => void, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatAgentResult>;
|
|
29
29
|
setRequestTools(agent: string, requestId: string, tools: UserSelectedTools): void;
|
|
30
|
-
setYieldRequested(agent: string, requestId: string): void;
|
|
30
|
+
setYieldRequested(agent: string, requestId: string, value: boolean): void;
|
|
31
31
|
getFollowups(id: string, request: IChatAgentRequest, result: IChatAgentResult, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<IChatFollowup[]>;
|
|
32
32
|
getChatTitle(id: string, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<string | undefined>;
|
|
33
33
|
getChatSummary(id: string, history: IChatAgentHistoryEntry[], token: CancellationToken): Promise<string | undefined>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MarketplaceType } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
2
|
+
/**
|
|
3
|
+
* Options for ensuring a marketplace repository is available locally.
|
|
4
|
+
*/
|
|
5
|
+
export interface IEnsureRepositoryOptions {
|
|
6
|
+
/** Optional progress notification title shown during clone. */
|
|
7
|
+
readonly progressTitle?: string;
|
|
8
|
+
/** Label used in clone failure messaging. */
|
|
9
|
+
readonly failureLabel?: string;
|
|
10
|
+
/** Marketplace type metadata to persist in the marketplace index. */
|
|
11
|
+
readonly marketplaceType?: MarketplaceType;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Options for pulling the latest changes from a cloned marketplace repository.
|
|
15
|
+
*/
|
|
16
|
+
export interface IPullRepositoryOptions {
|
|
17
|
+
/** Optional plugin name used in progress messaging. */
|
|
18
|
+
readonly pluginName?: string;
|
|
19
|
+
/** Label used in pull failure messaging. */
|
|
20
|
+
readonly failureLabel?: string;
|
|
21
|
+
/** Marketplace type metadata for repository index updates. */
|
|
22
|
+
readonly marketplaceType?: MarketplaceType;
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { URI } from "../../../../../base/common/uri.js";
|
|
2
|
+
import { IEnsureRepositoryOptions, IPullRepositoryOptions } from "./agentPluginRepositoryService.js";
|
|
3
|
+
import { IMarketplaceReference, MarketplaceType, IMarketplacePlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
4
|
+
export declare const IAgentPluginRepositoryService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IAgentPluginRepositoryService>;
|
|
5
|
+
/**
|
|
6
|
+
* Manages cloning, cache location resolution, and update operations for
|
|
7
|
+
* agent plugin marketplace repositories.
|
|
8
|
+
*/
|
|
9
|
+
export interface IAgentPluginRepositoryService {
|
|
10
|
+
readonly _serviceBrand: undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the local cache URI for a marketplace repository reference.
|
|
13
|
+
* Uses a storage-backed marketplace index when available.
|
|
14
|
+
*/
|
|
15
|
+
getRepositoryUri(marketplace: IMarketplaceReference, marketplaceType?: MarketplaceType): URI;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the local install URI for a plugin source directory inside its
|
|
18
|
+
* marketplace repository cache.
|
|
19
|
+
*/
|
|
20
|
+
getPluginInstallUri(plugin: IMarketplacePlugin): URI;
|
|
21
|
+
/**
|
|
22
|
+
* Ensures a marketplace repository is cloned locally and returns its cache URI.
|
|
23
|
+
*/
|
|
24
|
+
ensureRepository(marketplace: IMarketplaceReference, options?: IEnsureRepositoryOptions): Promise<URI>;
|
|
25
|
+
/**
|
|
26
|
+
* Pulls latest changes for a cloned marketplace repository.
|
|
27
|
+
*/
|
|
28
|
+
pullRepository(marketplace: IMarketplaceReference, options?: IPullRepositoryOptions): Promise<void>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IObservable } from "../../../../../base/common/observable.js";
|
|
2
|
+
import { URI } from "../../../../../base/common/uri.js";
|
|
3
|
+
import { IAgentPlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginService";
|
|
4
|
+
export declare const IAgentPluginService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IAgentPluginService>;
|
|
5
|
+
export interface IAgentPluginService {
|
|
6
|
+
readonly _serviceBrand: undefined;
|
|
7
|
+
readonly plugins: IObservable<readonly IAgentPlugin[]>;
|
|
8
|
+
readonly allPlugins: IObservable<readonly IAgentPlugin[]>;
|
|
9
|
+
setPluginEnabled(pluginUri: URI, enabled: boolean): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { URI } from "../../../../../base/common/uri.js";
|
|
2
|
+
import { IMarketplacePlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
3
|
+
export declare const IPluginInstallService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IPluginInstallService>;
|
|
4
|
+
export interface IPluginInstallService {
|
|
5
|
+
readonly _serviceBrand: undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Clones the marketplace repository (if not already cached) and registers
|
|
8
|
+
* the plugin's source directory in the user's `chat.plugins.paths` config.
|
|
9
|
+
*/
|
|
10
|
+
installPlugin(plugin: IMarketplacePlugin): Promise<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Removes the plugin from `chat.plugins.paths` config.
|
|
13
|
+
*/
|
|
14
|
+
uninstallPlugin(pluginUri: URI): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Pulls the latest changes for an already-cloned marketplace repository.
|
|
17
|
+
*/
|
|
18
|
+
updatePlugin(plugin: IMarketplacePlugin): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Returns the URI where a marketplace plugin would be installed on disk.
|
|
21
|
+
* Used to determine whether a marketplace plugin is already installed.
|
|
22
|
+
*/
|
|
23
|
+
getPluginInstallUri(plugin: IMarketplacePlugin): URI;
|
|
24
|
+
}
|
package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
2
|
+
import { Event } from "../../../../../base/common/event.js";
|
|
3
|
+
import { URI } from "../../../../../base/common/uri.js";
|
|
4
|
+
import { IMarketplacePlugin } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService";
|
|
5
|
+
export declare const IPluginMarketplaceService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IPluginMarketplaceService>;
|
|
6
|
+
export interface IPluginMarketplaceService {
|
|
7
|
+
readonly _serviceBrand: undefined;
|
|
8
|
+
readonly onDidChangeMarketplaces: Event<void>;
|
|
9
|
+
fetchMarketplacePlugins(token: CancellationToken): Promise<IMarketplacePlugin[]>;
|
|
10
|
+
getMarketplacePluginMetadata(pluginUri: URI): Promise<IMarketplacePlugin | undefined>;
|
|
11
|
+
}
|
package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
2
2
|
import { ResourceSet } from "../../../../../base/common/map.js";
|
|
3
|
+
import { OperatingSystem } from "../../../../../base/common/platform.js";
|
|
4
|
+
import { URI } from "../../../../../base/common/uri.js";
|
|
3
5
|
import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js";
|
|
4
6
|
import { IFileService } from "../../../../../platform/files/common/files.service.js";
|
|
5
7
|
import { ILabelService } from "../../../../../platform/label/common/label.service.js";
|
|
6
8
|
import { ILogService } from "../../../../../platform/log/common/log.service.js";
|
|
9
|
+
import { IRemoteAgentService } from "../../../../services/remote/common/remoteAgentService.service.js";
|
|
7
10
|
import { ITelemetryService } from "../../../../../platform/telemetry/common/telemetry.service.js";
|
|
8
11
|
import { IWorkspaceContextService } from "../../../../../platform/workspace/common/workspace.service.js";
|
|
9
12
|
import { ChatRequestVariableSet } from "../attachments/chatVariableEntries.js";
|
|
@@ -27,16 +30,18 @@ export declare class ComputeAutomaticInstructions {
|
|
|
27
30
|
private readonly _modeKind;
|
|
28
31
|
private readonly _enabledTools;
|
|
29
32
|
private readonly _enabledSubagents;
|
|
33
|
+
private readonly _sessionResource;
|
|
30
34
|
private readonly _promptsService;
|
|
31
35
|
readonly _logService: ILogService;
|
|
32
36
|
private readonly _labelService;
|
|
33
37
|
private readonly _configurationService;
|
|
34
38
|
private readonly _workspaceService;
|
|
35
39
|
private readonly _fileService;
|
|
40
|
+
private readonly _remoteAgentService;
|
|
36
41
|
private readonly _telemetryService;
|
|
37
42
|
private readonly _languageModelToolsService;
|
|
38
43
|
private _parseResults;
|
|
39
|
-
constructor(_modeKind: ChatModeKind, _enabledTools: UserSelectedTools | undefined, _enabledSubagents: (readonly string[]) | undefined, _promptsService: IPromptsService, _logService: ILogService, _labelService: ILabelService, _configurationService: IConfigurationService, _workspaceService: IWorkspaceContextService, _fileService: IFileService, _telemetryService: ITelemetryService, _languageModelToolsService: ILanguageModelToolsService);
|
|
44
|
+
constructor(_modeKind: ChatModeKind, _enabledTools: UserSelectedTools | undefined, _enabledSubagents: (readonly string[]) | undefined, _sessionResource: URI | undefined, _promptsService: IPromptsService, _logService: ILogService, _labelService: ILabelService, _configurationService: IConfigurationService, _workspaceService: IWorkspaceContextService, _fileService: IFileService, _remoteAgentService: IRemoteAgentService, _telemetryService: ITelemetryService, _languageModelToolsService: ILanguageModelToolsService);
|
|
40
45
|
private _parseInstructionsFile;
|
|
41
46
|
collect(variables: ChatRequestVariableSet, token: CancellationToken): Promise<void>;
|
|
42
47
|
private sendTelemetry;
|
|
@@ -58,3 +63,4 @@ export declare class ComputeAutomaticInstructions {
|
|
|
58
63
|
private _getInstructionsWithPatternsList;
|
|
59
64
|
private _addReferencedInstructions;
|
|
60
65
|
}
|
|
66
|
+
export declare function getFilePath(uri: URI, remoteOS: OperatingSystem | undefined): string;
|
package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js
CHANGED
|
@@ -3,12 +3,14 @@ import { __decorate, __param } from '../../../../../../../../external/tslib/tsli
|
|
|
3
3
|
import { splitGlobAware, match } from '../../../../../base/common/glob.js';
|
|
4
4
|
import { ResourceMap, ResourceSet } from '../../../../../base/common/map.js';
|
|
5
5
|
import { Schemas } from '../../../../../base/common/network.js';
|
|
6
|
+
import { OperatingSystem } from '../../../../../base/common/platform.js';
|
|
6
7
|
import { dirname, basename } from '../../../../../base/common/resources.js';
|
|
7
8
|
import { localize } from '../../../../../nls.js';
|
|
8
9
|
import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.service.js';
|
|
9
10
|
import { IFileService } from '../../../../../platform/files/common/files.service.js';
|
|
10
11
|
import { ILabelService } from '../../../../../platform/label/common/label.service.js';
|
|
11
12
|
import { ILogService } from '../../../../../platform/log/common/log.service.js';
|
|
13
|
+
import { IRemoteAgentService } from '../../../../services/remote/common/remoteAgentService.service.js';
|
|
12
14
|
import { ITelemetryService } from '../../../../../platform/telemetry/common/telemetry.service.js';
|
|
13
15
|
import { IWorkspaceContextService } from '../../../../../platform/workspace/common/workspace.service.js';
|
|
14
16
|
import { toPromptFileVariableEntry, PromptFileVariableKind, isPromptFileVariableEntry, IChatRequestVariableEntry, ChatRequestVariableSet, toToolVariableEntry, toPromptTextVariableEntry } from '../attachments/chatVariableEntries.js';
|
|
@@ -16,7 +18,6 @@ import { VSCodeToolReference } from '../tools/languageModelToolsService.js';
|
|
|
16
18
|
import { ILanguageModelToolsService } from '../tools/languageModelToolsService.service.js';
|
|
17
19
|
import { PromptsConfig } from './config/config.js';
|
|
18
20
|
import { isInClaudeRulesFolder, isInClaudeAgentsFolder, isPromptOrInstructionsFile } from './config/promptFileLocations.js';
|
|
19
|
-
import { PromptsType } from './promptTypes.js';
|
|
20
21
|
import { AgentFileType } from './service/promptsService.js';
|
|
21
22
|
import { IPromptsService } from './service/promptsService.service.js';
|
|
22
23
|
import { OffsetRange } from '../../../../../editor/common/core/ranges/offsetRange.js';
|
|
@@ -39,24 +40,28 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
39
40
|
_modeKind,
|
|
40
41
|
_enabledTools,
|
|
41
42
|
_enabledSubagents,
|
|
43
|
+
_sessionResource,
|
|
42
44
|
_promptsService,
|
|
43
45
|
_logService,
|
|
44
46
|
_labelService,
|
|
45
47
|
_configurationService,
|
|
46
48
|
_workspaceService,
|
|
47
49
|
_fileService,
|
|
50
|
+
_remoteAgentService,
|
|
48
51
|
_telemetryService,
|
|
49
52
|
_languageModelToolsService
|
|
50
53
|
) {
|
|
51
54
|
this._modeKind = _modeKind;
|
|
52
55
|
this._enabledTools = _enabledTools;
|
|
53
56
|
this._enabledSubagents = _enabledSubagents;
|
|
57
|
+
this._sessionResource = _sessionResource;
|
|
54
58
|
this._promptsService = _promptsService;
|
|
55
59
|
this._logService = _logService;
|
|
56
60
|
this._labelService = _labelService;
|
|
57
61
|
this._configurationService = _configurationService;
|
|
58
62
|
this._workspaceService = _workspaceService;
|
|
59
63
|
this._fileService = _fileService;
|
|
64
|
+
this._remoteAgentService = _remoteAgentService;
|
|
60
65
|
this._telemetryService = _telemetryService;
|
|
61
66
|
this._languageModelToolsService = _languageModelToolsService;
|
|
62
67
|
this._parseResults = ( new ResourceMap());
|
|
@@ -78,7 +83,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
78
83
|
}
|
|
79
84
|
}
|
|
80
85
|
async collect(variables, token) {
|
|
81
|
-
const instructionFiles = await this._promptsService.
|
|
86
|
+
const instructionFiles = await this._promptsService.getInstructionFiles(token, this._sessionResource);
|
|
82
87
|
this._logService.trace(
|
|
83
88
|
`[InstructionsContextComputer] ${instructionFiles.length} instruction files available.`
|
|
84
89
|
);
|
|
@@ -133,8 +138,8 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
133
138
|
this._logService.trace(
|
|
134
139
|
`[InstructionsContextComputer] Match for ${uri} with ${match.pattern}${match.file ? ` for file ${match.file}` : ""}`
|
|
135
140
|
);
|
|
136
|
-
const reason = !match.file ? ( localize(
|
|
137
|
-
|
|
141
|
+
const reason = !match.file ? ( localize(6925, "Automatically attached as pattern is **")) : ( localize(
|
|
142
|
+
6926,
|
|
138
143
|
"Automatically attached as pattern {0} matches {1}",
|
|
139
144
|
pattern,
|
|
140
145
|
this._labelService.getUriLabel(match.file, {
|
|
@@ -263,6 +268,9 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
263
268
|
async _getInstructionsWithPatternsList(instructionFiles, _existingVariables, telemetryEvent, token) {
|
|
264
269
|
const readTool = this._getTool("readFile");
|
|
265
270
|
const runSubagentTool = this._getTool(VSCodeToolReference.runSubagent);
|
|
271
|
+
const remoteEnv = await this._remoteAgentService.getEnvironment();
|
|
272
|
+
const remoteOS = remoteEnv?.os;
|
|
273
|
+
const filePath = uri => getFilePath(uri, remoteOS);
|
|
266
274
|
const entries = [];
|
|
267
275
|
if (readTool) {
|
|
268
276
|
const searchNestedAgentMd = this._configurationService.getValue(PromptsConfig.USE_NESTED_AGENT_MD);
|
|
@@ -297,13 +305,13 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
297
305
|
if (description) {
|
|
298
306
|
entries.push(`<description>${description}</description>`);
|
|
299
307
|
}
|
|
300
|
-
entries.push(`<file>${
|
|
308
|
+
entries.push(`<file>${filePath(uri)}</file>`);
|
|
301
309
|
const applyToPattern = this._getApplyToPattern(applyTo, paths);
|
|
302
310
|
if (applyToPattern) {
|
|
303
311
|
entries.push(`<applyTo>${applyToPattern}</applyTo>`);
|
|
304
312
|
}
|
|
305
313
|
} else {
|
|
306
|
-
entries.push(`<file>${
|
|
314
|
+
entries.push(`<file>${filePath(uri)}</file>`);
|
|
307
315
|
}
|
|
308
316
|
entries.push("</instruction>");
|
|
309
317
|
hasContent = true;
|
|
@@ -316,10 +324,10 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
316
324
|
const folderName = this._labelService.getUriLabel(dirname(uri), {
|
|
317
325
|
relative: true
|
|
318
326
|
});
|
|
319
|
-
const description = folderName.trim().length === 0 ? ( localize(
|
|
327
|
+
const description = folderName.trim().length === 0 ? ( localize(6927, "Instructions for the workspace")) : ( localize(6928, "Instructions for folder '{0}'", folderName));
|
|
320
328
|
entries.push("<instruction>");
|
|
321
329
|
entries.push(`<description>${description}</description>`);
|
|
322
|
-
entries.push(`<file>${
|
|
330
|
+
entries.push(`<file>${filePath(uri)}</file>`);
|
|
323
331
|
entries.push("</instruction>");
|
|
324
332
|
hasContent = true;
|
|
325
333
|
}
|
|
@@ -328,9 +336,9 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
328
336
|
} else {
|
|
329
337
|
entries.push("</instructions>", "", "");
|
|
330
338
|
}
|
|
331
|
-
const agentSkills = await this._promptsService.findAgentSkills(token);
|
|
332
|
-
const
|
|
333
|
-
if (
|
|
339
|
+
const agentSkills = await this._promptsService.findAgentSkills(token, this._sessionResource);
|
|
340
|
+
const modelInvocableSkills = agentSkills?.filter(skill => !skill.disableModelInvocation);
|
|
341
|
+
if (modelInvocableSkills && modelInvocableSkills.length > 0) {
|
|
334
342
|
const useSkillAdherencePrompt = this._configurationService.getValue(PromptsConfig.USE_SKILL_ADHERENCE_PROMPT);
|
|
335
343
|
entries.push("<skills>");
|
|
336
344
|
if (useSkillAdherencePrompt) {
|
|
@@ -375,13 +383,13 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
375
383
|
`When a user asks you to perform a task that falls within the domain of a skill, use the ${readTool.variable} tool to acquire the full instructions from the file URI.`
|
|
376
384
|
);
|
|
377
385
|
}
|
|
378
|
-
for (const skill of
|
|
386
|
+
for (const skill of modelInvocableSkills) {
|
|
379
387
|
entries.push("<skill>");
|
|
380
388
|
entries.push(`<name>${skill.name}</name>`);
|
|
381
389
|
if (skill.description) {
|
|
382
390
|
entries.push(`<description>${skill.description}</description>`);
|
|
383
391
|
}
|
|
384
|
-
entries.push(`<file>${
|
|
392
|
+
entries.push(`<file>${filePath(skill.uri)}</file>`);
|
|
385
393
|
entries.push("</skill>");
|
|
386
394
|
}
|
|
387
395
|
entries.push("</skills>", "", "");
|
|
@@ -390,13 +398,13 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
390
398
|
if (runSubagentTool && this._configurationService.getValue(ChatConfiguration.SubagentToolCustomAgents)) {
|
|
391
399
|
const canUseAgent = (() => {
|
|
392
400
|
if (!this._enabledSubagents || this._enabledSubagents.includes("*")) {
|
|
393
|
-
return agent => agent.visibility.
|
|
401
|
+
return agent => agent.visibility.agentInvocable;
|
|
394
402
|
} else {
|
|
395
403
|
const subagents = this._enabledSubagents;
|
|
396
404
|
return agent => subagents.includes(agent.name);
|
|
397
405
|
}
|
|
398
406
|
})();
|
|
399
|
-
const agents = await this._promptsService.getCustomAgents(token);
|
|
407
|
+
const agents = await this._promptsService.getCustomAgents(token, this._sessionResource);
|
|
400
408
|
if (agents.length > 0) {
|
|
401
409
|
entries.push("<agents>");
|
|
402
410
|
entries.push("Here is a list of agents that can be used when running a subagent.");
|
|
@@ -484,7 +492,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
484
492
|
if (isPromptOrInstructionsFile(uri)) {
|
|
485
493
|
todo.push(uri);
|
|
486
494
|
}
|
|
487
|
-
const reason = ( localize(
|
|
495
|
+
const reason = ( localize(6929, "Referenced by {0}", basename(next)));
|
|
488
496
|
attachedContext.add(
|
|
489
497
|
toPromptFileVariableEntry(uri, PromptFileVariableKind.InstructionReference, reason, true)
|
|
490
498
|
);
|
|
@@ -498,12 +506,19 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
498
506
|
}
|
|
499
507
|
}
|
|
500
508
|
};
|
|
501
|
-
ComputeAutomaticInstructions = ( __decorate([( __param(
|
|
502
|
-
function getFilePath(uri) {
|
|
509
|
+
ComputeAutomaticInstructions = ( __decorate([( __param(4, IPromptsService)), ( __param(5, ILogService)), ( __param(6, ILabelService)), ( __param(7, IConfigurationService)), ( __param(8, IWorkspaceContextService)), ( __param(9, IFileService)), ( __param(10, IRemoteAgentService)), ( __param(11, ITelemetryService)), ( __param(12, ILanguageModelToolsService))], ComputeAutomaticInstructions));
|
|
510
|
+
function getFilePath(uri, remoteOS) {
|
|
503
511
|
if (uri.scheme === Schemas.file || uri.scheme === Schemas.vscodeRemote) {
|
|
504
|
-
|
|
512
|
+
const fsPath = uri.fsPath;
|
|
513
|
+
if (remoteOS !== undefined) {
|
|
514
|
+
if (remoteOS === OperatingSystem.Windows) {
|
|
515
|
+
return fsPath.replace(/\//g, "\\");
|
|
516
|
+
}
|
|
517
|
+
return fsPath.replace(/\\/g, "/");
|
|
518
|
+
}
|
|
519
|
+
return fsPath;
|
|
505
520
|
}
|
|
506
521
|
return ( uri.toString());
|
|
507
522
|
}
|
|
508
523
|
|
|
509
|
-
export { ComputeAutomaticInstructions, newInstructionsCollectionEvent };
|
|
524
|
+
export { ComputeAutomaticInstructions, getFilePath, newInstructionsCollectionEvent };
|
package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts
CHANGED
|
@@ -83,7 +83,8 @@ export declare enum PromptFileSource {
|
|
|
83
83
|
ConfigWorkspace = "config-workspace",
|
|
84
84
|
ConfigPersonal = "config-personal",
|
|
85
85
|
ExtensionContribution = "extension-contribution",
|
|
86
|
-
ExtensionAPI = "extension-api"
|
|
86
|
+
ExtensionAPI = "extension-api",
|
|
87
|
+
Plugin = "plugin"
|
|
87
88
|
}
|
|
88
89
|
/**
|
|
89
90
|
* Prompt source folder path with source and storage type.
|