@codingame/monaco-vscode-api 31.0.0 → 32.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/external/@vscode/tree-sitter-wasm/wasm/tree-sitter.js +14 -14
- package/external/vscode-semver/semver.js +43 -43
- package/external/vscode-textmate/release/main.js +1 -1
- package/missing-services.js +143 -47
- package/package.json +9 -9
- package/services.js +3 -3
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/animatedValue.d.ts +49 -0
- package/vscode/src/vs/{editor/contrib/inlineCompletions/browser/model/animation.js → base/browser/animatedValue.js} +32 -23
- package/vscode/src/vs/base/browser/dom.d.ts +42 -2
- package/vscode/src/vs/base/browser/dom.js +28 -3
- package/vscode/src/vs/base/browser/mouseEvent.js +2 -8
- package/vscode/src/vs/base/browser/overlayLayoutElement.d.ts +9 -6
- package/vscode/src/vs/base/browser/overlayLayoutElement.js +55 -90
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +3 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +11 -20
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +15 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +0 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +0 -3
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/common/async.d.ts +2 -0
- package/vscode/src/vs/base/common/async.js +8 -2
- package/vscode/src/vs/base/common/codicons.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
- package/vscode/src/vs/base/common/event.d.ts +9 -3
- package/vscode/src/vs/base/common/event.js +12 -7
- package/vscode/src/vs/base/common/filters.js +31 -6
- package/vscode/src/vs/base/common/htmlContent.d.ts +9 -0
- package/vscode/src/vs/base/common/network.js +2 -2
- package/vscode/src/vs/base/common/objects.d.ts +13 -0
- package/vscode/src/vs/base/common/objects.js +33 -1
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +26 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +24 -1
- package/vscode/src/vs/base/common/observableInternal/utils/promise.d.ts +13 -0
- package/vscode/src/vs/base/common/observableInternal/utils/promise.js +23 -1
- package/vscode/src/vs/base/common/paging.js +2 -66
- package/vscode/src/vs/base/common/platform.d.ts +0 -1
- package/vscode/src/vs/base/common/policy.d.ts +12 -1
- package/vscode/src/vs/base/common/product.d.ts +8 -6
- package/vscode/src/vs/base/common/resources.js +2 -2
- package/vscode/src/vs/base/common/yaml.d.ts +24 -0
- package/vscode/src/vs/base/common/yaml.js +6 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.d.ts +14 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +29 -1
- package/vscode/src/vs/base/parts/storage/common/storage.d.ts +13 -0
- package/vscode/src/vs/base/parts/storage/common/storage.js +48 -2
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.js +1 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +0 -3
- package/vscode/src/vs/editor/browser/editorDom.d.ts +6 -3
- package/vscode/src/vs/editor/browser/editorDom.js +9 -2
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +1 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +0 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +0 -3
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +56 -9
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +0 -3
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +0 -3
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +0 -3
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +0 -3
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +0 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +12 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +5 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +1 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +5 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +41 -13
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +73 -55
- package/vscode/src/vs/editor/common/config/editorOptions.js +371 -370
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
- package/vscode/src/vs/editor/common/editorContextKeys.js +49 -49
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.js +56 -56
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/services/languageService.js +2 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +50 -50
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +0 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +0 -3
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +18 -18
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/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 +13 -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 +17 -17
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +28 -28
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +13 -13
- 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/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 +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +18 -18
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +2 -2
- 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 +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +1 -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/middleScroll/browser/middleScrollController.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.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +39 -24
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +36 -24
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- 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.js +17 -17
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.d.ts +0 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +0 -6
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +5 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +52 -10
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +242 -90
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +97 -23
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +15 -12
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +6 -3
- package/vscode/src/vs/platform/actions/common/actions.js +18 -9
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.d.ts +2 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +6 -5
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +21 -18
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +11 -0
- package/vscode/src/vs/platform/agentHost/browser/nullSshRemoteAgentHostService.d.ts +3 -0
- package/vscode/src/vs/platform/agentHost/browser/nullSshRemoteAgentHostService.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostPermissionService.service.d.ts +47 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostPermissionService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +2 -2
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +63 -22
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +56 -6
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +49 -4
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +12 -1
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +21 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +14 -10
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +957 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.js +18 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/messages.d.ts +135 -71
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +1673 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.js +126 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +40 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.js +22 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +67 -38
- package/vscode/src/vs/platform/browserView/common/browserView.js +57 -0
- package/vscode/src/vs/platform/browserView/common/browserViewTelemetry.d.ts +2 -1
- package/vscode/src/vs/platform/browserView/common/playwrightService.service.d.ts +24 -7
- package/vscode/src/vs/platform/browserView/common/playwrightService.service.js +6 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +14 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/configuration/common/configurations.d.ts +2 -0
- package/vscode/src/vs/platform/configuration/common/configurations.js +8 -3
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +2 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +10 -10
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +6 -6
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +1 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +2 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +11 -0
- package/vscode/src/vs/platform/environment/common/argv.d.ts +4 -1
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environmentService.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +14 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -21
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +18 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +19 -1
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.js +15 -9
- package/vscode/src/vs/platform/hover/browser/hoverWidget.d.ts +1 -0
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +21 -4
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.d.ts +0 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -8
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +25 -25
- package/vscode/src/vs/platform/log/common/log.d.ts +7 -0
- package/vscode/src/vs/platform/log/common/log.js +38 -17
- 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/mcpManagementService.js +1 -1
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
- package/vscode/src/vs/platform/native/common/native.d.ts +2 -9
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.d.ts +5 -3
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/policy/common/policy.d.ts +8 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -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/quickTree.js +1 -1
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/sandbox/common/settings.d.ts +5 -1
- package/vscode/src/vs/platform/sandbox/common/settings.js +4 -0
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +8 -2
- package/vscode/src/vs/platform/storage/common/storage.d.ts +13 -1
- package/vscode/src/vs/platform/storage/common/storage.js +48 -0
- package/vscode/src/vs/platform/storage/common/storage.service.d.ts +2 -1
- package/vscode/src/vs/platform/telemetry/common/telemetry.d.ts +5 -0
- package/vscode/src/vs/platform/telemetry/common/telemetry.js +4 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +3 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +3 -0
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +97 -31
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +6 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.d.ts +1 -0
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +27 -18
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +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.d.ts +1 -0
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +18 -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.js +11 -11
- 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 +1 -0
- package/vscode/src/vs/platform/url/common/trustedDomains.js +2 -2
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +26 -2
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +35 -31
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileStorageService.service.d.ts +3 -2
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/globalStateSync.js +37 -11
- 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.d.ts +2 -0
- 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/webWorker/browser/webWorkerServiceImpl.d.ts +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.d.ts +7 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +9 -3
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +61 -4
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +86 -5
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +11 -1
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +29 -9
- package/vscode/src/vs/workbench/api/common/extHostChatDebug.js +7 -0
- package/vscode/src/vs/workbench/api/common/extHostChatInputNotification.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostChatInputNotification.js +114 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +89 -16
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +139 -8
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostGitExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +7 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +11 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +20 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +20 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +17 -1
- package/vscode/src/vs/workbench/api/common/extHostWebview.d.ts +11 -0
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +59 -35
- package/vscode/src/vs/workbench/browser/actions/layoutActions.d.ts +1 -2
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +141 -188
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +34 -34
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +32 -32
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +23 -23
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +4 -4
- 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.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -38
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +32 -14
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +160 -137
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +56 -36
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommandsContext.js +2 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +9 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +28 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
- 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 +9 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +80 -4
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +15 -7
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +62 -31
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +12 -3
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +6 -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 +6 -0
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
- 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 +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +3 -3
- 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.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +12 -85
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +7 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +17 -16
- 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/treeView.js +7 -7
- 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 +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +15 -14
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +332 -317
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +3 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +91 -83
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.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 +8 -0
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/memento.d.ts +1 -0
- package/vscode/src/vs/workbench/common/memento.js +19 -0
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.d.ts +9 -9
- package/vscode/src/vs/workbench/common/views.js +11 -11
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +25 -5
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +63 -39
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +39 -33
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +454 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +20 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +97 -67
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +4 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +14 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +36 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +129 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +20 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- 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 +13 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +103 -67
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatPhoneInputPresenter.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +94 -85
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +14 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +26 -30
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +94 -54
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.service.d.ts +14 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +49 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +129 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +15 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +23 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +14 -2
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +15 -3
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +64 -49
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +162 -45
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +38 -1
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +6 -7
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +42 -122
- 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 +17 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +48 -13
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatElicitationRequestPart.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatElicitationRequestPart.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.js +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.js +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +32 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.d.ts +17 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +100 -39
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +12 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +20 -16
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +120 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +23 -0
- 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 +91 -77
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +29 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +5 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +1 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +234 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +1686 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +191 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +734 -0
- 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 +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +14 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +55 -36
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +6 -1
- 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 +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +3 -3
- 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/languageModelToolsConfirmationService.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +25 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.d.ts +39 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- 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.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +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.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- 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 +2 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +22 -13
- 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 +101 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +428 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +7 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +22 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +91 -76
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +17 -15
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +26 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -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.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- 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 +7 -0
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +181 -181
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- 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.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +49 -49
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +94 -89
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +30 -27
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +54 -51
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +4 -5
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +67 -66
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +49 -43
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +22 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +10 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- 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/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +34 -48
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +11 -11
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.d.ts +8 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +30 -7
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- 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 +15 -51
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +19 -14
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.d.ts +17 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +66 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- 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/searchView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +57 -57
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/search.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +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 +9 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -1
- 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.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +3 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +189 -69
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +6 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/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/webview.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +9 -24
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +14 -14
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +19 -7
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +137 -84
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/browser/editorService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +7 -3
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +7 -4
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +14 -3
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +8 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +9 -9
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.d.ts +4 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +39 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +43 -0
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +33 -0
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.service.js +6 -0
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- 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/ignoreFile.js +7 -2
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +3 -3
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +1 -1
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +4 -0
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +30 -2
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +20 -15
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.d.ts +0 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +4 -5
- 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/workspaceTrust.js +3 -3
- package/vscode-dts/vscode.d.ts +3 -1
- package/{vscode/src/vs/workbench/contrib/extensions/browser/media/extensionManagement.css → vscode-dts/vscode.proposed.agentsWindowConfiguration.d.ts} +3 -7
- package/vscode-dts/vscode.proposed.chatDebug.d.ts +31 -0
- package/vscode-dts/vscode.proposed.chatInputNotification.d.ts +118 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +32 -0
- package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +29 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +2 -8
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +16 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +68 -10
- package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +1 -1
- package/vscode-dts/vscode.proposed.customEditorDiffs.d.ts +67 -0
- package/vscode-dts/vscode.proposed.customEditorPriority.d.ts +6 -0
- package/vscode-dts/vscode.proposed.d.ts +6 -0
- package/vscode-dts/vscode.proposed.documentDiff.d.ts +145 -0
- package/vscode-dts/vscode.proposed.languageModelPricing.d.ts +70 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +0 -58
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.d.ts +0 -32
- package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.d.ts +0 -14
- package/vscode/src/vs/platform/extensionManagement/common/unsupportedExtensionsMigration.js +0 -145
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.d.ts +0 -19
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.js +0 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.d.ts +0 -76
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +0 -470
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +0 -83
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +0 -66
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.d.ts +0 -83
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +0 -1359
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +0 -49
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +0 -728
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.d.ts +0 -63
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +0 -522
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendations.js +0 -18
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.d.ts +0 -71
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.js +0 -263
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +0 -2201
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +0 -40
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +0 -77
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.d.ts +0 -16
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +0 -93
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +0 -100
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.d.ts +0 -151
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +0 -1031
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.d.ts +0 -235
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +0 -1600
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +0 -314
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +0 -3449
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.d.ts +0 -44
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +0 -368
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/extensions/browser/keymapRecommendations.js +0 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/extensions/browser/languageRecommendations.js +0 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionEditor.css +0 -910
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css +0 -229
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-dark.svg +0 -31
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading-hc.svg +0 -31
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/loading.svg +0 -31
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/runtimeExtensionsEditor.css +0 -86
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/extensions/browser/remoteRecommendations.js +0 -38
- package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/extensions/browser/unsupportedExtensionsMigrationContribution.js +0 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +0 -38
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.d.ts +0 -33
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +0 -179
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionQuery.js +0 -90
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +0 -50
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.d.ts +0 -15
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +0 -47
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatHistoryService.service.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatHistoryService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.d.ts +0 -72
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +0 -998
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +0 -49
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +0 -12
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.d.ts +0 -88
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +0 -464
- package/vscode/src/vs/workbench/contrib/mcp/browser/media/mcpServerEditor.css +0 -94
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.d.ts +0 -16
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +0 -475
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +0 -34
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +0 -874
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { CancellationTokenSource } from '../../../base/common/cancellation.js';
|
|
3
|
+
import { AsyncIterableObject, raceCancellationError } from '../../../base/common/async.js';
|
|
3
4
|
import { onUnexpectedExternalError, ReadonlyError, CancellationError } from '../../../base/common/errors.js';
|
|
4
5
|
import { Event, Emitter } from '../../../base/common/event.js';
|
|
5
6
|
import { combinedDisposable } from '../../../base/common/lifecycle.js';
|
|
@@ -33,6 +34,7 @@ import { ExtHostChatAgents2 } from './extHostChatAgents2.js';
|
|
|
33
34
|
import { ExtHostChatOutputRenderer } from './extHostChatOutputRenderer.js';
|
|
34
35
|
import { ExtHostChatSessions } from './extHostChatSessions.js';
|
|
35
36
|
import { ExtHostChatStatus } from './extHostChatStatus.js';
|
|
37
|
+
import { ExtHostChatInputNotification } from './extHostChatInputNotification.js';
|
|
36
38
|
import { ExtHostClipboard } from './extHostClipboard.js';
|
|
37
39
|
import { ExtHostEditorInsets } from './extHostCodeInsets.js';
|
|
38
40
|
import { ExtHostCodeMapper } from './extHostCodeMapper.js';
|
|
@@ -99,8 +101,8 @@ import { ExtHostTheming } from './extHostTheming.js';
|
|
|
99
101
|
import { ExtHostTimeline } from './extHostTimeline.js';
|
|
100
102
|
import { ExtHostTreeViews } from './extHostTreeViews.js';
|
|
101
103
|
import { IExtHostTunnelService } from './extHostTunnelService.js';
|
|
102
|
-
import { LanguageSelector } from './extHostTypeConverters.js';
|
|
103
|
-
import { ExtensionKind, ProgressLocation, ChatDebugSubagentStatus, ChatTodoStatus, SettingsSearchResultKind, McpToolInvocationContentData, McpToolAvailability, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, ExtendedLanguageModelToolResult, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelPartAudience, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatDebugEventHookContent, ChatDebugEventModelTurnContent, ChatDebugEventToolCallContent, ChatDebugEventMessageContent, ChatDebugMessageContentType, ChatDebugEventTextContent, ChatDebugMessageSection, ChatDebugAgentResponseEvent, ChatDebugUserMessageEvent, ChatDebugSubagentInvocationEvent, ChatDebugGenericEvent, ChatDebugModelTurnEvent, ChatDebugToolCallEvent, ChatDebugHookResult, ChatDebugToolCallResult, ChatDebugLogLevel, ChatSessionCustomizationType, ChatSessionStatus, ChatLocation, ChatToolInvocationPart, ChatSubagentToolInvocationData, ChatResponseTurn2, ChatResponseTurn, ChatRequestTurn, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatResponseMultiDiffPart, ChatResponsePullRequestPart, ChatResponseExternalEditPart, ChatResponseExtensionsPart, ChatResponseMovePart, ChatResponseQuestionCarouselPart, ChatQuestionType, ChatQuestion, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWorkspaceEditPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseHookPart, ChatResponseThinkingProgressPart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, ChatImageMimeType, KeywordRecognitionStatus, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatSessionChangedFile, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookCellExecutionState, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRunOn, TaskRevealKind, TaskPanelKind, TaskGroup, TaskEventKind, Task, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, RelativePattern, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, PortAutoForwardAction, ParameterInformation, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionsDisposeReasonKind, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
104
|
+
import { LanguageSelector, Range } from './extHostTypeConverters.js';
|
|
105
|
+
import { ExtensionKind, ProgressLocation, ChatDebugSubagentStatus, ChatTodoStatus, SettingsSearchResultKind, McpToolInvocationContentData, McpToolAvailability, McpStdioServerDefinition, McpHttpServerDefinition, ChatInputNotificationSeverity, ChatErrorLevel, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, ExtendedLanguageModelToolResult, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelPartAudience, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatDebugEventHookContent, ChatDebugEventModelTurnContent, ChatDebugEventToolCallContent, ChatDebugEventMessageContent, ChatDebugMessageContentType, ChatDebugEventTextContent, ChatDebugMessageSection, ChatDebugAgentResponseEvent, ChatDebugUserMessageEvent, ChatDebugSubagentInvocationEvent, ChatDebugGenericEvent, ChatDebugModelTurnEvent, ChatDebugToolCallEvent, ChatDebugHookResult, ChatDebugToolCallResult, ChatDebugLogLevel, ChatSessionCustomizationType, ChatSessionStatus, ChatLocation, ChatToolInvocationPart, ChatSubagentToolInvocationData, ChatResponseTurn2, ChatResponseTurn, ChatRequestTurn, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatResponseMultiDiffPart, ChatResponsePullRequestPart, ChatResponseExternalEditPart, ChatResponseExtensionsPart, ChatResponseMovePart, ChatResponseQuestionCarouselPart, ChatQuestionType, ChatQuestion, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWorkspaceEditPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseInfoPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseHookPart, ChatResponseThinkingProgressPart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, ChatImageMimeType, KeywordRecognitionStatus, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatSessionChangedFile, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookCellExecutionState, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRunOn, TaskRevealKind, TaskPanelKind, TaskGroup, TaskEventKind, Task, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, RelativePattern, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, PortAutoForwardAction, ParameterInformation, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionsDisposeReasonKind, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
104
106
|
import { ExtHostUriOpeners } from './extHostUriOpener.js';
|
|
105
107
|
import { IURITransformerService } from './extHostUriTransformerService.js';
|
|
106
108
|
import { IExtHostUrlsService } from './extHostUrls.js';
|
|
@@ -121,7 +123,7 @@ import { TextEdit, EndOfLine } from './extHostTypes/textEdit.js';
|
|
|
121
123
|
import { SymbolTag, SymbolKind, SymbolInformation } from './extHostTypes/symbolInformation.js';
|
|
122
124
|
import { SnippetString } from './extHostTypes/snippetString.js';
|
|
123
125
|
import { Selection } from './extHostTypes/selection.js';
|
|
124
|
-
import { Range } from './extHostTypes/range.js';
|
|
126
|
+
import { Range as Range$1 } from './extHostTypes/range.js';
|
|
125
127
|
import { Position } from './extHostTypes/position.js';
|
|
126
128
|
import { MarkdownString } from './extHostTypes/markdownString.js';
|
|
127
129
|
import { Location } from './extHostTypes/location.js';
|
|
@@ -310,6 +312,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
310
312
|
const extHostMessageService = ( new ExtHostMessageService(rpcProtocol, extHostLogService));
|
|
311
313
|
const extHostDialogs = ( new ExtHostDialogs(rpcProtocol));
|
|
312
314
|
const extHostChatStatus = ( new ExtHostChatStatus(rpcProtocol));
|
|
315
|
+
const extHostChatInputNotification = ( new ExtHostChatInputNotification(rpcProtocol));
|
|
313
316
|
ExtHostApiCommands.register(extHostCommands);
|
|
314
317
|
return function(extension, extensionInfo, configProvider) {
|
|
315
318
|
function _asExtensionEvent(actual) {
|
|
@@ -1218,6 +1221,54 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1218
1221
|
checkProposedApiEnabled(extension, "textSearchProvider2");
|
|
1219
1222
|
return extHostWorkspace.findTextInFiles2(query, options, extension.identifier, token);
|
|
1220
1223
|
},
|
|
1224
|
+
getTextDiff(originalDocument, modifiedDocument, options, token) {
|
|
1225
|
+
checkProposedApiEnabled(extension, "documentDiff");
|
|
1226
|
+
const proxy = ( rpcProtocol.getProxy(MainContext.MainThreadDocumentDiff));
|
|
1227
|
+
if (token?.isCancellationRequested) {
|
|
1228
|
+
const error = new CancellationError();
|
|
1229
|
+
return {
|
|
1230
|
+
changes: AsyncIterableObject.EMPTY,
|
|
1231
|
+
complete: Promise.reject(error)
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
const resultPromise = proxy.$computeDocumentDiff(
|
|
1235
|
+
originalDocument.uri,
|
|
1236
|
+
modifiedDocument.uri,
|
|
1237
|
+
options?.ignoreTrimWhitespace ?? false,
|
|
1238
|
+
options?.maxComputationTimeMs ?? 5000,
|
|
1239
|
+
options?.computeMoves ?? false
|
|
1240
|
+
);
|
|
1241
|
+
const diffPromise = token ? raceCancellationError(resultPromise, token) : resultPromise;
|
|
1242
|
+
const mappedPromise = diffPromise.then(result => {
|
|
1243
|
+
if (!result) {
|
|
1244
|
+
throw ( new Error("Could not compute diff. Make sure both documents are available."));
|
|
1245
|
+
}
|
|
1246
|
+
return result;
|
|
1247
|
+
});
|
|
1248
|
+
const mapChange = c => ({
|
|
1249
|
+
originalRange: Range.to(c.originalRange),
|
|
1250
|
+
modifiedRange: Range.to(c.modifiedRange),
|
|
1251
|
+
innerChanges: c.innerChanges?.map(ic => ({
|
|
1252
|
+
originalRange: Range.to(ic.originalRange),
|
|
1253
|
+
modifiedRange: Range.to(ic.modifiedRange)
|
|
1254
|
+
}))
|
|
1255
|
+
});
|
|
1256
|
+
return {
|
|
1257
|
+
changes: new AsyncIterableObject(async emitter => {
|
|
1258
|
+
const result = await mappedPromise;
|
|
1259
|
+
emitter.emitMany(( result.changes.map(mapChange)));
|
|
1260
|
+
}),
|
|
1261
|
+
complete: mappedPromise.then(result => ({
|
|
1262
|
+
identical: result.identical,
|
|
1263
|
+
mayBeIncomplete: result.quitEarly,
|
|
1264
|
+
moves: ( result.moves.map(m => ({
|
|
1265
|
+
originalRange: Range.to(m.originalRange),
|
|
1266
|
+
modifiedRange: Range.to(m.modifiedRange),
|
|
1267
|
+
changes: ( m.changes.map(mapChange))
|
|
1268
|
+
})))
|
|
1269
|
+
}))
|
|
1270
|
+
};
|
|
1271
|
+
},
|
|
1221
1272
|
save: uri => {
|
|
1222
1273
|
return extHostWorkspace.save(uri);
|
|
1223
1274
|
},
|
|
@@ -1845,6 +1896,10 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1845
1896
|
registerChatSessionCustomizationProvider(chatSessionType, metadata, provider) {
|
|
1846
1897
|
checkProposedApiEnabled(extension, "chatSessionCustomizationProvider");
|
|
1847
1898
|
return extHostChatAgents2.registerChatSessionCustomizationProvider(extension, chatSessionType, metadata, provider);
|
|
1899
|
+
},
|
|
1900
|
+
createInputNotification(id) {
|
|
1901
|
+
checkProposedApiEnabled(extension, "chatInputNotification");
|
|
1902
|
+
return extHostChatInputNotification.createInputNotification(extension, id);
|
|
1848
1903
|
}
|
|
1849
1904
|
};
|
|
1850
1905
|
const lm = {
|
|
@@ -2049,7 +2104,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
2049
2104
|
ProgressLocation: ProgressLocation,
|
|
2050
2105
|
QuickInputButtonLocation: QuickInputButtonLocation,
|
|
2051
2106
|
QuickInputButtons: QuickInputButtons,
|
|
2052
|
-
Range: Range,
|
|
2107
|
+
Range: Range$1,
|
|
2053
2108
|
RelativePattern: RelativePattern,
|
|
2054
2109
|
Selection: Selection,
|
|
2055
2110
|
SelectionRange: SelectionRange,
|
|
@@ -2199,6 +2254,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
2199
2254
|
ChatResponseCodeCitationPart: ChatResponseCodeCitationPart,
|
|
2200
2255
|
ChatResponseCodeblockUriPart: ChatResponseCodeblockUriPart,
|
|
2201
2256
|
ChatResponseWarningPart: ChatResponseWarningPart,
|
|
2257
|
+
ChatResponseInfoPart: ChatResponseInfoPart,
|
|
2202
2258
|
ChatResponseTextEditPart: ChatResponseTextEditPart,
|
|
2203
2259
|
ChatResponseNotebookEditPart: ChatResponseNotebookEditPart,
|
|
2204
2260
|
ChatResponseWorkspaceEditPart: ChatResponseWorkspaceEditPart,
|
|
@@ -2274,6 +2330,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
2274
2330
|
AISearchKeyword: AISearchKeyword,
|
|
2275
2331
|
TextSearchCompleteMessageTypeNew: TextSearchCompleteMessageType,
|
|
2276
2332
|
ChatErrorLevel: ChatErrorLevel,
|
|
2333
|
+
ChatInputNotificationSeverity: ChatInputNotificationSeverity,
|
|
2277
2334
|
McpHttpServerDefinition: McpHttpServerDefinition,
|
|
2278
2335
|
McpHttpServerDefinition2: McpHttpServerDefinition,
|
|
2279
2336
|
McpStdioServerDefinition: McpStdioServerDefinition,
|
|
@@ -910,8 +910,24 @@ export interface IWebviewPanelOptions {
|
|
|
910
910
|
readonly enableFindWidget?: boolean;
|
|
911
911
|
readonly retainContextWhenHidden?: boolean;
|
|
912
912
|
}
|
|
913
|
-
export interface
|
|
913
|
+
export interface CustomEditorProviderCapabilities {
|
|
914
914
|
readonly supportsMove?: boolean;
|
|
915
|
+
readonly supportsInlineDiff?: boolean;
|
|
916
|
+
readonly supportsSideBySideDiff?: boolean;
|
|
917
|
+
}
|
|
918
|
+
export interface CustomEditorDiffInitData {
|
|
919
|
+
readonly title: string;
|
|
920
|
+
readonly contentOptions: IWebviewContentOptions;
|
|
921
|
+
readonly options: IWebviewPanelOptions;
|
|
922
|
+
readonly active: boolean;
|
|
923
|
+
}
|
|
924
|
+
export interface CustomEditorSideBySideDiffWebviewHandles {
|
|
925
|
+
readonly original: WebviewHandle;
|
|
926
|
+
readonly modified: WebviewHandle;
|
|
927
|
+
}
|
|
928
|
+
export interface CustomEditorSideBySideDiffInitData {
|
|
929
|
+
readonly original: CustomEditorDiffInitData;
|
|
930
|
+
readonly modified: CustomEditorDiffInitData;
|
|
915
931
|
}
|
|
916
932
|
export declare enum WebviewMessageArrayBufferViewType {
|
|
917
933
|
Int8Array = 1,
|
|
@@ -965,8 +981,8 @@ export interface MainThreadWebviewPanelsShape extends IDisposable {
|
|
|
965
981
|
$unregisterSerializer(viewType: string): void;
|
|
966
982
|
}
|
|
967
983
|
export interface MainThreadCustomEditorsShape extends IDisposable {
|
|
968
|
-
$registerTextEditorProvider(extension: WebviewExtensionDescription, viewType: string, options: IWebviewPanelOptions, capabilities:
|
|
969
|
-
$registerCustomEditorProvider(extension: WebviewExtensionDescription, viewType: string, options: IWebviewPanelOptions, supportsMultipleEditorsPerDocument: boolean, serializeBuffersForPostMessage: boolean): void;
|
|
984
|
+
$registerTextEditorProvider(extension: WebviewExtensionDescription, viewType: string, options: IWebviewPanelOptions, capabilities: CustomEditorProviderCapabilities, serializeBuffersForPostMessage: boolean): void;
|
|
985
|
+
$registerCustomEditorProvider(extension: WebviewExtensionDescription, viewType: string, options: IWebviewPanelOptions, capabilities: CustomEditorProviderCapabilities, supportsMultipleEditorsPerDocument: boolean, serializeBuffersForPostMessage: boolean): void;
|
|
970
986
|
$unregisterEditorProvider(viewType: string): void;
|
|
971
987
|
$onDidEdit(resource: UriComponents, viewType: string, editId: number, label: string | undefined): void;
|
|
972
988
|
$onContentChange(resource: UriComponents, viewType: string): void;
|
|
@@ -1011,6 +1027,8 @@ export interface ExtHostCustomEditorsShape {
|
|
|
1011
1027
|
options: IWebviewPanelOptions;
|
|
1012
1028
|
active: boolean;
|
|
1013
1029
|
}, position: EditorGroupColumn, cancellation: CancellationToken): Promise<void>;
|
|
1030
|
+
$resolveCustomEditorInlineDiff(originalResource: UriComponents, modifiedResource: UriComponents, newWebviewHandle: WebviewHandle, viewType: string, initData: CustomEditorDiffInitData, position: EditorGroupColumn, cancellation: CancellationToken): Promise<void>;
|
|
1031
|
+
$resolveCustomEditorSideBySideDiff(originalResource: UriComponents, modifiedResource: UriComponents, webviewHandles: CustomEditorSideBySideDiffWebviewHandles, viewType: string, initData: CustomEditorSideBySideDiffInitData, position: EditorGroupColumn, cancellation: CancellationToken): Promise<void>;
|
|
1014
1032
|
$createCustomDocument(resource: UriComponents, viewType: string, backupId: string | undefined, untitledDocumentData: VSBuffer | undefined, cancellation: CancellationToken): Promise<{
|
|
1015
1033
|
editable: boolean;
|
|
1016
1034
|
}>;
|
|
@@ -1269,7 +1287,9 @@ export interface IChatDebugModelTurnEventDto extends IChatDebugEventCommonDto {
|
|
|
1269
1287
|
readonly requestName?: string;
|
|
1270
1288
|
readonly inputTokens?: number;
|
|
1271
1289
|
readonly outputTokens?: number;
|
|
1290
|
+
readonly cachedTokens?: number;
|
|
1272
1291
|
readonly totalTokens?: number;
|
|
1292
|
+
readonly copilotUsageNanoAiu?: number;
|
|
1273
1293
|
readonly durationInMillis?: number;
|
|
1274
1294
|
}
|
|
1275
1295
|
export interface IChatDebugGenericEventDto extends IChatDebugEventCommonDto {
|
|
@@ -1328,12 +1348,14 @@ export interface IChatDebugEventModelTurnContentDto {
|
|
|
1328
1348
|
readonly status?: string;
|
|
1329
1349
|
readonly durationInMillis?: number;
|
|
1330
1350
|
readonly timeToFirstTokenInMillis?: number;
|
|
1351
|
+
readonly requestId?: string;
|
|
1331
1352
|
readonly maxInputTokens?: number;
|
|
1332
1353
|
readonly maxOutputTokens?: number;
|
|
1333
1354
|
readonly inputTokens?: number;
|
|
1334
1355
|
readonly outputTokens?: number;
|
|
1335
1356
|
readonly cachedTokens?: number;
|
|
1336
1357
|
readonly totalTokens?: number;
|
|
1358
|
+
readonly requestOptions?: string;
|
|
1337
1359
|
readonly errorMessage?: string;
|
|
1338
1360
|
readonly sections?: readonly IChatDebugMessageSectionDto[];
|
|
1339
1361
|
}
|
|
@@ -1515,12 +1537,14 @@ export interface ICustomAgentDto extends IChatResourceDto {
|
|
|
1515
1537
|
readonly model?: readonly string[];
|
|
1516
1538
|
readonly userInvocable: boolean;
|
|
1517
1539
|
readonly disableModelInvocation: boolean;
|
|
1540
|
+
readonly enabled: boolean;
|
|
1518
1541
|
}
|
|
1519
1542
|
export interface IInstructionDto extends IChatResourceDto {
|
|
1520
1543
|
readonly pattern?: string;
|
|
1521
1544
|
}
|
|
1522
1545
|
export interface ISkillDto extends IChatResourceDto {
|
|
1523
1546
|
readonly userInvocable: boolean;
|
|
1547
|
+
readonly disableModelInvocation: boolean;
|
|
1524
1548
|
}
|
|
1525
1549
|
export interface ISlashCommandDto extends IChatResourceDto {
|
|
1526
1550
|
readonly argumentHint?: string;
|
|
@@ -1529,6 +1553,9 @@ export interface ISlashCommandDto extends IChatResourceDto {
|
|
|
1529
1553
|
export interface IHookDto {
|
|
1530
1554
|
readonly uri: UriComponents;
|
|
1531
1555
|
readonly sessionTypes?: readonly string[];
|
|
1556
|
+
readonly source: IChatResourceSourceDto;
|
|
1557
|
+
readonly extensionId?: string;
|
|
1558
|
+
readonly pluginUri?: UriComponents;
|
|
1532
1559
|
}
|
|
1533
1560
|
export interface IPluginDto {
|
|
1534
1561
|
readonly uri: UriComponents;
|
|
@@ -1545,7 +1572,10 @@ export interface IChatSessionCustomizationItemDto {
|
|
|
1545
1572
|
readonly description?: string;
|
|
1546
1573
|
readonly groupKey?: string;
|
|
1547
1574
|
readonly badge?: string;
|
|
1575
|
+
readonly extensionId?: string;
|
|
1576
|
+
readonly pluginUri?: UriComponents;
|
|
1548
1577
|
readonly badgeTooltip?: string;
|
|
1578
|
+
readonly userInvocable?: boolean;
|
|
1549
1579
|
}
|
|
1550
1580
|
export interface IChatParticipantMetadata {
|
|
1551
1581
|
participant: string;
|
|
@@ -1897,6 +1927,28 @@ export interface MainThreadQuickDiffShape extends IDisposable {
|
|
|
1897
1927
|
$registerQuickDiffProvider(handle: number, selector: IDocumentFilterDto[], id: string, label: string, rootUri: UriComponents | undefined): Promise<void>;
|
|
1898
1928
|
$unregisterQuickDiffProvider(handle: number): Promise<void>;
|
|
1899
1929
|
}
|
|
1930
|
+
export interface IDocumentDiffLineChangeDto {
|
|
1931
|
+
originalRange: IRange;
|
|
1932
|
+
modifiedRange: IRange;
|
|
1933
|
+
innerChanges: {
|
|
1934
|
+
originalRange: IRange;
|
|
1935
|
+
modifiedRange: IRange;
|
|
1936
|
+
}[] | undefined;
|
|
1937
|
+
}
|
|
1938
|
+
export interface IDocumentDiffMoveDto {
|
|
1939
|
+
originalRange: IRange;
|
|
1940
|
+
modifiedRange: IRange;
|
|
1941
|
+
changes: IDocumentDiffLineChangeDto[];
|
|
1942
|
+
}
|
|
1943
|
+
export interface IDocumentDiffResultDto {
|
|
1944
|
+
identical: boolean;
|
|
1945
|
+
quitEarly: boolean;
|
|
1946
|
+
changes: IDocumentDiffLineChangeDto[];
|
|
1947
|
+
moves: IDocumentDiffMoveDto[];
|
|
1948
|
+
}
|
|
1949
|
+
export interface MainThreadDocumentDiffShape extends IDisposable {
|
|
1950
|
+
$computeDocumentDiff(originalUri: UriComponents, modifiedUri: UriComponents, ignoreTrimWhitespace: boolean, maxComputationTimeMs: number, computeMoves: boolean): Promise<IDocumentDiffResultDto | null>;
|
|
1951
|
+
}
|
|
1900
1952
|
export type DebugSessionUUID = string;
|
|
1901
1953
|
export interface IDebugConfiguration {
|
|
1902
1954
|
type: string;
|
|
@@ -2130,7 +2182,7 @@ export interface ExtHostTreeViewsShape {
|
|
|
2130
2182
|
* for [x,y] returns
|
|
2131
2183
|
* [[1,z]], where the inner array is [original index, ...children]
|
|
2132
2184
|
*/
|
|
2133
|
-
$getChildren(treeViewId: string, treeItemHandles?: string[]): Promise<(number | ITreeItem)[][] | undefined>;
|
|
2185
|
+
$getChildren(treeViewId: string, treeItemHandles?: string[]): Promise<(readonly (number | ITreeItem)[])[] | undefined>;
|
|
2134
2186
|
$handleDrop(destinationViewId: string, requestId: number, treeDataTransfer: DataTransferDTO, targetHandle: string | undefined, token: CancellationToken, operationUuid?: string, sourceViewId?: string, sourceTreeItemHandles?: string[]): Promise<void>;
|
|
2135
2187
|
$handleDrag(sourceViewId: string, sourceTreeItemHandles: string[], operationUuid: string, token: CancellationToken): Promise<DataTransferDTO | undefined>;
|
|
2136
2188
|
$setExpanded(treeViewId: string, treeItemHandle: string, expanded: boolean): void;
|
|
@@ -3357,6 +3409,7 @@ export type ChatStatusItemDto = {
|
|
|
3357
3409
|
title: string | {
|
|
3358
3410
|
label: string;
|
|
3359
3411
|
link: string;
|
|
3412
|
+
helpText?: string;
|
|
3360
3413
|
};
|
|
3361
3414
|
description: string;
|
|
3362
3415
|
detail: string | undefined;
|
|
@@ -3365,6 +3418,29 @@ export interface MainThreadChatStatusShape {
|
|
|
3365
3418
|
$setEntry(id: string, entry: ChatStatusItemDto): void;
|
|
3366
3419
|
$disposeEntry(id: string): void;
|
|
3367
3420
|
}
|
|
3421
|
+
export declare enum ChatInputNotificationSeverityDto {
|
|
3422
|
+
Info = 0,
|
|
3423
|
+
Warning = 1,
|
|
3424
|
+
Error = 2
|
|
3425
|
+
}
|
|
3426
|
+
export type ChatInputNotificationActionDto = {
|
|
3427
|
+
label: string;
|
|
3428
|
+
commandId: string;
|
|
3429
|
+
commandArgs?: unknown[];
|
|
3430
|
+
};
|
|
3431
|
+
export type ChatInputNotificationDto = {
|
|
3432
|
+
id: string;
|
|
3433
|
+
severity: ChatInputNotificationSeverityDto;
|
|
3434
|
+
message: string;
|
|
3435
|
+
description: string | undefined;
|
|
3436
|
+
actions: ChatInputNotificationActionDto[];
|
|
3437
|
+
dismissible: boolean;
|
|
3438
|
+
autoDismissOnMessage: boolean;
|
|
3439
|
+
};
|
|
3440
|
+
export interface MainThreadChatInputNotificationShape {
|
|
3441
|
+
$setNotification(notification: ChatInputNotificationDto): void;
|
|
3442
|
+
$disposeNotification(id: string): void;
|
|
3443
|
+
}
|
|
3368
3444
|
export type IChatSessionHistoryItemDto = {
|
|
3369
3445
|
id?: string;
|
|
3370
3446
|
type: "request";
|
|
@@ -3378,6 +3454,7 @@ export type IChatSessionHistoryItemDto = {
|
|
|
3378
3454
|
type: "response";
|
|
3379
3455
|
parts: IChatProgressDto[];
|
|
3380
3456
|
participant: string;
|
|
3457
|
+
details?: string;
|
|
3381
3458
|
};
|
|
3382
3459
|
export type IChatSessionRequestHistoryItemDto = Extract<IChatSessionHistoryItemDto, {
|
|
3383
3460
|
type: "request";
|
|
@@ -3415,7 +3492,8 @@ export interface IChatSessionItemsChange {
|
|
|
3415
3492
|
readonly removed: readonly UriComponents[];
|
|
3416
3493
|
}
|
|
3417
3494
|
export interface MainThreadChatSessionsShape extends IDisposable {
|
|
3418
|
-
$registerChatSessionItemController(controllerHandle: number, chatSessionType: string): void;
|
|
3495
|
+
$registerChatSessionItemController(controllerHandle: number, chatSessionType: string, supportsResolve: boolean): void;
|
|
3496
|
+
$updateChatSessionItemControllerCapabilities(controllerHandle: number, supportsResolve: boolean): void;
|
|
3419
3497
|
$unregisterChatSessionItemController(controllerHandle: number): void;
|
|
3420
3498
|
$updateChatSessionItems(controllerHandle: number, change: IChatSessionItemsChange): Promise<void>;
|
|
3421
3499
|
$addOrUpdateChatSessionItem(controllerHandle: number, item: Dto<IChatSessionItem>): Promise<void>;
|
|
@@ -3443,6 +3521,7 @@ export interface ExtHostChatSessionsShape {
|
|
|
3443
3521
|
$provideChatSessionProviderOptions(providerHandle: number, token: CancellationToken): Promise<IChatSessionProviderOptions | undefined>;
|
|
3444
3522
|
$provideHandleOptionsChange(providerHandle: number, sessionResource: UriComponents, updates: Record<string, string | IChatSessionProviderOptionItem | undefined>, token: CancellationToken): Promise<void>;
|
|
3445
3523
|
$forkChatSession(providerHandle: number, sessionResource: UriComponents, request: IChatSessionRequestHistoryItemDto | undefined, token: CancellationToken): Promise<Dto<IChatSessionItem>>;
|
|
3524
|
+
$resolveChatSessionItem(providerHandle: number, sessionResource: UriComponents, token: CancellationToken): Promise<Dto<IChatSessionItem> | undefined>;
|
|
3446
3525
|
$provideChatSessionInputState(controllerHandle: number, sessionResource: UriComponents | undefined, token: CancellationToken): Promise<IChatSessionProviderOptionGroup[] | undefined>;
|
|
3447
3526
|
}
|
|
3448
3527
|
export interface GitRefQueryDto {
|
|
@@ -3548,6 +3627,7 @@ export declare const MainContext: {
|
|
|
3548
3627
|
MainThreadOutputService: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadOutputServiceShape>;
|
|
3549
3628
|
MainThreadProgress: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadProgressShape>;
|
|
3550
3629
|
MainThreadQuickDiff: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadQuickDiffShape>;
|
|
3630
|
+
MainThreadDocumentDiff: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadDocumentDiffShape>;
|
|
3551
3631
|
MainThreadQuickOpen: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadQuickOpenShape>;
|
|
3552
3632
|
MainThreadStatusBar: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadStatusBarShape>;
|
|
3553
3633
|
MainThreadSecretState: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadSecretStateShape>;
|
|
@@ -3591,6 +3671,7 @@ export declare const MainContext: {
|
|
|
3591
3671
|
MainThreadAiRelatedInformation: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiRelatedInformationShape>;
|
|
3592
3672
|
MainThreadAiEmbeddingVector: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiEmbeddingVectorShape>;
|
|
3593
3673
|
MainThreadChatStatus: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadChatStatusShape>;
|
|
3674
|
+
MainThreadChatInputNotification: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadChatInputNotificationShape>;
|
|
3594
3675
|
MainThreadAiSettingsSearch: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadAiSettingsSearchShape>;
|
|
3595
3676
|
MainThreadDataChannels: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadDataChannelsShape>;
|
|
3596
3677
|
MainThreadChatSessions: import("../../services/extensions/common/proxyIdentifier.js").ProxyIdentifier<MainThreadChatSessionsShape>;
|
|
@@ -114,6 +114,14 @@ var IAuthServerMetadataSource;
|
|
|
114
114
|
IAuthServerMetadataSource["WellKnown"] = "wellKnown";
|
|
115
115
|
IAuthServerMetadataSource["Default"] = "default";
|
|
116
116
|
})(IAuthServerMetadataSource || (IAuthServerMetadataSource = {}));
|
|
117
|
+
var ChatInputNotificationSeverityDto;
|
|
118
|
+
(function(ChatInputNotificationSeverityDto) {
|
|
119
|
+
ChatInputNotificationSeverityDto[ChatInputNotificationSeverityDto["Info"] = 0] = "Info";
|
|
120
|
+
ChatInputNotificationSeverityDto[ChatInputNotificationSeverityDto["Warning"] = 1] = "Warning";
|
|
121
|
+
ChatInputNotificationSeverityDto[ChatInputNotificationSeverityDto["Error"] = 2] = "Error";
|
|
122
|
+
})(
|
|
123
|
+
ChatInputNotificationSeverityDto || (ChatInputNotificationSeverityDto = {})
|
|
124
|
+
);
|
|
117
125
|
var GitRefTypeDto;
|
|
118
126
|
(function(GitRefTypeDto) {
|
|
119
127
|
GitRefTypeDto[GitRefTypeDto["Head"] = 0] = "Head";
|
|
@@ -153,6 +161,7 @@ const MainContext = {
|
|
|
153
161
|
MainThreadOutputService: ( createProxyIdentifier("MainThreadOutputService")),
|
|
154
162
|
MainThreadProgress: ( createProxyIdentifier("MainThreadProgress")),
|
|
155
163
|
MainThreadQuickDiff: ( createProxyIdentifier("MainThreadQuickDiff")),
|
|
164
|
+
MainThreadDocumentDiff: ( createProxyIdentifier("MainThreadDocumentDiff")),
|
|
156
165
|
MainThreadQuickOpen: ( createProxyIdentifier("MainThreadQuickOpen")),
|
|
157
166
|
MainThreadStatusBar: ( createProxyIdentifier("MainThreadStatusBar")),
|
|
158
167
|
MainThreadSecretState: ( createProxyIdentifier("MainThreadSecretState")),
|
|
@@ -196,6 +205,7 @@ const MainContext = {
|
|
|
196
205
|
MainThreadAiRelatedInformation: ( createProxyIdentifier("MainThreadAiRelatedInformation")),
|
|
197
206
|
MainThreadAiEmbeddingVector: ( createProxyIdentifier("MainThreadAiEmbeddingVector")),
|
|
198
207
|
MainThreadChatStatus: ( createProxyIdentifier("MainThreadChatStatus")),
|
|
208
|
+
MainThreadChatInputNotification: ( createProxyIdentifier("MainThreadChatInputNotification")),
|
|
199
209
|
MainThreadAiSettingsSearch: ( createProxyIdentifier("MainThreadAiSettingsSearch")),
|
|
200
210
|
MainThreadDataChannels: ( createProxyIdentifier("MainThreadDataChannels")),
|
|
201
211
|
MainThreadChatSessions: ( createProxyIdentifier("MainThreadChatSessions")),
|
|
@@ -285,4 +295,4 @@ const ExtHostContext = {
|
|
|
285
295
|
ExtHostBrowsers: ( createProxyIdentifier("ExtHostBrowsers"))
|
|
286
296
|
};
|
|
287
297
|
|
|
288
|
-
export { CandidatePortSource, CellOutputKind, ExtHostContext, ExtHostTestingResource, GitRefTypeDto, IAuthResourceMetadataSource, IAuthServerMetadataSource, ISuggestDataDtoField, ISuggestResultDtoField, MainContext, NotebookEditorRevealType, TabInputKind, TabModelOperationKind, TextEditorRevealType, WebviewEditorCapabilities, WebviewMessageArrayBufferViewType };
|
|
298
|
+
export { CandidatePortSource, CellOutputKind, ChatInputNotificationSeverityDto, ExtHostContext, ExtHostTestingResource, GitRefTypeDto, IAuthResourceMetadataSource, IAuthServerMetadataSource, ISuggestDataDtoField, ISuggestResultDtoField, MainContext, NotebookEditorRevealType, TabInputKind, TabModelOperationKind, TextEditorRevealType, WebviewEditorCapabilities, WebviewMessageArrayBufferViewType };
|
|
@@ -372,7 +372,7 @@ let DynamicAuthProvider = class DynamicAuthProvider {
|
|
|
372
372
|
this._createFlows = [];
|
|
373
373
|
if (_serverMetadata.authorization_endpoint) {
|
|
374
374
|
this._createFlows.push({
|
|
375
|
-
label: ( localize(
|
|
375
|
+
label: ( localize(2779, "URL Handler")),
|
|
376
376
|
handler: (scopes, progress, token) => this._createWithUrlHandler(scopes, progress, token)
|
|
377
377
|
});
|
|
378
378
|
}
|
|
@@ -451,7 +451,7 @@ let DynamicAuthProvider = class DynamicAuthProvider {
|
|
|
451
451
|
id: this.id
|
|
452
452
|
}, {
|
|
453
453
|
location: ProgressLocation.Notification,
|
|
454
|
-
title: ( localize(
|
|
454
|
+
title: ( localize(2780, "Authenticating to '{0}'", this.label)),
|
|
455
455
|
cancellable: true
|
|
456
456
|
}, (progress, token) => handler(scopes, progress, token));
|
|
457
457
|
if (token) {
|
|
@@ -463,12 +463,12 @@ let DynamicAuthProvider = class DynamicAuthProvider {
|
|
|
463
463
|
break;
|
|
464
464
|
}
|
|
465
465
|
const message = isCancellationError(err) ? ( localize(
|
|
466
|
-
|
|
466
|
+
2781,
|
|
467
467
|
"Having trouble authenticating to '{0}'? Would you like to try a different way? ({1})",
|
|
468
468
|
this.label,
|
|
469
469
|
nextMode
|
|
470
470
|
)) : ( localize(
|
|
471
|
-
|
|
471
|
+
2782,
|
|
472
472
|
"You have not yet finished authenticating to '{0}'. Would you like to try a different way? ({1})",
|
|
473
473
|
this.label,
|
|
474
474
|
nextMode
|
|
@@ -567,7 +567,7 @@ let DynamicAuthProvider = class DynamicAuthProvider {
|
|
|
567
567
|
throw ( new CancellationError());
|
|
568
568
|
}
|
|
569
569
|
progress.report({
|
|
570
|
-
message: ( localize(
|
|
570
|
+
message: ( localize(2783, "Complete the authentication in the browser window that has opened."))
|
|
571
571
|
});
|
|
572
572
|
let code;
|
|
573
573
|
try {
|
|
@@ -19,8 +19,8 @@ import { LocalChatSessionUri } from '../../contrib/chat/common/model/chatUri.js'
|
|
|
19
19
|
import { ChatAgentLocation } from '../../contrib/chat/common/constants.js';
|
|
20
20
|
import { checkProposedApiEnabled, isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
21
21
|
import { MainContext } from './extHost.protocol.js';
|
|
22
|
-
import { ChatResponseWarningPart, ChatResponseReferencePart, ChatTaskResult, ChatTask, ChatResponseProgressPart, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponsePart, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseFilesPart, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatSessionCustomizationType, ChatAgentRequest, ChatLocation, Selection, Range, ChatAgentResult, ChatLanguageModelToolReference, ChatPromptReference, ChatRequestModeInstructions, ChatFollowup, ChatAgentUserActionEvent, ChatAgentCompletionItem, MarkdownString as MarkdownString$1 } from './extHostTypeConverters.js';
|
|
23
|
-
import { ChatResponseTextEditPart, ChatResponseNotebookEditPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseConfirmationPart, ChatResponseQuestionCarouselPart, ChatResponseCodeCitationPart, ChatResponseMovePart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseThinkingProgressPart, ChatResponsePullRequestPart, ChatResponseProgressPart2, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseAnchorPart, ChatResponseWorkspaceEditPart, ChatResponseHookPart, ChatResponseCommandButtonPart, ChatResponseFileTreePart, ChatResponseCodeblockUriPart, ChatResponseMarkdownPart, ChatRequestEditorData, ChatRequestNotebookData, LanguageModelError, ChatRequestTurn, ChatResponseTurn, ChatResultFeedbackKind, ThemeIcon } from './extHostTypes.js';
|
|
22
|
+
import { ChatResponseWarningPart, ChatResponseReferencePart, ChatTaskResult, ChatTask, ChatResponseProgressPart, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponsePart, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseInfoPart as ChatResponseInfoPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseFilesPart, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatSessionCustomizationType, ChatAgentRequest, ChatLocation, Selection, Range, ChatAgentResult, ChatLanguageModelToolReference, ChatPromptReference, ChatRequestModeInstructions, ChatFollowup, ChatAgentUserActionEvent, ChatAgentCompletionItem, MarkdownString as MarkdownString$1 } from './extHostTypeConverters.js';
|
|
23
|
+
import { ChatResponseTextEditPart, ChatResponseNotebookEditPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseConfirmationPart, ChatResponseQuestionCarouselPart, ChatResponseCodeCitationPart, ChatResponseMovePart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseThinkingProgressPart, ChatResponsePullRequestPart, ChatResponseProgressPart2, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseAnchorPart, ChatResponseWorkspaceEditPart, ChatResponseInfoPart, ChatResponseHookPart, ChatResponseCommandButtonPart, ChatResponseFileTreePart, ChatResponseCodeblockUriPart, ChatResponseMarkdownPart, ChatRequestEditorData, ChatRequestNotebookData, LanguageModelError, ChatRequestTurn, ChatResponseTurn, ChatResultFeedbackKind, ThemeIcon } from './extHostTypes.js';
|
|
24
24
|
import { PromptsType } from '../../contrib/chat/common/promptSyntax/promptTypes.js';
|
|
25
25
|
import { MarkdownString } from './extHostTypes/markdownString.js';
|
|
26
26
|
|
|
@@ -194,6 +194,14 @@ class ChatAgentResponseStream {
|
|
|
194
194
|
_report(dto);
|
|
195
195
|
return this;
|
|
196
196
|
},
|
|
197
|
+
info(value) {
|
|
198
|
+
throwIfDone(this.progress);
|
|
199
|
+
checkProposedApiEnabled(that._extension, "chatParticipantAdditions");
|
|
200
|
+
const part = new ChatResponseInfoPart(value);
|
|
201
|
+
const dto = ChatResponseInfoPart$1.from(part);
|
|
202
|
+
_report(dto);
|
|
203
|
+
return this;
|
|
204
|
+
},
|
|
197
205
|
reference(value, iconPath) {
|
|
198
206
|
return this.reference2(value, iconPath);
|
|
199
207
|
},
|
|
@@ -353,6 +361,9 @@ class ChatAgentResponseStream {
|
|
|
353
361
|
if (part.resolve) {
|
|
354
362
|
checkProposedApiEnabled(that._extension, "chatParticipantAdditions");
|
|
355
363
|
dto.resolveId = generateUuid();
|
|
364
|
+
}
|
|
365
|
+
_report(dto);
|
|
366
|
+
if (part.resolve) {
|
|
356
367
|
const cts = ( new CancellationTokenSource());
|
|
357
368
|
part.resolve(cts.token).then(() => {
|
|
358
369
|
const resolvedDto = ChatResponseAnchorPart$1.from(part);
|
|
@@ -360,7 +371,6 @@ class ChatAgentResponseStream {
|
|
|
360
371
|
}).then(() => cts.dispose(), () => cts.dispose());
|
|
361
372
|
that._sessionDisposables.add(toDisposable(() => cts.dispose(true)));
|
|
362
373
|
}
|
|
363
|
-
_report(dto);
|
|
364
374
|
} else if (part instanceof ChatResponseExternalEditPart) {
|
|
365
375
|
const p = this.externalEdit(part.uris, part.callback);
|
|
366
376
|
p.then(value => part.didGetApplied(value));
|
|
@@ -418,7 +428,8 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
418
428
|
tools: dto.tools,
|
|
419
429
|
model: dto.model,
|
|
420
430
|
userInvocable: dto.userInvocable,
|
|
421
|
-
disableModelInvocation: dto.disableModelInvocation
|
|
431
|
+
disableModelInvocation: dto.disableModelInvocation,
|
|
432
|
+
enabled: dto.enabled
|
|
422
433
|
}));
|
|
423
434
|
}
|
|
424
435
|
toInstruction(dto) {
|
|
@@ -442,7 +453,8 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
442
453
|
extensionId: dto.extensionId,
|
|
443
454
|
pluginUri: dto.pluginUri ? URI.revive(dto.pluginUri) : undefined,
|
|
444
455
|
sessionTypes: dto.sessionTypes,
|
|
445
|
-
userInvocable: dto.userInvocable
|
|
456
|
+
userInvocable: dto.userInvocable,
|
|
457
|
+
disableModelInvocation: dto.disableModelInvocation
|
|
446
458
|
}));
|
|
447
459
|
}
|
|
448
460
|
toSlashCommand(dto) {
|
|
@@ -461,7 +473,10 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
461
473
|
toHook(dto) {
|
|
462
474
|
return ( Object.freeze({
|
|
463
475
|
uri: URI.revive(dto.uri),
|
|
464
|
-
sessionTypes: dto.sessionTypes
|
|
476
|
+
sessionTypes: dto.sessionTypes,
|
|
477
|
+
source: dto.source,
|
|
478
|
+
extensionId: dto.extensionId,
|
|
479
|
+
pluginUri: dto.pluginUri ? URI.revive(dto.pluginUri) : undefined
|
|
465
480
|
}));
|
|
466
481
|
}
|
|
467
482
|
toPlugin(dto) {
|
|
@@ -717,7 +732,10 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
717
732
|
description: item.description,
|
|
718
733
|
groupKey: item.groupKey,
|
|
719
734
|
badge: item.badge,
|
|
720
|
-
badgeTooltip: item.badgeTooltip
|
|
735
|
+
badgeTooltip: item.badgeTooltip,
|
|
736
|
+
extensionId: item.extensionId,
|
|
737
|
+
pluginUri: item.pluginUri,
|
|
738
|
+
userInvocable: item.userInvocable
|
|
721
739
|
})));
|
|
722
740
|
} catch (err) {
|
|
723
741
|
return undefined;
|
|
@@ -909,7 +927,7 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
909
927
|
responseIsIncomplete: true
|
|
910
928
|
};
|
|
911
929
|
}
|
|
912
|
-
if (errorDetails?.responseIsRedacted || errorDetails?.isQuotaExceeded || errorDetails?.isRateLimited || errorDetails?.confirmationButtons || errorDetails?.code) {
|
|
930
|
+
if (errorDetails?.responseIsRedacted || errorDetails?.isQuotaExceeded || errorDetails?.isRateLimited || errorDetails?.isExpectedError || errorDetails?.confirmationButtons || errorDetails?.code) {
|
|
913
931
|
checkProposedApiEnabled(agent.extension, "chatParticipantPrivate");
|
|
914
932
|
}
|
|
915
933
|
return {
|
|
@@ -927,6 +945,7 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
927
945
|
}
|
|
928
946
|
const isQuotaExceeded = e instanceof Error && e.name === "ChatQuotaExceeded";
|
|
929
947
|
const isRateLimited = e instanceof Error && e.name === "ChatRateLimited";
|
|
948
|
+
const isExpectedError = e instanceof Error && e.name === "ChatExpectedError";
|
|
930
949
|
const {
|
|
931
950
|
callstack: errorCallstack
|
|
932
951
|
} = packErrorForTelemetry(e);
|
|
@@ -936,7 +955,8 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
936
955
|
message: toErrorMessage(e),
|
|
937
956
|
responseIsIncomplete: true,
|
|
938
957
|
isQuotaExceeded,
|
|
939
|
-
isRateLimited
|
|
958
|
+
isRateLimited,
|
|
959
|
+
isExpectedError
|
|
940
960
|
},
|
|
941
961
|
errorCallstack,
|
|
942
962
|
errorName
|
|
@@ -115,7 +115,9 @@ let ExtHostChatDebug = class ExtHostChatDebug extends Disposable {
|
|
|
115
115
|
requestName: e.requestName,
|
|
116
116
|
inputTokens: e.inputTokens,
|
|
117
117
|
outputTokens: e.outputTokens,
|
|
118
|
+
cachedTokens: e.cachedTokens,
|
|
118
119
|
totalTokens: e.totalTokens,
|
|
120
|
+
copilotUsageNanoAiu: e.copilotUsageNanoAiu,
|
|
119
121
|
durationInMillis: e.durationInMillis
|
|
120
122
|
};
|
|
121
123
|
}
|
|
@@ -263,12 +265,14 @@ let ExtHostChatDebug = class ExtHostChatDebug extends Disposable {
|
|
|
263
265
|
status: mt.status,
|
|
264
266
|
durationInMillis: mt.durationInMillis,
|
|
265
267
|
timeToFirstTokenInMillis: mt.timeToFirstTokenInMillis,
|
|
268
|
+
requestId: mt.requestId,
|
|
266
269
|
maxInputTokens: mt.maxInputTokens,
|
|
267
270
|
maxOutputTokens: mt.maxOutputTokens,
|
|
268
271
|
inputTokens: mt.inputTokens,
|
|
269
272
|
outputTokens: mt.outputTokens,
|
|
270
273
|
cachedTokens: mt.cachedTokens,
|
|
271
274
|
totalTokens: mt.totalTokens,
|
|
275
|
+
requestOptions: mt.requestOptions,
|
|
272
276
|
errorMessage: mt.errorMessage,
|
|
273
277
|
sections: mt.sections?.map(s => ({
|
|
274
278
|
name: s.name,
|
|
@@ -319,9 +323,12 @@ let ExtHostChatDebug = class ExtHostChatDebug extends Disposable {
|
|
|
319
323
|
evt.sessionResource = sessionResource;
|
|
320
324
|
evt.parentEventId = dto.parentEventId;
|
|
321
325
|
evt.model = dto.model;
|
|
326
|
+
evt.requestName = dto.requestName;
|
|
322
327
|
evt.inputTokens = dto.inputTokens;
|
|
323
328
|
evt.outputTokens = dto.outputTokens;
|
|
329
|
+
evt.cachedTokens = dto.cachedTokens;
|
|
324
330
|
evt.totalTokens = dto.totalTokens;
|
|
331
|
+
evt.copilotUsageNanoAiu = dto.copilotUsageNanoAiu;
|
|
325
332
|
evt.durationInMillis = dto.durationInMillis;
|
|
326
333
|
return evt;
|
|
327
334
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as vscode from "vscode";
|
|
2
|
+
import * as extHostProtocol from "./extHost.protocol.js";
|
|
3
|
+
import { IExtensionDescription } from "../../../platform/extensions/common/extensions.js";
|
|
4
|
+
export declare class ExtHostChatInputNotification {
|
|
5
|
+
private readonly _proxy;
|
|
6
|
+
private readonly _items;
|
|
7
|
+
constructor(mainContext: extHostProtocol.IMainContext);
|
|
8
|
+
createInputNotification(extension: IExtensionDescription, id: string): vscode.ChatInputNotification;
|
|
9
|
+
}
|