@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
|
@@ -2,6 +2,12 @@ import { IChatSessionsService } from "./chatSessionsService.service.js";
|
|
|
2
2
|
import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js";
|
|
3
3
|
import { ServicesAccessor } from "../../../../platform/instantiation/common/instantiation.js";
|
|
4
4
|
import { RawContextKey } from "../../../../platform/contextkey/common/contextkey.js";
|
|
5
|
+
import { URI } from "../../../../base/common/uri.js";
|
|
6
|
+
export declare enum BYOKUtilityModelDefault {
|
|
7
|
+
None = "none",
|
|
8
|
+
MainAgent = "mainAgent",
|
|
9
|
+
Copilot = "copilot"
|
|
10
|
+
}
|
|
5
11
|
export declare enum ChatConfiguration {
|
|
6
12
|
AIDisabled = "chat.disableAIFeatures",
|
|
7
13
|
PluginsEnabled = "chat.plugins.enabled",
|
|
@@ -15,12 +21,12 @@ export declare enum ChatConfiguration {
|
|
|
15
21
|
ExploreAgentDefaultModel = "chat.exploreAgent.defaultModel",
|
|
16
22
|
UtilityModel = "chat.utilityModel",
|
|
17
23
|
UtilitySmallModel = "chat.utilitySmallModel",
|
|
24
|
+
BYOKUtilityModelDefault = "chat.byokUtilityModelDefault",
|
|
18
25
|
RequestQueueingDefaultAction = "chat.requestQueuing.defaultAction",
|
|
19
26
|
AgentStatusEnabled = "chat.agentsControl.enabled",
|
|
20
27
|
EditorAssociations = "chat.editorAssociations",
|
|
21
28
|
UnifiedAgentsBar = "chat.unifiedAgentsBar.enabled",
|
|
22
29
|
AgentSessionProjectionEnabled = "chat.agentSessionProjection.enabled",
|
|
23
|
-
EditModeHidden = "chat.editMode.hidden",
|
|
24
30
|
ExtensionToolsEnabled = "chat.extensionTools.enabled",
|
|
25
31
|
RepoInfoEnabled = "chat.repoInfo.enabled",
|
|
26
32
|
EditRequests = "chat.editRequests",
|
|
@@ -59,14 +65,17 @@ export declare enum ChatConfiguration {
|
|
|
59
65
|
ExitAfterDelegation = "chat.exitAfterDelegation",
|
|
60
66
|
ExplainChangesEnabled = "chat.editing.explainChanges.enabled",
|
|
61
67
|
RevealNextChangeOnResolve = "chat.editing.revealNextChangeOnResolve",
|
|
68
|
+
OpenChangedFileInDiffEditor = "chat.editing.openChangedFileInDiffEditor",
|
|
62
69
|
GrowthNotificationEnabled = "chat.growthNotification.enabled",
|
|
63
70
|
TitleBarSignInEnabled = "chat.titleBar.signIn.enabled",
|
|
64
71
|
TitleBarOpenInAgentsWindowEnabled = "chat.titleBar.openInAgentsWindow.enabled",
|
|
65
|
-
ChatCustomizationHarnessSelectorEnabled = "chat.customizations.harnessSelector.enabled",
|
|
66
72
|
ChatCustomizationsStructuredPreviewEnabled = "chat.customizations.structuredPreview.enabled",
|
|
67
73
|
AutopilotAdvancedEnabled = "chat.autopilot.advanced.enabled",
|
|
68
74
|
PlanReviewInlineEditorEnabled = "chat.planReview.inlineEditor.enabled",
|
|
69
75
|
DefaultPermissionLevel = "chat.permissions.default",
|
|
76
|
+
PermissionsSandboxToggleEnabled = "chat.experimental.permissionsSandboxToggle.enabled",
|
|
77
|
+
DefaultConfiguration = "chat.defaultConfiguration",
|
|
78
|
+
DefaultModel = "chat.defaultModel",
|
|
70
79
|
ImageCarouselEnabled = "imageCarousel.chat.enabled",
|
|
71
80
|
ArtifactsEnabled = "chat.artifacts.enabled",
|
|
72
81
|
ArtifactsRulesByMimeType = "chat.artifacts.rules.byMimeType",
|
|
@@ -76,12 +85,17 @@ export declare enum ChatConfiguration {
|
|
|
76
85
|
ToolRiskAssessmentEnabled = "chat.tools.riskAssessment.enabled",
|
|
77
86
|
ToolRiskAssessmentModel = "chat.tools.riskAssessment.model",
|
|
78
87
|
DefaultNewSessionMode = "chat.newSession.defaultMode",
|
|
79
|
-
|
|
80
|
-
|
|
88
|
+
CopilotCliHideExtensionHostAgents = "chat.agents.copilotCli.hideExtensionHost",
|
|
89
|
+
EditorDefaultProvider = "chat.editor.defaultProvider",
|
|
90
|
+
EditorLocalAgentEnabled = "chat.editor.localAgent.enabled",
|
|
91
|
+
CopilotCliHideExtensionHostEditor = "chat.editor.copilotCli.hideExtensionHost",
|
|
81
92
|
AgentsHandoffTipMode = "chat.agentsHandoffTip.mode",
|
|
93
|
+
TurnStatusPills = "chat.turnStatusPills",
|
|
82
94
|
IncrementalRendering = "chat.experimental.incrementalRendering.enabled",
|
|
83
95
|
IncrementalRenderingStyle = "chat.experimental.incrementalRendering.animationStyle",
|
|
84
|
-
IncrementalRenderingBuffering = "chat.experimental.incrementalRendering.buffering"
|
|
96
|
+
IncrementalRenderingBuffering = "chat.experimental.incrementalRendering.buffering",
|
|
97
|
+
CollectInstructionsInExtension = "chat.experimental.collectInstructionsInExtension",
|
|
98
|
+
ImplicitContextActiveEditor = "chat.implicitContext.includeActiveEditor"
|
|
85
99
|
}
|
|
86
100
|
/**
|
|
87
101
|
* The "kind" of agents for custom agents.
|
|
@@ -103,11 +117,30 @@ export declare enum ChatPermissionLevel {
|
|
|
103
117
|
Autopilot = "autopilot"
|
|
104
118
|
}
|
|
105
119
|
export declare function isChatPermissionLevel(level: unknown | undefined): level is ChatPermissionLevel;
|
|
120
|
+
/**
|
|
121
|
+
* Shape of the {@link ChatConfiguration.DefaultConfiguration}
|
|
122
|
+
* object setting. Controls the starting `mode` and `approvals` for new agent-host
|
|
123
|
+
* sessions (such as Copilot CLI). All properties are optional — a missing property
|
|
124
|
+
* falls back to the per-axis default.
|
|
125
|
+
*/
|
|
126
|
+
export type AgentSessionMode = "interactive" | "plan" | "autopilot";
|
|
127
|
+
export interface IChatDefaultConfiguration {
|
|
128
|
+
/** Starting agent mode: `interactive` / `plan` / `autopilot`. */
|
|
129
|
+
readonly mode?: AgentSessionMode;
|
|
130
|
+
/** Starting approval level: `default` / `autoApprove`. */
|
|
131
|
+
readonly approvals?: ChatPermissionLevel.Default | ChatPermissionLevel.AutoApprove;
|
|
132
|
+
}
|
|
106
133
|
/**
|
|
107
134
|
* Returns true if the permission level enables auto-approval of all tool calls.
|
|
108
135
|
* Both {@link ChatPermissionLevel.AutoApprove} and {@link ChatPermissionLevel.Autopilot} enable auto-approval.
|
|
109
136
|
*/
|
|
110
137
|
export declare function isAutoApproveLevel(level: ChatPermissionLevel | undefined): boolean;
|
|
138
|
+
/**
|
|
139
|
+
* True for {@link ChatPermissionLevel.Autopilot} only. Unlike {@link isAutoApproveLevel}, this
|
|
140
|
+
* excludes {@link ChatPermissionLevel.AutoApprove}, so it can gate Autopilot-only behavior such as
|
|
141
|
+
* risk-based skipping of tool calls.
|
|
142
|
+
*/
|
|
143
|
+
export declare function isAutopilotLevel(level: ChatPermissionLevel | undefined): boolean;
|
|
111
144
|
export declare enum ThinkingDisplayMode {
|
|
112
145
|
Collapsed = "collapsed",
|
|
113
146
|
CollapsedPreview = "collapsedPreview",
|
|
@@ -143,12 +176,19 @@ export declare namespace ChatAgentLocation {
|
|
|
143
176
|
export declare function isSupportedChatFileScheme(accessor: ServicesAccessor, scheme: string): boolean;
|
|
144
177
|
/**
|
|
145
178
|
* Returns the effective default session type for a new chat in the VS Code
|
|
146
|
-
* window, honoring the experimental
|
|
147
|
-
* {@link ChatConfiguration.
|
|
148
|
-
*
|
|
149
|
-
* contribution is
|
|
179
|
+
* editor window, honoring the experimental
|
|
180
|
+
* {@link ChatConfiguration.EditorDefaultProvider} setting:
|
|
181
|
+
* - `'copilotAh'` selects the Agent Host Copilot CLI when its contribution is registered.
|
|
182
|
+
* - `'copilotEh'` selects the Extension Host Copilot CLI when its contribution is
|
|
183
|
+
* registered and it is not hidden by {@link ChatConfiguration.CopilotCliHideExtensionHostEditor}.
|
|
184
|
+
*
|
|
185
|
+
* Falls back to {@link localChatSessionType} when local is enabled, or when no
|
|
186
|
+
* visible non-local provider is available.
|
|
150
187
|
*/
|
|
151
|
-
export declare function getDefaultNewChatSessionType(configurationService: IConfigurationService, chatSessionsService: Pick<IChatSessionsService, "getChatSessionContribution">): string;
|
|
188
|
+
export declare function getDefaultNewChatSessionType(configurationService: IConfigurationService, chatSessionsService: Pick<IChatSessionsService, "getChatSessionContribution" | "getAllChatSessionContributions">): string;
|
|
189
|
+
export declare function getDefaultNewChatSessionResource(configurationService: IConfigurationService, chatSessionsService: Pick<IChatSessionsService, "getChatSessionContribution" | "getAllChatSessionContributions">): URI;
|
|
190
|
+
export declare function isEditorLocalAgentEnabled(configurationService: IConfigurationService): boolean;
|
|
191
|
+
export declare function isVisibleEditorChatSessionType(sessionType: string, configurationService: IConfigurationService, chatSessionsService: Pick<IChatSessionsService, "getChatSessionContribution" | "getAllChatSessionContributions">): boolean;
|
|
152
192
|
export declare const MANAGE_CHAT_COMMAND_ID = "workbench.action.chat.manage";
|
|
153
193
|
export declare const OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID = "workbench.action.openWorkspaceInAgentsWindow";
|
|
154
194
|
export declare const OPEN_AGENTS_WINDOW_COMMAND_ID = "workbench.action.openAgentsWindow";
|
|
@@ -5,7 +5,16 @@ import { IChatSessionsService } from './chatSessionsService.service.js';
|
|
|
5
5
|
import { ContextKeyExpr, RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
6
6
|
import { ChatEntitlementContextKeys } from '../../../services/chat/common/chatEntitlementService.js';
|
|
7
7
|
import { IsSessionsWindowContext, IsAuxiliaryWindowContext } from '../../../common/contextkeys.js';
|
|
8
|
+
import { URI } from '../../../../base/common/uri.js';
|
|
9
|
+
import { generateUuid } from '../../../../base/common/uuid.js';
|
|
10
|
+
import { LocalChatSessionUri } from './model/chatUri.js';
|
|
8
11
|
|
|
12
|
+
var BYOKUtilityModelDefault;
|
|
13
|
+
(function(BYOKUtilityModelDefault) {
|
|
14
|
+
BYOKUtilityModelDefault["None"] = "none";
|
|
15
|
+
BYOKUtilityModelDefault["MainAgent"] = "mainAgent";
|
|
16
|
+
BYOKUtilityModelDefault["Copilot"] = "copilot";
|
|
17
|
+
})(BYOKUtilityModelDefault || (BYOKUtilityModelDefault = {}));
|
|
9
18
|
var ChatConfiguration;
|
|
10
19
|
(function(ChatConfiguration) {
|
|
11
20
|
ChatConfiguration["AIDisabled"] = "chat.disableAIFeatures";
|
|
@@ -20,12 +29,12 @@ var ChatConfiguration;
|
|
|
20
29
|
ChatConfiguration["ExploreAgentDefaultModel"] = "chat.exploreAgent.defaultModel";
|
|
21
30
|
ChatConfiguration["UtilityModel"] = "chat.utilityModel";
|
|
22
31
|
ChatConfiguration["UtilitySmallModel"] = "chat.utilitySmallModel";
|
|
32
|
+
ChatConfiguration["BYOKUtilityModelDefault"] = "chat.byokUtilityModelDefault";
|
|
23
33
|
ChatConfiguration["RequestQueueingDefaultAction"] = "chat.requestQueuing.defaultAction";
|
|
24
34
|
ChatConfiguration["AgentStatusEnabled"] = "chat.agentsControl.enabled";
|
|
25
35
|
ChatConfiguration["EditorAssociations"] = "chat.editorAssociations";
|
|
26
36
|
ChatConfiguration["UnifiedAgentsBar"] = "chat.unifiedAgentsBar.enabled";
|
|
27
37
|
ChatConfiguration["AgentSessionProjectionEnabled"] = "chat.agentSessionProjection.enabled";
|
|
28
|
-
ChatConfiguration["EditModeHidden"] = "chat.editMode.hidden";
|
|
29
38
|
ChatConfiguration["ExtensionToolsEnabled"] = "chat.extensionTools.enabled";
|
|
30
39
|
ChatConfiguration["RepoInfoEnabled"] = "chat.repoInfo.enabled";
|
|
31
40
|
ChatConfiguration["EditRequests"] = "chat.editRequests";
|
|
@@ -64,14 +73,17 @@ var ChatConfiguration;
|
|
|
64
73
|
ChatConfiguration["ExitAfterDelegation"] = "chat.exitAfterDelegation";
|
|
65
74
|
ChatConfiguration["ExplainChangesEnabled"] = "chat.editing.explainChanges.enabled";
|
|
66
75
|
ChatConfiguration["RevealNextChangeOnResolve"] = "chat.editing.revealNextChangeOnResolve";
|
|
76
|
+
ChatConfiguration["OpenChangedFileInDiffEditor"] = "chat.editing.openChangedFileInDiffEditor";
|
|
67
77
|
ChatConfiguration["GrowthNotificationEnabled"] = "chat.growthNotification.enabled";
|
|
68
78
|
ChatConfiguration["TitleBarSignInEnabled"] = "chat.titleBar.signIn.enabled";
|
|
69
79
|
ChatConfiguration["TitleBarOpenInAgentsWindowEnabled"] = "chat.titleBar.openInAgentsWindow.enabled";
|
|
70
|
-
ChatConfiguration["ChatCustomizationHarnessSelectorEnabled"] = "chat.customizations.harnessSelector.enabled";
|
|
71
80
|
ChatConfiguration["ChatCustomizationsStructuredPreviewEnabled"] = "chat.customizations.structuredPreview.enabled";
|
|
72
81
|
ChatConfiguration["AutopilotAdvancedEnabled"] = "chat.autopilot.advanced.enabled";
|
|
73
82
|
ChatConfiguration["PlanReviewInlineEditorEnabled"] = "chat.planReview.inlineEditor.enabled";
|
|
74
83
|
ChatConfiguration["DefaultPermissionLevel"] = "chat.permissions.default";
|
|
84
|
+
ChatConfiguration["PermissionsSandboxToggleEnabled"] = "chat.experimental.permissionsSandboxToggle.enabled";
|
|
85
|
+
ChatConfiguration["DefaultConfiguration"] = "chat.defaultConfiguration";
|
|
86
|
+
ChatConfiguration["DefaultModel"] = "chat.defaultModel";
|
|
75
87
|
ChatConfiguration["ImageCarouselEnabled"] = "imageCarousel.chat.enabled";
|
|
76
88
|
ChatConfiguration["ArtifactsEnabled"] = "chat.artifacts.enabled";
|
|
77
89
|
ChatConfiguration["ArtifactsRulesByMimeType"] = "chat.artifacts.rules.byMimeType";
|
|
@@ -81,12 +93,17 @@ var ChatConfiguration;
|
|
|
81
93
|
ChatConfiguration["ToolRiskAssessmentEnabled"] = "chat.tools.riskAssessment.enabled";
|
|
82
94
|
ChatConfiguration["ToolRiskAssessmentModel"] = "chat.tools.riskAssessment.model";
|
|
83
95
|
ChatConfiguration["DefaultNewSessionMode"] = "chat.newSession.defaultMode";
|
|
84
|
-
ChatConfiguration["
|
|
85
|
-
ChatConfiguration["
|
|
96
|
+
ChatConfiguration["CopilotCliHideExtensionHostAgents"] = "chat.agents.copilotCli.hideExtensionHost";
|
|
97
|
+
ChatConfiguration["EditorDefaultProvider"] = "chat.editor.defaultProvider";
|
|
98
|
+
ChatConfiguration["EditorLocalAgentEnabled"] = "chat.editor.localAgent.enabled";
|
|
99
|
+
ChatConfiguration["CopilotCliHideExtensionHostEditor"] = "chat.editor.copilotCli.hideExtensionHost";
|
|
86
100
|
ChatConfiguration["AgentsHandoffTipMode"] = "chat.agentsHandoffTip.mode";
|
|
101
|
+
ChatConfiguration["TurnStatusPills"] = "chat.turnStatusPills";
|
|
87
102
|
ChatConfiguration["IncrementalRendering"] = "chat.experimental.incrementalRendering.enabled";
|
|
88
103
|
ChatConfiguration["IncrementalRenderingStyle"] = "chat.experimental.incrementalRendering.animationStyle";
|
|
89
104
|
ChatConfiguration["IncrementalRenderingBuffering"] = "chat.experimental.incrementalRendering.buffering";
|
|
105
|
+
ChatConfiguration["CollectInstructionsInExtension"] = "chat.experimental.collectInstructionsInExtension";
|
|
106
|
+
ChatConfiguration["ImplicitContextActiveEditor"] = "chat.implicitContext.includeActiveEditor";
|
|
90
107
|
})(ChatConfiguration || (ChatConfiguration = {}));
|
|
91
108
|
var ChatModeKind;
|
|
92
109
|
(function(ChatModeKind) {
|
|
@@ -107,6 +124,9 @@ function isChatPermissionLevel(level) {
|
|
|
107
124
|
function isAutoApproveLevel(level) {
|
|
108
125
|
return level === ChatPermissionLevel.AutoApprove || level === ChatPermissionLevel.Autopilot;
|
|
109
126
|
}
|
|
127
|
+
function isAutopilotLevel(level) {
|
|
128
|
+
return level === ChatPermissionLevel.Autopilot;
|
|
129
|
+
}
|
|
110
130
|
var ThinkingDisplayMode;
|
|
111
131
|
(function(ThinkingDisplayMode) {
|
|
112
132
|
ThinkingDisplayMode["Collapsed"] = "collapsed";
|
|
@@ -170,10 +190,61 @@ function isSupportedChatFileScheme(accessor, scheme) {
|
|
|
170
190
|
return true;
|
|
171
191
|
}
|
|
172
192
|
function getDefaultNewChatSessionType(configurationService, chatSessionsService) {
|
|
173
|
-
|
|
193
|
+
const defaultProvider = configurationService.getValue(ChatConfiguration.EditorDefaultProvider);
|
|
194
|
+
const defaultType = getConfiguredEditorDefaultSessionType(defaultProvider);
|
|
195
|
+
if (defaultType === SessionType.AgentHostCopilot && !isEditorLocalAgentEnabled(configurationService)) {
|
|
196
|
+
return defaultType;
|
|
197
|
+
}
|
|
198
|
+
if (defaultType && isVisibleEditorChatSessionType(defaultType, configurationService, chatSessionsService)) {
|
|
199
|
+
return defaultType;
|
|
200
|
+
}
|
|
201
|
+
if (isEditorLocalAgentEnabled(configurationService)) {
|
|
202
|
+
return localChatSessionType;
|
|
203
|
+
}
|
|
204
|
+
return getVisibleNonLocalEditorChatSessionTypes(configurationService, chatSessionsService)[0] ?? localChatSessionType;
|
|
205
|
+
}
|
|
206
|
+
function getDefaultNewChatSessionResource(configurationService, chatSessionsService) {
|
|
207
|
+
const defaultType = getDefaultNewChatSessionType(configurationService, chatSessionsService);
|
|
208
|
+
return defaultType === localChatSessionType ? LocalChatSessionUri.getNewSessionUri() : ( URI.from({
|
|
209
|
+
scheme: defaultType,
|
|
210
|
+
path: `/untitled-${generateUuid()}`
|
|
211
|
+
}));
|
|
212
|
+
}
|
|
213
|
+
function isEditorLocalAgentEnabled(configurationService) {
|
|
214
|
+
return configurationService.getValue(ChatConfiguration.EditorLocalAgentEnabled) ?? true;
|
|
215
|
+
}
|
|
216
|
+
function isVisibleEditorChatSessionType(sessionType, configurationService, chatSessionsService) {
|
|
217
|
+
if (sessionType === localChatSessionType) {
|
|
218
|
+
if (!isEditorLocalAgentEnabled(configurationService) && configurationService.getValue(ChatConfiguration.EditorDefaultProvider) === "copilotAh") {
|
|
219
|
+
return false;
|
|
220
|
+
}
|
|
221
|
+
return isEditorLocalAgentEnabled(configurationService) || getVisibleNonLocalEditorChatSessionTypes(configurationService, chatSessionsService).length === 0;
|
|
222
|
+
}
|
|
223
|
+
if (sessionType === SessionType.CopilotCLI && configurationService.getValue(ChatConfiguration.CopilotCliHideExtensionHostEditor)) {
|
|
224
|
+
return false;
|
|
225
|
+
}
|
|
226
|
+
return !!chatSessionsService.getChatSessionContribution(sessionType);
|
|
227
|
+
}
|
|
228
|
+
function getConfiguredEditorDefaultSessionType(defaultProvider) {
|
|
229
|
+
switch (defaultProvider) {
|
|
230
|
+
case "local":
|
|
231
|
+
return localChatSessionType;
|
|
232
|
+
case "copilotAh":
|
|
174
233
|
return SessionType.AgentHostCopilot;
|
|
234
|
+
case "copilotEh":
|
|
235
|
+
return SessionType.CopilotCLI;
|
|
236
|
+
default:
|
|
237
|
+
return undefined;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
function getVisibleNonLocalEditorChatSessionTypes(configurationService, chatSessionsService) {
|
|
241
|
+
const sessionTypes = ( new Set());
|
|
242
|
+
for (const contribution of chatSessionsService.getAllChatSessionContributions()) {
|
|
243
|
+
if (contribution.type !== localChatSessionType && isVisibleEditorChatSessionType(contribution.type, configurationService, chatSessionsService)) {
|
|
244
|
+
sessionTypes.add(contribution.type);
|
|
245
|
+
}
|
|
175
246
|
}
|
|
176
|
-
return
|
|
247
|
+
return Array.from(sessionTypes);
|
|
177
248
|
}
|
|
178
249
|
const MANAGE_CHAT_COMMAND_ID = "workbench.action.chat.manage";
|
|
179
250
|
const OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID = "workbench.action.openWorkspaceInAgentsWindow";
|
|
@@ -184,4 +255,4 @@ const CONTEXT_MODELS_EDITOR = ( new RawContextKey("inModelsEditor", false));
|
|
|
184
255
|
const CONTEXT_MODELS_SEARCH_FOCUS = ( new RawContextKey("inModelsSearch", false));
|
|
185
256
|
const GeneralPurposeAgentName = "General Purpose";
|
|
186
257
|
|
|
187
|
-
export { CONTEXT_MODELS_EDITOR, CONTEXT_MODELS_SEARCH_FOCUS, ChatAgentLocation, ChatConfiguration, ChatEditorTitleMaxLength, ChatModeKind, ChatNotificationMode, ChatPermissionLevel, CollapsedToolsDisplayMode, GeneralPurposeAgentName, MANAGE_CHAT_COMMAND_ID, OPEN_AGENTS_WINDOW_COMMAND_ID, OPEN_AGENTS_WINDOW_PRECONDITION, OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID, ThinkingDisplayMode, getDefaultNewChatSessionType, isAutoApproveLevel, isChatPermissionLevel, isSupportedChatFileScheme };
|
|
258
|
+
export { BYOKUtilityModelDefault, CONTEXT_MODELS_EDITOR, CONTEXT_MODELS_SEARCH_FOCUS, ChatAgentLocation, ChatConfiguration, ChatEditorTitleMaxLength, ChatModeKind, ChatNotificationMode, ChatPermissionLevel, CollapsedToolsDisplayMode, GeneralPurposeAgentName, MANAGE_CHAT_COMMAND_ID, OPEN_AGENTS_WINDOW_COMMAND_ID, OPEN_AGENTS_WINDOW_PRECONDITION, OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID, ThinkingDisplayMode, getDefaultNewChatSessionResource, getDefaultNewChatSessionType, isAutoApproveLevel, isAutopilotLevel, isChatPermissionLevel, isEditorLocalAgentEnabled, isSupportedChatFileScheme, isVisibleEditorChatSessionType };
|
|
@@ -66,13 +66,6 @@ export interface IHarnessDescriptor {
|
|
|
66
66
|
* section is hidden.
|
|
67
67
|
*/
|
|
68
68
|
readonly hiddenSections?: readonly string[];
|
|
69
|
-
/**
|
|
70
|
-
* Workspace sub-paths that this harness recognizes for file creation.
|
|
71
|
-
* When set, the directory picker for new customization files only offers
|
|
72
|
-
* workspace directories under these sub-paths (e.g. `.claude` for Claude).
|
|
73
|
-
* When `undefined`, all workspace directories are shown (Local harness).
|
|
74
|
-
*/
|
|
75
|
-
readonly workspaceSubpaths?: readonly string[];
|
|
76
69
|
/**
|
|
77
70
|
* When `true`, the "Generate with AI" sparkle button is hidden and replaced
|
|
78
71
|
* with a plain "New X" manual-creation button (like sessions).
|
|
@@ -96,14 +89,6 @@ export interface IHarnessDescriptor {
|
|
|
96
89
|
* When `undefined`, the harness is always available (e.g. Local).
|
|
97
90
|
*/
|
|
98
91
|
readonly requiredAgentId?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Instruction file patterns that this harness recognizes.
|
|
101
|
-
* Each entry is either an exact filename (e.g. `'CLAUDE.md'`) or a
|
|
102
|
-
* path prefix ending with `/` (e.g. `'.claude/rules/'`).
|
|
103
|
-
* When set, instruction items that don't match any pattern are filtered out.
|
|
104
|
-
* When `undefined`, all instruction files are shown.
|
|
105
|
-
*/
|
|
106
|
-
readonly instructionFileFilter?: readonly string[];
|
|
107
92
|
/**
|
|
108
93
|
* Returns the storage source filter that should be applied to customization
|
|
109
94
|
* items of the given type when this harness is active.
|
|
@@ -151,6 +136,8 @@ export interface ICustomizationItem {
|
|
|
151
136
|
readonly extensionId: string | undefined;
|
|
152
137
|
/** The URI of the plugin that contributed this customization, if any. */
|
|
153
138
|
readonly pluginUri: URI | undefined;
|
|
139
|
+
/** Human-readable name of the plugin that contributed this customization, if any. */
|
|
140
|
+
readonly pluginLabel?: string;
|
|
154
141
|
/** Server-reported loading status for this customization. */
|
|
155
142
|
readonly status?: "loading" | "loaded" | "degraded" | "error";
|
|
156
143
|
/** Human-readable status detail (e.g. error message or warning). */
|
|
@@ -209,6 +196,24 @@ export interface ICustomizationItemProvider {
|
|
|
209
196
|
* this session.
|
|
210
197
|
*/
|
|
211
198
|
provideCustomAgents?(sessionResource: URI, token: CancellationToken): Promise<readonly ICustomAgent[]>;
|
|
199
|
+
/**
|
|
200
|
+
* Provide the directories where new customization files of the given
|
|
201
|
+
* type can be created for this session. The result includes both
|
|
202
|
+
* workspace-scoped and user-scoped folders; the caller is responsible
|
|
203
|
+
* for partitioning them by storage target.
|
|
204
|
+
*
|
|
205
|
+
* @param sessionResource URI of the chat session whose
|
|
206
|
+
* creation locations should be returned.
|
|
207
|
+
*/
|
|
208
|
+
provideSourceFolders?(sessionResource: URI, type: PromptsType, token: CancellationToken): Promise<readonly ICustomizationSourceFolder[] | undefined>;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* A directory where new customization files of a given type can be created.
|
|
212
|
+
*/
|
|
213
|
+
export interface ICustomizationSourceFolder {
|
|
214
|
+
readonly uri: URI;
|
|
215
|
+
/** Display label for the picker when multiple folders are offered. */
|
|
216
|
+
readonly label: string;
|
|
212
217
|
}
|
|
213
218
|
/**
|
|
214
219
|
* Provider interface for harnesses that use an opt-out sync model.
|
|
@@ -234,31 +239,17 @@ export interface ICustomizationSlashCommand {
|
|
|
234
239
|
readonly sessionTypes?: readonly string[];
|
|
235
240
|
}
|
|
236
241
|
/**
|
|
237
|
-
*
|
|
242
|
+
* Builds the full source list from the base set (local, user, plugin)
|
|
243
|
+
* plus any additional sources specific to the window type.
|
|
244
|
+
*
|
|
245
|
+
* Core passes `[PromptsStorage.extension]`; sessions passes its
|
|
246
|
+
* BUILTIN_STORAGE constant.
|
|
238
247
|
*/
|
|
239
|
-
export declare function getCliUserRoots(userHome: URI): readonly URI[];
|
|
240
248
|
/**
|
|
241
249
|
* Creates a "VS Code" harness descriptor that shows all storage sources
|
|
242
250
|
* with no user-root restrictions.
|
|
243
251
|
*/
|
|
244
|
-
export declare function createVSCodeHarnessDescriptor(
|
|
245
|
-
/**
|
|
246
|
-
* Creates a "Copilot CLI" harness descriptor.
|
|
247
|
-
*/
|
|
248
|
-
export declare function createCliHarnessDescriptor(cliUserRoots: readonly URI[], extras: readonly AICustomizationSource[]): IHarnessDescriptor;
|
|
249
|
-
/**
|
|
250
|
-
* Tests whether a file path belongs to one of the given workspace sub-paths.
|
|
251
|
-
* Matches on path segment boundaries to avoid false positives
|
|
252
|
-
* (e.g. `.claude` must appear as `/.claude/` in the path, not as part of
|
|
253
|
-
* a longer segment like `not.claude`).
|
|
254
|
-
*/
|
|
255
|
-
export declare function matchesWorkspaceSubpath(filePath: string, subpaths: readonly string[]): boolean;
|
|
256
|
-
/**
|
|
257
|
-
* Tests whether an instruction file matches one of the harness's recognized
|
|
258
|
-
* instruction file patterns. Patterns can be exact filenames (e.g. `CLAUDE.md`)
|
|
259
|
-
* or path prefixes ending with `/` (e.g. `.claude/rules/`).
|
|
260
|
-
*/
|
|
261
|
-
export declare function matchesInstructionFileFilter(filePath: string, filters: readonly string[]): boolean;
|
|
252
|
+
export declare function createVSCodeHarnessDescriptor(): IHarnessDescriptor;
|
|
262
253
|
/**
|
|
263
254
|
* Reusable base implementation of {@link ICustomizationHarnessService}.
|
|
264
255
|
* Concrete registrations only need to supply the list of harness
|
|
@@ -293,7 +284,6 @@ export declare class CustomizationHarnessServiceBase implements ICustomizationHa
|
|
|
293
284
|
registerExternalHarness(descriptor: IHarnessDescriptor): IDisposable;
|
|
294
285
|
findHarnessById(id: string): IHarnessDescriptor | undefined;
|
|
295
286
|
setActiveSession(sessionResource: URI): void;
|
|
296
|
-
getStorageSourceFilter(type: PromptsType): IStorageSourceFilter;
|
|
297
287
|
getActiveDescriptor(): IHarnessDescriptor;
|
|
298
288
|
getSlashCommands(sessionResource: URI, token: CancellationToken): Promise<readonly IChatPromptSlashCommand[]>;
|
|
299
289
|
getCustomAgents(sessionResource: URI, token: CancellationToken): Promise<readonly ICustomAgent[]>;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { Codicon } from '../../../../base/common/codicons.js';
|
|
3
3
|
import '../../../../base/common/observableInternal/index.js';
|
|
4
4
|
import { Emitter } from '../../../../base/common/event.js';
|
|
5
|
-
import '../../../../base/common/resources.js';
|
|
6
5
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
7
6
|
import { URI } from '../../../../base/common/uri.js';
|
|
8
7
|
import { localize } from '../../../../nls.js';
|
|
@@ -28,36 +27,24 @@ const EMPTY_DESCRIPTOR = {
|
|
|
28
27
|
id: "",
|
|
29
28
|
label: "",
|
|
30
29
|
icon: Codicon.sparkle,
|
|
31
|
-
getStorageSourceFilter: () =>
|
|
32
|
-
sources: []
|
|
33
|
-
})
|
|
30
|
+
getStorageSourceFilter: () => EMPTY_FILTER
|
|
34
31
|
};
|
|
35
|
-
function
|
|
36
|
-
return [
|
|
37
|
-
AICustomizationSources.local,
|
|
38
|
-
AICustomizationSources.user,
|
|
39
|
-
AICustomizationSources.plugin,
|
|
40
|
-
...extras
|
|
41
|
-
];
|
|
42
|
-
}
|
|
43
|
-
function createVSCodeHarnessDescriptor(sources) {
|
|
32
|
+
function createVSCodeHarnessDescriptor() {
|
|
44
33
|
const filter = {
|
|
45
|
-
sources:
|
|
34
|
+
sources: AICustomizationSources.all
|
|
46
35
|
};
|
|
47
36
|
return {
|
|
48
37
|
id: SessionType.Local,
|
|
49
|
-
label: ( localize(
|
|
38
|
+
label: ( localize(8541, "Local")),
|
|
50
39
|
icon: ThemeIcon.fromId(Codicon.vm.id),
|
|
51
40
|
supportsTroubleshoot: true,
|
|
41
|
+
hiddenSections: [AICustomizationManagementSection.Tools],
|
|
52
42
|
sectionOverrides: ( new Map([[AICustomizationManagementSection.Instructions, {
|
|
53
43
|
rootFileShortcuts: [AGENT_MD_FILENAME]
|
|
54
44
|
}]])),
|
|
55
45
|
getStorageSourceFilter: () => filter
|
|
56
46
|
};
|
|
57
47
|
}
|
|
58
|
-
function matchesWorkspaceSubpath(filePath, subpaths) {
|
|
59
|
-
return ( subpaths.some(sp => filePath.includes(`/${sp}/`) || filePath.endsWith(`/${sp}`)));
|
|
60
|
-
}
|
|
61
48
|
class CustomizationHarnessServiceBase {
|
|
62
49
|
constructor(staticHarnesses, defaultHarness, promptsService) {
|
|
63
50
|
this.promptsService = promptsService;
|
|
@@ -151,11 +138,6 @@ class CustomizationHarnessServiceBase {
|
|
|
151
138
|
setActiveSession(sessionResource) {
|
|
152
139
|
this._activeSessionResource.set(sessionResource, undefined);
|
|
153
140
|
}
|
|
154
|
-
getStorageSourceFilter(type) {
|
|
155
|
-
const activeId = this._activeHarness.get();
|
|
156
|
-
const descriptor = this.findHarnessById(activeId);
|
|
157
|
-
return descriptor?.getStorageSourceFilter(type) ?? EMPTY_FILTER;
|
|
158
|
-
}
|
|
159
141
|
getActiveDescriptor() {
|
|
160
142
|
const activeId = this._activeHarness.get();
|
|
161
143
|
const descriptor = this.findHarnessById(activeId);
|
|
@@ -181,7 +163,8 @@ class CustomizationHarnessServiceBase {
|
|
|
181
163
|
uri: item.uri,
|
|
182
164
|
type: item.type,
|
|
183
165
|
name: item.pluginUri ? getCanonicalPluginCommandId({
|
|
184
|
-
uri: item.pluginUri
|
|
166
|
+
uri: item.pluginUri,
|
|
167
|
+
label: item.pluginLabel
|
|
185
168
|
}, item.name) : item.name,
|
|
186
169
|
description: item.description,
|
|
187
170
|
userInvocable: item.userInvocable ?? true,
|
|
@@ -268,4 +251,4 @@ class CustomizationHarnessServiceBase {
|
|
|
268
251
|
}
|
|
269
252
|
}
|
|
270
253
|
|
|
271
|
-
export { CustomizationHarnessServiceBase, createVSCodeHarnessDescriptor, isPluginCustomizationItem
|
|
254
|
+
export { CustomizationHarnessServiceBase, createVSCodeHarnessDescriptor, isPluginCustomizationItem };
|
package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts
CHANGED
|
@@ -3,9 +3,7 @@ import { Event } from "../../../../base/common/event.js";
|
|
|
3
3
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
4
4
|
import { IObservable } from "../../../../base/common/observable.js";
|
|
5
5
|
import { URI } from "../../../../base/common/uri.js";
|
|
6
|
-
import { IStorageSourceFilter } from "./aiCustomizationWorkspaceService.js";
|
|
7
6
|
import { IHarnessDescriptor } from "./customizationHarnessService.js";
|
|
8
|
-
import { PromptsType } from "./promptSyntax/promptTypes.js";
|
|
9
7
|
import { IChatPromptSlashCommand, ICustomAgent, IResolvedChatPromptSlashCommand } from "./promptSyntax/service/promptsService.js";
|
|
10
8
|
export declare const ICustomizationHarnessService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ICustomizationHarnessService>;
|
|
11
9
|
/**
|
|
@@ -42,11 +40,6 @@ export interface ICustomizationHarnessService {
|
|
|
42
40
|
*/
|
|
43
41
|
setActiveSession(sessionResource: URI): void;
|
|
44
42
|
/**
|
|
45
|
-
* Convenience: returns the storage source filter for the active harness
|
|
46
|
-
* and the given customization type.
|
|
47
|
-
*/
|
|
48
|
-
getStorageSourceFilter(type: PromptsType): IStorageSourceFilter;
|
|
49
|
-
/**
|
|
50
43
|
* Returns the descriptor of the currently active harness.
|
|
51
44
|
*/
|
|
52
45
|
getActiveDescriptor(): IHarnessDescriptor;
|
|
@@ -45,9 +45,9 @@ var ChatEditingSessionState;
|
|
|
45
45
|
ChatEditingSessionState[ChatEditingSessionState["Disposed"] = 3] = "Disposed";
|
|
46
46
|
})(ChatEditingSessionState || (ChatEditingSessionState = {}));
|
|
47
47
|
const CHAT_EDITING_MULTI_DIFF_SOURCE_RESOLVER_SCHEME = "chat-editing-multi-diff-source";
|
|
48
|
-
const chatEditingWidgetFileStateContextKey = ( new RawContextKey("chatEditingWidgetFileState", undefined, ( localize(
|
|
48
|
+
const chatEditingWidgetFileStateContextKey = ( new RawContextKey("chatEditingWidgetFileState", undefined, ( localize(8542, "The current state of the file in the chat editing widget"))));
|
|
49
49
|
const chatEditingAgentSupportsReadonlyReferencesContextKey = ( new RawContextKey("chatEditingAgentSupportsReadonlyReferences", undefined, ( localize(
|
|
50
|
-
|
|
50
|
+
8543,
|
|
51
51
|
"Whether the chat editing agent supports readonly references (temporary)"
|
|
52
52
|
))));
|
|
53
53
|
const decidedChatEditingResourceContextKey = ( new RawContextKey("decidedChatEditingResource", []));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Disposable } from "../../../../base/common/lifecycle.js";
|
|
2
|
-
import { IReader, ITransaction } from "../../../../base/common/observable.js";
|
|
2
|
+
import { IObservable, IReader, ITransaction } from "../../../../base/common/observable.js";
|
|
3
3
|
import { IStorageService } from "../../../../platform/storage/common/storage.service.js";
|
|
4
4
|
export declare enum ContributionEnablementState {
|
|
5
5
|
DisabledProfile = 0,
|
|
@@ -33,3 +33,11 @@ export declare class EnablementModel extends Disposable implements IEnablementMo
|
|
|
33
33
|
private _setInMap;
|
|
34
34
|
private _deleteFromMap;
|
|
35
35
|
}
|
|
36
|
+
export declare class CollisionEnablementModel implements IEnablementModel {
|
|
37
|
+
private readonly _base;
|
|
38
|
+
private readonly _collisionGroups;
|
|
39
|
+
constructor(_base: IEnablementModel, _collisionGroups: IObservable<ReadonlyMap<string, readonly string[]>>);
|
|
40
|
+
readEnabled(key: string, reader?: IReader): ContributionEnablementState;
|
|
41
|
+
setEnabled(key: string, state: ContributionEnablementState, tx?: ITransaction): void;
|
|
42
|
+
remove(key: string): void;
|
|
43
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
3
3
|
import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
4
|
+
import '../../../../base/common/observableInternal/index.js';
|
|
4
5
|
import { observableMemento } from '../../../../platform/observable/common/observableMemento.js';
|
|
5
6
|
import { StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
|
|
6
7
|
import { IStorageService } from '../../../../platform/storage/common/storage.service.js';
|
|
8
|
+
import { transaction } from '../../../../base/common/observableInternal/transaction.js';
|
|
7
9
|
|
|
8
10
|
var ContributionEnablementState;
|
|
9
11
|
(function(ContributionEnablementState) {
|
|
@@ -98,5 +100,54 @@ let EnablementModel = class EnablementModel extends Disposable {
|
|
|
98
100
|
}
|
|
99
101
|
};
|
|
100
102
|
EnablementModel = ( __decorate([( __param(1, IStorageService))], EnablementModel));
|
|
103
|
+
class CollisionEnablementModel {
|
|
104
|
+
constructor(_base, _collisionGroups) {
|
|
105
|
+
this._base = _base;
|
|
106
|
+
this._collisionGroups = _collisionGroups;
|
|
107
|
+
}
|
|
108
|
+
readEnabled(key, reader) {
|
|
109
|
+
const baseState = this._base.readEnabled(key, reader);
|
|
110
|
+
if (!isContributionEnabled(baseState)) {
|
|
111
|
+
return baseState;
|
|
112
|
+
}
|
|
113
|
+
const group = this._collisionGroups.read(reader).get(key);
|
|
114
|
+
if (!group) {
|
|
115
|
+
return baseState;
|
|
116
|
+
}
|
|
117
|
+
for (const otherId of group) {
|
|
118
|
+
if (otherId === key) {
|
|
119
|
+
return baseState;
|
|
120
|
+
}
|
|
121
|
+
if (isContributionEnabled(this._base.readEnabled(otherId, reader))) {
|
|
122
|
+
return ContributionEnablementState.DisabledProfile;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return baseState;
|
|
126
|
+
}
|
|
127
|
+
setEnabled(key, state, tx) {
|
|
128
|
+
const isEnabling = state === ContributionEnablementState.EnabledProfile || state === ContributionEnablementState.EnabledWorkspace;
|
|
129
|
+
const group = isEnabling ? this._collisionGroups.get().get(key) : undefined;
|
|
130
|
+
if (!group) {
|
|
131
|
+
this._base.setEnabled(key, state, tx);
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
const updateGroup = innerTx => {
|
|
135
|
+
this._base.setEnabled(key, state, innerTx);
|
|
136
|
+
for (const otherId of group) {
|
|
137
|
+
if (otherId !== key) {
|
|
138
|
+
this._base.setEnabled(otherId, ContributionEnablementState.DisabledWorkspace, innerTx);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
if (tx) {
|
|
143
|
+
updateGroup(tx);
|
|
144
|
+
} else {
|
|
145
|
+
transaction(innerTx => updateGroup(innerTx));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
remove(key) {
|
|
149
|
+
this._base.remove(key);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
101
152
|
|
|
102
|
-
export { ContributionEnablementState, EnablementModel, isContributionDisabled, isContributionEnabled };
|
|
153
|
+
export { CollisionEnablementModel, ContributionEnablementState, EnablementModel, isContributionDisabled, isContributionEnabled };
|
|
@@ -27,13 +27,13 @@ LanguageModelStatsService = ( __decorate([( __param(0, IExtensionFeaturesManagem
|
|
|
27
27
|
const CopilotUsageExtensionFeatureId = "copilot";
|
|
28
28
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
29
29
|
id: CopilotUsageExtensionFeatureId,
|
|
30
|
-
label: ( localize(
|
|
31
|
-
description: ( localize(
|
|
30
|
+
label: ( localize(8544, "Copilot")),
|
|
31
|
+
description: ( localize(8545, "Language models usage statistics of this extension.")),
|
|
32
32
|
icon: Codicon.copilot,
|
|
33
33
|
access: {
|
|
34
34
|
canToggle: false
|
|
35
35
|
},
|
|
36
|
-
accessDataLabel: ( localize(
|
|
36
|
+
accessDataLabel: ( localize(8546, "chat"))
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
export { CopilotUsageExtensionFeatureId, LanguageModelStatsService };
|