@codingame/monaco-vscode-api 36.2.7 → 37.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +612 -13
- package/package.json +9 -9
- package/services.d.ts +32 -0
- package/services.js +35 -5
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/browser.d.ts +9 -0
- package/vscode/src/vs/base/browser/browser.js +5 -1
- package/vscode/src/vs/base/browser/contextmenu.d.ts +7 -1
- package/vscode/src/vs/base/browser/dom.d.ts +43 -17
- package/vscode/src/vs/base/browser/dom.js +98 -19
- package/vscode/src/vs/base/browser/domSanitize.d.ts +18 -0
- package/vscode/src/vs/base/browser/domSanitize.js +54 -9
- package/vscode/src/vs/base/browser/dompurify/dompurify.d.ts +443 -0
- package/vscode/src/vs/base/browser/indexedDB.d.ts +8 -0
- package/vscode/src/vs/base/browser/indexedDB.js +32 -0
- package/vscode/src/vs/base/browser/keyboardEvent.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +10 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +74 -10
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -2
- package/vscode/src/vs/base/browser/ui/animations/animations.d.ts +1 -2
- package/vscode/src/vs/base/browser/ui/animations/animations.js +43 -81
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +4 -1
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +21 -5
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +21 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +193 -18
- package/vscode/src/vs/base/browser/ui/dialog/dialog.css +4 -2
- package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +12 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +23 -4
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +7 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +25 -7
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.d.ts +6 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +14 -2
- package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +4 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +14 -28
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +28 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -24
- package/vscode/src/vs/base/browser/ui/grid/grid.d.ts +3 -3
- package/vscode/src/vs/base/browser/ui/grid/grid.js +5 -1
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +6 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +2 -7
- package/vscode/src/vs/base/browser/ui/iconLabel/iconlabel.css +3 -3
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +14 -1
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +9 -3
- package/vscode/src/vs/base/browser/ui/list/listView.js +310 -120
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +14 -2
- package/vscode/src/vs/base/browser/ui/menu/menu.js +26 -10
- package/vscode/src/vs/base/browser/ui/radio/radio.css +117 -8
- package/vscode/src/vs/base/browser/ui/radio/radio.d.ts +36 -0
- package/vscode/src/vs/base/browser/ui/radio/radio.js +166 -10
- package/vscode/src/vs/base/browser/ui/sash/sash.d.ts +4 -1
- package/vscode/src/vs/base/browser/ui/sash/sash.js +24 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +9 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +27 -3
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.d.ts +4 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.d.ts +8 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +124 -49
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css +6 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +5 -28
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +9 -26
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +7 -1
- package/vscode/src/vs/base/browser/ui/toggle/switch.css +60 -0
- package/vscode/src/vs/base/browser/ui/toggle/switch.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/toggle/switch.js +64 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +12 -3
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +18 -3
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +224 -42
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +32 -2
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +213 -39
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +1 -0
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +7 -1
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +2 -0
- package/vscode/src/vs/base/common/arrays.js +2 -2
- package/vscode/src/vs/base/common/assert.js +0 -1
- package/vscode/src/vs/base/common/async.js +2 -3
- package/vscode/src/vs/base/common/codicons.d.ts +71 -30
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +41 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +41 -0
- package/vscode/src/vs/base/common/comparers.d.ts +2 -2
- package/vscode/src/vs/base/common/date.d.ts +12 -0
- package/vscode/src/vs/base/common/date.js +14 -1
- package/vscode/src/vs/base/common/defaultAccount.d.ts +12 -0
- package/vscode/src/vs/base/common/errors.d.ts +1 -0
- package/vscode/src/vs/base/common/errors.js +11 -1
- package/vscode/src/vs/base/common/event.d.ts +5 -1
- package/vscode/src/vs/base/common/event.js +54 -36
- package/vscode/src/vs/base/common/glob.js +7 -7
- package/vscode/src/vs/base/common/hash.d.ts +4 -0
- package/vscode/src/vs/base/common/hash.js +9 -1
- package/vscode/src/vs/base/common/htmlContent.d.ts +8 -0
- package/vscode/src/vs/base/common/htmlContent.js +15 -2
- package/vscode/src/vs/base/common/jsonSchema.d.ts +1 -0
- package/vscode/src/vs/base/common/managedSettings.d.ts +12 -2
- package/vscode/src/vs/base/common/managedSettings.js +2 -1
- package/vscode/src/vs/base/common/map.js +4 -0
- package/vscode/src/vs/base/common/mime.js +7 -4
- package/vscode/src/vs/base/common/network.d.ts +5 -0
- package/vscode/src/vs/base/common/network.js +5 -1
- package/vscode/src/vs/base/common/oauth.d.ts +2 -0
- package/vscode/src/vs/base/common/objects.js +14 -10
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +3 -3
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/rpc.js +6 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +6 -5
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +54 -1
- package/vscode/src/vs/base/common/platform.d.ts +2 -0
- package/vscode/src/vs/base/common/platform.js +5 -1
- package/vscode/src/vs/base/common/processes.js +0 -1
- package/vscode/src/vs/base/common/product.d.ts +22 -0
- package/vscode/src/vs/base/common/strings.js +13 -5
- package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +4 -0
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +13 -6
- package/vscode/src/vs/editor/browser/config/fontMeasurements.d.ts +2 -2
- package/vscode/src/vs/editor/browser/config/fontMeasurements.js +18 -5
- package/vscode/src/vs/editor/browser/controller/dragScrolling.js +7 -13
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +2 -2
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +12 -3
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +5 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +17 -1
- package/vscode/src/vs/editor/browser/services/openerService.d.ts +5 -0
- package/vscode/src/vs/editor/browser/services/openerService.js +59 -23
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +212 -74
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.d.ts +5 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/rangeUtil.js +10 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +20 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +3 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +12 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +2 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +9 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +4 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +8 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +38 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +14 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +90 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +47 -22
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +5 -1
- 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/style.css +4 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollLayout.d.ts +71 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollLayout.js +159 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollView.d.ts +80 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/compressedVirtualizedScrollView.js +372 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.d.ts +44 -15
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +324 -94
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.d.ts +11 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +10 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorLogging.d.ts +60 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorLogging.js +132 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorOptions.d.ts +20 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorOptions.js +29 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +7 -4
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +15 -4
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.d.ts +30 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +80 -6
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.d.ts +106 -22
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +377 -234
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css +331 -65
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/virtualizedItemManager.d.ts +84 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/virtualizedItemManager.js +253 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/workbenchUIElementFactory.d.ts +21 -4
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/workbenchUIElementFactory.js +9 -0
- package/vscode/src/vs/editor/common/config/diffEditor.d.ts +1 -0
- package/vscode/src/vs/editor/common/config/diffEditor.js +1 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +52 -52
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +54 -32
- package/vscode/src/vs/editor/common/config/editorOptions.js +422 -376
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.js +1 -1
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +6 -0
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +1 -1
- package/vscode/src/vs/editor/common/cursorEvents.d.ts +2 -2
- package/vscode/src/vs/editor/common/editorContextKeys.d.ts +4 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +62 -49
- package/vscode/src/vs/editor/common/languages/autoIndent.js +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +4 -1
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +2 -1
- package/vscode/src/vs/editor/common/languages.js +56 -56
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +11 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.d.ts +2 -0
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +50 -2
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +2 -1
- package/vscode/src/vs/editor/common/model/textModel.js +1 -0
- package/vscode/src/vs/editor/common/model.d.ts +5 -0
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +1 -1
- package/vscode/src/vs/editor/common/multiDiffEditor.d.ts +16 -0
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.d.ts +2 -0
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +9 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +3 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +2 -0
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +1 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +55 -50
- package/vscode/src/vs/editor/common/textModelBracketPairs.d.ts +5 -0
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +35 -13
- package/vscode/src/vs/editor/common/textModelEditSource.js +15 -0
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +20 -0
- package/vscode/src/vs/editor/common/textModelEvents.js +24 -2
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +2 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +6 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +54 -12
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.d.ts +9 -1
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.js +11 -6
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +162 -36
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +6 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +4 -3
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +17 -5
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -20
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +18 -18
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +9 -4
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +144 -121
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +23 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPicker.css +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +15 -13
- 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.js +19 -19
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +28 -28
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -35
- 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 +19 -3
- 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 -16
- 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 +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +4 -0
- 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/markdownHoverParticipant.js +7 -7
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +6 -8
- 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/inlayHintsController.js +16 -11
- 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/inlineCompletionContextKeys.js +13 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +2 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +46 -27
- 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 +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +8 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +10 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +6 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +3 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +6 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.js +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +15 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/inlineEditsLongDistanceHint.js +6 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/longDistanceHint/longDistancePreviewEditor.js +20 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +2 -1
- 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/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +11 -11
- 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.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -13
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +18 -4
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +5 -5
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +11 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +19 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.d.ts +1 -1
- 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/suggestWidget.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +99 -38
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +3 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +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/standaloneServices.js +12 -3
- package/vscode/src/vs/nls.js +1 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +13 -3
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +8 -3
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +4 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +2 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +78 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +118 -13
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +754 -175
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +81 -72
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +4 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +80 -29
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +24 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +46 -6
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +4 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +6 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +5 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +36 -19
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -5
- package/vscode/src/vs/platform/actions/common/actions.js +9 -3
- 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/agentHost/browser/nullAgentHostService.d.ts +27 -3
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +49 -0
- package/vscode/src/vs/platform/agentHost/common/agent.d.ts +1100 -0
- package/vscode/src/vs/platform/agentHost/common/agent.js +69 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConfigurationSync.d.ts +66 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConfigurationSync.js +128 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.d.ts +20 -5
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.d.ts +21 -7
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationUri.d.ts +10 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationUri.js +12 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.js +92 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.service.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEnablementService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostEndpointRegistry.d.ts +97 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpServer.d.ts +14 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.d.ts +65 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.js +25 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.service.d.ts +22 -28
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.d.ts +347 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +713 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.js +4 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostTelemetry.d.ts +46 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostTelemetry.js +62 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.d.ts +65 -10
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +62 -15
- package/vscode/src/vs/platform/agentHost/common/agentMergePrompt.d.ts +25 -0
- package/vscode/src/vs/platform/agentHost/common/agentMergePrompt.js +186 -0
- package/vscode/src/vs/platform/agentHost/common/agentServerTools.d.ts +37 -9
- package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +638 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.js +68 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +53 -33
- package/vscode/src/vs/platform/agentHost/common/codexAccount.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/copilotHome.d.ts +3 -0
- package/vscode/src/vs/platform/agentHost/common/copilotHome.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/customizationEnablement.d.ts +63 -0
- package/vscode/src/vs/platform/agentHost/common/customizationEnablement.js +69 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentWorkspaceContinuationMeta.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentWorkspaceContinuationMeta.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/codexAccount.d.ts +28 -0
- package/vscode/src/vs/platform/agentHost/common/meta/codexAccount.js +69 -0
- package/vscode/src/vs/platform/agentHost/common/reconnectPolicy.d.ts +29 -0
- package/vscode/src/vs/platform/agentHost/common/reconnectPolicy.js +16 -0
- package/vscode/src/vs/platform/agentHost/common/reconnectingTransport.d.ts +37 -0
- package/vscode/src/vs/platform/agentHost/common/relayTransport.d.ts +26 -5
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostLocationPreference.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +247 -23
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +173 -62
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +23 -37
- package/vscode/src/vs/platform/agentHost/common/sessionConfigKeys.d.ts +67 -0
- package/vscode/src/vs/platform/agentHost/common/sessionConfigKeys.js +22 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +243 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +65 -8
- package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.js +95 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +20 -8
- package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/actions.d.ts +3 -7
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/state.d.ts +20 -12
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/actions.d.ts +117 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/commands.d.ts +102 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/state.d.ts +309 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation/state.js +20 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/actions.d.ts +74 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/state.d.ts +215 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-automation-run/state.js +17 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/actions.d.ts +34 -2
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/commands.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.d.ts +53 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/actions.d.ts +193 -17
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.d.ts +82 -7
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.d.ts +373 -62
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.js +16 -2
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/commands.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/commands.d.ts +30 -6
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.d.ts +67 -2
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/actions.d.ts +138 -9
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.d.ts +39 -40
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.d.ts +288 -57
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.js +13 -2
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/state.d.ts +47 -4
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/state.js +6 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.d.ts +29 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.js +21 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/commands.d.ts +294 -8
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.d.ts +186 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/errors.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/messages.d.ts +17 -4
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/notifications.d.ts +60 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/notifications.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/state.d.ts +5 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/notifications.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +13 -2
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.js +4 -1
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +429 -23
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +538 -3
- package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.d.ts +57 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.js +18 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.d.ts +146 -14
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.js +1 -1
- package/vscode/src/vs/platform/agentPlugins/common/agentPluginParser.d.ts +12 -0
- package/vscode/src/vs/platform/agentPlugins/common/agentPluginParser.js +58 -0
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +67 -16
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +200 -45
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +119 -0
- package/vscode/src/vs/platform/assignment/common/assignment.js +53 -0
- package/vscode/src/vs/platform/browserView/common/browserPermissions.js +14 -14
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +150 -27
- package/vscode/src/vs/platform/browserView/common/browserView.js +27 -1
- package/vscode/src/vs/platform/browserView/common/browserViewTelemetry.d.ts +3 -1
- package/vscode/src/vs/platform/browserView/common/cdp/types.d.ts +19 -7
- package/vscode/src/vs/platform/chat/common/chatSettings.d.ts +21 -0
- package/vscode/src/vs/platform/chat/common/chatSettings.js +50 -0
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +90 -6
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +50 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +58 -12
- package/vscode/src/vs/platform/configuration/common/configurations.js +1 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +12 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +12 -11
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/contextview/browser/contextMenuHandler.js +2 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +3 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +1 -1
- package/vscode/src/vs/platform/contextview/browser/contextViewService.d.ts +1 -1
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +3 -2
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +1 -1
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.d.ts +42 -0
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.js +73 -2
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.service.d.ts +13 -1
- package/vscode/src/vs/platform/dataChannel/common/dataChannel.service.js +2 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +20 -3
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.js +3 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +7 -4
- package/vscode/src/vs/platform/dialogs/common/dialogs.d.ts +17 -21
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -12
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +58 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +18 -3
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.js +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +18 -17
- 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/extensionRecommendations/common/extensionRecommendations.d.ts +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +19 -19
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +8 -0
- package/vscode/src/vs/platform/extensions/common/extensions.js +2 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +15 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +15 -3
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.d.ts +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/github/common/githubPullRequestMutationService.d.ts +150 -0
- package/vscode/src/vs/platform/github/common/githubPullRequestService.d.ts +182 -0
- package/vscode/src/vs/platform/github/common/githubQueryService.d.ts +187 -0
- package/vscode/src/vs/platform/github/common/githubService.service.d.ts +18 -0
- package/vscode/src/vs/platform/github/common/githubService.service.js +6 -0
- package/vscode/src/vs/platform/github/common/githubTypes.d.ts +30 -0
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +3 -3
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.d.ts +5 -0
- package/vscode/src/vs/platform/hover/browser/hoverService.js +16 -3
- package/vscode/src/vs/platform/hover/browser/hoverWidget.d.ts +1 -0
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +24 -7
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +3 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -5
- package/vscode/src/vs/platform/label/common/label.d.ts +17 -0
- package/vscode/src/vs/platform/label/common/label.service.d.ts +4 -2
- 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.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +29 -29
- package/vscode/src/vs/platform/localTranscription/common/localTranscription.d.ts +53 -0
- package/vscode/src/vs/platform/localTranscription/common/localTranscription.js +13 -0
- package/vscode/src/vs/platform/localTranscription/common/localTranscription.service.d.ts +84 -0
- package/vscode/src/vs/platform/localTranscription/common/localTranscription.service.js +6 -0
- package/vscode/src/vs/platform/log/common/log.d.ts +2 -2
- 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/mcpManagement.d.ts +18 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.js +9 -1
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +18 -1
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.d.ts +13 -3
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +40 -11
- package/vscode/src/vs/platform/mcp/common/mcpPlatformTypes.d.ts +1 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.service.d.ts +4 -0
- package/vscode/src/vs/platform/native/common/native.d.ts +116 -10
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.d.ts +5 -1
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/opener/common/opener.d.ts +5 -0
- package/vscode/src/vs/platform/opener/common/opener.js +2 -1
- package/vscode/src/vs/platform/opener/common/opener.service.d.ts +1 -1
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.d.ts +98 -24
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.js +100 -7
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.d.ts +13 -1
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.js +2 -1
- package/vscode/src/vs/platform/policy/common/managedSettingsFreshness.d.ts +58 -0
- package/vscode/src/vs/platform/policy/common/managedSettingsFreshness.js +35 -0
- package/vscode/src/vs/platform/policy/common/policy.d.ts +18 -0
- package/vscode/src/vs/platform/policy/common/policy.js +50 -5
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +3 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +45 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +2 -2
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +3 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +80 -14
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +8 -1
- 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/quickInputTreeRenderer.js +2 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +3 -0
- package/vscode/src/vs/platform/remoteTunnel/common/remoteTunnel.service.d.ts +15 -0
- package/vscode/src/vs/platform/remoteTunnel/common/remoteTunnel.service.js +6 -0
- package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +46 -27
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +2 -0
- package/vscode/src/vs/platform/sandbox/common/settings.d.ts +2 -6
- package/vscode/src/vs/platform/sandbox/common/settings.js +0 -4
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxMxcRuntime.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/errorTelemetry.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +2 -2
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +4 -2
- package/vscode/src/vs/platform/terminal/common/autoApprove/gitAutoApproveRules.d.ts +6 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/gitAutoApproveRules.js +16 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/powershellAutoApproveRules.d.ts +8 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/powershellAutoApproveRules.js +26 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/sortAutoApproveRules.d.ts +4 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/sortAutoApproveRules.js +9 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.d.ts +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +6 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +4 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +4 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- 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 +48 -48
- 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 +10 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +7 -7
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.d.ts +13 -0
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +37 -27
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +36 -0
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/url/common/trustedDomains.d.ts +8 -0
- package/vscode/src/vs/platform/url/common/trustedDomains.js +12 -3
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +2 -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/userDataSync/common/userDataSyncStoreService.d.ts +2 -2
- package/vscode/src/vs/platform/userInteraction/browser/userInteractionServiceImpl.js +2 -3
- package/vscode/src/vs/platform/webWorker/browser/webWorkerServiceImpl.js +8 -5
- package/vscode/src/vs/platform/window/common/window.d.ts +13 -0
- package/vscode/src/vs/platform/window/common/window.js +13 -1
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +2 -2
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +51 -21
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +34 -8
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.js +20 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +31 -7
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +46 -15
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +18 -11
- package/vscode/src/vs/workbench/api/common/extHostChatContext.d.ts +10 -5
- package/vscode/src/vs/workbench/api/common/extHostChatContext.js +40 -52
- package/vscode/src/vs/workbench/api/common/extHostChatInputNotification.js +9 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +4 -4
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostComments.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.d.ts +35 -3
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.js +170 -11
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +6 -2
- package/vscode/src/vs/workbench/api/common/extHostEmbedding.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostEmbedding.js +7 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +11 -11
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -4
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +12 -4
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +27 -17
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +14 -7
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +63 -19
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +17 -7
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +8 -5
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostXaaAuthProvider.d.ts +8 -0
- package/vscode/src/vs/workbench/api/common/extHostXaaAuthProvider.js +20 -16
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +87 -11
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +437 -241
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +172 -137
- package/vscode/src/vs/workbench/browser/actions/menuMotion.d.ts +10 -0
- package/vscode/src/vs/workbench/browser/actions/menuMotion.js +14 -0
- package/vscode/src/vs/workbench/browser/actions/policyDiagnosticsMarkdown.d.ts +4 -0
- package/vscode/src/vs/workbench/browser/actions/policyDiagnosticsMarkdown.js +32 -0
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +76 -49
- 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 +5 -4
- package/vscode/src/vs/workbench/browser/contextkeys.js +16 -12
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +7 -5
- package/vscode/src/vs/workbench/browser/media/floatingPanels.css +524 -82
- package/vscode/src/vs/workbench/browser/part.js +10 -8
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +64 -8
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +152 -50
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +29 -34
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +15 -5
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css +6 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +13 -10
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +4 -3
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +6 -4
- 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.d.ts +7 -4
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +50 -38
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.d.ts +27 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +175 -35
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.d.ts +9 -2
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +53 -7
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.d.ts +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +43 -170
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.d.ts +28 -0
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.js +227 -0
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommandsService.service.js +6 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.d.ts +31 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.js +2 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.d.ts +8 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +179 -141
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +25 -25
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +23 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.d.ts +11 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +81 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorHeaderControl.d.ts +33 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorHeaderControl.js +215 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +8 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +33 -23
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.d.ts +3 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +37 -13
- 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.d.ts +18 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +94 -21
- package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.d.ts +11 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorTitleControl.js +45 -53
- package/vscode/src/vs/workbench/browser/parts/editor/editorTypePicker.d.ts +37 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorTypePicker.js +96 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.d.ts +7 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +3 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +13 -15
- package/vscode/src/vs/workbench/browser/parts/editor/media/breadcrumbscontrol.css +42 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css +9 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +6 -1
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +8 -12
- package/vscode/src/vs/workbench/browser/parts/editor/media/singleeditortabscontrol.css +20 -7
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +29 -5
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +14 -3
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +154 -72
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.d.ts +6 -2
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +18 -3
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +34 -21
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +43 -8
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.d.ts +11 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +125 -30
- package/vscode/src/vs/workbench/browser/parts/media/globalCompositeBar.css +15 -0
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css +12 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.d.ts +10 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationAccessibleView.js +126 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +21 -10
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +14 -14
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +19 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +14 -14
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +48 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.d.ts +11 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +23 -12
- package/vscode/src/vs/workbench/browser/parts/notifications/pendingNotificationToasts.d.ts +13 -0
- package/vscode/src/vs/workbench/browser/parts/notifications/pendingNotificationToasts.js +64 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +5 -23
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +35 -43
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +3 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +10 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +16 -12
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +13 -10
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +8 -8
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +10 -0
- package/vscode/src/vs/workbench/browser/window.js +17 -17
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +276 -232
- package/vscode/src/vs/workbench/common/configuration.d.ts +1 -0
- package/vscode/src/vs/workbench/common/configuration.js +12 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +5 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +102 -88
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +2 -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 +25 -1
- package/vscode/src/vs/workbench/common/editor.js +11 -5
- package/vscode/src/vs/workbench/common/notifications.d.ts +7 -0
- package/vscode/src/vs/workbench/common/notifications.js +21 -7
- package/vscode/src/vs/workbench/common/theme.d.ts +30 -0
- package/vscode/src/vs/workbench/common/theme.js +403 -168
- package/vscode/src/vs/workbench/common/views.d.ts +1 -1
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +230 -162
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +14 -1
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.js +31 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.js +26 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +82 -36
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +55 -27
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +190 -96
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +11 -6
- package/vscode/src/vs/workbench/contrib/browserView/common/browserZoomService.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/browserView/common/browserZoomService.service.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +17 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +132 -123
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.d.ts +121 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +341 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +16 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +34 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.service.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLegacyMigration.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLegacyMigration.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostProtectedResourcesService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostShellInitSynchronizer.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service.d.ts +18 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +23 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +85 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +157 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +24 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +34 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables.js +75 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +140 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +14 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutline.d.ts +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutline.js +238 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetService.service.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.d.ts +14 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +28 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +314 -86
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +34 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +15 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.d.ts +106 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.js +161 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.service.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pcmCaptureWorklet.d.ts +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pcmCaptureWorklet.js +102 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service.d.ts +13 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.d.ts +333 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.js +1368 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadRing.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationDownloadRing.js +86 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationLanguage.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationLanguage.js +113 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.service.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationSession.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/dictationSession.js +408 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/media/dictationSession.css +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.d.ts +139 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.js +535 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts +21 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceEndpoint.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceEndpoint.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts +78 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.d.ts +11 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.service.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHub.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.d.ts +140 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.js +186 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +20 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts +21 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +174 -42
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +183 -93
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +14 -28
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +31 -27
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +150 -3
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +178 -12
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.js +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automation.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.js +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatImageExtraction.js +194 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +11 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.js +50 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestOrigin.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +16 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +42 -48
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +256 -33
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +18 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionTypePreference.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionTypePreference.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +132 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +7 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +30 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +99 -26
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +286 -50
- package/vscode/src/vs/workbench/contrib/chat/common/contextContrib/chatContext.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +16 -8
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +31 -13
- package/vscode/src/vs/workbench/contrib/chat/common/customizationLockdown.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationLockdown.js +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.d.ts +33 -7
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.service.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +32 -10
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +98 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +126 -51
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +136 -11
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +304 -62
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.js +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.js +16 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.d.ts +20 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +121 -50
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatUri.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatUri.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +26 -81
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +39 -3
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +178 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.d.ts +11 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +12 -3
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +195 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +294 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +212 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +955 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +9 -11
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginSource.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +122 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +38 -37
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +97 -79
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +10 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +29 -11
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +15 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +28 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +201 -51
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +62 -18
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatParserTypes.js +17 -3
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +9 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +15 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +136 -49
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +31 -30
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +24 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.d.ts +47 -5
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.service.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.d.ts +17 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +106 -29
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +10 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHintTypes.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHintTypes.js +5 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +16 -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 +9 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +116 -79
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.d.ts +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 +12 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +20 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +71 -71
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -8
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- 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/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +9 -3
- 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 +33 -31
- 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 +22 -10
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -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 +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css +4 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +10 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +23 -7
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.d.ts +1 -1
- 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 +1 -1
- 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/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +3 -0
- 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 +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementContext.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementContext.js +38 -0
- 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 +199 -158
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +193 -198
- 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.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +49 -50
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +78 -78
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extension.css +9 -17
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionActions.css +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsWidgets.css +30 -35
- 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/extensions.js +1 -1
- 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/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +5 -5
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +5 -4
- 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 +57 -41
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +63 -27
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +30 -30
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +32 -29
- 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/media/explorerviewlet.css +12 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.d.ts +26 -5
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +69 -23
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +18 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css +6 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +100 -21
- 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/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 +44 -29
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
- 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/markdown/browser/markedGfmHeadingIdPlugin.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +70 -70
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +42 -47
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +6 -31
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +62 -55
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.d.ts +30 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +113 -24
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +39 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +108 -7
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -0
- 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.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +6 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +51 -15
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +59 -22
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +8 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- 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/media/notebook.css +0 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -13
- 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/notebookOptions.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +4 -69
- 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/cellToolbarStickyScroll.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.d.ts +1 -1
- 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/notebookRenderingCommon.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +44 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +2 -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/notebookCommon.d.ts +3 -35
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +1 -13
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.d.ts +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.js +62 -61
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +4 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +36 -18
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- 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 +51 -15
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -9
- package/vscode/src/vs/workbench/contrib/search/browser/media/searchview.css +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +11 -8
- 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/match.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/textSearchHeading.js +5 -7
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +59 -56
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +16 -16
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/search.js +1 -1
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/media/searchEditor.css +1 -0
- 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.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +23 -17
- 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 +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +24 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +18 -2
- 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 +64 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -10
- 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.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +5 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +19 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +107 -137
- 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.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/resizeDimensionsOverlay/common/terminalResizeDimensionsOverlayConfiguration.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/resizeDimensionsOverlay/common/terminalResizeDimensionsOverlayConfiguration.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/update/common/update.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/update/common/update.js +9 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +162 -4
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +555 -59
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.d.ts +47 -0
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.js +48 -3
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.d.ts +8 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.service.d.ts +34 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.service.js +6 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.d.ts +37 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.js +160 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.service.d.ts +16 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexAccountService.service.js +6 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +42 -3
- 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/authentication/common/authentication.d.ts +19 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +7 -6
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.d.ts +3 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +10 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +59 -7
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +107 -29
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +1 -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/dataChannel/browser/dataChannelService.d.ts +55 -0
- package/vscode/src/vs/workbench/services/dataChannel/browser/dataChannelService.js +567 -0
- package/vscode/src/vs/workbench/services/decorations/common/decorations.d.ts +13 -0
- package/vscode/src/vs/workbench/services/decorations/common/decorations.js +6 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +7 -4
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +4 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +10 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +68 -4
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +103 -6
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.service.d.ts +23 -7
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -1
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +17 -2
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionGalleryAccount.d.ts +27 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionGalleryAccount.service.d.ts +15 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionGalleryAccount.service.js +6 -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 +27 -19
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +8 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +2 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +110 -88
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +6 -4
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +12 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +5 -2
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +1 -0
- package/vscode/src/vs/workbench/services/history/common/history.js +2 -1
- package/vscode/src/vs/workbench/services/host/browser/host.d.ts +8 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +81 -13
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +102 -3
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.js +7 -4
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +12 -2
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +6 -5
- 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 -27
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.d.ts +1 -3
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +7 -19
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.d.ts +0 -2
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -9
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +0 -8
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +0 -3
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +15 -0
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +56 -0
- 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.d.ts +1 -0
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +12 -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/themes/common/workbenchThemeService.js +4 -4
- 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/workspaceFolderLabelService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceFolderLabelService.service.js +6 -0
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +1 -1
- package/vscode-dts/vscode.d.ts +4 -1
- package/vscode-dts/vscode.proposed.agentEditorComments.d.ts +27 -1
- package/vscode-dts/{vscode.proposed.customEditorPriority.d.ts → vscode.proposed.agentsWindowActivation.d.ts} +1 -1
- package/vscode-dts/vscode.proposed.authSessionAccountIcon.d.ts +13 -0
- package/vscode-dts/vscode.proposed.authSessionExpiration.d.ts +19 -0
- package/vscode-dts/vscode.proposed.chatContextProvider.d.ts +26 -84
- package/vscode-dts/vscode.proposed.chatInputNotification.d.ts +6 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +11 -11
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +40 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +32 -0
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +5 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +6 -0
- package/vscode-dts/vscode.proposed.d.ts +5 -1
- package/vscode-dts/vscode.proposed.linkPresentation.d.ts +136 -0
- package/vscode-dts/vscode.proposed.terminalRemoteResolver.d.ts +21 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.d.ts +0 -16
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/objectPool.js +0 -47
- package/vscode/src/vs/platform/browserView/common/playwrightService.d.ts +0 -7
- package/vscode/src/vs/platform/browserView/common/playwrightService.service.d.ts +0 -123
- package/vscode/src/vs/platform/browserView/common/playwrightService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.d.ts +0 -95
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +0 -83
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +0 -82
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +0 -107
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { Event } from "../../../base/common/event.js";
|
|
2
2
|
import { IDisposable } from "../../../base/common/lifecycle.js";
|
|
3
|
+
import type { AgentHostEndpointAddress, AgentHostServerType } from "./agentHostEndpointRegistry.js";
|
|
4
|
+
import type { RemoteAgentHostLocationPreference } from "./remoteAgentHostLocationPreference.js";
|
|
3
5
|
export type { IRelayMessage } from "./relayTransport.js";
|
|
6
|
+
/**
|
|
7
|
+
* Lifecycle ownership of the remote agent host process backing a
|
|
8
|
+
* connection: `managed` means this desktop spawned it (and is relying on
|
|
9
|
+
* its `--idle-timeout` to self-clean-up when unused), `external` means it
|
|
10
|
+
* was already running (another editor window, or a previously spawned
|
|
11
|
+
* standalone) and this desktop merely attached to it.
|
|
12
|
+
*/
|
|
13
|
+
export type SSHAgentHostLifecycle = "managed" | "external";
|
|
4
14
|
/**
|
|
5
15
|
* IPC channel name for the main-process SSH service.
|
|
6
16
|
*/
|
|
@@ -36,7 +46,57 @@ export interface ISSHAgentHostConfig {
|
|
|
36
46
|
readonly remoteAgentHostCommand?: string;
|
|
37
47
|
/** When true, enables OpenSSH agent forwarding (auth-agent@openssh.com) for this connection. Requires {@link authMethod} to be Agent. */
|
|
38
48
|
readonly agentForward?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Whether this connect attempt was directly requested by the user (e.g.
|
|
51
|
+
* "Connect" from the workspace picker) as opposed to a silent background
|
|
52
|
+
* reconnect (e.g. on startup, or a scheduled auto-reconnect retry).
|
|
53
|
+
* Defaults to `true` when omitted, preserving today's picker-eligible
|
|
54
|
+
* behavior for every existing caller that doesn't set this explicitly.
|
|
55
|
+
*
|
|
56
|
+
* When explicitly `false` and {@link preferredAgentLocation} is unset,
|
|
57
|
+
* endpoint selection never shows the main↔renderer picker and never
|
|
58
|
+
* silently attaches to an `editor`-owned endpoint even if one is the
|
|
59
|
+
* only live endpoint — it deterministically reuses a live `standalone`
|
|
60
|
+
* endpoint when one exists, or spawns a new dedicated one otherwise.
|
|
61
|
+
* This keeps unattended reconnects from blocking on renderer UI or
|
|
62
|
+
* stealing a session out from under another open editor window.
|
|
63
|
+
*/
|
|
64
|
+
readonly userInitiated?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* The renderer's previously stored {@link IRemoteAgentHostLocationPreferenceService}
|
|
67
|
+
* choice for this host's stable connection key (see
|
|
68
|
+
* {@link computeSSHConnectionKey}), threaded through so the main process
|
|
69
|
+
* can honor it without ever emitting an {@link ISSHEndpointSelectionRequest}.
|
|
70
|
+
* Takes priority over {@link userInitiated}: a stored `editor` preference
|
|
71
|
+
* lets even a silent/background reconnect (`userInitiated: false`) land on
|
|
72
|
+
* a live `editor`-owned endpoint (falling back to `dedicated` selection,
|
|
73
|
+
* without mutating the stored preference, if none is live), and a stored
|
|
74
|
+
* `dedicated` preference always selects a dedicated endpoint. When unset,
|
|
75
|
+
* behavior is unchanged: {@link userInitiated} alone governs whether the
|
|
76
|
+
* picker may be shown. Non-secret; safe to keep in the sanitized config.
|
|
77
|
+
*/
|
|
78
|
+
readonly preferredAgentLocation?: RemoteAgentHostLocationPreference;
|
|
39
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* Compute the stable per-host key used to key in-flight SSH connections,
|
|
82
|
+
* the shared endpoint-selection request/candidates, and this host's
|
|
83
|
+
* persisted {@link RemoteAgentHostLocationPreference}. Uses the SSH config
|
|
84
|
+
* host alias when available (`ssh:<alias>`), falling back to
|
|
85
|
+
* `user@host:port` for config-less (explicit credential) connections. Both
|
|
86
|
+
* the node-side SSH service and the renderer-side preference lookup must
|
|
87
|
+
* use this exact key so a preference set on one path is honored by the
|
|
88
|
+
* other. `username`/`host`/`port` are optional since callers that only
|
|
89
|
+
* know a {@link ISSHAgentHostConfig.sshConfigHost sshConfigHost} alias
|
|
90
|
+
* up front (e.g. the renderer's `reconnect()`, before the main process has
|
|
91
|
+
* resolved the alias to a hostname) never reach the fallback branch that
|
|
92
|
+
* needs them.
|
|
93
|
+
*/
|
|
94
|
+
export declare function computeSSHConnectionKey(config: {
|
|
95
|
+
sshConfigHost?: string;
|
|
96
|
+
username?: string;
|
|
97
|
+
host?: string;
|
|
98
|
+
port?: number;
|
|
99
|
+
}): string;
|
|
40
100
|
/**
|
|
41
101
|
* A sanitized view of the SSH config that omits secret material
|
|
42
102
|
* (password, private key path). Exposed on active connections so
|
|
@@ -52,6 +112,18 @@ export interface ISSHAgentHostConnection extends IDisposable {
|
|
|
52
112
|
readonly name: string;
|
|
53
113
|
/** Fires when this SSH connection is closed or lost. */
|
|
54
114
|
readonly onDidClose: Event<void>;
|
|
115
|
+
/**
|
|
116
|
+
* Kind of remote agent host process backing this connection, when known
|
|
117
|
+
* (registry-discovered connections only; unset for the legacy
|
|
118
|
+
* `remoteAgentHostCommand` override path).
|
|
119
|
+
*/
|
|
120
|
+
readonly serverType?: AgentHostServerType;
|
|
121
|
+
/** Registry `instanceId` of the remote agent host backing this connection, when known. */
|
|
122
|
+
readonly instanceId?: string;
|
|
123
|
+
/** Whether this is the primary connection selected for this remote (see {@link ISSHConnectResult.primary}). */
|
|
124
|
+
readonly primary?: boolean;
|
|
125
|
+
/** Whether this desktop spawned (and therefore is relying on idle-timeout to clean up) the backing process, or merely attached to an already-running one. */
|
|
126
|
+
readonly lifecycle?: SSHAgentHostLifecycle;
|
|
55
127
|
}
|
|
56
128
|
/**
|
|
57
129
|
* Serializable result from a successful SSH connect operation.
|
|
@@ -67,7 +139,39 @@ export interface ISSHConnectResult {
|
|
|
67
139
|
readonly config: ISSHAgentHostConfigSanitized;
|
|
68
140
|
/** SSH config host alias for reconnection on restart. */
|
|
69
141
|
readonly sshConfigHost?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Kind of remote agent host process backing this connection
|
|
144
|
+
* (`editor` or `standalone`), when discovered through the shared
|
|
145
|
+
* endpoint registry. Unset for the legacy `remoteAgentHostCommand`
|
|
146
|
+
* override path, which bypasses registry discovery entirely.
|
|
147
|
+
*/
|
|
148
|
+
readonly serverType?: AgentHostServerType;
|
|
149
|
+
/** Registry `instanceId` of the remote agent host backing this connection, when known. */
|
|
150
|
+
readonly instanceId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Whether this connection is the primary one for this remote: the one
|
|
153
|
+
* chosen (explicitly, or by deterministic reuse/spawn) to back the
|
|
154
|
+
* editor's own remote session. Every successful `connect()`/`reconnect()`
|
|
155
|
+
* result today is primary; this field exists so future consumers can
|
|
156
|
+
* distinguish it without relying on absence-of-alternative.
|
|
157
|
+
*/
|
|
158
|
+
readonly primary?: boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Whether this desktop spawned the backing remote agent host process
|
|
161
|
+
* (`managed`, relies on `--idle-timeout` for cleanup) or merely attached
|
|
162
|
+
* to an already-running one (`external`, e.g. another editor window or a
|
|
163
|
+
* previously spawned standalone — never killed on disconnect).
|
|
164
|
+
*/
|
|
165
|
+
readonly lifecycle?: SSHAgentHostLifecycle;
|
|
70
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* How OpenSSH should react to an unknown or changed host key. `ssh -G`
|
|
169
|
+
* canonicalizes `yes` to `true` and `no`/`off` to `false`, which the resolved
|
|
170
|
+
* config parser normalizes back to this policy representation.
|
|
171
|
+
*/
|
|
172
|
+
export type SSHStrictHostKeyChecking = "ask" | "accept-new" | "yes" | "no" | "off";
|
|
173
|
+
/** Narrow an arbitrary `ssh -G` value to a {@link SSHStrictHostKeyChecking}. */
|
|
174
|
+
export declare function isSSHStrictHostKeyChecking(value: string): value is SSHStrictHostKeyChecking;
|
|
71
175
|
/**
|
|
72
176
|
* Resolved SSH configuration for a host, obtained from `ssh -G`.
|
|
73
177
|
*/
|
|
@@ -78,6 +182,16 @@ export interface ISSHResolvedConfig {
|
|
|
78
182
|
readonly identityFile: string[];
|
|
79
183
|
readonly identityAgent: string | undefined;
|
|
80
184
|
readonly forwardAgent: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* `UserKnownHostsFile` paths, in priority order. `ssh -G` emits these as a
|
|
187
|
+
* single space-separated list, so this is already split. Typically
|
|
188
|
+
* `~/.ssh/known_hosts` and `~/.ssh/known_hosts2`.
|
|
189
|
+
*/
|
|
190
|
+
readonly userKnownHostsFiles: string[];
|
|
191
|
+
/** `GlobalKnownHostsFile` paths, e.g. `/etc/ssh/ssh_known_hosts`. */
|
|
192
|
+
readonly globalKnownHostsFiles: string[];
|
|
193
|
+
/** Resolved and normalized `StrictHostKeyChecking`, when recognized. */
|
|
194
|
+
readonly strictHostKeyChecking: SSHStrictHostKeyChecking | undefined;
|
|
81
195
|
}
|
|
82
196
|
export interface ISSHConnectProgress {
|
|
83
197
|
readonly connectionKey: string;
|
|
@@ -110,3 +224,132 @@ export interface ISSHKeyboardInteractiveRequest {
|
|
|
110
224
|
readonly instructions: string;
|
|
111
225
|
readonly prompts: readonly ISSHKeyboardInteractivePrompt[];
|
|
112
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* One live remote agent host endpoint the user could connect to, as
|
|
229
|
+
* surfaced by `code agent endpoints` on the remote machine. Deliberately
|
|
230
|
+
* excludes the raw {@link AgentHostEndpointAddress} details that aren't
|
|
231
|
+
* useful for disambiguation (e.g. a socket path) but keeps enough
|
|
232
|
+
* (server type, PID, quality, and a display form of the address) for the
|
|
233
|
+
* renderer to build a fully localized, accessible label without needing
|
|
234
|
+
* any pre-formatted string from the main process.
|
|
235
|
+
*/
|
|
236
|
+
export interface ISSHEndpointCandidate {
|
|
237
|
+
readonly type: AgentHostServerType;
|
|
238
|
+
readonly pid: number;
|
|
239
|
+
readonly instanceId: string;
|
|
240
|
+
readonly quality?: string;
|
|
241
|
+
readonly endpoint: AgentHostEndpointAddress;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Request from the main process for the renderer to choose which live
|
|
245
|
+
* remote agent host endpoint (or "start a new one") to connect to. Fired
|
|
246
|
+
* when the shared endpoint registry on the remote host contains at least
|
|
247
|
+
* one `editor`-owned entry, since in that case silent reuse could steal a
|
|
248
|
+
* session out from under another open editor window. The renderer is
|
|
249
|
+
* expected to respond with {@link ISSHRemoteAgentHostMainService.respondEndpointSelection}.
|
|
250
|
+
*/
|
|
251
|
+
export interface ISSHEndpointSelectionRequest {
|
|
252
|
+
readonly requestId: string;
|
|
253
|
+
readonly connectionKey: string;
|
|
254
|
+
/** Display-friendly host (e.g. SSH config alias or `user@host`). */
|
|
255
|
+
readonly displayHost: string;
|
|
256
|
+
/** Every live endpoint on the remote, both `editor`- and `standalone`-owned. */
|
|
257
|
+
readonly candidates: readonly ISSHEndpointCandidate[];
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* The renderer's answer to an {@link ISSHEndpointSelectionRequest}: either
|
|
261
|
+
* attach to one of the offered live candidates (identified by its identity
|
|
262
|
+
* triple, since PIDs alone are not stable across reuse), or spawn a new
|
|
263
|
+
* dedicated standalone agent host.
|
|
264
|
+
*/
|
|
265
|
+
export type ISSHEndpointSelection = {
|
|
266
|
+
readonly kind: "candidate";
|
|
267
|
+
readonly type: AgentHostServerType;
|
|
268
|
+
readonly pid: number;
|
|
269
|
+
readonly instanceId: string;
|
|
270
|
+
} | {
|
|
271
|
+
readonly kind: "spawn";
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* What the user's `known_hosts` files say about a presented host key. Mirrors
|
|
275
|
+
* `KnownHostsMatch` in `../node/sshKnownHosts.js`, redeclared here because
|
|
276
|
+
* this common-layer module cannot import from `node`.
|
|
277
|
+
*/
|
|
278
|
+
export type SSHKnownHostsMatch = "match" | "mismatch" | "revoked" | "ca-only" | "unknown";
|
|
279
|
+
/**
|
|
280
|
+
* Error name for a connect attempt refused because the server's host key was
|
|
281
|
+
* not trusted. Matching on the name (rather than `instanceof`) is deliberate:
|
|
282
|
+
* the error is raised in the shared process and inspected in the renderer, and
|
|
283
|
+
* only `name`/`message` survive IPC serialization.
|
|
284
|
+
*/
|
|
285
|
+
export declare const SSH_HOST_KEY_DENIED_ERROR_NAME = "SSHHostKeyDenied";
|
|
286
|
+
/**
|
|
287
|
+
* Raised when host key verification refused the connection.
|
|
288
|
+
*
|
|
289
|
+
* The host key UI owns the conversation about *why* — either the user
|
|
290
|
+
* declined the prompt themselves, or a specific, actionable notification
|
|
291
|
+
* (with a "Forget Saved Host Key" action) is already on screen. Callers should
|
|
292
|
+
* therefore not add a generic "failed to connect" error on top; see
|
|
293
|
+
* {@link isSSHHostKeyDeniedError}.
|
|
294
|
+
*/
|
|
295
|
+
export declare class SSHHostKeyDeniedError extends Error {
|
|
296
|
+
constructor(displayHost: string);
|
|
297
|
+
}
|
|
298
|
+
/** Whether `error` is an {@link SSHHostKeyDeniedError}, including across IPC. */
|
|
299
|
+
export declare function isSSHHostKeyDeniedError(error: unknown): boolean;
|
|
300
|
+
/**
|
|
301
|
+
* Request from the shared process for the renderer to decide whether a
|
|
302
|
+
* server's host key should be trusted. Fired from ssh2's `hostVerifier` during
|
|
303
|
+
* key exchange — that is, *before* authentication — so declining guarantees no
|
|
304
|
+
* password or SSH agent access is ever exposed to an unverified server.
|
|
305
|
+
*
|
|
306
|
+
* The shared process only gathers evidence ({@link knownHostsMatch} and the
|
|
307
|
+
* fingerprint); the renderer owns the actual policy, since it holds the trust
|
|
308
|
+
* store and the UI. The renderer must answer via
|
|
309
|
+
* {@link ISSHRemoteAgentHostMainService.respondHostKeyVerification} with the
|
|
310
|
+
* same `requestId`, otherwise the connection stalls until the deadline.
|
|
311
|
+
*
|
|
312
|
+
* (`ISSHRemoteAgentHostMainService` is a misnomer inherited from its siblings:
|
|
313
|
+
* it and the WSL/tunnel equivalents are all registered in `sharedProcessMain`,
|
|
314
|
+
* so they run in the shared process, not the main process.)
|
|
315
|
+
*/
|
|
316
|
+
export interface ISSHHostKeyVerificationRequest {
|
|
317
|
+
readonly requestId: string;
|
|
318
|
+
readonly connectionKey: string;
|
|
319
|
+
/** Display-friendly host (e.g. SSH config alias or `user@host`). */
|
|
320
|
+
readonly displayHost: string;
|
|
321
|
+
/** Resolved hostname the key was presented for. */
|
|
322
|
+
readonly host: string;
|
|
323
|
+
readonly port: number;
|
|
324
|
+
/** Host key algorithm, e.g. `ssh-ed25519`. */
|
|
325
|
+
readonly keyType: string;
|
|
326
|
+
/** OpenSSH-style `SHA256:...` fingerprint, matching `ssh-keygen -lf`. */
|
|
327
|
+
readonly fingerprint: string;
|
|
328
|
+
/** What the user's `known_hosts` files say about this key. */
|
|
329
|
+
readonly knownHostsMatch: SSHKnownHostsMatch;
|
|
330
|
+
/** Resolved `StrictHostKeyChecking` from `ssh -G`, when recognized. */
|
|
331
|
+
readonly strictHostKeyChecking?: SSHStrictHostKeyChecking;
|
|
332
|
+
/**
|
|
333
|
+
* Whether the owning connect attempt was directly requested by the user.
|
|
334
|
+
* Background reconnects must never open a modal, so an unknown host key on
|
|
335
|
+
* a silent reconnect is declined rather than prompted for.
|
|
336
|
+
*/
|
|
337
|
+
readonly userInitiated: boolean;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* A host key proven to belong to an already-authenticated server, delivered
|
|
341
|
+
* via OpenSSH's `UpdateHostKeys` extension (`hostkeys-00@openssh.com`). ssh2
|
|
342
|
+
* completes the `hostkeys-prove-00@openssh.com` challenge and verifies the
|
|
343
|
+
* signatures before surfacing these, so they can be trusted without prompting
|
|
344
|
+
* — this is what lets a legitimate server key rotation be picked up silently
|
|
345
|
+
* instead of surfacing as a scary mismatch.
|
|
346
|
+
*/
|
|
347
|
+
export interface ISSHHostKeysAnnouncement {
|
|
348
|
+
readonly connectionKey: string;
|
|
349
|
+
readonly host: string;
|
|
350
|
+
readonly port: number;
|
|
351
|
+
readonly keys: readonly {
|
|
352
|
+
readonly keyType: string;
|
|
353
|
+
readonly fingerprint: string;
|
|
354
|
+
}[];
|
|
355
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Event } from "../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../base/common/uri.js";
|
|
3
|
-
import {
|
|
3
|
+
import { RemoteAgentHostLocationPreference } from "./remoteAgentHostLocationPreference.js";
|
|
4
|
+
import { ISSHConnectProgress, ISSHAgentHostConnection, ISSHAgentHostConfig, ISSHResolvedConfig, type IRelayMessage, type ISSHConnectResult, type ISSHEndpointSelection, type ISSHEndpointSelectionRequest, type ISSHHostKeysAnnouncement, type ISSHHostKeyVerificationRequest, type ISSHKeyboardInteractiveRequest } from "./sshRemoteAgentHost.js";
|
|
4
5
|
export declare const ISSHRemoteAgentHostService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ISSHRemoteAgentHostService>;
|
|
5
6
|
/**
|
|
6
7
|
* Manages SSH connections that bootstrap a remote agent host process.
|
|
@@ -25,15 +26,15 @@ export interface ISSHRemoteAgentHostService {
|
|
|
25
26
|
* 2. Downloads and installs the VS Code CLI if needed
|
|
26
27
|
* 3. Starts `code agent-host`
|
|
27
28
|
* 4. Creates a WebSocket relay over the SSH channel
|
|
28
|
-
* 5.
|
|
29
|
+
* 5. Waits for {@link IRemoteAgentHostService} to complete the protocol handshake
|
|
29
30
|
*
|
|
30
31
|
* Resolves with the connection handle once the agent host is reachable.
|
|
31
32
|
*/
|
|
32
33
|
connect(config: ISSHAgentHostConfig): Promise<ISSHAgentHostConnection>;
|
|
33
34
|
/**
|
|
34
35
|
* Disconnect an SSH-bootstrapped connection by host address.
|
|
35
|
-
* Tears down the SSH tunnel, stops the remote agent host, and
|
|
36
|
-
*
|
|
36
|
+
* Tears down the SSH tunnel, stops the remote agent host, and removes its
|
|
37
|
+
* persisted SSH entry.
|
|
37
38
|
*/
|
|
38
39
|
disconnect(host: string): Promise<void>;
|
|
39
40
|
/** List SSH config host aliases (excluding wildcards). */
|
|
@@ -54,9 +55,14 @@ export interface ISSHRemoteAgentHostService {
|
|
|
54
55
|
resolveSSHConfig(host: string): Promise<ISSHResolvedConfig>;
|
|
55
56
|
/**
|
|
56
57
|
* Re-establish an SSH tunnel on startup for a previously connected host.
|
|
57
|
-
*
|
|
58
|
+
* Resolves once the service-owned protocol connection is ready.
|
|
59
|
+
*
|
|
60
|
+
* @param userInitiated See {@link ISSHAgentHostConfig.userInitiated}.
|
|
61
|
+
* Defaults to `true` (picker-eligible) when omitted; background/auto
|
|
62
|
+
* reconnect callers must pass `false` explicitly to guarantee no picker
|
|
63
|
+
* ever opens and no `editor` endpoint is ever silently chosen.
|
|
58
64
|
*/
|
|
59
|
-
reconnect(sshConfigHost: string, name: string): Promise<ISSHAgentHostConnection>;
|
|
65
|
+
reconnect(sshConfigHost: string, name: string, userInitiated?: boolean): Promise<ISSHAgentHostConnection>;
|
|
60
66
|
}
|
|
61
67
|
/**
|
|
62
68
|
* Main-process service that performs the actual SSH work.
|
|
@@ -80,7 +86,7 @@ export interface ISSHRemoteAgentHostMainService {
|
|
|
80
86
|
* Fires when the SSH server requests keyboard-interactive auth (typically
|
|
81
87
|
* a password prompt). The renderer must answer via {@link respondKeyboardInteractive}
|
|
82
88
|
* with the same `requestId`, otherwise the auth attempt will hang until the
|
|
83
|
-
* SSH
|
|
89
|
+
* SSH handshake deadline elapses.
|
|
84
90
|
*/
|
|
85
91
|
readonly onDidRequestKeyboardInteractive: Event<ISSHKeyboardInteractiveRequest>;
|
|
86
92
|
/**
|
|
@@ -96,6 +102,51 @@ export interface ISSHRemoteAgentHostMainService {
|
|
|
96
102
|
*/
|
|
97
103
|
respondKeyboardInteractive(requestId: string, responses: readonly string[] | undefined): Promise<void>;
|
|
98
104
|
/**
|
|
105
|
+
* Fires when connect() discovers at least one live `editor`-owned
|
|
106
|
+
* endpoint on the remote and needs the renderer to choose which
|
|
107
|
+
* live endpoint (or "spawn new") to connect to. The renderer must
|
|
108
|
+
* answer via {@link respondEndpointSelection} with the same `requestId`.
|
|
109
|
+
*/
|
|
110
|
+
readonly onDidRequestEndpointSelection: Event<ISSHEndpointSelectionRequest>;
|
|
111
|
+
/**
|
|
112
|
+
* Fires when a previously requested endpoint selection is no longer
|
|
113
|
+
* needed (e.g. the owning connect attempt failed or was aborted). The
|
|
114
|
+
* renderer should dismiss any picker UI it opened for `requestId`.
|
|
115
|
+
*/
|
|
116
|
+
readonly onDidCancelEndpointSelection: Event<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Provide the user's answer to a previously fired endpoint-selection
|
|
119
|
+
* request. Pass `undefined` when the user cancels the picker; this
|
|
120
|
+
* aborts the owning connect attempt with a cancellation error.
|
|
121
|
+
*/
|
|
122
|
+
respondEndpointSelection(requestId: string, selection: ISSHEndpointSelection | undefined): Promise<void>;
|
|
123
|
+
/**
|
|
124
|
+
* Fires when a server presents a host key during key exchange and the
|
|
125
|
+
* renderer must decide whether to trust it. Answering is mandatory: until
|
|
126
|
+
* {@link respondHostKeyVerification} is called with the same `requestId`,
|
|
127
|
+
* the SSH handshake is suspended.
|
|
128
|
+
*/
|
|
129
|
+
readonly onDidRequestHostKeyVerification: Event<ISSHHostKeyVerificationRequest>;
|
|
130
|
+
/**
|
|
131
|
+
* Fires when a previously requested host key verification is no longer
|
|
132
|
+
* needed (e.g. the owning connect attempt failed or was aborted). The
|
|
133
|
+
* renderer should dismiss any UI it opened for `requestId`.
|
|
134
|
+
*/
|
|
135
|
+
readonly onDidCancelHostKeyVerification: Event<string>;
|
|
136
|
+
/**
|
|
137
|
+
* Provide the user's trust decision for a previously fired host key
|
|
138
|
+
* verification request. Passing `false` fails the key exchange, which
|
|
139
|
+
* tears the connection down before any authentication is attempted.
|
|
140
|
+
*/
|
|
141
|
+
respondHostKeyVerification(requestId: string, trusted: boolean): Promise<void>;
|
|
142
|
+
/**
|
|
143
|
+
* Fires when a server announces its full set of host keys over an
|
|
144
|
+
* already-authenticated connection. See {@link ISSHHostKeysAnnouncement} —
|
|
145
|
+
* these keys are cryptographically proven, so consumers can persist them
|
|
146
|
+
* without prompting.
|
|
147
|
+
*/
|
|
148
|
+
readonly onDidAnnounceHostKeys: Event<ISSHHostKeysAnnouncement>;
|
|
149
|
+
/**
|
|
99
150
|
* Bootstrap a remote agent host over SSH. Returns serializable
|
|
100
151
|
* connection info for the renderer to register.
|
|
101
152
|
*/
|
|
@@ -123,6 +174,12 @@ export interface ISSHRemoteAgentHostMainService {
|
|
|
123
174
|
* Re-establish an SSH tunnel for a previously connected host.
|
|
124
175
|
* Resolves the SSH config alias, connects, and returns fresh
|
|
125
176
|
* connection info with a new local forwarded port.
|
|
177
|
+
*
|
|
178
|
+
* @param userInitiated See {@link ISSHAgentHostConfig.userInitiated}.
|
|
179
|
+
* Defaults to `true` (picker-eligible) when omitted.
|
|
180
|
+
* @param preferredAgentLocation See {@link ISSHAgentHostConfig.preferredAgentLocation}.
|
|
181
|
+
* The renderer computes this from its stored preference for this host's
|
|
182
|
+
* {@link computeSSHConnectionKey stable key} before calling reconnect.
|
|
126
183
|
*/
|
|
127
|
-
reconnect(sshConfigHost: string, name: string, remoteAgentHostCommand?: string, agentForward?: boolean): Promise<ISSHConnectResult>;
|
|
184
|
+
reconnect(sshConfigHost: string, name: string, remoteAgentHostCommand?: string, agentForward?: boolean, userInitiated?: boolean, preferredAgentLocation?: RemoteAgentHostLocationPreference): Promise<ISSHConnectResult>;
|
|
128
185
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type ActionEnvelope, type ChatErrorAction, type StateAction } from "./protocol/actions.js";
|
|
2
|
+
import { type ChatState, type ErrorInfo, type Turn } from "./protocol/state.js";
|
|
3
|
+
interface ILegacyChatErrorAction extends Omit<ChatErrorAction, "part"> {
|
|
4
|
+
readonly error: ErrorInfo;
|
|
5
|
+
}
|
|
6
|
+
type CompatibleTurn = Turn | (Turn & {
|
|
7
|
+
readonly error: ErrorInfo;
|
|
8
|
+
});
|
|
9
|
+
type CompatibleActionEnvelope = Omit<ActionEnvelope, "action"> & {
|
|
10
|
+
readonly action: StateAction | ILegacyChatErrorAction;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Reads the top-level error field emitted by AHP hosts before durable error
|
|
14
|
+
* response parts were introduced.
|
|
15
|
+
*/
|
|
16
|
+
export declare function readLegacyTurnError(turn: CompatibleTurn): ErrorInfo | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Moves a legacy completed-turn error into its durable response-part position.
|
|
19
|
+
*/
|
|
20
|
+
export declare function normalizeLegacyTurnError(turn: CompatibleTurn): Turn;
|
|
21
|
+
/**
|
|
22
|
+
* Normalizes legacy completed-turn errors in a chat snapshot.
|
|
23
|
+
*/
|
|
24
|
+
export declare function normalizeLegacyChatStateErrors(state: ChatState): ChatState;
|
|
25
|
+
/**
|
|
26
|
+
* Normalizes legacy error payloads before a server action reaches reducers or
|
|
27
|
+
* action observers.
|
|
28
|
+
*/
|
|
29
|
+
export declare function normalizeLegacyActionEnvelope(envelope: CompatibleActionEnvelope): ActionEnvelope;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
|
|
2
|
+
import { hasKey } from '../../../../base/common/types.js';
|
|
3
|
+
import { ActionType } from './protocol/common/actions.js';
|
|
4
|
+
import './protocol/channels-root/state.js';
|
|
5
|
+
import './protocol/channels-session/state.js';
|
|
6
|
+
import { TurnState, ResponsePartKind } from './protocol/channels-chat/state.js';
|
|
7
|
+
import './protocol/channels-terminal/state.js';
|
|
8
|
+
import './protocol/channels-changeset/state.js';
|
|
9
|
+
import './protocol/channels-resource-watch/state.js';
|
|
10
|
+
import './protocol/channels-automation/state.js';
|
|
11
|
+
import './protocol/channels-automation-run/state.js';
|
|
12
|
+
|
|
13
|
+
function readLegacyTurnError(turn) {
|
|
14
|
+
if (!hasKey(turn, {
|
|
15
|
+
error: true
|
|
16
|
+
})) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
return turn.error;
|
|
20
|
+
}
|
|
21
|
+
function normalizeLegacyTurnError(turn) {
|
|
22
|
+
if (turn.state !== TurnState.Error || !hasKey(turn, {
|
|
23
|
+
error: true
|
|
24
|
+
})) {
|
|
25
|
+
return turn;
|
|
26
|
+
}
|
|
27
|
+
const {
|
|
28
|
+
error,
|
|
29
|
+
...normalizedTurn
|
|
30
|
+
} = turn;
|
|
31
|
+
const finalPart = turn.responseParts[turn.responseParts.length - 1];
|
|
32
|
+
return {
|
|
33
|
+
...normalizedTurn,
|
|
34
|
+
responseParts: finalPart?.kind === ResponsePartKind.Error ? turn.responseParts : [...turn.responseParts, {
|
|
35
|
+
kind: ResponsePartKind.Error,
|
|
36
|
+
error
|
|
37
|
+
}]
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function normalizeLegacyChatStateErrors(state) {
|
|
41
|
+
const turns = ( state.turns.map(normalizeLegacyTurnError));
|
|
42
|
+
return ( turns.some((turn, index) => turn !== state.turns[index])) ? {
|
|
43
|
+
...state,
|
|
44
|
+
turns
|
|
45
|
+
} : state;
|
|
46
|
+
}
|
|
47
|
+
function normalizeLegacyActionEnvelope(envelope) {
|
|
48
|
+
const action = envelope.action;
|
|
49
|
+
switch (action.type) {
|
|
50
|
+
case ActionType.ChatError:
|
|
51
|
+
if (hasKey(action, {
|
|
52
|
+
error: true
|
|
53
|
+
})) {
|
|
54
|
+
const {
|
|
55
|
+
error,
|
|
56
|
+
...normalizedAction
|
|
57
|
+
} = action;
|
|
58
|
+
return {
|
|
59
|
+
...envelope,
|
|
60
|
+
action: {
|
|
61
|
+
...normalizedAction,
|
|
62
|
+
part: {
|
|
63
|
+
kind: ResponsePartKind.Error,
|
|
64
|
+
error
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
...envelope,
|
|
71
|
+
action
|
|
72
|
+
};
|
|
73
|
+
case ActionType.ChatTurnsLoaded:
|
|
74
|
+
{
|
|
75
|
+
const turns = ( action.turns.map(normalizeLegacyTurnError));
|
|
76
|
+
return ( turns.some((turn, index) => turn !== action.turns[index])) ? {
|
|
77
|
+
...envelope,
|
|
78
|
+
action: {
|
|
79
|
+
...action,
|
|
80
|
+
turns
|
|
81
|
+
}
|
|
82
|
+
} : {
|
|
83
|
+
...envelope,
|
|
84
|
+
action
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
default:
|
|
88
|
+
return {
|
|
89
|
+
...envelope,
|
|
90
|
+
action
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export { normalizeLegacyActionEnvelope, normalizeLegacyChatStateErrors, normalizeLegacyTurnError, readLegacyTurnError };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StateAction, type RootAgentsChangedAction, type RootActiveSessionsChangedAction, type RootTerminalsChangedAction, type RootConfigChangedAction, type SessionReadyAction, type SessionCreationFailedAction, type SessionChatAddedAction, type SessionChatRemovedAction, type SessionChatUpdatedAction, type SessionDefaultChatChangedAction, type SessionTitleChangedAction, type SessionServerToolsChangedAction, type SessionActiveClientSetAction, type SessionActiveClientRemovedAction, type SessionInputNeededSetAction, type SessionInputNeededRemovedAction, type SessionCustomizationsChangedAction, type SessionCustomizationToggledAction, type SessionCustomizationUpdatedAction, type SessionCustomizationRemovedAction, type SessionMcpServerStateChangedAction, type SessionIsReadChangedAction, type SessionIsArchivedChangedAction, type SessionActivityChangedAction, type SessionChangesetsChangedAction, type SessionConfigChangedAction, type SessionMetaChangedAction, type ChatTurnStartedAction, type ChatDeltaAction, type ChatResponsePartAction, type ChatToolCallStartAction, type ChatToolCallDeltaAction, type ChatToolCallReadyAction, type ChatToolCallConfirmedAction, type ChatToolCallCompleteAction, type ChatToolCallResultConfirmedAction, type ChatToolCallContentChangedAction, type ChatTurnCompleteAction, type ChatTurnCancelledAction, type ChatErrorAction, type ChatActivityChangedAction, type ChatUsageAction, type ChatReasoningAction, type ChatPendingMessageSetAction, type ChatPendingMessageRemovedAction, type ChatQueuedMessagesReorderedAction, type ChatDraftChangedAction, type ChatInputRequestedAction, type ChatInputAnswerChangedAction, type ChatInputCompletedAction, type ChatTruncatedAction, type ChangesetStatusChangedAction, type ChangesetFileSetAction, type ChangesetFileRemovedAction, type ChangesetContentChangedAction, type ChangesetOperationsChangedAction, type ChangesetOperationStatusChangedAction, type ChangesetClearedAction, type AnnotationsSetAction, type AnnotationsUpdatedAction, type AnnotationsRemovedAction, type AnnotationsEntrySetAction, type AnnotationsEntryRemovedAction, type TerminalDataAction, type TerminalInputAction, type TerminalResizedAction, type TerminalClaimedAction, type TerminalTitleChangedAction, type TerminalCwdChangedAction, type TerminalExitedAction, type TerminalClearedAction, type TerminalCommandDetectionAvailableAction, type TerminalCommandExecutedAction, type TerminalCommandFinishedAction, type ResourceWatchChangedAction } from "./actions.js";
|
|
1
|
+
import { type StateAction, type RootAgentsChangedAction, type RootActiveSessionsChangedAction, type RootTerminalsChangedAction, type RootConfigChangedAction, type SessionReadyAction, type SessionCreationFailedAction, type SessionChatAddedAction, type SessionChatRemovedAction, type SessionChatUpdatedAction, type SessionDefaultChatChangedAction, type SessionTitleChangedAction, type SessionServerToolsChangedAction, type SessionActiveClientSetAction, type SessionActiveClientRemovedAction, type SessionWorkingDirectorySetAction, type SessionWorkingDirectoryRemovedAction, type SessionWorkingDirectoryReplacedAction, type SessionInputNeededSetAction, type SessionInputNeededRemovedAction, type SessionCustomizationsChangedAction, type SessionCustomizationToggledAction, type SessionCustomizationUpdatedAction, type SessionCustomizationRemovedAction, type SessionMcpServerStateChangedAction, type SessionMcpServerStartRequestedAction, type SessionMcpServerStopRequestedAction, type SessionIsReadChangedAction, type SessionIsArchivedChangedAction, type SessionActivityChangedAction, type SessionChangesetsChangedAction, type SessionConfigChangedAction, type SessionMetaChangedAction, type ChatTurnStartedAction, type ChatDeltaAction, type ChatResponsePartAction, type ChatToolCallStartAction, type ChatToolCallDeltaAction, type ChatToolCallReadyAction, type ChatToolCallConfirmedAction, type ChatToolCallCompleteAction, type ChatToolCallResultConfirmedAction, type ChatToolCallContentChangedAction, type ChatToolCallAuthRequiredAction, type ChatToolCallAuthResolvedAction, type ChatTurnCompleteAction, type ChatTurnCancelledAction, type ChatErrorAction, type ChatTurnResumeAction, type ChatActivityChangedAction, type ChatWorkingDirectorySetAction, type ChatWorkingDirectoryRemovedAction, type ChatUsageAction, type ChatReasoningAction, type ChatPendingMessageSetAction, type ChatPendingMessageRemovedAction, type ChatQueuedMessagesReorderedAction, type ChatDraftChangedAction, type ChatInputRequestedAction, type ChatInputAnswerChangedAction, type ChatInputCompletedAction, type ChatTruncatedAction, type ChatTurnsLoadedAction, type ChangesetStatusChangedAction, type ChangesetFileSetAction, type ChangesetFileRemovedAction, type ChangesetFilesReviewChangedAction, type ChangesetContentChangedAction, type ChangesetOperationsChangedAction, type ChangesetOperationStatusChangedAction, type ChangesetClearedAction, type AnnotationsSetAction, type AnnotationsUpdatedAction, type AnnotationsRemovedAction, type AnnotationsEntrySetAction, type AnnotationsEntryRemovedAction, type TerminalDataAction, type TerminalInputAction, type TerminalResizedAction, type TerminalClaimedAction, type TerminalTitleChangedAction, type TerminalCwdChangedAction, type TerminalExitedAction, type TerminalClearedAction, type TerminalCommandDetectionAvailableAction, type TerminalCommandExecutedAction, type TerminalCommandFinishedAction, type ResourceWatchChangedAction, type AutomationCreateRequestedAction, type AutomationUpdateRequestedAction, type AutomationSetAction, type AutomationRemovedAction, type AutomationRunLifecycleChangedAction, type AutomationRunSessionSetAction, type AutomationRunSessionRemovedAction, type AutomationRunPrimarySessionChangedAction, type AutomationRunCancelRequestedAction } from "./actions.js";
|
|
2
2
|
/** Union of all root-scoped actions. */
|
|
3
3
|
export type RootAction = RootAgentsChangedAction | RootActiveSessionsChangedAction | RootTerminalsChangedAction | RootConfigChangedAction;
|
|
4
4
|
/** Union of root actions that clients may dispatch. */
|
|
@@ -6,17 +6,17 @@ export type ClientRootAction = RootConfigChangedAction;
|
|
|
6
6
|
/** Union of root actions that only the server may produce. */
|
|
7
7
|
export type ServerRootAction = RootAgentsChangedAction | RootActiveSessionsChangedAction | RootTerminalsChangedAction;
|
|
8
8
|
/** Union of all session-scoped actions. */
|
|
9
|
-
export type SessionAction = SessionReadyAction | SessionCreationFailedAction | SessionChatAddedAction | SessionChatRemovedAction | SessionChatUpdatedAction | SessionDefaultChatChangedAction | SessionTitleChangedAction | SessionServerToolsChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionInputNeededSetAction | SessionInputNeededRemovedAction | SessionCustomizationsChangedAction | SessionCustomizationToggledAction | SessionCustomizationUpdatedAction | SessionCustomizationRemovedAction | SessionMcpServerStateChangedAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionActivityChangedAction | SessionChangesetsChangedAction | SessionConfigChangedAction | SessionMetaChangedAction;
|
|
9
|
+
export type SessionAction = SessionReadyAction | SessionCreationFailedAction | SessionChatAddedAction | SessionChatRemovedAction | SessionChatUpdatedAction | SessionDefaultChatChangedAction | SessionTitleChangedAction | SessionServerToolsChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionWorkingDirectorySetAction | SessionWorkingDirectoryRemovedAction | SessionWorkingDirectoryReplacedAction | SessionInputNeededSetAction | SessionInputNeededRemovedAction | SessionCustomizationsChangedAction | SessionCustomizationToggledAction | SessionCustomizationUpdatedAction | SessionCustomizationRemovedAction | SessionMcpServerStateChangedAction | SessionMcpServerStartRequestedAction | SessionMcpServerStopRequestedAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionActivityChangedAction | SessionChangesetsChangedAction | SessionConfigChangedAction | SessionMetaChangedAction;
|
|
10
10
|
/** Union of session actions that clients may dispatch. */
|
|
11
|
-
export type ClientSessionAction = SessionTitleChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionCustomizationToggledAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionConfigChangedAction;
|
|
11
|
+
export type ClientSessionAction = SessionTitleChangedAction | SessionActiveClientSetAction | SessionActiveClientRemovedAction | SessionWorkingDirectorySetAction | SessionWorkingDirectoryRemovedAction | SessionWorkingDirectoryReplacedAction | SessionCustomizationToggledAction | SessionMcpServerStartRequestedAction | SessionMcpServerStopRequestedAction | SessionIsReadChangedAction | SessionIsArchivedChangedAction | SessionConfigChangedAction;
|
|
12
12
|
/** Union of session actions that only the server may produce. */
|
|
13
13
|
export type ServerSessionAction = SessionReadyAction | SessionCreationFailedAction | SessionChatAddedAction | SessionChatRemovedAction | SessionChatUpdatedAction | SessionDefaultChatChangedAction | SessionServerToolsChangedAction | SessionInputNeededSetAction | SessionInputNeededRemovedAction | SessionCustomizationsChangedAction | SessionCustomizationUpdatedAction | SessionCustomizationRemovedAction | SessionMcpServerStateChangedAction | SessionActivityChangedAction | SessionChangesetsChangedAction | SessionMetaChangedAction;
|
|
14
14
|
/** Union of all chat-scoped actions. */
|
|
15
|
-
export type ChatAction = ChatTurnStartedAction | ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatTurnCompleteAction | ChatTurnCancelledAction | ChatErrorAction | ChatActivityChangedAction | ChatUsageAction | ChatReasoningAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputRequestedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction;
|
|
15
|
+
export type ChatAction = ChatTurnStartedAction | ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatToolCallAuthRequiredAction | ChatToolCallAuthResolvedAction | ChatTurnCompleteAction | ChatTurnCancelledAction | ChatErrorAction | ChatTurnResumeAction | ChatActivityChangedAction | ChatWorkingDirectorySetAction | ChatWorkingDirectoryRemovedAction | ChatUsageAction | ChatReasoningAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputRequestedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction | ChatTurnsLoadedAction;
|
|
16
16
|
/** Union of chat actions that clients may dispatch. */
|
|
17
|
-
export type ClientChatAction = ChatTurnStartedAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatTurnCancelledAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction;
|
|
17
|
+
export type ClientChatAction = ChatTurnStartedAction | ChatToolCallConfirmedAction | ChatToolCallCompleteAction | ChatToolCallResultConfirmedAction | ChatToolCallContentChangedAction | ChatTurnCancelledAction | ChatTurnResumeAction | ChatWorkingDirectorySetAction | ChatWorkingDirectoryRemovedAction | ChatPendingMessageSetAction | ChatPendingMessageRemovedAction | ChatQueuedMessagesReorderedAction | ChatDraftChangedAction | ChatInputAnswerChangedAction | ChatInputCompletedAction | ChatTruncatedAction;
|
|
18
18
|
/** Union of chat actions that only the server may produce. */
|
|
19
|
-
export type ServerChatAction = ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatTurnCompleteAction | ChatErrorAction | ChatActivityChangedAction | ChatUsageAction | ChatReasoningAction | ChatInputRequestedAction;
|
|
19
|
+
export type ServerChatAction = ChatDeltaAction | ChatResponsePartAction | ChatToolCallStartAction | ChatToolCallDeltaAction | ChatToolCallReadyAction | ChatToolCallAuthRequiredAction | ChatToolCallAuthResolvedAction | ChatTurnCompleteAction | ChatErrorAction | ChatActivityChangedAction | ChatUsageAction | ChatReasoningAction | ChatInputRequestedAction | ChatTurnsLoadedAction;
|
|
20
20
|
/** Union of all terminal-scoped actions. */
|
|
21
21
|
export type TerminalAction = TerminalDataAction | TerminalInputAction | TerminalResizedAction | TerminalClaimedAction | TerminalTitleChangedAction | TerminalCwdChangedAction | TerminalExitedAction | TerminalClearedAction | TerminalCommandDetectionAvailableAction | TerminalCommandExecutedAction | TerminalCommandFinishedAction;
|
|
22
22
|
/** Union of terminal actions that clients may dispatch. */
|
|
@@ -24,9 +24,9 @@ export type ClientTerminalAction = TerminalInputAction | TerminalResizedAction |
|
|
|
24
24
|
/** Union of terminal actions that only the server may produce. */
|
|
25
25
|
export type ServerTerminalAction = TerminalDataAction | TerminalCwdChangedAction | TerminalExitedAction | TerminalCommandDetectionAvailableAction | TerminalCommandExecutedAction | TerminalCommandFinishedAction;
|
|
26
26
|
/** Union of all changeset-scoped actions. */
|
|
27
|
-
export type ChangesetAction = ChangesetStatusChangedAction | ChangesetFileSetAction | ChangesetFileRemovedAction | ChangesetContentChangedAction | ChangesetOperationsChangedAction | ChangesetOperationStatusChangedAction | ChangesetClearedAction;
|
|
27
|
+
export type ChangesetAction = ChangesetStatusChangedAction | ChangesetFileSetAction | ChangesetFileRemovedAction | ChangesetFilesReviewChangedAction | ChangesetContentChangedAction | ChangesetOperationsChangedAction | ChangesetOperationStatusChangedAction | ChangesetClearedAction;
|
|
28
28
|
/** Union of changeset actions that clients may dispatch. */
|
|
29
|
-
export type ClientChangesetAction =
|
|
29
|
+
export type ClientChangesetAction = ChangesetFilesReviewChangedAction;
|
|
30
30
|
/** Union of changeset actions that only the server may produce. */
|
|
31
31
|
export type ServerChangesetAction = ChangesetStatusChangedAction | ChangesetFileSetAction | ChangesetFileRemovedAction | ChangesetContentChangedAction | ChangesetOperationsChangedAction | ChangesetOperationStatusChangedAction | ChangesetClearedAction;
|
|
32
32
|
/** Union of all annotations-scoped actions. */
|
|
@@ -41,6 +41,18 @@ export type ResourceWatchAction = ResourceWatchChangedAction;
|
|
|
41
41
|
export type ClientResourceWatchAction = never;
|
|
42
42
|
/** Union of resource-watch actions that only the server may produce. */
|
|
43
43
|
export type ServerResourceWatchAction = ResourceWatchChangedAction;
|
|
44
|
+
/** Union of all automation-scoped actions. */
|
|
45
|
+
export type AutomationAction = AutomationCreateRequestedAction | AutomationUpdateRequestedAction | AutomationSetAction | AutomationRemovedAction;
|
|
46
|
+
/** Union of automation actions that clients may dispatch. */
|
|
47
|
+
export type ClientAutomationAction = AutomationCreateRequestedAction | AutomationUpdateRequestedAction | AutomationRemovedAction;
|
|
48
|
+
/** Union of automation actions that only the server may produce. */
|
|
49
|
+
export type ServerAutomationAction = AutomationSetAction;
|
|
50
|
+
/** Union of all automation-run-scoped actions. */
|
|
51
|
+
export type AutomationRunAction = AutomationRunLifecycleChangedAction | AutomationRunSessionSetAction | AutomationRunSessionRemovedAction | AutomationRunPrimarySessionChangedAction | AutomationRunCancelRequestedAction;
|
|
52
|
+
/** Union of automation-run actions that clients may dispatch. */
|
|
53
|
+
export type ClientAutomationRunAction = AutomationRunCancelRequestedAction;
|
|
54
|
+
/** Union of automation-run actions that only the server may produce. */
|
|
55
|
+
export type ServerAutomationRunAction = AutomationRunLifecycleChangedAction | AutomationRunSessionSetAction | AutomationRunSessionRemovedAction | AutomationRunPrimarySessionChangedAction;
|
|
44
56
|
/**
|
|
45
57
|
* Exhaustive map indicating which action types may be dispatched by clients.
|
|
46
58
|
* Adding a new action to StateAction without adding it here is a compile error.
|
|
@@ -6,3 +6,5 @@ export * from "./channels-terminal/actions.js";
|
|
|
6
6
|
export * from "./channels-changeset/actions.js";
|
|
7
7
|
export * from "./channels-annotations/actions.js";
|
|
8
8
|
export * from "./channels-resource-watch/actions.js";
|
|
9
|
+
export * from "./channels-automation/actions.js";
|
|
10
|
+
export * from "./channels-automation-run/actions.js";
|
package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/actions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionType } from "../common/actions.js";
|
|
2
2
|
import type { URI, TextRange } from "../common/state.js";
|
|
3
|
-
import type { AnnotationEntry, Annotation } from "./state.js";
|
|
3
|
+
import type { AnnotationEntry, Annotation, AnnotationOrigin } from "./state.js";
|
|
4
4
|
/**
|
|
5
5
|
* Upsert an {@link Annotation} in the annotations channel — adds a new
|
|
6
6
|
* annotation, or replaces an existing one identified by
|
|
@@ -50,12 +50,8 @@ export interface AnnotationsUpdatedAction {
|
|
|
50
50
|
type: ActionType.AnnotationsUpdated;
|
|
51
51
|
/** The {@link Annotation.id} of the annotation to update. */
|
|
52
52
|
annotationId: string;
|
|
53
|
-
/**
|
|
54
|
-
|
|
55
|
-
* Matches a {@link Turn.id} on the owning session. Omit to leave the
|
|
56
|
-
* current {@link Annotation.turnId} unchanged.
|
|
57
|
-
*/
|
|
58
|
-
turnId?: string;
|
|
53
|
+
/** Replaces the annotation's provenance. Omit to leave it unchanged. */
|
|
54
|
+
origin?: AnnotationOrigin;
|
|
59
55
|
/**
|
|
60
56
|
* Re-anchors the annotation to this file. Omit to leave the current
|
|
61
57
|
* {@link Annotation.resource} unchanged.
|