@codingame/monaco-vscode-api 34.1.3 → 35.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +261 -19
- package/package.json +8 -8
- package/services.d.ts +14 -0
- package/services.js +17 -3
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +2 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +52 -44
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +4 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/list.js +3 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/listView.js +9 -5
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css +3 -2
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +22 -4
- package/vscode/src/vs/base/common/async.d.ts +30 -0
- package/vscode/src/vs/base/common/async.js +22 -4
- package/vscode/src/vs/base/common/codicons.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +9 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +9 -20
- package/vscode/src/vs/base/common/managedSettings.d.ts +32 -0
- package/vscode/src/vs/base/common/managedSettings.js +30 -0
- package/vscode/src/vs/base/common/map.d.ts +6 -0
- package/vscode/src/vs/base/common/map.js +62 -8
- package/vscode/src/vs/base/common/numbers.d.ts +4 -0
- package/vscode/src/vs/base/common/numbers.js +13 -1
- package/vscode/src/vs/base/common/policy.d.ts +41 -0
- package/vscode/src/vs/base/common/product.d.ts +32 -3
- package/vscode/src/vs/base/common/uriTemplate.js +1 -1
- package/vscode/src/vs/base/common/uuid.d.ts +1 -1
- package/vscode/src/vs/base/common/yaml.d.ts +1 -0
- package/vscode/src/vs/base/common/yaml.js +80 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +1 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +2 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +10 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +2 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.d.ts +15 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +12 -6
- package/vscode/src/vs/editor/common/languages.js +0 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +10 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +36 -21
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +7 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +0 -5
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.js +0 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +6 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +4 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +3 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +77 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +163 -17
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +162 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +27 -12
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +11 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +9 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +13 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
- package/vscode/src/vs/platform/actions/common/actions.js +12 -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 +7 -2
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.d.ts +55 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.d.ts +56 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpServer.d.ts +15 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.d.ts +37 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.js +45 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.d.ts +15 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +37 -27
- package/vscode/src/vs/platform/agentHost/common/agentServerTools.d.ts +38 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +39 -5
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +8 -2
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +8 -20
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +18 -6
- package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/actions.d.ts +131 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/state.d.ts +110 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/actions.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.d.ts +28 -8
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.js +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/actions.d.ts +584 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.d.ts +42 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.d.ts +1157 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.js +119 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/notifications.d.ts +80 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.d.ts +48 -3
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/actions.d.ts +117 -489
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.d.ts +25 -20
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.d.ts +301 -937
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.js +7 -100
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.d.ts +43 -29
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.js +38 -26
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/messages.d.ts +13 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/state.d.ts +17 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.js +12 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.d.ts +10 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.js +19 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +3 -2
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +258 -5
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +84 -7
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +36 -3
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +58 -27
- package/vscode/src/vs/platform/browserView/common/browserHistory.js +4 -2
- package/vscode/src/vs/platform/browserView/common/browserPermissions.d.ts +176 -0
- package/vscode/src/vs/platform/browserView/common/browserPermissions.js +244 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +86 -31
- package/vscode/src/vs/platform/browserView/common/browserView.js +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +13 -3
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +47 -11
- package/vscode/src/vs/platform/configuration/common/configurations.d.ts +8 -0
- package/vscode/src/vs/platform/configuration/common/configurations.js +83 -18
- 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/defaultAccount/common/defaultAccount.d.ts +2 -0
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +2 -0
- 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 +6 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +16 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +9 -13
- package/vscode/src/vs/platform/extensions/common/extensionValidator.d.ts +1 -9
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -73
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -4
- package/vscode/src/vs/platform/extensions/common/extensions.js +6 -11
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +6 -14
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +19 -26
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.js +4 -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/keybinding/common/keybinding.d.ts +6 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +1 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +1 -0
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.d.ts +7 -1
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +2 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +25 -25
- package/vscode/src/vs/platform/log/common/log.d.ts +1 -0
- package/vscode/src/vs/platform/log/common/log.js +7 -7
- 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 +41 -6
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.d.ts +201 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.js +269 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.d.ts +17 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.js +7 -0
- package/vscode/src/vs/platform/policy/common/policy.d.ts +4 -1
- package/vscode/src/vs/platform/policy/common/policy.js +17 -8
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- 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 +18 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +2 -1
- package/vscode/src/vs/platform/sandbox/common/settings.d.ts +4 -1
- package/vscode/src/vs/platform/sandbox/common/settings.js +14 -2
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +3 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +26 -26
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/tunnel/common/tunnelProxy.d.ts +19 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/update/common/update.d.ts +7 -1
- package/vscode/src/vs/platform/update/common/update.js +2 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +7 -1
- package/vscode/src/vs/platform/workspace/common/workspace.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 +25 -2
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +51 -1
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +4 -0
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.d.ts +10 -0
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.js +56 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.d.ts +21 -0
- package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +33 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +34 -11
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +33 -6
- package/vscode/src/vs/workbench/api/common/extHostLanguages.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +17 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +7 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +81 -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 +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +52 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +17 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +22 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +233 -63
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +127 -127
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/contextkeys.js +1 -0
- 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/floatingPanels.css +203 -0
- package/vscode/src/vs/workbench/browser/media/part.css +1 -0
- package/vscode/src/vs/workbench/browser/part.d.ts +8 -0
- package/vscode/src/vs/workbench/browser/part.js +15 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +11 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +43 -28
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +5 -6
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +37 -37
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +13 -13
- 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 +31 -26
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.d.ts +13 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +19 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.d.ts +4 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +37 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +18 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +64 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +17 -7
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css +33 -16
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +16 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +32 -19
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +7 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +69 -9
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +40 -1
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +71 -6
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +4 -5
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +17 -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 +19 -8
- 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 +14 -11
- 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 +261 -225
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +83 -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.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +180 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +21 -22
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +71 -3
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +36 -9
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +44 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +100 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +34 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +31 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.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/attachments/chatVariables.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +32 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +5 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +30 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +216 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.d.ts +8 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +52 -16
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +18 -2
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +118 -89
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +6 -11
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +6 -14
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +1 -6
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +84 -5
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +7 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +85 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +181 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +12 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +56 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +27 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +54 -2
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +50 -10
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +78 -7
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +26 -36
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +8 -25
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +52 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +106 -15
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +192 -56
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +28 -6
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +49 -12
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +15 -3
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +25 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +12 -16
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +21 -15
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +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 +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +111 -41
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +99 -5
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +31 -11
- 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 +49 -23
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +43 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +45 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.d.ts +95 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.js +6 -0
- 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/suggestEnabledInput/suggestEnabledInput.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +6 -0
- 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 +71 -71
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +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 +15 -15
- 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.js +9 -9
- 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.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +32 -6
- 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.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/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 +216 -168
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +196 -182
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +48 -48
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +106 -104
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- 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 +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +3 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -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 +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +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/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +137 -74
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +119 -0
- 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.js +43 -43
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +42 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +18 -5
- 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/multiDiffEditor.js +3 -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.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.js +6 -0
- 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 -62
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -11
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- 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 +12 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +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/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 +24 -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 +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +1 -1
- 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 +5 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +117 -128
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/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.js +14 -14
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +8 -0
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +10 -9
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.d.ts +21 -14
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.js +2 -57
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.d.ts +22 -0
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.js +6 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +5 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.d.ts +5 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +13 -8
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +27 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +24 -20
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +0 -1
- 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 +5 -5
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +15 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +22 -7
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +11 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/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 +55 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +77 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +7 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +2 -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.js +1 -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/src/vs/workbench/services/workspaces/common/workspaceTrust.js +2 -1
- package/vscode-dts/vscode.d.ts +4 -4
- package/vscode-dts/vscode.proposed.agentEditorComments.d.ts +71 -0
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatDebug.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatHooks.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +23 -2
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +0 -8
- package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +15 -2
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +11 -0
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +34 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +2 -2
- package/vscode-dts/vscode.proposed.customEditorDiffs.d.ts +24 -4
- package/vscode-dts/vscode.proposed.d.ts +2 -0
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -2
- package/vscode-dts/vscode.proposed.documentSyntaxHighlighting.d.ts +87 -0
- package/vscode-dts/vscode.proposed.findFiles2.d.ts +0 -2
- package/vscode-dts/vscode.proposed.languageModelPricing.d.ts +35 -0
- package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +0 -2
- package/vscode-dts/vscode.proposed.languageModelToolSupportsModel.d.ts +0 -2
- package/vscode-dts/vscode.proposed.mcpServerDefinitions.d.ts +0 -2
- package/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts +35 -0
- package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +0 -135
|
@@ -246,10 +246,19 @@ class AbstractResponse {
|
|
|
246
246
|
case "hook":
|
|
247
247
|
case "multiDiffData":
|
|
248
248
|
case "mcpServersStarting":
|
|
249
|
+
case "mcpAuthenticationRequired":
|
|
250
|
+
case "mcpServersStartingSlow":
|
|
249
251
|
case "questionCarousel":
|
|
250
252
|
case "planReview":
|
|
251
253
|
case "disabledClaudeHooks":
|
|
254
|
+
case "autoModeResolution":
|
|
252
255
|
continue;
|
|
256
|
+
case "systemNotification":
|
|
257
|
+
segment = {
|
|
258
|
+
text: part.content.value,
|
|
259
|
+
isBlock: true
|
|
260
|
+
};
|
|
261
|
+
break;
|
|
253
262
|
case "toolInvocation":
|
|
254
263
|
case "toolInvocationSerialized":
|
|
255
264
|
segment = this.getToolInvocationText(part);
|
|
@@ -309,7 +318,7 @@ class AbstractResponse {
|
|
|
309
318
|
blocks.push(currentBlockSegments.join(""));
|
|
310
319
|
}
|
|
311
320
|
if (hasEditGroupsAfterLastClear) {
|
|
312
|
-
blocks.push(( localize(
|
|
321
|
+
blocks.push(( localize(8573, "Made changes.")));
|
|
313
322
|
}
|
|
314
323
|
return blocks.join("\n\n");
|
|
315
324
|
}
|
|
@@ -418,12 +427,12 @@ class Response extends AbstractResponse {
|
|
|
418
427
|
if (progress.kind === "clearToPreviousToolInvocation") {
|
|
419
428
|
if (progress.reason === ChatResponseClearToPreviousToolInvocationReason.CopyrightContentRetry) {
|
|
420
429
|
this.clearToPreviousToolInvocation(( localize(
|
|
421
|
-
|
|
430
|
+
8574,
|
|
422
431
|
"Response cleared due to possible match to public code, retrying with modified prompt."
|
|
423
432
|
)));
|
|
424
433
|
} else if (progress.reason === ChatResponseClearToPreviousToolInvocationReason.FilteredContentRetry) {
|
|
425
434
|
this.clearToPreviousToolInvocation(( localize(
|
|
426
|
-
|
|
435
|
+
8575,
|
|
427
436
|
"Response cleared due to content safety filters, retrying with modified prompt."
|
|
428
437
|
)));
|
|
429
438
|
} else {
|
|
@@ -771,17 +780,17 @@ class ChatResponseModel extends Disposable {
|
|
|
771
780
|
return title ? (isMarkdownString(title) ? title.value : title) : undefined;
|
|
772
781
|
}
|
|
773
782
|
if (state.type === IChatToolInvocation.StateKind.WaitingForPostApproval) {
|
|
774
|
-
return localize(
|
|
783
|
+
return localize(8576, "Approve tool result?");
|
|
775
784
|
}
|
|
776
785
|
}
|
|
777
786
|
if (part.kind === "confirmation" && !part.isUsed) {
|
|
778
787
|
return part.title;
|
|
779
788
|
}
|
|
780
789
|
if (part.kind === "questionCarousel" && !part.isUsed) {
|
|
781
|
-
return localize(
|
|
790
|
+
return localize(8577, "Answer questions to continue...");
|
|
782
791
|
}
|
|
783
792
|
if (part.kind === "planReview" && !part.isUsed) {
|
|
784
|
-
return localize(
|
|
793
|
+
return localize(8578, "Review the plan to continue...");
|
|
785
794
|
}
|
|
786
795
|
if (part.kind === "elicitation2" && part.state.read(r) === ElicitationState.Pending) {
|
|
787
796
|
const title = part.title;
|
|
@@ -870,7 +879,15 @@ class ChatResponseModel extends Disposable {
|
|
|
870
879
|
this._onDidChange.fire(defaultChatResponseModelChangeReason);
|
|
871
880
|
}
|
|
872
881
|
setResult(result) {
|
|
873
|
-
this.
|
|
882
|
+
if (this.isCanceled && result.errorDetails) {
|
|
883
|
+
const {
|
|
884
|
+
errorDetails: _errorDetails,
|
|
885
|
+
...rest
|
|
886
|
+
} = result;
|
|
887
|
+
this._result = rest;
|
|
888
|
+
} else {
|
|
889
|
+
this._result = result;
|
|
890
|
+
}
|
|
874
891
|
this._onDidChange.fire(defaultChatResponseModelChangeReason);
|
|
875
892
|
}
|
|
876
893
|
setUsage(usage) {
|
|
@@ -884,7 +901,7 @@ class ChatResponseModel extends Disposable {
|
|
|
884
901
|
}
|
|
885
902
|
isSameUsage(usage) {
|
|
886
903
|
const currentUsage = this._usageObs.get();
|
|
887
|
-
return !!currentUsage && currentUsage.promptTokens === usage.promptTokens && currentUsage.completionTokens === usage.completionTokens && currentUsage.outputBuffer === usage.outputBuffer && equals(currentUsage.promptTokenDetails, usage.promptTokenDetails);
|
|
904
|
+
return !!currentUsage && currentUsage.promptTokens === usage.promptTokens && currentUsage.completionTokens === usage.completionTokens && currentUsage.outputBuffer === usage.outputBuffer && currentUsage.copilotCredits === usage.copilotCredits && equals(currentUsage.promptTokenDetails, usage.promptTokenDetails);
|
|
888
905
|
}
|
|
889
906
|
complete() {
|
|
890
907
|
if (this.isComplete) {
|
|
@@ -977,7 +994,11 @@ class ChatResponseModel extends Disposable {
|
|
|
977
994
|
codeCitations: this.codeCitations,
|
|
978
995
|
timestamp: this._timestamp,
|
|
979
996
|
timeSpentWaiting: (pendingConfirmation ? Date.now() - pendingConfirmation.startedWaitingAt : 0) + this._timeSpentWaitingAccumulator,
|
|
997
|
+
promptTokens: this.usage?.promptTokens,
|
|
980
998
|
completionTokens: this.completionTokenCount,
|
|
999
|
+
outputBuffer: this.usage?.outputBuffer,
|
|
1000
|
+
promptTokenDetails: this.usage?.promptTokenDetails,
|
|
1001
|
+
copilotCredits: this.usage?.copilotCredits,
|
|
981
1002
|
elapsedMs: this.elapsedMs ?? (this.completedAt ? Math.max(0, this.completedAt - this.confirmationAdjustedTimestamp.get()) : undefined)
|
|
982
1003
|
};
|
|
983
1004
|
}
|
|
@@ -1081,7 +1102,8 @@ class InputModel {
|
|
|
1081
1102
|
mode: value.mode,
|
|
1082
1103
|
selectedModel: value.selectedModel ? {
|
|
1083
1104
|
identifier: value.selectedModel.identifier,
|
|
1084
|
-
metadata: value.selectedModel.metadata
|
|
1105
|
+
metadata: value.selectedModel.metadata,
|
|
1106
|
+
modelConfiguration: value.modelConfiguration
|
|
1085
1107
|
} : undefined,
|
|
1086
1108
|
inputText: value.inputText,
|
|
1087
1109
|
selections: value.selections,
|
|
@@ -1194,6 +1216,16 @@ let ChatModel = ChatModel_1 = class ChatModel extends Disposable {
|
|
|
1194
1216
|
get lastRequest() {
|
|
1195
1217
|
return this._requests.at(-1);
|
|
1196
1218
|
}
|
|
1219
|
+
get sessionCost() {
|
|
1220
|
+
let totalCredits = 0;
|
|
1221
|
+
for (const request of this._requests) {
|
|
1222
|
+
const credits = request.response?.usage?.copilotCredits;
|
|
1223
|
+
if (typeof credits === "number") {
|
|
1224
|
+
totalCredits += credits;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
return totalCredits;
|
|
1228
|
+
}
|
|
1197
1229
|
get timestamp() {
|
|
1198
1230
|
return this._timestamp;
|
|
1199
1231
|
}
|
|
@@ -1303,6 +1335,7 @@ let ChatModel = ChatModel_1 = class ChatModel extends Disposable {
|
|
|
1303
1335
|
identifier: serializedInputState.selectedModel.identifier,
|
|
1304
1336
|
metadata: serializedInputState.selectedModel.metadata
|
|
1305
1337
|
},
|
|
1338
|
+
modelConfiguration: serializedInputState.selectedModel ? (serializedInputState.selectedModel.modelConfiguration ?? serializedInputState.modelConfiguration) : undefined,
|
|
1306
1339
|
contrib: serializedInputState.contrib,
|
|
1307
1340
|
inputText: serializedInputState.inputText,
|
|
1308
1341
|
selections: serializedInputState.selections,
|
|
@@ -1480,8 +1513,11 @@ let ChatModel = ChatModel_1 = class ChatModel extends Disposable {
|
|
|
1480
1513
|
if (typeof raw.completionTokens === "number") {
|
|
1481
1514
|
request.response.setUsage({
|
|
1482
1515
|
kind: "usage",
|
|
1483
|
-
promptTokens: 0,
|
|
1484
|
-
completionTokens: raw.completionTokens
|
|
1516
|
+
promptTokens: raw.promptTokens ?? 0,
|
|
1517
|
+
completionTokens: raw.completionTokens,
|
|
1518
|
+
outputBuffer: raw.outputBuffer,
|
|
1519
|
+
promptTokenDetails: raw.promptTokenDetails,
|
|
1520
|
+
copilotCredits: raw.copilotCredits
|
|
1485
1521
|
});
|
|
1486
1522
|
}
|
|
1487
1523
|
if (raw.usedContext) {
|
|
@@ -1858,13 +1894,14 @@ function getCodeCitationsMessage(citations) {
|
|
|
1858
1894
|
return "";
|
|
1859
1895
|
}
|
|
1860
1896
|
const licenseTypes = citations.reduce((set, c) => set.add(c.license), ( new Set()));
|
|
1861
|
-
const label = licenseTypes.size === 1 ? ( localize(
|
|
1897
|
+
const label = licenseTypes.size === 1 ? ( localize(8579, "Similar code found with 1 license type", licenseTypes.size)) : ( localize(8580, "Similar code found with {0} license types", licenseTypes.size));
|
|
1862
1898
|
return label;
|
|
1863
1899
|
}
|
|
1864
1900
|
function serializeSendOptions(options) {
|
|
1865
1901
|
return {
|
|
1866
1902
|
modeInfo: options.modeInfo,
|
|
1867
1903
|
userSelectedModelId: options.userSelectedModelId,
|
|
1904
|
+
userSelectedModelConfiguration: options.userSelectedModelConfiguration,
|
|
1868
1905
|
userSelectedTools: options.userSelectedTools?.get(),
|
|
1869
1906
|
location: options.location,
|
|
1870
1907
|
locationData: options.locationData,
|
package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js
CHANGED
|
@@ -69,7 +69,7 @@ class ChatToolInvocation {
|
|
|
69
69
|
if (startOptions.startInStreaming) {
|
|
70
70
|
defaultMessage = toolData.displayName;
|
|
71
71
|
} else if (startOptions.startInCancelled) {
|
|
72
|
-
defaultMessage = startOptions.cancelReasonMessage ?? ( localize(
|
|
72
|
+
defaultMessage = startOptions.cancelReasonMessage ?? ( localize(8581, "Tool \"{0}\" was denied", toolData.displayName));
|
|
73
73
|
}
|
|
74
74
|
this.invocationMessage = preparedInvocation?.invocationMessage ?? defaultMessage;
|
|
75
75
|
this.pastTenseMessage = preparedInvocation?.pastTenseMessage;
|
|
@@ -6,7 +6,7 @@ import { ThemeIcon } from "../../../../../base/common/themables.js";
|
|
|
6
6
|
import { URI } from "../../../../../base/common/uri.js";
|
|
7
7
|
import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
8
8
|
import { IChatRequestVariableEntry } from "../attachments/chatVariableEntries.js";
|
|
9
|
-
import { ChatAgentVoteDirection, ChatRequestQueueKind, IChatCodeCitation, IChatContentReference, IChatDisabledClaudeHooksPart, IChatFollowup, IChatMcpServersStarting, IChatPlanReview, IChatProgressMessage, IChatQuestionCarousel, IChatResponseErrorDetails, IChatTask, IChatUsage, IChatUsedContext } from "../chatService/chatService.js";
|
|
9
|
+
import { ChatAgentVoteDirection, ChatRequestQueueKind, IChatCodeCitation, IChatContentReference, IChatDisabledClaudeHooksPart, IChatFollowup, IChatMcpAuthenticationRequired, IChatMcpServersStarting, IChatMcpServersStartingSlow, IChatPlanReview, IChatProgressMessage, IChatQuestionCarousel, IChatResponseErrorDetails, IChatTask, IChatUsage, IChatUsedContext } from "../chatService/chatService.js";
|
|
10
10
|
import { IChatAgentCommand, IChatAgentData, IChatAgentResult } from "../participants/chatAgents.js";
|
|
11
11
|
import { IChatAgentNameService } from "../participants/chatAgents.service.js";
|
|
12
12
|
import { IParsedChatRequest } from "../requestParser/chatParserTypes.js";
|
|
@@ -64,6 +64,7 @@ export interface IChatRequestViewModel {
|
|
|
64
64
|
readonly shouldBeBlocked: IObservable<boolean>;
|
|
65
65
|
readonly attachedContext?: readonly IChatRequestVariableEntry[];
|
|
66
66
|
readonly modelId?: string;
|
|
67
|
+
readonly resolvedModelId?: string;
|
|
67
68
|
readonly timestamp: number;
|
|
68
69
|
/** The kind of pending request, or undefined if not pending */
|
|
69
70
|
readonly pendingKind?: ChatRequestQueueKind;
|
|
@@ -153,10 +154,15 @@ export interface IChatChangesSummaryPart {
|
|
|
153
154
|
readonly requestId: string;
|
|
154
155
|
readonly sessionResource: URI;
|
|
155
156
|
}
|
|
157
|
+
export interface IChatTurnPillsPart {
|
|
158
|
+
readonly kind: "turnPills";
|
|
159
|
+
readonly requestId: string;
|
|
160
|
+
readonly sessionResource: URI;
|
|
161
|
+
}
|
|
156
162
|
/**
|
|
157
163
|
* Type for content parts rendered by IChatListRenderer (not necessarily in the model)
|
|
158
164
|
*/
|
|
159
|
-
export type IChatRendererContent = IChatProgressRenderableResponseContent | IChatReferences | IChatCodeCitations | IChatErrorDetailsPart | IChatChangesSummaryPart | IChatWorkingProgress | IChatMcpServersStarting | IChatQuestionCarousel | IChatPlanReview | IChatDisabledClaudeHooksPart;
|
|
165
|
+
export type IChatRendererContent = IChatProgressRenderableResponseContent | IChatReferences | IChatCodeCitations | IChatErrorDetailsPart | IChatChangesSummaryPart | IChatWorkingProgress | IChatMcpServersStarting | IChatMcpAuthenticationRequired | IChatMcpServersStartingSlow | IChatQuestionCarousel | IChatPlanReview | IChatDisabledClaudeHooksPart | IChatTurnPillsPart;
|
|
160
166
|
export interface IChatResponseViewModel {
|
|
161
167
|
readonly model: IChatResponseModel;
|
|
162
168
|
readonly id: string;
|
|
@@ -261,6 +267,7 @@ export declare class ChatRequestViewModel implements IChatRequestViewModel {
|
|
|
261
267
|
currentRenderedHeight: number | undefined;
|
|
262
268
|
get attachedContext(): IChatRequestVariableEntry[] | undefined;
|
|
263
269
|
get modelId(): string | undefined;
|
|
270
|
+
get resolvedModelId(): string | undefined;
|
|
264
271
|
get timestamp(): number;
|
|
265
272
|
get pendingKind(): ChatRequestQueueKind | undefined;
|
|
266
273
|
get isSystemInitiated(): boolean | undefined;
|
|
@@ -232,6 +232,10 @@ class ChatRequestViewModel {
|
|
|
232
232
|
get modelId() {
|
|
233
233
|
return this._model.modelId;
|
|
234
234
|
}
|
|
235
|
+
get resolvedModelId() {
|
|
236
|
+
const resolvedModel = this._model.response?.result?.metadata?.resolvedModel;
|
|
237
|
+
return typeof resolvedModel === "string" ? resolvedModel : undefined;
|
|
238
|
+
}
|
|
235
239
|
get timestamp() {
|
|
236
240
|
return this._model.timestamp;
|
|
237
241
|
}
|
|
@@ -42,16 +42,28 @@ export interface IAgentPlugin {
|
|
|
42
42
|
readonly fromMarketplace?: IMarketplacePlugin;
|
|
43
43
|
}
|
|
44
44
|
export interface IAgentPluginDiscovery extends IDisposable {
|
|
45
|
-
readonly plugins: IObservable<readonly IAgentPlugin[]>;
|
|
45
|
+
readonly plugins: IObservable<readonly IAgentPlugin[] | undefined>;
|
|
46
46
|
start(enablementModel: IEnablementModel): void;
|
|
47
47
|
}
|
|
48
|
+
export declare enum AgentPluginDiscoveryPriority {
|
|
49
|
+
Configured = 10,
|
|
50
|
+
Marketplace = 20,
|
|
51
|
+
Extension = 30,
|
|
52
|
+
CopilotCli = 40
|
|
53
|
+
}
|
|
48
54
|
export declare function getCanonicalPluginCommandId(plugin: {
|
|
49
55
|
readonly uri: URI;
|
|
56
|
+
readonly label?: string;
|
|
50
57
|
}, commandName: string): string;
|
|
51
58
|
declare class AgentPluginDiscoveryRegistry {
|
|
52
59
|
private readonly _discovery;
|
|
53
|
-
|
|
54
|
-
|
|
60
|
+
private _order;
|
|
61
|
+
register(descriptor: SyncDescriptor0<IAgentPluginDiscovery>, priority: AgentPluginDiscoveryPriority): IDisposable;
|
|
62
|
+
getAll(): readonly {
|
|
63
|
+
readonly descriptor: SyncDescriptor0<IAgentPluginDiscovery>;
|
|
64
|
+
readonly priority: AgentPluginDiscoveryPriority;
|
|
65
|
+
readonly order: number;
|
|
66
|
+
}[];
|
|
55
67
|
}
|
|
56
68
|
export declare const agentPluginDiscoveryRegistry: AgentPluginDiscoveryRegistry;
|
|
57
69
|
export {};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
import { toDisposable } from '../../../../../base/common/lifecycle.js';
|
|
2
3
|
import { basename } from '../../../../../base/common/resources.js';
|
|
3
4
|
|
|
5
|
+
var AgentPluginDiscoveryPriority;
|
|
6
|
+
(function(AgentPluginDiscoveryPriority) {
|
|
7
|
+
AgentPluginDiscoveryPriority[AgentPluginDiscoveryPriority["Configured"] = 10] = "Configured";
|
|
8
|
+
AgentPluginDiscoveryPriority[AgentPluginDiscoveryPriority["Marketplace"] = 20] = "Marketplace";
|
|
9
|
+
AgentPluginDiscoveryPriority[AgentPluginDiscoveryPriority["Extension"] = 30] = "Extension";
|
|
10
|
+
AgentPluginDiscoveryPriority[AgentPluginDiscoveryPriority["CopilotCli"] = 40] = "CopilotCli";
|
|
11
|
+
})(AgentPluginDiscoveryPriority || (AgentPluginDiscoveryPriority = {}));
|
|
4
12
|
function getCanonicalPluginCommandId(plugin, commandName) {
|
|
5
|
-
const
|
|
6
|
-
const prefix = normalizePluginToken(pluginSegment);
|
|
13
|
+
const prefix = (plugin.label ? normalizePluginToken(plugin.label) : "") || normalizePluginToken(basename(plugin.uri));
|
|
7
14
|
const normalizedCommand = normalizePluginToken(commandName);
|
|
8
15
|
if (normalizedCommand.startsWith(`${prefix}:`)) {
|
|
9
16
|
return normalizedCommand;
|
|
@@ -19,14 +26,26 @@ function normalizePluginToken(value) {
|
|
|
19
26
|
class AgentPluginDiscoveryRegistry {
|
|
20
27
|
constructor() {
|
|
21
28
|
this._discovery = [];
|
|
29
|
+
this._order = 0;
|
|
22
30
|
}
|
|
23
|
-
register(descriptor) {
|
|
24
|
-
|
|
31
|
+
register(descriptor, priority) {
|
|
32
|
+
const registration = {
|
|
33
|
+
descriptor,
|
|
34
|
+
priority,
|
|
35
|
+
order: this._order++
|
|
36
|
+
};
|
|
37
|
+
this._discovery.push(registration);
|
|
38
|
+
return toDisposable(() => {
|
|
39
|
+
const index = this._discovery.indexOf(registration);
|
|
40
|
+
if (index >= 0) {
|
|
41
|
+
this._discovery.splice(index, 1);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
25
44
|
}
|
|
26
45
|
getAll() {
|
|
27
|
-
return this._discovery;
|
|
46
|
+
return [...this._discovery].sort((a, b) => a.priority - b.priority || a.order - b.order);
|
|
28
47
|
}
|
|
29
48
|
}
|
|
30
49
|
const agentPluginDiscoveryRegistry = ( new AgentPluginDiscoveryRegistry());
|
|
31
50
|
|
|
32
|
-
export { agentPluginDiscoveryRegistry, getCanonicalPluginCommandId };
|
|
51
|
+
export { AgentPluginDiscoveryPriority, agentPluginDiscoveryRegistry, getCanonicalPluginCommandId };
|
package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts
CHANGED
|
@@ -12,30 +12,26 @@ export interface IPluginInstallService {
|
|
|
12
12
|
installPlugin(plugin: IMarketplacePlugin): Promise<void>;
|
|
13
13
|
/**
|
|
14
14
|
* Installs a plugin directly from a source location string. Accepts
|
|
15
|
-
* GitHub shorthand (`owner/repo`)
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* GitHub shorthand (`owner/repo`), a full git clone URL, or a local
|
|
16
|
+
* folder path (`file://` URI, absolute path, or `~`-prefixed path).
|
|
17
|
+
* For git sources, clones the repository, reads marketplace metadata to
|
|
18
|
+
* discover plugins, and registers the selected plugin. For local folders,
|
|
19
|
+
* detects whether the folder is a marketplace or a standalone plugin and
|
|
20
|
+
* registers it under the appropriate configuration.
|
|
18
21
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
22
|
+
* Returns a result with an optional error message (e.g. invalid source or
|
|
23
|
+
* no plugins found); callers are responsible for surfacing it. When
|
|
24
|
+
* {@link IInstallPluginFromSourceOptions.plugin} is set, targets a specific
|
|
25
|
+
* plugin, installs it, and returns it in
|
|
26
|
+
* {@link IInstallPluginFromSourceResult.matchedPlugin}.
|
|
21
27
|
*/
|
|
22
|
-
installPluginFromSource(source: string, options?: IInstallPluginFromSourceOptions): Promise<
|
|
28
|
+
installPluginFromSource(source: string, options?: IInstallPluginFromSourceOptions): Promise<IInstallPluginFromSourceResult>;
|
|
23
29
|
/**
|
|
24
30
|
* Synchronously validates the format of a plugin source string.
|
|
25
31
|
* Returns an error message if the format is invalid, or undefined if valid.
|
|
26
32
|
*/
|
|
27
33
|
validatePluginSource(source: string): string | undefined;
|
|
28
34
|
/**
|
|
29
|
-
* Installs a plugin from an already-validated source string.
|
|
30
|
-
* Handles trust, cloning, scanning, and registration. Returns a result
|
|
31
|
-
* with an optional error message (e.g. no plugins found).
|
|
32
|
-
*
|
|
33
|
-
* When {@link IInstallPluginFromSourceOptions.plugin} is set, targets
|
|
34
|
-
* a specific plugin, installs it, and returns it in
|
|
35
|
-
* {@link IInstallPluginFromSourceResult.matchedPlugin}.
|
|
36
|
-
*/
|
|
37
|
-
installPluginFromValidatedSource(source: string, options?: IInstallPluginFromSourceOptions): Promise<IInstallPluginFromSourceResult>;
|
|
38
|
-
/**
|
|
39
35
|
* Pulls the latest changes for an already-cloned marketplace repository.
|
|
40
36
|
*/
|
|
41
37
|
updatePlugin(plugin: IMarketplacePlugin): Promise<boolean>;
|
package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts
CHANGED
|
@@ -34,8 +34,14 @@ export interface IPluginMarketplaceService {
|
|
|
34
34
|
getMarketplacePluginMetadata(pluginUri: URI): IMarketplacePlugin | undefined;
|
|
35
35
|
addInstalledPlugin(pluginUri: URI, plugin: IMarketplacePlugin): void;
|
|
36
36
|
removeInstalledPlugin(pluginUri: URI): void;
|
|
37
|
-
/** Returns whether the given marketplace
|
|
37
|
+
/** Returns whether the given marketplace is trusted — either explicitly trusted by the user, or allowed by the enterprise allowlist when strict mode is active. */
|
|
38
38
|
isMarketplaceTrusted(ref: IMarketplaceReference): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Returns whether the strict-marketplace enterprise policy
|
|
41
|
+
* (`chat.plugins.strictMarketplaces`) is active — i.e. an allowlist is
|
|
42
|
+
* configured. When active, blocked marketplaces cannot be trusted by the user.
|
|
43
|
+
*/
|
|
44
|
+
isStrictMarketplacePolicyActive(): boolean;
|
|
39
45
|
/** Records that the user trusts the given marketplace, persisted permanently. */
|
|
40
46
|
trustMarketplace(ref: IMarketplaceReference): void;
|
|
41
47
|
/**
|
|
@@ -55,4 +61,12 @@ export interface IPluginMarketplaceService {
|
|
|
55
61
|
* root.
|
|
56
62
|
*/
|
|
57
63
|
readSinglePluginManifest(repoDir: URI, reference: IMarketplaceReference): Promise<IMarketplacePlugin | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Returns whether the given directory is a standalone plugin — i.e. it
|
|
66
|
+
* contains a single-plugin manifest (e.g. `.plugin/plugin.json`,
|
|
67
|
+
* `.claude-plugin/plugin.json`, or `plugin.json`) at its root but is not a
|
|
68
|
+
* marketplace. Used by direct-install flows to route a local folder to the
|
|
69
|
+
* appropriate configuration.
|
|
70
|
+
*/
|
|
71
|
+
isPluginDirectory(repoDir: URI): Promise<boolean>;
|
|
58
72
|
}
|
package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts
CHANGED
|
@@ -60,4 +60,4 @@ export declare class ComputeAutomaticInstructions {
|
|
|
60
60
|
private _getCustomizationsIndex;
|
|
61
61
|
private _addReferencedInstructions;
|
|
62
62
|
}
|
|
63
|
-
export declare function getFilePath(uri: URI, remoteOS: OperatingSystem | undefined): string;
|
|
63
|
+
export declare function getFilePath(uri: URI, remoteOS: OperatingSystem | undefined, isRemote?: boolean): string;
|
package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js
CHANGED
|
@@ -155,7 +155,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
155
155
|
category: "skipped",
|
|
156
156
|
name: ( basename(uri).toString()),
|
|
157
157
|
uri,
|
|
158
|
-
reason: ( localize(
|
|
158
|
+
reason: ( localize(8620, "no applyTo pattern"))
|
|
159
159
|
});
|
|
160
160
|
continue;
|
|
161
161
|
}
|
|
@@ -168,7 +168,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
168
168
|
category: "skipped",
|
|
169
169
|
name: ( basename(uri).toString()),
|
|
170
170
|
uri,
|
|
171
|
-
reason: ( localize(
|
|
171
|
+
reason: ( localize(8621, "already processed"))
|
|
172
172
|
});
|
|
173
173
|
continue;
|
|
174
174
|
}
|
|
@@ -177,8 +177,8 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
177
177
|
this._logService.trace(
|
|
178
178
|
`[InstructionsContextComputer] Match for ${uri} with ${match.pattern}${match.file ? ` for file ${match.file}` : ""}`
|
|
179
179
|
);
|
|
180
|
-
const reason = !match.file ? ( localize(
|
|
181
|
-
|
|
180
|
+
const reason = !match.file ? ( localize(8622, "automatically attached as pattern is **")) : ( localize(
|
|
181
|
+
8623,
|
|
182
182
|
"automatically attached as pattern {0} matches {1}",
|
|
183
183
|
pattern,
|
|
184
184
|
this._labelService.getUriLabel(match.file, {
|
|
@@ -204,7 +204,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
204
204
|
category: "skipped",
|
|
205
205
|
name: ( basename(uri).toString()),
|
|
206
206
|
uri,
|
|
207
|
-
reason: ( localize(
|
|
207
|
+
reason: ( localize(8624, "applyTo '{0}' did not match any attached files", pattern))
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -251,7 +251,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
251
251
|
category: "applying",
|
|
252
252
|
name: ( basename(uri).toString()),
|
|
253
253
|
uri,
|
|
254
|
-
reason: ( localize(
|
|
254
|
+
reason: ( localize(8625, "always added"))
|
|
255
255
|
});
|
|
256
256
|
logger.logInfo(`Agent instruction file added: ${( uri.toString())}`);
|
|
257
257
|
}
|
|
@@ -322,7 +322,8 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
322
322
|
const currentSessionType = this._currentSessionType;
|
|
323
323
|
const remoteEnv = await this._remoteAgentService.getEnvironment();
|
|
324
324
|
const remoteOS = remoteEnv?.os;
|
|
325
|
-
const
|
|
325
|
+
const isRemote = this._remoteAgentService.getConnection() !== null;
|
|
326
|
+
const filePath = uri => getFilePath(uri, remoteOS, isRemote);
|
|
326
327
|
const entries = [];
|
|
327
328
|
if (fileReadTool) {
|
|
328
329
|
const searchNestedAgentMd = this._configurationService.getValue(PromptsConfig.USE_NESTED_AGENT_MD);
|
|
@@ -369,7 +370,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
369
370
|
const folderName = this._labelService.getUriLabel(dirname(uri), {
|
|
370
371
|
relative: true
|
|
371
372
|
});
|
|
372
|
-
const description = folderName.trim().length === 0 ? ( localize(
|
|
373
|
+
const description = folderName.trim().length === 0 ? ( localize(8626, "Instructions for the workspace")) : ( localize(8627, "Instructions for folder '{0}'", folderName));
|
|
373
374
|
entries.push("<instruction>");
|
|
374
375
|
entries.push(`<file>${filePath(uri)}</file>`);
|
|
375
376
|
entries.push(`<description>${description}</description>`);
|
|
@@ -389,7 +390,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
389
390
|
category: "skipped",
|
|
390
391
|
name: skill.name,
|
|
391
392
|
uri: skill.uri,
|
|
392
|
-
reason: ( localize(
|
|
393
|
+
reason: ( localize(8628, "no description for model invocation"))
|
|
393
394
|
});
|
|
394
395
|
return false;
|
|
395
396
|
}
|
|
@@ -398,7 +399,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
398
399
|
category: "skipped",
|
|
399
400
|
name: skill.name,
|
|
400
401
|
uri: skill.uri,
|
|
401
|
-
reason: ( localize(
|
|
402
|
+
reason: ( localize(8629, "model invocation disabled"))
|
|
402
403
|
});
|
|
403
404
|
return false;
|
|
404
405
|
}
|
|
@@ -407,7 +408,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
407
408
|
category: "skipped",
|
|
408
409
|
name: skill.name,
|
|
409
410
|
uri: skill.uri,
|
|
410
|
-
reason: ( localize(
|
|
411
|
+
reason: ( localize(8630, "session type not matched"))
|
|
411
412
|
});
|
|
412
413
|
return false;
|
|
413
414
|
}
|
|
@@ -416,7 +417,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
416
417
|
category: "skipped",
|
|
417
418
|
name: skill.name,
|
|
418
419
|
uri: skill.uri,
|
|
419
|
-
reason: ( localize(
|
|
420
|
+
reason: ( localize(8631, "debug logging disabled"))
|
|
420
421
|
});
|
|
421
422
|
return false;
|
|
422
423
|
}
|
|
@@ -585,7 +586,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
585
586
|
category: "skipped",
|
|
586
587
|
name: agent.name,
|
|
587
588
|
uri: agent.uri,
|
|
588
|
-
reason: ( localize(
|
|
589
|
+
reason: ( localize(8632, "not invocable by model"))
|
|
589
590
|
});
|
|
590
591
|
}
|
|
591
592
|
}
|
|
@@ -652,7 +653,7 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
652
653
|
if (isPromptOrInstructionsFile(uri)) {
|
|
653
654
|
todo.push(uri);
|
|
654
655
|
}
|
|
655
|
-
const reason = ( localize(
|
|
656
|
+
const reason = ( localize(8633, "Referenced by {0}", basename(next)));
|
|
656
657
|
attachedContext.add(
|
|
657
658
|
toPromptFileVariableEntry(uri, PromptFileVariableKind.InstructionReference, reason, true)
|
|
658
659
|
);
|
|
@@ -673,7 +674,12 @@ let ComputeAutomaticInstructions = class ComputeAutomaticInstructions {
|
|
|
673
674
|
}
|
|
674
675
|
};
|
|
675
676
|
ComputeAutomaticInstructions = ( __decorate([( __param(4, IPromptsService)), ( __param(5, ILogService)), ( __param(6, ILabelService)), ( __param(7, IConfigurationService)), ( __param(8, IWorkspaceContextService)), ( __param(9, IFileService)), ( __param(10, IRemoteAgentService)), ( __param(11, ITelemetryService)), ( __param(12, ILanguageModelToolsService)), ( __param(13, IAgentPluginService))], ComputeAutomaticInstructions));
|
|
676
|
-
function getFilePath(uri, remoteOS) {
|
|
677
|
+
function getFilePath(uri, remoteOS, isRemote = false) {
|
|
678
|
+
if (isRemote && uri.scheme === Schemas.file) {
|
|
679
|
+
return ( uri.with({
|
|
680
|
+
scheme: "vscode-local"
|
|
681
|
+
}).toString());
|
|
682
|
+
}
|
|
677
683
|
if (uri.scheme === Schemas.file || uri.scheme === Schemas.vscodeRemote) {
|
|
678
684
|
const fsPath = uri.fsPath;
|
|
679
685
|
if (remoteOS !== undefined) {
|
|
@@ -53,32 +53,32 @@ function mergeHooks(base, additional) {
|
|
|
53
53
|
return result;
|
|
54
54
|
}
|
|
55
55
|
const HOOK_COMMAND_FIELD_DESCRIPTIONS = {
|
|
56
|
-
type: ( localize(
|
|
56
|
+
type: ( localize(8634, "Must be \"command\".")),
|
|
57
57
|
command: ( localize(
|
|
58
|
-
|
|
58
|
+
8635,
|
|
59
59
|
"The command to execute. This is the default cross-platform command."
|
|
60
60
|
)),
|
|
61
61
|
windows: ( localize(
|
|
62
|
-
|
|
62
|
+
8636,
|
|
63
63
|
"Windows-specific command. If specified and running on Windows, this overrides the \"command\" field."
|
|
64
64
|
)),
|
|
65
65
|
linux: ( localize(
|
|
66
|
-
|
|
66
|
+
8637,
|
|
67
67
|
"Linux-specific command. If specified and running on Linux, this overrides the \"command\" field."
|
|
68
68
|
)),
|
|
69
69
|
osx: ( localize(
|
|
70
|
-
|
|
70
|
+
8638,
|
|
71
71
|
"macOS-specific command. If specified and running on macOS, this overrides the \"command\" field."
|
|
72
72
|
)),
|
|
73
|
-
bash: ( localize(
|
|
74
|
-
powershell: ( localize(
|
|
75
|
-
cwd: ( localize(
|
|
73
|
+
bash: ( localize(8639, "Bash command for Linux and macOS.")),
|
|
74
|
+
powershell: ( localize(8640, "PowerShell command for Windows.")),
|
|
75
|
+
cwd: ( localize(8641, "Working directory for the script (relative to repository root).")),
|
|
76
76
|
env: ( localize(
|
|
77
|
-
|
|
77
|
+
8642,
|
|
78
78
|
"Additional environment variables that are merged with the existing environment."
|
|
79
79
|
)),
|
|
80
|
-
timeout: ( localize(
|
|
81
|
-
timeoutSec: ( localize(
|
|
80
|
+
timeout: ( localize(8643, "Maximum execution time in seconds (default: 30).")),
|
|
81
|
+
timeoutSec: ( localize(8644, "Maximum execution time in seconds (default: 10)."))
|
|
82
82
|
};
|
|
83
83
|
const vscodeHookCommandSchema = {
|
|
84
84
|
type: "object",
|
|
@@ -98,7 +98,7 @@ const vscodeHookCommandSchema = {
|
|
|
98
98
|
required: ["powershell"]
|
|
99
99
|
}],
|
|
100
100
|
errorMessage: ( localize(
|
|
101
|
-
|
|
101
|
+
8645,
|
|
102
102
|
"At least one of \"command\", \"windows\", \"linux\", or \"osx\" must be specified."
|
|
103
103
|
)),
|
|
104
104
|
properties: {
|
|
@@ -161,7 +161,7 @@ const copilotCliHookCommandSchema = {
|
|
|
161
161
|
}, {
|
|
162
162
|
required: ["powershell"]
|
|
163
163
|
}],
|
|
164
|
-
errorMessage: ( localize(
|
|
164
|
+
errorMessage: ( localize(8646, "At least one of \"bash\" or \"powershell\" must be specified.")),
|
|
165
165
|
properties: {
|
|
166
166
|
type: {
|
|
167
167
|
type: "string",
|
|
@@ -203,7 +203,7 @@ const hookFileSchema = {
|
|
|
203
203
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
204
204
|
type: "object",
|
|
205
205
|
description: ( localize(
|
|
206
|
-
|
|
206
|
+
8647,
|
|
207
207
|
"GitHub Copilot hook configuration file. Hooks enable executing custom shell commands at strategic points in an agent's workflow."
|
|
208
208
|
)),
|
|
209
209
|
additionalProperties: true,
|
|
@@ -211,7 +211,7 @@ const hookFileSchema = {
|
|
|
211
211
|
properties: {
|
|
212
212
|
hooks: {
|
|
213
213
|
type: "object",
|
|
214
|
-
description: ( localize(
|
|
214
|
+
description: ( localize(8648, "Hook definitions organized by type.")),
|
|
215
215
|
additionalProperties: true
|
|
216
216
|
}
|
|
217
217
|
},
|
|
@@ -227,7 +227,7 @@ const hookFileSchema = {
|
|
|
227
227
|
properties: {
|
|
228
228
|
version: {
|
|
229
229
|
type: "number",
|
|
230
|
-
description: ( localize(
|
|
230
|
+
description: ( localize(8649, "Hook configuration format version."))
|
|
231
231
|
},
|
|
232
232
|
hooks: {
|
|
233
233
|
properties: copilotCliHookProperties
|
|
@@ -242,8 +242,8 @@ const hookFileSchema = {
|
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
defaultSnippets: [{
|
|
245
|
-
label: ( localize(
|
|
246
|
-
description: ( localize(
|
|
245
|
+
label: ( localize(8650, "Basic hook configuration")),
|
|
246
|
+
description: ( localize(8651, "A basic hook configuration with common hooks")),
|
|
247
247
|
body: {
|
|
248
248
|
hooks: {
|
|
249
249
|
SessionStart: [{
|