@codingame/monaco-vscode-api 33.0.9 → 34.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/extensions.d.ts +1 -1
- package/missing-services.js +191 -11
- package/package.json +10 -9
- package/services.d.ts +6 -0
- package/services.js +9 -3
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +15 -9
- package/vscode/src/vs/base/browser/ui/button/button.css +10 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +3 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.css +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +3 -5
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +1 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabels.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabels.js +8 -4
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +3 -0
- package/vscode/src/vs/base/browser/ui/menu/menu.js +15 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +6 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +6 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +10 -4
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +8 -1
- package/vscode/src/vs/base/common/codicons.d.ts +58 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +59 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +59 -0
- package/vscode/src/vs/base/common/collections.d.ts +12 -4
- package/vscode/src/vs/base/common/collections.js +15 -1
- package/vscode/src/vs/base/common/defaultAccount.d.ts +24 -0
- package/vscode/src/vs/base/common/extpath.d.ts +1 -1
- package/vscode/src/vs/base/common/extpath.js +7 -2
- package/vscode/src/vs/base/common/htmlContent.js +3 -1
- package/vscode/src/vs/base/common/managedSettings.d.ts +19 -0
- package/vscode/src/vs/base/common/map.d.ts +13 -13
- package/vscode/src/vs/base/common/map.js +3 -0
- package/vscode/src/vs/base/common/oauth.d.ts +47 -0
- package/vscode/src/vs/base/common/oauth.js +40 -1
- package/vscode/src/vs/base/common/observableInternal/map.d.ts +4 -4
- package/vscode/src/vs/base/common/observableInternal/set.d.ts +5 -5
- package/vscode/src/vs/base/common/product.d.ts +1 -0
- package/vscode/src/vs/base/common/resources.js +1 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.d.ts +2 -1
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +29 -9
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +7 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +9 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +15 -9
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.js +370 -370
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
- package/vscode/src/vs/editor/common/diff/externalLinesDiffComputer.d.ts +2 -0
- package/vscode/src/vs/editor/common/diff/externalLinesDiffComputer.js +79 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputers.d.ts +3 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputers.js +4 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +49 -49
- package/vscode/src/vs/editor/common/languages/languageConfiguration.d.ts +0 -1
- 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/editorWebWorker.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/editorWebWorker.js +19 -7
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +50 -50
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +1 -1
- 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/folding/browser/indentRangeProvider.js +28 -3
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +17 -14
- 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/hover.css +1 -1
- 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 +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +13 -9
- 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 +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +6 -6
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/media/peekViewWidget.css +1 -1
- 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.css +1 -1
- 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 +5 -5
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +9 -9
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.d.ts +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +19 -14
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +22 -21
- 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/standaloneServices.js +6 -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 +2 -2
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +9 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +12 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +12 -12
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +77 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +191 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +7 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +10 -3
- package/vscode/src/vs/platform/actions/common/actions.d.ts +5 -0
- package/vscode/src/vs/platform/actions/common/actions.js +15 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +12 -4
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +20 -2
- package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.service.d.ts +70 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostResourceService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +2 -2
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +48 -4
- package/vscode/src/vs/platform/agentHost/common/relayTransport.d.ts +46 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +12 -1
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +25 -1
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +21 -2
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +4 -9
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +2 -2
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +16 -4
- package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +6 -1054
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/actions.d.ts +103 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/commands.d.ts +97 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/commands.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.d.ts +189 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.js +22 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-otlp/notifications.d.ts +112 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-otlp/state.d.ts +57 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/actions.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/commands.d.ts +80 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state.d.ts +62 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state.js +10 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/actions.d.ts +56 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/commands.d.ts +164 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/notifications.d.ts +129 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.d.ts +130 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.js +10 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/actions.d.ts +774 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.d.ts +254 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.js +8 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.d.ts +1751 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/{state.js → channels-session/state.js} +43 -19
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/actions.d.ts +179 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/commands.d.ts +44 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/state.d.ts +144 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-terminal/state.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +6 -973
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.d.ts +104 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/{actions.js → common/actions.js} +12 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/commands.d.ts +812 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/commands.js +26 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/messages.d.ts +373 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/state.d.ts +278 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/messages.d.ts +1 -302
- package/vscode/src/vs/platform/agentHost/common/state/protocol/notifications.d.ts +3 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +7 -1678
- package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +8 -5
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.js +4 -1
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +123 -5
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +30 -7
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +171 -0
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +603 -0
- package/vscode/src/vs/platform/browserView/common/browserHistory.d.ts +115 -0
- package/vscode/src/vs/platform/browserView/common/browserHistory.js +259 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +97 -18
- package/vscode/src/vs/platform/browserView/common/browserView.js +5 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -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 +5 -5
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +1 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +15 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.js +2 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +4 -1
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +4 -1
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.js +1 -1
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.service.d.ts +4 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +23 -0
- package/vscode/src/vs/platform/editor/common/editor.js +4 -1
- package/vscode/src/vs/platform/environment/common/environment.service.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/extensions/common/extensionValidator.js +21 -21
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +3 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +3 -0
- 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/hover.css +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.js +6 -0
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.d.ts +5 -3
- package/vscode/src/vs/platform/list/browser/listService.js +29 -26
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/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 +12 -0
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -2
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +8 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +32 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +4 -4
- 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/quickinput/common/quickInput.d.ts +12 -0
- package/vscode/src/vs/platform/remote/common/remoteHosts.d.ts +8 -0
- package/vscode/src/vs/platform/request/common/request.d.ts +11 -1
- package/vscode/src/vs/platform/request/common/request.js +39 -21
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +87 -0
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.service.d.ts +4 -1
- package/vscode/src/vs/platform/sandbox/common/settings.d.ts +10 -1
- package/vscode/src/vs/platform/sandbox/common/settings.js +9 -0
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxMxcRuntime.service.d.ts +13 -0
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxMxcRuntime.service.js +6 -0
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +8 -7
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +52 -31
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +7 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.d.ts +3 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +7 -2
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +8 -7
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +2 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +54 -49
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.d.ts +15 -0
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +26 -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/userDataProfile/common/userDataProfile.d.ts +4 -1
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +8 -2
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/{workbench/services/workspaces/browser/workspaces.d.ts → platform/workspaces/common/workspaceIdentifier.d.ts} +2 -2
- package/vscode/src/vs/{workbench/services/workspaces/browser/workspaces.js → platform/workspaces/common/workspaceIdentifier.js} +1 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +54 -2
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +27 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +65 -6
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +6 -2
- package/vscode/src/vs/workbench/api/common/extHostChatQuota.d.ts +7 -0
- package/vscode/src/vs/workbench/api/common/extHostChatQuota.js +15 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +63 -58
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +18 -7
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.js +2 -1
- 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 +18 -8
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +14 -3
- package/vscode/src/vs/workbench/api/common/extHostXaaAuthProvider.d.ts +58 -0
- package/vscode/src/vs/workbench/api/common/extHostXaaAuthProvider.js +284 -0
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +57 -35
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +141 -130
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/media/style.css +0 -1
- package/vscode/src/vs/workbench/browser/panecomposite.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/panecomposite.js +1 -3
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +23 -23
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +28 -28
- 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 +7 -5
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +37 -37
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.d.ts +2 -0
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +30 -15
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +135 -135
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +25 -25
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +7 -7
- 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 +3 -1
- 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.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +14 -2
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +21 -12
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +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 +15 -14
- 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 +37 -35
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +28 -28
- 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 +10 -10
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/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 +14 -14
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +225 -225
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +1 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +84 -83
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +2 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.d.ts +2 -3
- package/vscode/src/vs/workbench/common/views.js +4 -7
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +156 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +11 -3
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +29 -2
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +108 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +74 -67
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service.d.ts +7 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +41 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +30 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.d.ts +2 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.service.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +56 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +8 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +72 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +11 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService.service.d.ts +5 -1
- 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 +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +95 -87
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +22 -5
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +17 -2
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +16 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +98 -48
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +36 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +59 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +9 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +17 -3
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +20 -7
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +35 -10
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +47 -41
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +27 -5
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +23 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +237 -30
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelsConfiguration.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelsConfiguration.service.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +36 -10
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +47 -19
- 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 +79 -79
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +37 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +10 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +39 -29
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +1 -1
- 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 +7 -4
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +19 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +11 -11
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService.service.d.ts +3 -2
- 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 +97 -69
- 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.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +6 -12
- 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.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.d.ts +11 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +116 -58
- 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 +18 -18
- 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.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +14 -2
- 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/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +175 -171
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +225 -190
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +31 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +107 -66
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +6 -6
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +39 -31
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +182 -81
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/media/extensionsViewlet.css +26 -0
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +87 -86
- 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 +28 -28
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/files.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +6 -0
- 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.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +18 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +9 -8
- 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/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/issue/browser/githubUploadService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/githubUploadService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/recordingService.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/recordingService.js +32 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/recordingService.service.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/recordingService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/screenshotService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/issue/browser/screenshotService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/issue/common/issue.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.js +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +55 -43
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.d.ts +15 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +75 -34
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +19 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +9 -6
- 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 +3 -3
- 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.d.ts +14 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +84 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +5 -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/notebookCommon.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- 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 +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +42 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.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.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +24 -22
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +96 -58
- 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.js +1 -1
- 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/terminal.service.d.ts +11 -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.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 +4 -1
- 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/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +161 -78
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +14 -4
- 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 +11 -0
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +48 -15
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +7 -4
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +219 -23
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.d.ts +45 -0
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.js +63 -0
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +8 -2
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +16 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +31 -13
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +27 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +9 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +8 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +37 -21
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -2
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +9 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +16 -12
- 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/layout/browser/layoutService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +1 -1
- 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/queryBuilder.d.ts +1 -0
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +13 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode-dts/vscode.proposed.authSessionAudience.d.ts +29 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +51 -0
- package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +1 -1
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +11 -3
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +62 -0
- package/vscode-dts/vscode.proposed.d.ts +1 -0
- package/vscode-dts/vscode.proposed.languageModelPricing.d.ts +38 -0
- package/workbench.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostPermissionService.service.d.ts +0 -47
- package/vscode/src/vs/platform/agentHost/common/agentHostPermissionService.service.js +0 -6
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.js +0 -18
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.d.ts +0 -38
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +0 -321
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.d.ts +0 -78
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +0 -83
- /package/vscode/src/vs/{workbench/contrib/mcp → base}/common/uriTemplate.d.ts +0 -0
- /package/vscode/src/vs/{workbench/contrib/mcp → base}/common/uriTemplate.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UnsupportedProtocolVersionErrorData } from "
|
|
1
|
+
import type { UnsupportedProtocolVersionErrorData } from "./protocol/errors.js";
|
|
2
2
|
/**
|
|
3
3
|
* Name of the JSON-RPC method that, when invoked on an agent host spawned
|
|
4
4
|
* by the VS Code CLI, asks the CLI to check for a server upgrade and
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export type { JsonRpcErrorResponse, JsonRpcNotification, JsonRpcRequest, JsonRpcResponse, JsonRpcSuccessResponse, } from "./protocol/messages.js";
|
|
2
|
-
export type { AhpClientNotification, AhpNotification, AhpRequest, AhpResponse, AhpServerNotification, AhpSuccessResponse, CommandMap, ClientNotificationMap,
|
|
3
|
-
export type { CreateSessionParams, DirectoryEntry, DispatchActionParams, DisposeSessionParams, FetchTurnsParams, FetchTurnsResult, InitializeParams, InitializeResult, ListSessionsParams, ListSessionsResult, ReconnectParams, ReconnectReplayResult, ReconnectResult, ReconnectSnapshotResult, ResourceCopyParams, ResourceCopyResult, ResourceDeleteParams, ResourceDeleteResult, ResourceListParams, ResourceListResult, ResourceMoveParams, ResourceMoveResult, ResourceReadParams, ResourceReadResult, ResourceWriteParams, ResourceWriteResult, SubscribeParams, UnsubscribeParams, } from "./protocol/commands.js";
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export
|
|
2
|
+
export type { AhpClientNotification, AhpNotification, AhpRequest, AhpResponse, AhpServerNotification, AhpSuccessResponse, CommandMap, ClientNotificationMap, ProtocolMessage, ServerNotificationMap, } from "./protocol/messages.js";
|
|
3
|
+
export type { CreateSessionParams, DirectoryEntry, DispatchActionParams, DisposeSessionParams, FetchTurnsParams, FetchTurnsResult, InitializeParams, InitializeResult, ListSessionsParams, ListSessionsResult, ReconnectParams, ReconnectReplayResult, ReconnectResult, ReconnectSnapshotResult, ResourceCopyParams, ResourceCopyResult, ResourceDeleteParams, ResourceDeleteResult, ResourceListParams, ResourceListResult, ResourceMkdirParams, ResourceMkdirResult, ResourceMoveParams, ResourceMoveResult, ResourceReadParams, ResourceReadResult, ResourceResolveParams, ResourceResolveResult, ResourceWriteParams, ResourceWriteResult, SubscribeParams, UnsubscribeParams, } from "./protocol/commands.js";
|
|
4
|
+
export type { CreateResourceWatchParams, CreateResourceWatchResult, } from "./protocol/channels-resource-watch/commands.js";
|
|
5
|
+
export { ContentEncoding, ReconnectResultType, ResourceType, ResourceWriteMode } from "./protocol/commands.js";
|
|
6
|
+
export { ResourceChangeType } from "./protocol/channels-resource-watch/state.js";
|
|
7
|
+
export type { ResourceChange, ResourceWatchState } from "./protocol/channels-resource-watch/state.js";
|
|
8
|
+
export { AhpErrorCodes, JsonRpcErrorCodes } from "./protocol/errors.js";
|
|
9
|
+
export type { AhpErrorCode, JsonRpcErrorCode } from "./protocol/errors.js";
|
|
7
10
|
export type { Snapshot as IStateSnapshot } from "./protocol/state.js";
|
|
8
11
|
export declare const JSON_RPC_PARSE_ERROR: -32700;
|
|
9
12
|
export declare const JSON_RPC_INTERNAL_ERROR: -32603;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
export { ContentEncoding, ReconnectResultType } from './protocol/commands.js';
|
|
2
|
+
export { ContentEncoding, ReconnectResultType, ResourceType, ResourceWriteMode } from './protocol/common/commands.js';
|
|
3
|
+
import './protocol/channels-session/commands.js';
|
|
4
|
+
import './protocol/channels-changeset/commands.js';
|
|
5
|
+
export { ResourceChangeType } from './protocol/channels-resource-watch/state.js';
|
|
3
6
|
|
|
4
7
|
const AHP_UNSUPPORTED_PROTOCOL_VERSION = -32005;
|
|
5
8
|
function isJsonRpcRequest(msg) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { URI as ResourceURI } from "../../../../base/common/uri.js";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { IProductService } from "../../../product/common/productService.service.js";
|
|
3
|
+
import { TerminalState, ToolResultFileEditContent, type ActiveTurn, type ChangesetState, type URI as ProtocolURI, type RootState, type SessionState, type SessionSummary, type TextRange, type ToolCallCancelledState, type ToolCallCompletedState, type ToolCallResult, type ToolCallState, type ToolResultContent, type ToolResultSubagentContent, type Message } from "./protocol/state.js";
|
|
4
|
+
export { ChangesetOperationScope, ChangesetOperationStatus, ChangesetStatus, CustomizationLoadStatus, CustomizationType, MessageAttachmentKind, MessageKind, PendingMessageKind, PolicyState, ResponsePartKind, SessionInputAnswerState, SessionInputAnswerValueKind, SessionInputQuestionKind, SessionInputResponseKind, SessionLifecycle, SessionStatus, ToolCallCancellationReason, ToolCallConfirmationReason, ToolCallContributorKind, ToolCallStatus, ToolResultContentType, TurnState, type ActiveTurn, type AgentCustomization, type AgentInfo, type AgentSelection, type ChangesetFile, type ChangesetOperation, type ChangesetState, type ChangesetSummary, type ChildCustomization, type ClientPluginCustomization, type ConfigPropertySchema, type ConfigSchema, type ContentRef, type Customization, type CustomizationDegradedState, type CustomizationErrorState, type CustomizationLoadedState, type CustomizationLoadingState, type CustomizationLoadState, type DirectoryCustomization, type ErrorInfo, type HookCustomization, type FileEdit as ISessionFileDiff, type ToolResultEmbeddedResourceContent as IToolResultBinaryContent, type MarkdownResponsePart, type McpServerCustomization, type MessageAttachment, type MessageResourceAttachment, type ModelSelection, type PendingMessage, type PluginCustomization, type ProjectInfo, type PromptCustomization, type ReasoningResponsePart, type ResponsePart, type RootState, type RuleCustomization, type SessionActiveClient, type SessionConfigState, type SessionInputAnswer, type SessionInputOption, type SessionInputQuestion, type SessionInputRequest, type SessionModelInfo, type SessionState, type SessionSummary, type SkillCustomization, type Snapshot, type StringOrMarkdown, type TerminalState, type ToolAnnotations, type ToolCallCancelledState, type ToolCallCompletedState, type ToolCallPendingConfirmationState, type ToolCallPendingResultConfirmationState, type ToolCallResponsePart, type ToolCallResult, type ToolCallRunningState, type ToolCallState, type ToolCallStreamingState, type ToolCallContributor, type ToolDefinition, type ToolResultContent, type ToolResultFileEditContent, type ToolResultSubagentContent, type ToolResultTextContent, type Turn, type URI, type UsageInfo, type Message } from "./protocol/state.js";
|
|
5
|
+
export { ChangesetOperationTargetKind, type ChangesetOperationFollowUp, type ChangesetOperationTarget } from "./protocol/commands.js";
|
|
4
6
|
/**
|
|
5
7
|
* The kind of file edit operation. Derived from the presence/absence of
|
|
6
8
|
* `before`/`after` in {@link ToolResultFileEditContent}.
|
|
@@ -16,7 +18,67 @@ export declare enum FileEditKind {
|
|
|
16
18
|
Rename = "rename"
|
|
17
19
|
}
|
|
18
20
|
/** URI for the root state subscription. */
|
|
19
|
-
export declare const ROOT_STATE_URI = "
|
|
21
|
+
export declare const ROOT_STATE_URI = "ahp-root://";
|
|
22
|
+
/** Scheme used by {@link ROOT_STATE_URI}. */
|
|
23
|
+
export declare const AHP_ROOT_SCHEME = "ahp-root";
|
|
24
|
+
/** Scheme used by resource-watch channel URIs (`ahp-resource-watch:/<encoded>`). */
|
|
25
|
+
export declare const AHP_RESOURCE_WATCH_SCHEME = "ahp-resource-watch";
|
|
26
|
+
/**
|
|
27
|
+
* Encode a resource-watch descriptor into its canonical channel URI. The
|
|
28
|
+
* descriptor is serialised into the URI path so the receiver can recover
|
|
29
|
+
* the watch parameters without any server-side bookkeeping — subscribe is
|
|
30
|
+
* the only point where state is materialised (an `IFileService` watcher
|
|
31
|
+
* is attached on the first subscriber and held through a grace window
|
|
32
|
+
* after the last drops).
|
|
33
|
+
*/
|
|
34
|
+
export declare function buildResourceWatchChannelUri(descriptor: {
|
|
35
|
+
readonly root: string;
|
|
36
|
+
readonly recursive?: boolean;
|
|
37
|
+
readonly excludes?: {
|
|
38
|
+
items: readonly string[];
|
|
39
|
+
};
|
|
40
|
+
readonly includes?: {
|
|
41
|
+
items: readonly string[];
|
|
42
|
+
};
|
|
43
|
+
}): string;
|
|
44
|
+
/**
|
|
45
|
+
* Inverse of {@link buildResourceWatchChannelUri}. Returns `undefined` if
|
|
46
|
+
* `uri` is not a well-formed `ahp-resource-watch:` URI — callers should
|
|
47
|
+
* surface that as a not-found error to the client.
|
|
48
|
+
*/
|
|
49
|
+
export declare function parseResourceWatchChannelUri(uri: string): {
|
|
50
|
+
root: string;
|
|
51
|
+
recursive: boolean;
|
|
52
|
+
excludes?: {
|
|
53
|
+
items: string[];
|
|
54
|
+
};
|
|
55
|
+
includes?: {
|
|
56
|
+
items: string[];
|
|
57
|
+
};
|
|
58
|
+
} | undefined;
|
|
59
|
+
/** Returns `true` when `uri` identifies a resource-watch channel. */
|
|
60
|
+
export declare function isAhpResourceWatchChannel(uri: string): boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Returns `true` when `uri` identifies the root channel, regardless of
|
|
63
|
+
* whether the caller passes the canonical wire form (`'ahp-root://'`) or a
|
|
64
|
+
* variant that has been round-tripped through the workbench {@link URI} class
|
|
65
|
+
* (which normalizes the authority-less form to `'ahp-root:'`). Always prefer
|
|
66
|
+
* this helper over a direct `=== ROOT_STATE_URI` comparison so the two
|
|
67
|
+
* spellings stay interchangeable.
|
|
68
|
+
*/
|
|
69
|
+
export declare function isAhpRootChannel(uri: string): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Mints a session-unique opaque id for a customization, derived from its
|
|
72
|
+
* source URI and (when present) its `range` within the source. Plugins MAY
|
|
73
|
+
* declare multiple children (e.g. MCP servers, hooks) inside the same
|
|
74
|
+
* manifest file; including the range disambiguates them without an extra
|
|
75
|
+
* mapping table.
|
|
76
|
+
*
|
|
77
|
+
* The range is appended as a reserved `#range=` query-style suffix; any
|
|
78
|
+
* existing `#` in the URI is percent-encoded first so a source URI that
|
|
79
|
+
* already contains a fragment cannot collide with a ranged id.
|
|
80
|
+
*/
|
|
81
|
+
export declare function customizationId(uri: string, range?: TextRange): string;
|
|
20
82
|
/**
|
|
21
83
|
* A tool call in a terminal state, stored in completed turns.
|
|
22
84
|
*/
|
|
@@ -68,16 +130,18 @@ export declare function isSubagentSession(uri: ProtocolURI | ResourceURI): boole
|
|
|
68
130
|
export declare function buildSubagentSessionUriPrefix(parentSession: ProtocolURI | ResourceURI): string;
|
|
69
131
|
export declare function createRootState(): RootState;
|
|
70
132
|
export declare function createSessionState(summary: SessionSummary): SessionState;
|
|
71
|
-
export declare function createActiveTurn(id: string,
|
|
133
|
+
export declare function createActiveTurn(id: string, message: Message): ActiveTurn;
|
|
72
134
|
export declare enum StateComponents {
|
|
73
135
|
Root = 0,
|
|
74
136
|
Session = 1,
|
|
75
|
-
Terminal = 2
|
|
137
|
+
Terminal = 2,
|
|
138
|
+
Changeset = 3
|
|
76
139
|
}
|
|
77
140
|
export type ComponentToState = {
|
|
78
141
|
[StateComponents.Root]: RootState;
|
|
79
142
|
[StateComponents.Session]: SessionState;
|
|
80
143
|
[StateComponents.Terminal]: TerminalState;
|
|
144
|
+
[StateComponents.Changeset]: ChangesetState;
|
|
81
145
|
};
|
|
82
146
|
/**
|
|
83
147
|
* VS Code-side alias for the protocol's open `_meta` property bag on
|
|
@@ -137,3 +201,57 @@ export declare function readSessionGitState(meta: SessionMeta | undefined): ISes
|
|
|
137
201
|
* Returns `undefined` if the result would be empty.
|
|
138
202
|
*/
|
|
139
203
|
export declare function withSessionGitState(meta: SessionMeta | undefined, gitState: ISessionGitState | undefined): SessionMeta | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* VS Code-side alias for the protocol's open `_meta` property bag on
|
|
206
|
+
* {@link RootState}. Keys SHOULD be namespaced to avoid collisions; values MUST
|
|
207
|
+
* be JSON-serializable.
|
|
208
|
+
*/
|
|
209
|
+
export type RootMeta = Record<string, unknown>;
|
|
210
|
+
/**
|
|
211
|
+
* Reserved key under {@link RootMeta} for the well-known host-build payload.
|
|
212
|
+
* Value at this key, when present, MUST be shaped like {@link IHostBuildInfo}.
|
|
213
|
+
* This is a VS Code-specific convention layered on top of the protocol's
|
|
214
|
+
* generic `_meta` bag — the protocol itself does not know about build info.
|
|
215
|
+
*/
|
|
216
|
+
export declare const ROOT_META_HOST_BUILD_KEY = "hostBuild";
|
|
217
|
+
/**
|
|
218
|
+
* Build information about the program hosting the agent host (the VS Code CLI),
|
|
219
|
+
* carried under {@link RootMeta} at {@link ROOT_META_HOST_BUILD_KEY}. Lets a
|
|
220
|
+
* client see which build is hosting it — useful when inspecting the output of a
|
|
221
|
+
* remote agent host.
|
|
222
|
+
*
|
|
223
|
+
* All fields except {@link version} are optional — a build that does not track
|
|
224
|
+
* a particular field should omit it.
|
|
225
|
+
*/
|
|
226
|
+
export interface IHostBuildInfo {
|
|
227
|
+
/** Product version (e.g. `1.96.0`). */
|
|
228
|
+
readonly version: string;
|
|
229
|
+
/** Commit SHA of the build, if known. */
|
|
230
|
+
readonly commit?: string;
|
|
231
|
+
/** Build date (ISO 8601), if known. */
|
|
232
|
+
readonly date?: string;
|
|
233
|
+
/** Release quality (e.g. `stable`, `insider`), if known. */
|
|
234
|
+
readonly quality?: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Derives {@link IHostBuildInfo} from the host's {@link IProductService}.
|
|
238
|
+
*/
|
|
239
|
+
export declare function hostBuildInfoFromProduct(productService: IProductService): IHostBuildInfo;
|
|
240
|
+
/**
|
|
241
|
+
* Reads the well-known host-build payload from {@link RootMeta}, if present.
|
|
242
|
+
* Returns `undefined` when the meta bag is absent or the value at the host-build
|
|
243
|
+
* key is not a plain object with a string `version`. Optional fields with wrong
|
|
244
|
+
* types are silently dropped.
|
|
245
|
+
*/
|
|
246
|
+
export declare function readHostBuildInfo(meta: RootMeta | undefined): IHostBuildInfo | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* Returns a new {@link RootMeta} with the host-build payload set to
|
|
249
|
+
* `buildInfo`, or with the slot removed if `buildInfo` is `undefined`. Returns
|
|
250
|
+
* `undefined` if the result would be empty.
|
|
251
|
+
*/
|
|
252
|
+
export declare function withHostBuildInfo(meta: RootMeta | undefined, buildInfo: IHostBuildInfo | undefined): RootMeta | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* Formats {@link IHostBuildInfo} as a short single-line human-readable string,
|
|
255
|
+
* e.g. `1.96.0 (commit abc1234, 2024-01-02T03:04:05Z, insider)`.
|
|
256
|
+
*/
|
|
257
|
+
export declare function formatHostBuildInfo(info: IHostBuildInfo): string;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
import '../../../../base/common/lazy.js';
|
|
2
3
|
import '../../../../base/common/errors.js';
|
|
3
|
-
import '../../../../base/common/
|
|
4
|
-
import '../../../../base/common/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import '../../../../base/common/lifecycle.js';
|
|
5
|
+
import { URI } from '../../../../base/common/uri.js';
|
|
6
|
+
export { PolicyState } from './protocol/channels-root/state.js';
|
|
7
|
+
export { CustomizationLoadStatus, CustomizationType, MessageAttachmentKind, MessageKind, PendingMessageKind, ResponsePartKind, SessionInputAnswerState, SessionInputAnswerValueKind, SessionInputQuestionKind, SessionInputResponseKind, SessionLifecycle, SessionStatus, ToolCallCancellationReason, ToolCallConfirmationReason, ToolCallContributorKind, ToolCallStatus, ToolResultContentType, TurnState } from './protocol/channels-session/state.js';
|
|
8
|
+
import './protocol/channels-terminal/state.js';
|
|
9
|
+
export { ChangesetOperationScope, ChangesetOperationStatus, ChangesetStatus } from './protocol/channels-changeset/state.js';
|
|
10
|
+
import './protocol/channels-resource-watch/state.js';
|
|
11
|
+
import './protocol/common/commands.js';
|
|
12
|
+
import './protocol/channels-session/commands.js';
|
|
13
|
+
export { ChangesetOperationTargetKind } from './protocol/channels-changeset/commands.js';
|
|
8
14
|
|
|
9
15
|
var FileEditKind;
|
|
10
16
|
(function(FileEditKind) {
|
|
@@ -13,12 +19,29 @@ var FileEditKind;
|
|
|
13
19
|
FileEditKind["Delete"] = "delete";
|
|
14
20
|
FileEditKind["Rename"] = "rename";
|
|
15
21
|
})(FileEditKind || (FileEditKind = {}));
|
|
16
|
-
const ROOT_STATE_URI = "
|
|
22
|
+
const ROOT_STATE_URI = "ahp-root://";
|
|
23
|
+
const AHP_ROOT_SCHEME = "ahp-root";
|
|
24
|
+
function isAhpRootChannel(uri) {
|
|
25
|
+
if (uri === ROOT_STATE_URI) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
try {
|
|
29
|
+
return URI.parse(uri).scheme === AHP_ROOT_SCHEME;
|
|
30
|
+
} catch {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function customizationId(uri, range) {
|
|
35
|
+
{
|
|
36
|
+
return uri;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
17
39
|
var StateComponents;
|
|
18
40
|
(function(StateComponents) {
|
|
19
41
|
StateComponents[StateComponents["Root"] = 0] = "Root";
|
|
20
42
|
StateComponents[StateComponents["Session"] = 1] = "Session";
|
|
21
43
|
StateComponents[StateComponents["Terminal"] = 2] = "Terminal";
|
|
44
|
+
StateComponents[StateComponents["Changeset"] = 3] = "Changeset";
|
|
22
45
|
})(StateComponents || (StateComponents = {}));
|
|
23
46
|
|
|
24
|
-
export { FileEditKind, ROOT_STATE_URI, StateComponents };
|
|
47
|
+
export { AHP_ROOT_SCHEME, FileEditKind, ROOT_STATE_URI, StateComponents, customizationId, isAhpRootChannel };
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { URI } from "../../../base/common/uri.js";
|
|
2
|
+
import { IFileService } from "../../files/common/files.service.js";
|
|
3
|
+
import { IMcpServerConfiguration } from "../../mcp/common/mcpPlatformTypes.js";
|
|
4
|
+
import { type AgentCustomization, type HookCustomization, type McpServerCustomization, type RuleCustomization, type SkillCustomization } from "../../agentHost/common/state/protocol/state.js";
|
|
5
|
+
/** A single hook command to execute. Platform resolution happens at conversion time. */
|
|
6
|
+
export interface IParsedHookCommand {
|
|
7
|
+
/** Cross-platform default command. */
|
|
8
|
+
readonly command?: string;
|
|
9
|
+
/** Windows-specific command. */
|
|
10
|
+
readonly windows?: string;
|
|
11
|
+
/** Linux-specific command. */
|
|
12
|
+
readonly linux?: string;
|
|
13
|
+
/** macOS-specific command. */
|
|
14
|
+
readonly osx?: string;
|
|
15
|
+
/** Working directory. */
|
|
16
|
+
readonly cwd?: URI;
|
|
17
|
+
/** Environment variables. */
|
|
18
|
+
readonly env?: Record<string, string>;
|
|
19
|
+
/** Timeout in seconds. */
|
|
20
|
+
readonly timeout?: number;
|
|
21
|
+
/** URI of the file this hook was defined in. */
|
|
22
|
+
readonly sourceUri?: URI;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace IParsedHookCommand {
|
|
25
|
+
function isEquals(a: IParsedHookCommand | undefined, b: IParsedHookCommand | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
/** A group of hooks for a single lifecycle event. */
|
|
28
|
+
export interface IParsedHookGroup {
|
|
29
|
+
/** Canonical hook type identifier (e.g. `'SessionStart'`, `'PreToolUse'`). */
|
|
30
|
+
readonly type: string;
|
|
31
|
+
/** The commands to execute for this hook type. */
|
|
32
|
+
readonly commands: readonly IParsedHookCommand[];
|
|
33
|
+
/** URI where this hook is defined. */
|
|
34
|
+
readonly uri: URI;
|
|
35
|
+
/** Original key as it appears in the hook file. */
|
|
36
|
+
readonly originalId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Protocol-level projection of this hook group as a child customization.
|
|
39
|
+
* Multiple groups parsed from the same file share the same `customization.id`
|
|
40
|
+
* so consumers can dedupe by id when collecting customizations.
|
|
41
|
+
*/
|
|
42
|
+
readonly customization: HookCustomization;
|
|
43
|
+
}
|
|
44
|
+
export interface IMcpServerDefinition {
|
|
45
|
+
readonly name: string;
|
|
46
|
+
readonly configuration: IMcpServerConfiguration;
|
|
47
|
+
readonly uri: URI;
|
|
48
|
+
/** Protocol-level projection of this MCP server as a child customization. */
|
|
49
|
+
readonly customization: McpServerCustomization;
|
|
50
|
+
}
|
|
51
|
+
/** A named resource (skill, agent, command, or instruction) within a plugin. */
|
|
52
|
+
export interface INamedPluginResource {
|
|
53
|
+
readonly uri: URI;
|
|
54
|
+
readonly name: string;
|
|
55
|
+
/**
|
|
56
|
+
* Optional short description, populated for resources whose readers
|
|
57
|
+
* parse it from the file's YAML frontmatter (e.g. agents).
|
|
58
|
+
*/
|
|
59
|
+
readonly description?: string;
|
|
60
|
+
}
|
|
61
|
+
/** A parsed agent paired with its protocol-level child customization. */
|
|
62
|
+
export interface IParsedAgent extends INamedPluginResource {
|
|
63
|
+
readonly customization: AgentCustomization;
|
|
64
|
+
}
|
|
65
|
+
/** A parsed skill paired with its protocol-level child customization. */
|
|
66
|
+
export interface IParsedSkill extends INamedPluginResource {
|
|
67
|
+
readonly customization: SkillCustomization;
|
|
68
|
+
}
|
|
69
|
+
/** A parsed rule (instruction) paired with its protocol-level child customization. */
|
|
70
|
+
export interface IParsedRule extends INamedPluginResource {
|
|
71
|
+
readonly customization: RuleCustomization;
|
|
72
|
+
}
|
|
73
|
+
/** The result of parsing a single plugin directory. */
|
|
74
|
+
export interface IParsedPlugin {
|
|
75
|
+
readonly hooks: readonly IParsedHookGroup[];
|
|
76
|
+
readonly mcpServers: readonly IMcpServerDefinition[];
|
|
77
|
+
readonly skills: readonly IParsedSkill[];
|
|
78
|
+
readonly agents: readonly IParsedAgent[];
|
|
79
|
+
readonly instructions: readonly IParsedRule[];
|
|
80
|
+
}
|
|
81
|
+
export declare enum PluginFormat {
|
|
82
|
+
Copilot = 0,
|
|
83
|
+
Claude = 1,
|
|
84
|
+
OpenPlugin = 2
|
|
85
|
+
}
|
|
86
|
+
export interface IPluginFormatConfig {
|
|
87
|
+
readonly format: PluginFormat;
|
|
88
|
+
readonly manifestPath: string;
|
|
89
|
+
readonly hookConfigPath: string;
|
|
90
|
+
readonly pluginRootToken: string | undefined;
|
|
91
|
+
readonly pluginRootEnvVar: string | undefined;
|
|
92
|
+
/** Parses hooks from a JSON object using the format's conventions. */
|
|
93
|
+
parseHooks(hookUri: URI, json: unknown, pluginUri: URI, workspaceRoot: URI | undefined, userHome: string): IParsedHookGroup[];
|
|
94
|
+
}
|
|
95
|
+
export declare function detectPluginFormat(pluginUri: URI, fileService: IFileService): Promise<IPluginFormatConfig>;
|
|
96
|
+
export interface IComponentPathConfig {
|
|
97
|
+
readonly paths: readonly string[];
|
|
98
|
+
readonly exclusive: boolean;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Parses a manifest component path field into a normalized config.
|
|
102
|
+
* Supports `undefined`, `string`, `string[]`, and `{ paths: string[], exclusive?: boolean }`.
|
|
103
|
+
*/
|
|
104
|
+
export declare function parseComponentPathConfig(raw: unknown): IComponentPathConfig;
|
|
105
|
+
/**
|
|
106
|
+
* Resolves the directories to scan for a given component type, combining
|
|
107
|
+
* the default directory with any custom paths from the manifest config.
|
|
108
|
+
* Paths that resolve outside the boundary are silently ignored.
|
|
109
|
+
* @param boundaryUri The outermost directory that resolved paths must stay within. Defaults to {@link pluginUri}.
|
|
110
|
+
*/
|
|
111
|
+
export declare function resolveComponentDirs(pluginUri: URI, defaultDir: string, config: IComponentPathConfig, boundaryUri?: URI): readonly URI[];
|
|
112
|
+
/**
|
|
113
|
+
* Extracts the MCP server map from a raw JSON value. Accepts both the
|
|
114
|
+
* wrapped format `{ mcpServers: { … } }` and the flat format.
|
|
115
|
+
*/
|
|
116
|
+
export declare function resolveMcpServersMap(raw: unknown): Record<string, unknown> | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Normalizes a raw JSON value into a typed MCP server configuration.
|
|
119
|
+
*/
|
|
120
|
+
export declare function normalizeMcpServerConfiguration(rawConfig: unknown): IMcpServerConfiguration | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Replaces a plugin-root token in a shell command string with the
|
|
123
|
+
* given fsPath, shell-quoting if the path contains special characters.
|
|
124
|
+
*/
|
|
125
|
+
export declare function shellQuotePluginRootInCommand(command: string, fsPath: string, token: string): string;
|
|
126
|
+
/**
|
|
127
|
+
* Replaces plugin-root token references in MCP server definition string fields
|
|
128
|
+
* with the plugin root filesystem path.
|
|
129
|
+
*/
|
|
130
|
+
export declare function interpolateMcpPluginRoot(def: IMcpServerDefinition, fsPath: string, token: string, envVar: string): IMcpServerDefinition;
|
|
131
|
+
/**
|
|
132
|
+
* Converts bare `${VAR}` environment-variable references to VS Code `${env:VAR}` syntax.
|
|
133
|
+
*/
|
|
134
|
+
export declare function convertBareEnvVarsToVsCodeSyntax(def: IMcpServerDefinition): IMcpServerDefinition;
|
|
135
|
+
/**
|
|
136
|
+
* Applies plugin-root token interpolation to hook commands for
|
|
137
|
+
* Claude and OpenPlugin formats.
|
|
138
|
+
*/
|
|
139
|
+
export declare function interpolateHookPluginRoot(hookUri: URI, json: unknown, pluginUri: URI, workspaceRoot: URI | undefined, userHome: string, token: string, envVar: string): IParsedHookGroup[];
|
|
140
|
+
export declare function readJsonFile(uri: URI, fileService: IFileService): Promise<unknown | undefined>;
|
|
141
|
+
export declare function pathExists(resource: URI, fileService: IFileService): Promise<boolean>;
|
|
142
|
+
export declare function readSkills(pluginRoot: URI, dirs: readonly URI[], fileService: IFileService): Promise<readonly INamedPluginResource[]>;
|
|
143
|
+
export declare function readMarkdownComponents(dirs: readonly URI[], fileService: IFileService): Promise<readonly INamedPluginResource[]>;
|
|
144
|
+
/**
|
|
145
|
+
* Reads rule/instruction files from plugin `rules` component directories.
|
|
146
|
+
*
|
|
147
|
+
* Open Plugins rules are conventionally `.mdc` files. We also accept
|
|
148
|
+
* `.instructions.md` for compatibility with VS Code-discovered instructions
|
|
149
|
+
* bundled as synthetic plugins.
|
|
150
|
+
*/
|
|
151
|
+
export declare function readInstructionComponents(dirs: readonly URI[], fileService: IFileService): Promise<readonly INamedPluginResource[]>;
|
|
152
|
+
/**
|
|
153
|
+
* Reads `.md` files in agent directories and enriches each entry with
|
|
154
|
+
* the optional `name` / `description` from YAML frontmatter. Falls back
|
|
155
|
+
* to the file-derived name when frontmatter is missing or unreadable.
|
|
156
|
+
*/
|
|
157
|
+
export declare function readAgentComponents(dirs: readonly URI[], fileService: IFileService): Promise<readonly INamedPluginResource[]>;
|
|
158
|
+
export declare function parseAgentFile(uri: URI, fileService: IFileService): Promise<{
|
|
159
|
+
name: string;
|
|
160
|
+
description?: string;
|
|
161
|
+
}>;
|
|
162
|
+
export declare function parseSkillFile(uri: URI, fileService: IFileService): Promise<{
|
|
163
|
+
description?: string;
|
|
164
|
+
}>;
|
|
165
|
+
export declare function parseMcpServerDefinitionMap(definitionURI: URI, raw: unknown, pluginFsPath: string, formatConfig: IPluginFormatConfig): IMcpServerDefinition[];
|
|
166
|
+
/**
|
|
167
|
+
* Parses a plugin directory to extract hooks, MCP servers, skills, agents,
|
|
168
|
+
* and instructions.
|
|
169
|
+
* This is the main entry point for the agent host to discover plugin contents.
|
|
170
|
+
*/
|
|
171
|
+
export declare function parsePlugin(pluginUri: URI, fileService: IFileService, workspaceRoot: URI | undefined, userHome: string, boundaryUri?: URI): Promise<IParsedPlugin>;
|