@codingame/monaco-vscode-api 31.0.1 → 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
|
@@ -233,9 +233,9 @@ let ExtHostGitExtensionService = class ExtHostGitExtensionService extends Dispos
|
|
|
233
233
|
extensionId: ( new ExtensionIdentifier(GIT_EXTENSION_ID)),
|
|
234
234
|
activationEvent: "api"
|
|
235
235
|
});
|
|
236
|
-
const exports
|
|
237
|
-
if (!!exports
|
|
238
|
-
this._gitApi = exports
|
|
236
|
+
const exports = this._extHostExtensionService.getExtensionExports(( new ExtensionIdentifier(GIT_EXTENSION_ID)));
|
|
237
|
+
if (!!exports && typeof exports.getAPI === "function") {
|
|
238
|
+
this._gitApi = exports.getAPI(1);
|
|
239
239
|
}
|
|
240
240
|
} catch {}
|
|
241
241
|
return this._gitApi;
|
|
@@ -574,7 +574,7 @@ class DocumentPasteEditProvider {
|
|
|
574
574
|
return (edits.map((edit, i) => ({
|
|
575
575
|
_cacheId: [cacheId, i],
|
|
576
576
|
title: edit.title ?? ( localize(
|
|
577
|
-
|
|
577
|
+
2787,
|
|
578
578
|
"Paste using '{0}' extension",
|
|
579
579
|
this._extension.displayName || this._extension.name
|
|
580
580
|
)),
|
|
@@ -1832,7 +1832,7 @@ class DocumentDropEditAdapter {
|
|
|
1832
1832
|
return (editsArray.map((edit, i) => ({
|
|
1833
1833
|
_cacheId: [cacheId, i],
|
|
1834
1834
|
title: edit.title ?? ( localize(
|
|
1835
|
-
|
|
1835
|
+
2788,
|
|
1836
1836
|
"Drop using '{0}' extension",
|
|
1837
1837
|
this._extension.displayName || this._extension.name
|
|
1838
1838
|
)),
|
|
@@ -97,7 +97,9 @@ class ExtHostLanguageModelTools {
|
|
|
97
97
|
chatInteractionId: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.chatInteractionId : undefined,
|
|
98
98
|
subAgentInvocationId: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.subAgentInvocationId : undefined,
|
|
99
99
|
chatStreamToolCallId: isProposedApiEnabled(extension, "chatParticipantAdditions") ? options.chatStreamToolCallId : undefined,
|
|
100
|
-
preToolUseResult: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.preToolUseResult : undefined
|
|
100
|
+
preToolUseResult: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.preToolUseResult : undefined,
|
|
101
|
+
traceparent: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.traceparent : undefined,
|
|
102
|
+
tracestate: isProposedApiEnabled(extension, "chatParticipantPrivate") ? options.tracestate : undefined
|
|
101
103
|
}, token);
|
|
102
104
|
const dto = result instanceof SerializableObjectWithBuffers ? result.value : result;
|
|
103
105
|
return LanguageModelToolResult.to(revive(dto));
|
|
@@ -149,7 +151,10 @@ class ExtHostLanguageModelTools {
|
|
|
149
151
|
options.chatRequestId = dto.chatRequestId;
|
|
150
152
|
options.chatInteractionId = dto.chatInteractionId;
|
|
151
153
|
options.chatSessionResource = URI.revive(dto.context?.sessionResource);
|
|
154
|
+
options.workingDirectory = URI.revive(dto.context?.workingDirectory);
|
|
152
155
|
options.subAgentInvocationId = dto.subAgentInvocationId;
|
|
156
|
+
options.traceparent = dto.traceparent;
|
|
157
|
+
options.tracestate = dto.tracestate;
|
|
153
158
|
}
|
|
154
159
|
if (isProposedApiEnabled(item.extension) && dto.modelId) {
|
|
155
160
|
options.model = await this.getModel(dto.modelId, item.extension);
|
|
@@ -230,6 +235,7 @@ class ExtHostLanguageModelTools {
|
|
|
230
235
|
chatRequestId: context.chatRequestId,
|
|
231
236
|
chatSessionResource: context.chatSessionResource,
|
|
232
237
|
chatInteractionId: context.chatInteractionId,
|
|
238
|
+
workingDirectory: URI.revive(context.workingDirectory),
|
|
233
239
|
forceConfirmationReason: context.forceConfirmationReason
|
|
234
240
|
};
|
|
235
241
|
if (context.forceConfirmationReason) {
|
|
@@ -179,8 +179,12 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
|
|
|
179
179
|
detail: m.detail,
|
|
180
180
|
tooltip: m.tooltip,
|
|
181
181
|
version: m.version,
|
|
182
|
-
multiplier: m.multiplier,
|
|
183
182
|
multiplierNumeric: m.multiplierNumeric,
|
|
183
|
+
pricing: m.pricing,
|
|
184
|
+
inputCost: m.inputCost,
|
|
185
|
+
outputCost: m.outputCost,
|
|
186
|
+
cacheCost: m.cacheCost,
|
|
187
|
+
priceCategory: m.priceCategory,
|
|
184
188
|
maxInputTokens: m.maxInputTokens,
|
|
185
189
|
maxOutputTokens: m.maxOutputTokens,
|
|
186
190
|
auth,
|
|
@@ -371,6 +375,11 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
|
|
|
371
375
|
family: model.info.family,
|
|
372
376
|
version: model.info.version,
|
|
373
377
|
name: model.info.name,
|
|
378
|
+
pricing: model.metadata.pricing,
|
|
379
|
+
inputCost: model.metadata.inputCost,
|
|
380
|
+
outputCost: model.metadata.outputCost,
|
|
381
|
+
cacheCost: model.metadata.cacheCost,
|
|
382
|
+
priceCategory: model.metadata.priceCategory,
|
|
374
383
|
capabilities: {
|
|
375
384
|
supportsImageToText: model.metadata.capabilities?.vision ?? false,
|
|
376
385
|
supportsToolCalling: !!model.metadata.capabilities?.toolCalling,
|
|
@@ -491,7 +500,7 @@ let ExtHostLanguageModels = class ExtHostLanguageModels {
|
|
|
491
500
|
return false;
|
|
492
501
|
}
|
|
493
502
|
try {
|
|
494
|
-
const detail = justification ? ( localize(
|
|
503
|
+
const detail = justification ? ( localize(2789, "Justification: {1}", to.displayName, justification)) : undefined;
|
|
495
504
|
await this._extHostAuthentication.getSession(from, providerId, [], {
|
|
496
505
|
forceNewSession: {
|
|
497
506
|
detail
|
|
@@ -8,7 +8,7 @@ import { IExtHostInitDataService } from './extHostInitDataService.js';
|
|
|
8
8
|
let ExtHostLogService = class ExtHostLogService extends LogService {
|
|
9
9
|
constructor(isWorker, loggerService, initData) {
|
|
10
10
|
const id = initData.remote.isRemote ? "remoteexthost" : isWorker ? "workerexthost" : "exthost";
|
|
11
|
-
const name = initData.remote.isRemote ? ( localize(
|
|
11
|
+
const name = initData.remote.isRemote ? ( localize(2790, "Extension Host (Remote)")) : isWorker ? ( localize(2791, "Extension Host (Worker)")) : ( localize(2792, "Extension Host"));
|
|
12
12
|
super(loggerService.createLogger(id, {
|
|
13
13
|
name
|
|
14
14
|
}));
|
|
@@ -276,7 +276,7 @@ class ExtHostNotebookController {
|
|
|
276
276
|
));
|
|
277
277
|
}
|
|
278
278
|
if (!this._extHostFileSystem.value.isWritableFileSystem(uri.scheme)) {
|
|
279
|
-
throw new FileOperationError(( localize(
|
|
279
|
+
throw new FileOperationError(( localize(2793, "Unable to modify read-only file '{0}'", this._resourceForError(uri))), FileOperationResult.FILE_PERMISSION_DENIED);
|
|
280
280
|
}
|
|
281
281
|
const data = {
|
|
282
282
|
metadata: filter(
|
|
@@ -472,7 +472,7 @@ class ExtHostNotebookController {
|
|
|
472
472
|
mtime: options.mtime ,
|
|
473
473
|
size: stat.size
|
|
474
474
|
})) {
|
|
475
|
-
throw new FileOperationError(( localize(
|
|
475
|
+
throw new FileOperationError(( localize(2794, "File Modified Since")), FileOperationResult.FILE_MODIFIED_SINCE, options);
|
|
476
476
|
}
|
|
477
477
|
return;
|
|
478
478
|
}
|
|
@@ -928,6 +928,26 @@ let ExtHostSCM = class ExtHostSCM {
|
|
|
928
928
|
const sourceControls = this._sourceControlsByExtension.get(extension.identifier) || [];
|
|
929
929
|
sourceControls.push(sourceControl);
|
|
930
930
|
this._sourceControlsByExtension.set(extension.identifier, sourceControls);
|
|
931
|
+
Event.once(sourceControl.onDidDispose)(() => {
|
|
932
|
+
this.logService.trace(
|
|
933
|
+
"ExtHostSCM#disposeSourceControl",
|
|
934
|
+
extension.identifier.value,
|
|
935
|
+
id,
|
|
936
|
+
label,
|
|
937
|
+
rootUri
|
|
938
|
+
);
|
|
939
|
+
this._sourceControls.delete(sourceControl.handle);
|
|
940
|
+
const sourceControls = this._sourceControlsByExtension.get(extension.identifier);
|
|
941
|
+
if (sourceControls) {
|
|
942
|
+
const index = sourceControls.indexOf(sourceControl);
|
|
943
|
+
if (index !== -1) {
|
|
944
|
+
sourceControls.splice(index, 1);
|
|
945
|
+
}
|
|
946
|
+
if (sourceControls.length === 0) {
|
|
947
|
+
this._sourceControlsByExtension.delete(extension.identifier);
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
});
|
|
931
951
|
return sourceControl;
|
|
932
952
|
}
|
|
933
953
|
getLastInputBox(extension) {
|
|
@@ -195,7 +195,7 @@ class ExtHostStatusBarEntry {
|
|
|
195
195
|
name = this._name;
|
|
196
196
|
} else {
|
|
197
197
|
name = ( localize(
|
|
198
|
-
|
|
198
|
+
2795,
|
|
199
199
|
"{0} (Extension)",
|
|
200
200
|
this._extension.displayName || this._extension.name
|
|
201
201
|
));
|
|
@@ -248,7 +248,7 @@ class StatusBarMessage {
|
|
|
248
248
|
StatusBarAlignment.Left,
|
|
249
249
|
Number.MIN_VALUE
|
|
250
250
|
);
|
|
251
|
-
this._item.name = ( localize(
|
|
251
|
+
this._item.name = ( localize(2796, "Extension Status"));
|
|
252
252
|
}
|
|
253
253
|
dispose() {
|
|
254
254
|
this._messages.length = 0;
|
|
@@ -30,7 +30,7 @@ let ExtHostTelemetry = class ExtHostTelemetry extends Disposable {
|
|
|
30
30
|
const id = initData.remote.isRemote ? "remoteExtHostTelemetry" : isWorker ? "workerExtHostTelemetry" : "extHostTelemetry";
|
|
31
31
|
this._outputLogger = this._register(loggerService.createLogger(id, {
|
|
32
32
|
name: ( localize(
|
|
33
|
-
|
|
33
|
+
2797,
|
|
34
34
|
"Extension Telemetry{0}",
|
|
35
35
|
this._inLoggingOnlyMode ? " (Not Sent)" : ""
|
|
36
36
|
)),
|
|
@@ -551,7 +551,7 @@ let BaseExtHostTerminalService = class BaseExtHostTerminalService extends Dispos
|
|
|
551
551
|
const terminal = this.getTerminalById(id);
|
|
552
552
|
if (!terminal) {
|
|
553
553
|
return {
|
|
554
|
-
message: ( localize(
|
|
554
|
+
message: ( localize(2798, "Could not find the terminal with id {0} on the extension host", id))
|
|
555
555
|
};
|
|
556
556
|
}
|
|
557
557
|
if (!terminal.isOpen) {
|
|
@@ -15,7 +15,7 @@ export declare class ExtHostTreeViews extends Disposable implements ExtHostTreeV
|
|
|
15
15
|
constructor(_proxy: MainThreadTreeViewsShape, _commands: ExtHostCommands, _logService: ILogService);
|
|
16
16
|
registerTreeDataProvider<T>(id: string, treeDataProvider: vscode.TreeDataProvider<T>, extension: IExtensionDescription): vscode.Disposable;
|
|
17
17
|
createTreeView<T>(viewId: string, options: vscode.TreeViewOptions<T>, extension: IExtensionDescription): vscode.TreeView<T>;
|
|
18
|
-
$getChildren(treeViewId: string, treeItemHandles?: string[]): Promise<(number | ITreeItem)[][] | undefined>;
|
|
18
|
+
$getChildren(treeViewId: string, treeItemHandles?: string[]): Promise<(readonly (number | ITreeItem)[])[] | undefined>;
|
|
19
19
|
$handleDrop(destinationViewId: string, requestId: number, treeDataTransferDTO: DataTransferDTO, targetItemHandle: string | undefined, token: CancellationToken, operationUuid?: string, sourceViewId?: string, sourceTreeItemHandles?: string[]): Promise<void>;
|
|
20
20
|
private _addAdditionalTransferItems;
|
|
21
21
|
$handleDrag(sourceViewId: string, sourceTreeItemHandles: string[], operationUuid: string, token: CancellationToken): Promise<DataTransferDTO | undefined>;
|
|
@@ -164,11 +164,11 @@ let ExtHostTunnelService = class ExtHostTunnelService extends Disposable {
|
|
|
164
164
|
if (provider.tunnelFeatures?.public && (privacyOptions.length === 0)) {
|
|
165
165
|
privacyOptions = [{
|
|
166
166
|
id: "private",
|
|
167
|
-
label: ( localize(
|
|
167
|
+
label: ( localize(2799, "Private")),
|
|
168
168
|
themeIcon: "lock"
|
|
169
169
|
}, {
|
|
170
170
|
id: "public",
|
|
171
|
-
label: ( localize(
|
|
171
|
+
label: ( localize(2800, "Public")),
|
|
172
172
|
themeIcon: "eye"
|
|
173
173
|
}];
|
|
174
174
|
}
|
|
@@ -23,7 +23,7 @@ import { SaveReason } from "../../common/editor.js";
|
|
|
23
23
|
import { IViewBadge } from "../../common/views.js";
|
|
24
24
|
import { IChatAgentRequest, IChatAgentResult } from "../../contrib/chat/common/participants/chatAgents.js";
|
|
25
25
|
import { IChatRequestModeInstructions } from "../../contrib/chat/common/model/chatModel.js";
|
|
26
|
-
import { IChatAgentMarkdownContentWithVulnerability, IChatCodeCitation, IChatCommandButton, IChatConfirmation, IChatContentInlineReference, IChatContentReference, IChatExtensionsContent, IChatExternalToolInvocationUpdate, IChatFollowup, IChatHookPart, IChatMarkdownContent, IChatMoveMessage, IChatMultiDiffDataSerialized, IChatProgressMessage, IChatPullRequestContent, IChatQuestionCarousel, IChatResponseCodeblockUriPart, IChatTaskDto, IChatTaskResult, IChatTextEdit, IChatThinkingPart, IChatToolInvocationSerialized, IChatTreeData, IChatUserActionEvent, IChatWarningMessage, IChatWorkspaceEdit } from "../../contrib/chat/common/chatService/chatService.js";
|
|
26
|
+
import { IChatAgentMarkdownContentWithVulnerability, IChatCodeCitation, IChatCommandButton, IChatConfirmation, IChatContentInlineReference, IChatContentReference, IChatExtensionsContent, IChatExternalToolInvocationUpdate, IChatFollowup, IChatHookPart, IChatMarkdownContent, IChatMoveMessage, IChatMultiDiffDataSerialized, IChatProgressMessage, IChatPullRequestContent, IChatQuestionCarousel, IChatResponseCodeblockUriPart, IChatTaskDto, IChatTaskResult, IChatTextEdit, IChatThinkingPart, IChatToolInvocationSerialized, IChatTreeData, IChatUserActionEvent, IChatWarningMessage, IChatInfoMessage, IChatWorkspaceEdit } from "../../contrib/chat/common/chatService/chatService.js";
|
|
27
27
|
import { IChatRequestVariableEntry } from "../../contrib/chat/common/attachments/chatVariableEntries.js";
|
|
28
28
|
import { IChatSessionItem } from "../../contrib/chat/common/chatSessionsService.js";
|
|
29
29
|
import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
|
|
@@ -507,6 +507,10 @@ export declare namespace ChatResponseWarningPart {
|
|
|
507
507
|
function from(part: vscode.ChatResponseWarningPart): Dto<IChatWarningMessage>;
|
|
508
508
|
function to(part: Dto<IChatWarningMessage>): vscode.ChatResponseWarningPart;
|
|
509
509
|
}
|
|
510
|
+
export declare namespace ChatResponseInfoPart {
|
|
511
|
+
function from(part: vscode.ChatResponseInfoPart): Dto<IChatInfoMessage>;
|
|
512
|
+
function to(part: Dto<IChatInfoMessage>): vscode.ChatResponseInfoPart;
|
|
513
|
+
}
|
|
510
514
|
export declare namespace ChatResponseExtensionsPart {
|
|
511
515
|
function from(part: vscode.ChatResponseExtensionsPart): Dto<IChatExtensionsContent>;
|
|
512
516
|
}
|
|
@@ -43,7 +43,7 @@ import { SIDE_GROUP, ACTIVE_GROUP } from '../../services/editor/common/editorSer
|
|
|
43
43
|
import { isProposedApiEnabled, checkProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
44
44
|
import { SerializableObjectWithBuffers } from '../../services/extensions/common/proxyIdentifier.js';
|
|
45
45
|
import { getPrivateApiFor } from './extHostTestingPrivateApi.js';
|
|
46
|
-
import { StandardTokenType as StandardTokenType$1, ViewColumn as ViewColumn$1, DecorationRangeBehavior as DecorationRangeBehavior$1, DocumentSymbol as DocumentSymbol$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, VerboseHover, EvaluatableExpression as EvaluatableExpression$1, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext as InlineValueContext$1, DocumentHighlight as DocumentHighlight$1, MultiDocumentHighlight as MultiDocumentHighlight$1, CompletionTriggerKind as CompletionTriggerKind$1, CompletionItemTag as CompletionItemTag$1, CompletionItemKind as CompletionItemKind$1, CompletionItem as CompletionItem$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, DocumentLink as DocumentLink$1, ColorPresentation as ColorPresentation$1, Color as Color$1, SelectionRange as SelectionRange$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, ProgressLocation as ProgressLocation$1, FoldingRangeKind as FoldingRangeKind$1, RelativePattern, NotebookCellStatusBarAlignment, NotebookRendererScript as NotebookRendererScript$1, TestMessage as TestMessage$1, TestRunProfileKind as TestRunProfileKind$1, TestTag as TestTag$1, StatementCoverage, BranchCoverage, DeclarationCoverage, validateTestCoverageCount, FileCoverage, CodeActionTriggerKind as CodeActionTriggerKind$1, TypeHierarchyItem as TypeHierarchyItem$1, InternalFileDataTransferItem, DataTransferFile, InternalDataTransferItem, DataTransfer as DataTransfer$1, LanguageModelChatMessageRole as LanguageModelChatMessageRole$1, LanguageModelTextPart, LanguageModelDataPart, LanguageModelPromptTsxPart, LanguageModelToolResultPart, LanguageModelToolCallPart, LanguageModelChatMessage as LanguageModelChatMessage$1, LanguageModelThinkingPart, LanguageModelChatMessage2 as LanguageModelChatMessage2$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatQuestionType, ChatQuestion, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseFileTreePart, ChatResponseMultiDiffPart as ChatResponseMultiDiffPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponseProgressPart as ChatResponseProgressPart$1, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseMovePart as ChatResponseMovePart$1, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart as ChatToolInvocationPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseExtensionsPart as ChatResponseExtensionsPart$1, ChatResponsePullRequestPart as ChatResponsePullRequestPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatLocation as ChatLocation$1, ChatReferenceBinaryData, ChatReferenceDiagnostic, LanguageModelToolResult as LanguageModelToolResult$1, ChatEditingSessionActionOutcome, PartialAcceptTriggerKind as PartialAcceptTriggerKind$1, InlineCompletionEndOfLifeReasonKind as InlineCompletionEndOfLifeReasonKind$1, InlineCompletionDisplayLocationKind, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, McpHttpServerDefinition, McpStdioServerDefinition, SourceControlInputBoxValidationType as SourceControlInputBoxValidationType$1 } from './extHostTypes.js';
|
|
46
|
+
import { StandardTokenType as StandardTokenType$1, ViewColumn as ViewColumn$1, DecorationRangeBehavior as DecorationRangeBehavior$1, DocumentSymbol as DocumentSymbol$1, CallHierarchyItem as CallHierarchyItem$1, CallHierarchyIncomingCall as CallHierarchyIncomingCall$1, CallHierarchyOutgoingCall as CallHierarchyOutgoingCall$1, VerboseHover, EvaluatableExpression as EvaluatableExpression$1, InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression, InlineValueContext as InlineValueContext$1, DocumentHighlight as DocumentHighlight$1, MultiDocumentHighlight as MultiDocumentHighlight$1, CompletionTriggerKind as CompletionTriggerKind$1, CompletionItemTag as CompletionItemTag$1, CompletionItemKind as CompletionItemKind$1, CompletionItem as CompletionItem$1, InlayHint as InlayHint$1, InlayHintLabelPart as InlayHintLabelPart$1, DocumentLink as DocumentLink$1, ColorPresentation as ColorPresentation$1, Color as Color$1, SelectionRange as SelectionRange$1, TextDocumentSaveReason as TextDocumentSaveReason$1, TextEditorLineNumbersStyle as TextEditorLineNumbersStyle$1, ProgressLocation as ProgressLocation$1, FoldingRangeKind as FoldingRangeKind$1, RelativePattern, NotebookCellStatusBarAlignment, NotebookRendererScript as NotebookRendererScript$1, TestMessage as TestMessage$1, TestRunProfileKind as TestRunProfileKind$1, TestTag as TestTag$1, StatementCoverage, BranchCoverage, DeclarationCoverage, validateTestCoverageCount, FileCoverage, CodeActionTriggerKind as CodeActionTriggerKind$1, TypeHierarchyItem as TypeHierarchyItem$1, InternalFileDataTransferItem, DataTransferFile, InternalDataTransferItem, DataTransfer as DataTransfer$1, LanguageModelChatMessageRole as LanguageModelChatMessageRole$1, LanguageModelTextPart, LanguageModelDataPart, LanguageModelPromptTsxPart, LanguageModelToolResultPart, LanguageModelToolCallPart, LanguageModelChatMessage as LanguageModelChatMessage$1, LanguageModelThinkingPart, LanguageModelChatMessage2 as LanguageModelChatMessage2$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatQuestionType, ChatQuestion, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseFileTreePart, ChatResponseMultiDiffPart as ChatResponseMultiDiffPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponseProgressPart as ChatResponseProgressPart$1, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseInfoPart as ChatResponseInfoPart$1, ChatResponseMovePart as ChatResponseMovePart$1, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart as ChatToolInvocationPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseExtensionsPart as ChatResponseExtensionsPart$1, ChatResponsePullRequestPart as ChatResponsePullRequestPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatLocation as ChatLocation$1, ChatReferenceBinaryData, ChatReferenceDiagnostic, LanguageModelToolResult as LanguageModelToolResult$1, ChatEditingSessionActionOutcome, PartialAcceptTriggerKind as PartialAcceptTriggerKind$1, InlineCompletionEndOfLifeReasonKind as InlineCompletionEndOfLifeReasonKind$1, InlineCompletionDisplayLocationKind, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, McpHttpServerDefinition, McpStdioServerDefinition, SourceControlInputBoxValidationType as SourceControlInputBoxValidationType$1 } from './extHostTypes.js';
|
|
47
47
|
import { SymbolKind as SymbolKind$2, SymbolTag as SymbolTag$1, SymbolInformation } from './extHostTypes/symbolInformation.js';
|
|
48
48
|
import { Position as Position$1 } from './extHostTypes/position.js';
|
|
49
49
|
import { Selection as Selection$1 } from './extHostTypes/selection.js';
|
|
@@ -2829,6 +2829,20 @@ var ChatResponseWarningPart;
|
|
|
2829
2829
|
}
|
|
2830
2830
|
ChatResponseWarningPart.to = to;
|
|
2831
2831
|
})(ChatResponseWarningPart || (ChatResponseWarningPart = {}));
|
|
2832
|
+
var ChatResponseInfoPart;
|
|
2833
|
+
(function(ChatResponseInfoPart) {
|
|
2834
|
+
function from(part) {
|
|
2835
|
+
return {
|
|
2836
|
+
kind: "info",
|
|
2837
|
+
content: MarkdownString.from(part.value)
|
|
2838
|
+
};
|
|
2839
|
+
}
|
|
2840
|
+
ChatResponseInfoPart.from = from;
|
|
2841
|
+
function to(part) {
|
|
2842
|
+
return new ChatResponseInfoPart$1(part.content.value);
|
|
2843
|
+
}
|
|
2844
|
+
ChatResponseInfoPart.to = to;
|
|
2845
|
+
})(ChatResponseInfoPart || (ChatResponseInfoPart = {}));
|
|
2832
2846
|
var ChatResponseExtensionsPart;
|
|
2833
2847
|
(function(ChatResponseExtensionsPart) {
|
|
2834
2848
|
function from(part) {
|
|
@@ -3294,6 +3308,8 @@ var ChatResponsePart;
|
|
|
3294
3308
|
return ChatResponseCodeblockUriPart.from(part);
|
|
3295
3309
|
} else if (part instanceof ChatResponseWarningPart$1) {
|
|
3296
3310
|
return ChatResponseWarningPart.from(part);
|
|
3311
|
+
} else if (part instanceof ChatResponseInfoPart$1) {
|
|
3312
|
+
return ChatResponseInfoPart.from(part);
|
|
3297
3313
|
} else if (part instanceof ChatResponseConfirmationPart$1) {
|
|
3298
3314
|
return ChatResponseConfirmationPart.from(part);
|
|
3299
3315
|
} else if (part instanceof ChatResponseQuestionCarouselPart$1) {
|
|
@@ -3388,7 +3404,8 @@ var ChatAgentRequest;
|
|
|
3388
3404
|
rejectedConfirmationData: request.rejectedConfirmationData,
|
|
3389
3405
|
location2,
|
|
3390
3406
|
toolInvocationToken: ( Object.freeze({
|
|
3391
|
-
sessionResource: request.sessionResource
|
|
3407
|
+
sessionResource: request.sessionResource,
|
|
3408
|
+
workingDirectory: URI.revive(request.workingDirectory)
|
|
3392
3409
|
})),
|
|
3393
3410
|
tools,
|
|
3394
3411
|
model,
|
|
@@ -4197,4 +4214,4 @@ var ChatSessionItem;
|
|
|
4197
4214
|
ChatSessionItem.from = from;
|
|
4198
4215
|
})(ChatSessionItem || (ChatSessionItem = {}));
|
|
4199
4216
|
|
|
4200
|
-
export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatHookCommand, ChatLanguageModelToolReference, ChatLocation, ChatPromptReference, ChatRequestHooksConverter, ChatRequestModeInstructions, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseHookPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatSessionCustomizationType, ChatSessionItem, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionEndOfLifeReason, InlineCompletionHintStyle, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SourceControlInputBoxValidationType, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalCompletionResourceOptions, TerminalQuickFix, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
|
|
4217
|
+
export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatHookCommand, ChatLanguageModelToolReference, ChatLocation, ChatPromptReference, ChatRequestHooksConverter, ChatRequestModeInstructions, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseHookPart, ChatResponseInfoPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatSessionCustomizationType, ChatSessionItem, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionEndOfLifeReason, InlineCompletionHintStyle, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SourceControlInputBoxValidationType, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalCompletionResourceOptions, TerminalQuickFix, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
|
|
@@ -1532,6 +1532,10 @@ export declare class ChatResponseWarningPart {
|
|
|
1532
1532
|
value: vscode.MarkdownString;
|
|
1533
1533
|
constructor(value: string | vscode.MarkdownString);
|
|
1534
1534
|
}
|
|
1535
|
+
export declare class ChatResponseInfoPart {
|
|
1536
|
+
value: vscode.MarkdownString;
|
|
1537
|
+
constructor(value: string | vscode.MarkdownString);
|
|
1538
|
+
}
|
|
1535
1539
|
export declare class ChatResponseCommandButtonPart {
|
|
1536
1540
|
value: vscode.Command;
|
|
1537
1541
|
constructor(value: vscode.Command);
|
|
@@ -1801,10 +1805,13 @@ export declare class ChatDebugModelTurnEvent {
|
|
|
1801
1805
|
created: Date;
|
|
1802
1806
|
parentEventId?: string;
|
|
1803
1807
|
model?: string;
|
|
1808
|
+
requestName?: string;
|
|
1804
1809
|
inputTokens?: number;
|
|
1805
1810
|
outputTokens?: number;
|
|
1811
|
+
cachedTokens?: number;
|
|
1806
1812
|
totalTokens?: number;
|
|
1807
1813
|
cost?: number;
|
|
1814
|
+
copilotUsageNanoAiu?: number;
|
|
1808
1815
|
durationInMillis?: number;
|
|
1809
1816
|
constructor(created: Date);
|
|
1810
1817
|
}
|
|
@@ -1891,12 +1898,14 @@ export declare class ChatDebugEventModelTurnContent {
|
|
|
1891
1898
|
status?: string;
|
|
1892
1899
|
durationInMillis?: number;
|
|
1893
1900
|
timeToFirstTokenInMillis?: number;
|
|
1901
|
+
requestId?: string;
|
|
1894
1902
|
maxInputTokens?: number;
|
|
1895
1903
|
maxOutputTokens?: number;
|
|
1896
1904
|
inputTokens?: number;
|
|
1897
1905
|
outputTokens?: number;
|
|
1898
1906
|
cachedTokens?: number;
|
|
1899
1907
|
totalTokens?: number;
|
|
1908
|
+
requestOptions?: string;
|
|
1900
1909
|
errorMessage?: string;
|
|
1901
1910
|
sections?: ChatDebugMessageSection[];
|
|
1902
1911
|
constructor(requestName: string);
|
|
@@ -1974,6 +1983,11 @@ export declare enum ChatErrorLevel {
|
|
|
1974
1983
|
Warning = 1,
|
|
1975
1984
|
Error = 2
|
|
1976
1985
|
}
|
|
1986
|
+
export declare enum ChatInputNotificationSeverity {
|
|
1987
|
+
Info = 0,
|
|
1988
|
+
Warning = 1,
|
|
1989
|
+
Error = 2
|
|
1990
|
+
}
|
|
1977
1991
|
export declare class LanguageModelChatMessage implements vscode.LanguageModelChatMessage {
|
|
1978
1992
|
static User(content: string | (LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart | LanguageModelDataPart)[], name?: string): LanguageModelChatMessage;
|
|
1979
1993
|
static Assistant(content: string | (LanguageModelTextPart | LanguageModelToolResultPart | LanguageModelToolCallPart | LanguageModelDataPart)[], name?: string): LanguageModelChatMessage;
|
|
@@ -2473,6 +2473,16 @@ class ChatResponseWarningPart {
|
|
|
2473
2473
|
this.value = typeof value === "string" ? ( new MarkdownString(value)) : value;
|
|
2474
2474
|
}
|
|
2475
2475
|
}
|
|
2476
|
+
class ChatResponseInfoPart {
|
|
2477
|
+
constructor(value) {
|
|
2478
|
+
if (typeof value !== "string" && value.isTrusted === true) {
|
|
2479
|
+
throw ( new Error(
|
|
2480
|
+
"The boolean form of MarkdownString.isTrusted is NOT supported for chat participants."
|
|
2481
|
+
));
|
|
2482
|
+
}
|
|
2483
|
+
this.value = typeof value === "string" ? ( new MarkdownString(value)) : value;
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2476
2486
|
class ChatResponseCommandButtonPart {
|
|
2477
2487
|
constructor(value) {
|
|
2478
2488
|
this.value = value;
|
|
@@ -2856,6 +2866,12 @@ var ChatErrorLevel;
|
|
|
2856
2866
|
ChatErrorLevel[ChatErrorLevel["Warning"] = 1] = "Warning";
|
|
2857
2867
|
ChatErrorLevel[ChatErrorLevel["Error"] = 2] = "Error";
|
|
2858
2868
|
})(ChatErrorLevel || (ChatErrorLevel = {}));
|
|
2869
|
+
var ChatInputNotificationSeverity;
|
|
2870
|
+
(function(ChatInputNotificationSeverity) {
|
|
2871
|
+
ChatInputNotificationSeverity[ChatInputNotificationSeverity["Info"] = 0] = "Info";
|
|
2872
|
+
ChatInputNotificationSeverity[ChatInputNotificationSeverity["Warning"] = 1] = "Warning";
|
|
2873
|
+
ChatInputNotificationSeverity[ChatInputNotificationSeverity["Error"] = 2] = "Error";
|
|
2874
|
+
})(ChatInputNotificationSeverity || (ChatInputNotificationSeverity = {}));
|
|
2859
2875
|
class LanguageModelChatMessage {
|
|
2860
2876
|
static User(content, name) {
|
|
2861
2877
|
return ( new LanguageModelChatMessage(LanguageModelChatMessageRole.User, content, name));
|
|
@@ -3130,4 +3146,4 @@ class McpHttpServerDefinition {
|
|
|
3130
3146
|
}
|
|
3131
3147
|
}
|
|
3132
3148
|
|
|
3133
|
-
export { BranchCoverage, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CellErrorStackFrame, ChatCompletionItem, ChatCopyKind, ChatDebugAgentResponseEvent, ChatDebugEventHookContent, ChatDebugEventMessageContent, ChatDebugEventModelTurnContent, ChatDebugEventTextContent, ChatDebugEventToolCallContent, ChatDebugGenericEvent, ChatDebugHookResult, ChatDebugLogLevel, ChatDebugMessageContentType, ChatDebugMessageSection, ChatDebugModelTurnEvent, ChatDebugSubagentInvocationEvent, ChatDebugSubagentStatus, ChatDebugToolCallEvent, ChatDebugToolCallResult, ChatDebugUserMessageEvent, ChatEditingSessionActionOutcome, ChatEditorTabInput, ChatErrorLevel, ChatImageMimeType, ChatLocation, ChatQuestion, ChatQuestionType, ChatReferenceBinaryData, ChatReferenceDiagnostic, ChatRequestEditedFileEventKind, ChatRequestEditorData, ChatRequestNotebookData, ChatRequestTurn, ChatResponseAnchorPart, ChatResponseClearToPreviousToolInvocationReason, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseFileTreePart, ChatResponseHookPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponseProgressPart, ChatResponseProgressPart2, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseReferencePartStatusKind, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseTurn, ChatResponseTurn2, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatResultFeedbackKind, ChatSessionChangedFile, ChatSessionCustomizationType, ChatSessionStatus, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart, ChatVariableLevel, CodeAction, CodeActionTriggerKind, CodeLens, Color, ColorFormat, ColorInformation, ColorPresentation, ColorTheme, ColorThemeKind, CommentMode, CommentState, CommentThreadApplicability, CommentThreadCollapsibleState, CommentThreadFocus, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomEditorTabInput, CustomExecution, DataBreakpoint, DataTransfer, DataTransferFile, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DebugStackFrame, DebugThread, DebugVisualization, DeclarationCoverage, DecorationRangeBehavior, Disposable, DocumentDropEdit, DocumentDropOrPasteEditKind, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentPasteEdit, DocumentPasteTriggerKind, DocumentSymbol, EnvironmentVariableMutatorType, EvaluatableExpression, ExtendedLanguageModelToolResult, ExtensionKind, ExtensionMode, ExtensionRuntime, ExternalUriOpenerPriority, FileChangeType, FileCoverage, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, HoverVerbosityAction, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, InlineCompletionTriggerKind, InlineCompletionsDisposeReasonKind, InlineSuggestion, InlineSuggestionList, InlineValueContext, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, InteractiveEditorResponseFeedbackKind, InteractiveSessionVoteDirection, InteractiveWindowInput, InternalDataTransferItem, InternalFileDataTransferItem, KeywordRecognitionStatus, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelChatToolMode, LanguageModelDataPart, LanguageModelError, LanguageModelPartAudience, LanguageModelPromptTsxPart, LanguageModelTextPart, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelToolExtensionSource, LanguageModelToolMCPSource, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolResultPart, LanguageStatusSeverity, LinkedEditingRanges, ManagedResolvedAuthority, MarkdownString, McpHttpServerDefinition, McpStdioServerDefinition, McpToolAvailability, McpToolInvocationContentData, MultiDocumentHighlight, NewSymbolName, NewSymbolNameTag, NewSymbolNameTriggerKind, NotebookCellExecutionState, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookDiffEditorTabInput, NotebookEditorRevealType, NotebookEditorTabInput, NotebookKernelSourceAction, NotebookRendererScript, NotebookVariablesRequestKind, ParameterInformation, PartialAcceptTriggerKind, PortAttributes, PortAutoForwardAction, ProcessExecution, ProgressLocation, QuickInputButtonLocation, QuickInputButtons, QuickPickItemKind, Range, RelatedInformationType, RelativePattern, RemoteAuthorityResolverError, ResolvedAuthority, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, SettingsSearchResultKind, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SourceBreakpoint, SourceControlInputBoxValidationType, SpeechToTextStatus, StandardTokenType, StatementCoverage, StatusBarAlignment, SyntaxTokenType, Task, TaskEventKind, TaskGroup, TaskPanelKind, TaskRevealKind, TaskRunOn, TaskScope, TerminalCompletionItem, TerminalCompletionItemKind, TerminalCompletionList, TerminalEditorTabInput, TerminalExitReason, TerminalLink, TerminalLocation, TerminalOutputAnchor, TerminalProfile, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalQuickFixType, TerminalShellExecutionCommandLineConfidence, TerminalShellType, TestCoverageCount, TestMessage, TestMessageStackFrame, TestResultState, TestRunProfileBase, TestRunProfileKind, TestRunRequest, TestTag, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason, TextEditorChangeKind, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextMergeTabInput, TextMultiDiffTabInput, TextTabInput, TextToSpeechStatus, ThemeColor, ThemeIcon, TimelineItem, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, VerboseHover, ViewBadge, ViewColumn, WebviewEditorTabInput, WorkspaceTrustState, asStatusBarItemIdentifier, setBreakpointId, validateTestCoverageCount };
|
|
3149
|
+
export { BranchCoverage, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CellErrorStackFrame, ChatCompletionItem, ChatCopyKind, ChatDebugAgentResponseEvent, ChatDebugEventHookContent, ChatDebugEventMessageContent, ChatDebugEventModelTurnContent, ChatDebugEventTextContent, ChatDebugEventToolCallContent, ChatDebugGenericEvent, ChatDebugHookResult, ChatDebugLogLevel, ChatDebugMessageContentType, ChatDebugMessageSection, ChatDebugModelTurnEvent, ChatDebugSubagentInvocationEvent, ChatDebugSubagentStatus, ChatDebugToolCallEvent, ChatDebugToolCallResult, ChatDebugUserMessageEvent, ChatEditingSessionActionOutcome, ChatEditorTabInput, ChatErrorLevel, ChatImageMimeType, ChatInputNotificationSeverity, ChatLocation, ChatQuestion, ChatQuestionType, ChatReferenceBinaryData, ChatReferenceDiagnostic, ChatRequestEditedFileEventKind, ChatRequestEditorData, ChatRequestNotebookData, ChatRequestTurn, ChatResponseAnchorPart, ChatResponseClearToPreviousToolInvocationReason, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseFileTreePart, ChatResponseHookPart, ChatResponseInfoPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponseProgressPart, ChatResponseProgressPart2, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseReferencePartStatusKind, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseTurn, ChatResponseTurn2, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatResultFeedbackKind, ChatSessionChangedFile, ChatSessionCustomizationType, ChatSessionStatus, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart, ChatVariableLevel, CodeAction, CodeActionTriggerKind, CodeLens, Color, ColorFormat, ColorInformation, ColorPresentation, ColorTheme, ColorThemeKind, CommentMode, CommentState, CommentThreadApplicability, CommentThreadCollapsibleState, CommentThreadFocus, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomEditorTabInput, CustomExecution, DataBreakpoint, DataTransfer, DataTransferFile, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DebugStackFrame, DebugThread, DebugVisualization, DeclarationCoverage, DecorationRangeBehavior, Disposable, DocumentDropEdit, DocumentDropOrPasteEditKind, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentPasteEdit, DocumentPasteTriggerKind, DocumentSymbol, EnvironmentVariableMutatorType, EvaluatableExpression, ExtendedLanguageModelToolResult, ExtensionKind, ExtensionMode, ExtensionRuntime, ExternalUriOpenerPriority, FileChangeType, FileCoverage, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, HoverVerbosityAction, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, InlineCompletionTriggerKind, InlineCompletionsDisposeReasonKind, InlineSuggestion, InlineSuggestionList, InlineValueContext, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, InteractiveEditorResponseFeedbackKind, InteractiveSessionVoteDirection, InteractiveWindowInput, InternalDataTransferItem, InternalFileDataTransferItem, KeywordRecognitionStatus, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelChatToolMode, LanguageModelDataPart, LanguageModelError, LanguageModelPartAudience, LanguageModelPromptTsxPart, LanguageModelTextPart, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelToolExtensionSource, LanguageModelToolMCPSource, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolResultPart, LanguageStatusSeverity, LinkedEditingRanges, ManagedResolvedAuthority, MarkdownString, McpHttpServerDefinition, McpStdioServerDefinition, McpToolAvailability, McpToolInvocationContentData, MultiDocumentHighlight, NewSymbolName, NewSymbolNameTag, NewSymbolNameTriggerKind, NotebookCellExecutionState, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookDiffEditorTabInput, NotebookEditorRevealType, NotebookEditorTabInput, NotebookKernelSourceAction, NotebookRendererScript, NotebookVariablesRequestKind, ParameterInformation, PartialAcceptTriggerKind, PortAttributes, PortAutoForwardAction, ProcessExecution, ProgressLocation, QuickInputButtonLocation, QuickInputButtons, QuickPickItemKind, Range, RelatedInformationType, RelativePattern, RemoteAuthorityResolverError, ResolvedAuthority, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, SettingsSearchResultKind, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SourceBreakpoint, SourceControlInputBoxValidationType, SpeechToTextStatus, StandardTokenType, StatementCoverage, StatusBarAlignment, SyntaxTokenType, Task, TaskEventKind, TaskGroup, TaskPanelKind, TaskRevealKind, TaskRunOn, TaskScope, TerminalCompletionItem, TerminalCompletionItemKind, TerminalCompletionList, TerminalEditorTabInput, TerminalExitReason, TerminalLink, TerminalLocation, TerminalOutputAnchor, TerminalProfile, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalQuickFixType, TerminalShellExecutionCommandLineConfidence, TerminalShellType, TestCoverageCount, TestMessage, TestMessageStackFrame, TestResultState, TestRunProfileBase, TestRunProfileKind, TestRunRequest, TestTag, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason, TextEditorChangeKind, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextMergeTabInput, TextMultiDiffTabInput, TextTabInput, TextToSpeechStatus, ThemeColor, ThemeIcon, TimelineItem, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, VerboseHover, ViewBadge, ViewColumn, WebviewEditorTabInput, WorkspaceTrustState, asStatusBarItemIdentifier, setBreakpointId, validateTestCoverageCount };
|
|
@@ -39,6 +39,17 @@ export declare class ExtHostWebviews extends Disposable implements extHostProtoc
|
|
|
39
39
|
$onMessage(handle: extHostProtocol.WebviewHandle, jsonMessage: string, buffers: SerializableObjectWithBuffers<VSBuffer[]>): void;
|
|
40
40
|
$onMissingCsp(_handle: extHostProtocol.WebviewHandle, extensionId: string): void;
|
|
41
41
|
createNewWebview(handle: string, options: extHostProtocol.IWebviewContentOptions, extension: IExtensionDescription): ExtHostWebview;
|
|
42
|
+
/**
|
|
43
|
+
* Ensures that the main thread side of the webview has `localResourceRoots`
|
|
44
|
+
* populated when the caller did not supply any.
|
|
45
|
+
*
|
|
46
|
+
* This honors the documented `WebviewOptions.localResourceRoots` contract
|
|
47
|
+
* ("Default to ... the workspace folders and the extension's install
|
|
48
|
+
* directory") for code paths that construct the webview's content options
|
|
49
|
+
* outside of the extension host (e.g. custom editors), where the main
|
|
50
|
+
* thread starts with empty content options.
|
|
51
|
+
*/
|
|
52
|
+
ensureDefaultContentOptions(handle: extHostProtocol.WebviewHandle, contentOptions: extHostProtocol.IWebviewContentOptions, extension: IExtensionDescription): void;
|
|
42
53
|
deleteWebview(handle: string): void;
|
|
43
54
|
private getWebview;
|
|
44
55
|
}
|
|
@@ -219,6 +219,15 @@ class ExtHostWebviews extends Disposable {
|
|
|
219
219
|
});
|
|
220
220
|
return webview;
|
|
221
221
|
}
|
|
222
|
+
ensureDefaultContentOptions(handle, contentOptions, extension) {
|
|
223
|
+
if (contentOptions.localResourceRoots) {
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
this._webviewProxy.$setOptions(handle, {
|
|
227
|
+
...contentOptions,
|
|
228
|
+
localResourceRoots: getDefaultLocalResourceRoots(extension, this.workspace)
|
|
229
|
+
});
|
|
230
|
+
}
|
|
222
231
|
deleteWebview(handle) {
|
|
223
232
|
this._webviews.delete(handle);
|
|
224
233
|
}
|
|
@@ -16,7 +16,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
16
16
|
extensionPoint: "jsonValidation",
|
|
17
17
|
defaultExtensionKind: ["workspace", "web"],
|
|
18
18
|
jsonSchema: {
|
|
19
|
-
description: ( localize(
|
|
19
|
+
description: ( localize(2802, "Contributes json schema configuration.")),
|
|
20
20
|
type: "array",
|
|
21
21
|
defaultSnippets: [{
|
|
22
22
|
body: [{
|
|
@@ -36,7 +36,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
36
36
|
fileMatch: {
|
|
37
37
|
type: ["string", "array"],
|
|
38
38
|
description: ( localize(
|
|
39
|
-
|
|
39
|
+
2803,
|
|
40
40
|
"The file pattern (or an array of patterns) to match, for example \"package.json\" or \"*.launch\". Exclusion patterns start with '!'"
|
|
41
41
|
)),
|
|
42
42
|
items: {
|
|
@@ -45,7 +45,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
45
45
|
},
|
|
46
46
|
url: {
|
|
47
47
|
description: ( localize(
|
|
48
|
-
|
|
48
|
+
2804,
|
|
49
49
|
"A schema URL ('http:', 'https:') or relative path to the extension folder ('./')."
|
|
50
50
|
)),
|
|
51
51
|
type: "string"
|
|
@@ -62,20 +62,20 @@ class JSONValidationExtensionPoint {
|
|
|
62
62
|
const collector = extension.collector;
|
|
63
63
|
const extensionLocation = extension.description.extensionLocation;
|
|
64
64
|
if (!extensionValue || !Array.isArray(extensionValue)) {
|
|
65
|
-
collector.error(( localize(
|
|
65
|
+
collector.error(( localize(2805, "'configuration.jsonValidation' must be a array")));
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
68
|
extensionValue.forEach(extension => {
|
|
69
69
|
if (!isString(extension.fileMatch) && !(Array.isArray(extension.fileMatch) && extension.fileMatch.every(isString))) {
|
|
70
70
|
collector.error(( localize(
|
|
71
|
-
|
|
71
|
+
2806,
|
|
72
72
|
"'configuration.jsonValidation.fileMatch' must be defined as a string or an array of strings."
|
|
73
73
|
)));
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
76
|
const uri = extension.url;
|
|
77
77
|
if (!isString(uri)) {
|
|
78
|
-
collector.error(( localize(
|
|
78
|
+
collector.error(( localize(2807, "'configuration.jsonValidation.url' must be a URL or relative path")));
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
81
|
if (uri.startsWith("./")) {
|
|
@@ -83,7 +83,7 @@ class JSONValidationExtensionPoint {
|
|
|
83
83
|
const colorThemeLocation = joinPath(extensionLocation, uri);
|
|
84
84
|
if (!isEqualOrParent(colorThemeLocation, extensionLocation)) {
|
|
85
85
|
collector.warn(( localize(
|
|
86
|
-
|
|
86
|
+
2808,
|
|
87
87
|
"Expected `contributes.{0}.url` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
|
|
88
88
|
configurationExtPoint.name,
|
|
89
89
|
(colorThemeLocation.toString()),
|
|
@@ -92,14 +92,14 @@ class JSONValidationExtensionPoint {
|
|
|
92
92
|
}
|
|
93
93
|
} catch (e) {
|
|
94
94
|
collector.error(( localize(
|
|
95
|
-
|
|
95
|
+
2809,
|
|
96
96
|
"'configuration.jsonValidation.url' is an invalid relative URL: {0}",
|
|
97
97
|
e.message
|
|
98
98
|
)));
|
|
99
99
|
}
|
|
100
100
|
} else if (!/^[^:/?#]+:\/\//.test(uri)) {
|
|
101
101
|
collector.error(( localize(
|
|
102
|
-
|
|
102
|
+
2810,
|
|
103
103
|
"'configuration.jsonValidation.url' must be an absolute URL or start with './' to reference schemas located in the extension."
|
|
104
104
|
)));
|
|
105
105
|
return;
|
|
@@ -128,7 +128,7 @@ class JSONValidationDataRenderer extends Disposable {
|
|
|
128
128
|
dispose: () => {}
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
const headers = [( localize(
|
|
131
|
+
const headers = [( localize(2811, "File Match")), ( localize(2812, "Schema"))];
|
|
132
132
|
const rows = ( contrib.map(v => {
|
|
133
133
|
return [( new MarkdownString()).appendMarkdown(`\`${Array.isArray(v.fileMatch) ? v.fileMatch.join(", ") : v.fileMatch}\``), v.url];
|
|
134
134
|
}));
|
|
@@ -143,7 +143,7 @@ class JSONValidationDataRenderer extends Disposable {
|
|
|
143
143
|
}
|
|
144
144
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
145
145
|
id: "jsonValidation",
|
|
146
|
-
label: ( localize(
|
|
146
|
+
label: ( localize(2813, "JSON Validation")),
|
|
147
147
|
access: {
|
|
148
148
|
canToggle: false
|
|
149
149
|
},
|