@codingame/monaco-vscode-api 34.1.3 → 35.0.1
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
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Event } from "../../../base/common/event.js";
|
|
2
2
|
import { VSBuffer } from "../../../base/common/buffer.js";
|
|
3
|
+
import { ITunnelProxyInfo } from "../../tunnel/common/tunnelProxy.js";
|
|
4
|
+
import { IPermissionCategoryState, ISerializedBrowserPermissionsSnapshot, IBrowserDeviceCandidate, BrowserDeviceType, PermissionCategory } from "./browserPermissions.js";
|
|
3
5
|
export declare enum BrowserViewCommandId {
|
|
4
6
|
Open = "workbench.action.browser.open",
|
|
5
7
|
OpenFile = "workbench.action.browser.openFile",
|
|
@@ -17,6 +19,7 @@ export declare enum BrowserViewCommandId {
|
|
|
17
19
|
OpenSettings = "workbench.action.browser.openSettings",
|
|
18
20
|
ToggleFavorite = "workbench.action.browser.toggleFavorite",
|
|
19
21
|
ShowHistory = "workbench.action.browser.showHistory",
|
|
22
|
+
ManagePermissions = "workbench.action.browser.managePermissions",
|
|
20
23
|
AddElementToChat = "workbench.action.browser.addElementToChat",
|
|
21
24
|
AddConsoleLogsToChat = "workbench.action.browser.addConsoleLogsToChat",
|
|
22
25
|
AddScreenshotToChat = "workbench.action.browser.addScreenshotToChat",
|
|
@@ -69,10 +72,44 @@ export interface IBrowserViewTheme {
|
|
|
69
72
|
readonly buttonForeground?: string;
|
|
70
73
|
readonly font?: string;
|
|
71
74
|
}
|
|
72
|
-
|
|
75
|
+
/**
|
|
76
|
+
* The full set of configuration a window contributes for the browser views it
|
|
77
|
+
* owns. Sent as a single unit by the owning window.
|
|
78
|
+
*/
|
|
79
|
+
export interface IBrowserViewWindowConfiguration {
|
|
80
|
+
/** Theme variables for injected UI. */
|
|
81
|
+
readonly theme: IBrowserViewTheme;
|
|
82
|
+
/** Map of command ID to accelerator label for context menus. */
|
|
83
|
+
readonly keybindings: {
|
|
84
|
+
[commandId: string]: string;
|
|
85
|
+
};
|
|
86
|
+
/** Whether AI features are disabled for this window. */
|
|
73
87
|
readonly aiFeaturesDisabled?: boolean;
|
|
74
88
|
/** Maximum number of entries to retain per browser session history. */
|
|
75
89
|
readonly maxHistoryEntries?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Resolved tunnel-proxy credentials for the window's remote browser views,
|
|
92
|
+
* produced by the window's local node extension host (which hosts the HTTPS
|
|
93
|
+
* tunnel proxy). `undefined` until the proxy has started, or when no proxy
|
|
94
|
+
* is used. Applied to the Electron sessions of the window's remote views.
|
|
95
|
+
*/
|
|
96
|
+
readonly proxyInfo?: ITunnelProxyInfo;
|
|
97
|
+
/**
|
|
98
|
+
* The window's contribution to the `file://` allowlist used by integrated
|
|
99
|
+
* browser sessions. Main unions every window's contribution into a
|
|
100
|
+
* process-wide allowlist; entries are dropped when the window is destroyed.
|
|
101
|
+
* Usually `getTrustedUris()` plus, when the workspace itself is trusted, its
|
|
102
|
+
* workspace folder paths.
|
|
103
|
+
*/
|
|
104
|
+
readonly trustedFileRoots: readonly string[];
|
|
105
|
+
/**
|
|
106
|
+
* Whether Workspace Trust is disabled entirely
|
|
107
|
+
* (`security.workspace.trust.enabled: false`) for this window. When
|
|
108
|
+
* `true`, every `file://` request is allowed regardless of
|
|
109
|
+
* {@link trustedFileRoots} since there is no meaningful notion of an
|
|
110
|
+
* untrusted folder to enforce.
|
|
111
|
+
*/
|
|
112
|
+
readonly trustAllFiles: boolean;
|
|
76
113
|
}
|
|
77
114
|
export interface IBrowserViewBounds {
|
|
78
115
|
windowId: number;
|
|
@@ -156,13 +193,14 @@ export interface IBrowserViewCreatedEvent {
|
|
|
156
193
|
}
|
|
157
194
|
export interface IBrowserViewCreateOptions {
|
|
158
195
|
readonly owner: IBrowserViewOwner;
|
|
159
|
-
readonly
|
|
196
|
+
readonly sessionOptions: IBrowserSessionOptions;
|
|
160
197
|
readonly initialState?: Partial<IBrowserViewState>;
|
|
161
198
|
}
|
|
162
199
|
/** `applicationSharedStorage` keys this session writes to. Empty for ephemeral sessions. */
|
|
163
200
|
export interface IBrowserViewStorageKeys {
|
|
164
201
|
readonly history?: string;
|
|
165
202
|
readonly favicons?: string;
|
|
203
|
+
readonly permissions?: string;
|
|
166
204
|
}
|
|
167
205
|
export interface IBrowserViewState {
|
|
168
206
|
url: string;
|
|
@@ -179,8 +217,10 @@ export interface IBrowserViewState {
|
|
|
179
217
|
certificateError: IBrowserViewCertificateError | undefined;
|
|
180
218
|
storageScope: BrowserViewStorageScope;
|
|
181
219
|
storageKeys: IBrowserViewStorageKeys;
|
|
220
|
+
permissions: ISerializedBrowserPermissionsSnapshot;
|
|
182
221
|
browserZoomIndex: number;
|
|
183
222
|
isElementSelectionActive: boolean;
|
|
223
|
+
isRemoteSession: boolean;
|
|
184
224
|
isAreaSelectionActive: boolean;
|
|
185
225
|
device: IBrowserDeviceProfile | undefined;
|
|
186
226
|
}
|
|
@@ -237,6 +277,16 @@ export interface IBrowserViewTitleChangeEvent {
|
|
|
237
277
|
export interface IBrowserViewFaviconChangeEvent {
|
|
238
278
|
favicon: string | undefined;
|
|
239
279
|
}
|
|
280
|
+
export interface IBrowserViewPermissionRequestEvent {
|
|
281
|
+
origin: string;
|
|
282
|
+
category: PermissionCategory;
|
|
283
|
+
device?: IBrowserViewDeviceRequest;
|
|
284
|
+
}
|
|
285
|
+
export interface IBrowserViewDeviceRequest {
|
|
286
|
+
requestId: string;
|
|
287
|
+
deviceType: BrowserDeviceType;
|
|
288
|
+
devices: IBrowserDeviceCandidate[];
|
|
289
|
+
}
|
|
240
290
|
export interface IBrowserViewFindInPageOptions {
|
|
241
291
|
recompute?: boolean;
|
|
242
292
|
forward?: boolean;
|
|
@@ -253,6 +303,10 @@ export declare enum BrowserViewStorageScope {
|
|
|
253
303
|
Workspace = "workspace",
|
|
254
304
|
Ephemeral = "ephemeral"
|
|
255
305
|
}
|
|
306
|
+
export interface IBrowserSessionOptions {
|
|
307
|
+
/** Storage / data-isolation scope for the session. */
|
|
308
|
+
scope: BrowserViewStorageScope;
|
|
309
|
+
}
|
|
256
310
|
export declare const ipcBrowserViewChannelName = "browserView";
|
|
257
311
|
/**
|
|
258
312
|
* Discrete zoom levels matching Edge/Chrome.
|
|
@@ -314,13 +368,12 @@ export interface IBrowserViewService {
|
|
|
314
368
|
onDynamicDidClose(id: string): Event<void>;
|
|
315
369
|
onDynamicDidSelectElement(id: string): Event<IElementData>;
|
|
316
370
|
onDynamicDidChangeElementSelectionActive(id: string): Event<boolean>;
|
|
317
|
-
/**
|
|
318
|
-
* Fires exactly once per area-selection session, terminating it. Receives the user-drawn
|
|
319
|
-
* rectangle on success, or `undefined` if the picker was cancelled.
|
|
320
|
-
*/
|
|
321
371
|
onDynamicDidPickArea(id: string): Event<IBrowserViewRect | undefined>;
|
|
322
372
|
onDynamicDidChangeAreaSelectionActive(id: string): Event<boolean>;
|
|
323
373
|
onDynamicDidChangeDeviceEmulation(id: string): Event<IBrowserDeviceProfile | undefined>;
|
|
374
|
+
onDynamicDidChangeRemoteStatus(id: string): Event<boolean>;
|
|
375
|
+
onDynamicDidRequestPermission(id: string): Event<IBrowserViewPermissionRequestEvent>;
|
|
376
|
+
onDynamicDidChangePermissions(id: string): Event<ISerializedBrowserPermissionsSnapshot>;
|
|
324
377
|
/**
|
|
325
378
|
* Get all known browser views with their ownership and state information.
|
|
326
379
|
*/
|
|
@@ -471,6 +524,30 @@ export interface IBrowserViewService {
|
|
|
471
524
|
* @param entryIds The IDs of the history entries to delete. If omitted, deletes all history.
|
|
472
525
|
*/
|
|
473
526
|
deleteBrowserHistory(id: string, entryIds?: readonly number[]): Promise<void>;
|
|
527
|
+
/**
|
|
528
|
+
* Record permission decisions for an origin in this view's session. This is
|
|
529
|
+
* the single write API for permissions: it is used both by the management UI
|
|
530
|
+
* and to answer an outstanding {@link onDynamicDidRequestPermission} prompt.
|
|
531
|
+
* Recording a decision for a category auto-resolves any pending request for
|
|
532
|
+
* that (origin, category). The only values ever stored are `'allow'` and
|
|
533
|
+
* `'deny'`; passing a `null` decision clears the saved choice, falling back
|
|
534
|
+
* to the category default. Changes are persisted immediately.
|
|
535
|
+
*
|
|
536
|
+
* @param id The browser view identifier
|
|
537
|
+
* @param origin The origin (URL or origin string) to record decisions for
|
|
538
|
+
* @param grants The per-category decisions to record
|
|
539
|
+
*/
|
|
540
|
+
setPermissions(id: string, origin: string, grants: readonly IPermissionCategoryState[]): Promise<void>;
|
|
541
|
+
/**
|
|
542
|
+
* Answer an in-progress hardware-device chooser raised via
|
|
543
|
+
* {@link onDynamicDidRequestPermission} (its `device` payload). Pass the
|
|
544
|
+
* chosen `deviceId`, or `null` to cancel the chooser.
|
|
545
|
+
*
|
|
546
|
+
* @param id The browser view identifier
|
|
547
|
+
* @param requestId The device request to answer
|
|
548
|
+
* @param deviceId The selected device id, or `null` to cancel
|
|
549
|
+
*/
|
|
550
|
+
selectDevice(id: string, requestId: string, deviceId: string | null): Promise<void>;
|
|
474
551
|
/**
|
|
475
552
|
* Get captured console logs for a browser view.
|
|
476
553
|
* Console messages are automatically captured from the moment the view is created.
|
|
@@ -498,32 +575,10 @@ export interface IBrowserViewService {
|
|
|
498
575
|
*/
|
|
499
576
|
toggleAreaSelection(id: string, enabled?: boolean): Promise<void>;
|
|
500
577
|
/**
|
|
501
|
-
*
|
|
502
|
-
* @param theme The theme variables to apply
|
|
503
|
-
*/
|
|
504
|
-
updateTheme(theme: IBrowserViewTheme): Promise<void>;
|
|
505
|
-
/**
|
|
506
|
-
* Update the keybinding accelerators used in browser view context menus.
|
|
507
|
-
* @param keybindings A map of command ID to accelerator label
|
|
508
|
-
*/
|
|
509
|
-
updateKeybindings(keybindings: {
|
|
510
|
-
[commandId: string]: string;
|
|
511
|
-
}): Promise<void>;
|
|
512
|
-
/**
|
|
513
|
-
* Update workbench configuration that affect browser view behavior.
|
|
514
|
-
* @param config The configuration to apply
|
|
515
|
-
*/
|
|
516
|
-
updateConfiguration(config: IBrowserViewConfiguration): Promise<void>;
|
|
517
|
-
/**
|
|
518
|
-
* Replace the calling window's contribution to the `file://` allowlist
|
|
519
|
-
* used by integrated browser sessions. Main unions every window's
|
|
520
|
-
* contribution into a process-wide allowlist; entries are dropped when
|
|
521
|
-
* the window is destroyed.
|
|
578
|
+
* Replace the calling window's configuration for the browser views it owns.
|
|
522
579
|
*
|
|
523
580
|
* @param windowId The calling window's `vscodeWindowId`.
|
|
524
|
-
* @param
|
|
525
|
-
* usually `getTrustedUris()` plus, when the workspace itself is trusted,
|
|
526
|
-
* its workspace folder paths.
|
|
581
|
+
* @param config The configuration to apply.
|
|
527
582
|
*/
|
|
528
|
-
|
|
583
|
+
updateWindowConfiguration(windowId: number, config: IBrowserViewWindowConfiguration): Promise<void>;
|
|
529
584
|
}
|
|
@@ -19,6 +19,7 @@ var BrowserViewCommandId;
|
|
|
19
19
|
BrowserViewCommandId["OpenSettings"] = "workbench.action.browser.openSettings";
|
|
20
20
|
BrowserViewCommandId["ToggleFavorite"] = "workbench.action.browser.toggleFavorite";
|
|
21
21
|
BrowserViewCommandId["ShowHistory"] = "workbench.action.browser.showHistory";
|
|
22
|
+
BrowserViewCommandId["ManagePermissions"] = "workbench.action.browser.managePermissions";
|
|
22
23
|
BrowserViewCommandId["AddElementToChat"] = "workbench.action.browser.addElementToChat";
|
|
23
24
|
BrowserViewCommandId["AddConsoleLogsToChat"] = "workbench.action.browser.addConsoleLogsToChat";
|
|
24
25
|
BrowserViewCommandId["AddScreenshotToChat"] = "workbench.action.browser.addScreenshotToChat";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IStringDictionary } from "../../../base/common/collections.js";
|
|
2
2
|
import { Event } from "../../../base/common/event.js";
|
|
3
3
|
import { IJSONSchema } from "../../../base/common/jsonSchema.js";
|
|
4
|
-
import { IPolicy, PolicyName } from "../../../base/common/policy.js";
|
|
4
|
+
import { IPolicy, IPolicyReference, PolicyName } from "../../../base/common/policy.js";
|
|
5
5
|
export declare enum EditPresentationTypes {
|
|
6
6
|
Multiline = "multilineText",
|
|
7
7
|
Singleline = "singlelineText"
|
|
@@ -85,9 +85,13 @@ export interface IConfigurationRegistry {
|
|
|
85
85
|
*/
|
|
86
86
|
getConfigurationProperties(): IStringDictionary<IRegisteredConfigurationPropertySchema>;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Returns the owning setting key per policy name (at most one owner per name).
|
|
89
89
|
*/
|
|
90
90
|
getPolicyConfigurations(): Map<PolicyName, string>;
|
|
91
|
+
/**
|
|
92
|
+
* Returns the referencing setting keys per policy name.
|
|
93
|
+
*/
|
|
94
|
+
getPolicyReferenceConfigurations(): Map<PolicyName, Set<string>>;
|
|
91
95
|
/**
|
|
92
96
|
* Returns all excluded configurations settings of all configuration nodes contributed to this registry.
|
|
93
97
|
*/
|
|
@@ -176,9 +180,15 @@ export interface IConfigurationPropertySchema extends IJSONSchema {
|
|
|
176
180
|
order?: number;
|
|
177
181
|
/**
|
|
178
182
|
* When specified, this setting's value can always be overwritten by
|
|
179
|
-
* a system-wide policy.
|
|
183
|
+
* a system-wide policy. Exactly one setting may *own* a given policy name.
|
|
180
184
|
*/
|
|
181
185
|
policy?: IPolicy;
|
|
186
|
+
/**
|
|
187
|
+
* When specified, this setting is governed by a policy owned by another setting.
|
|
188
|
+
* A setting must not declare both `policy` and `policyReference`.
|
|
189
|
+
* The type must match the owning setting (enforced when exporting the policy catalog).
|
|
190
|
+
*/
|
|
191
|
+
policyReference?: IPolicyReference;
|
|
182
192
|
/**
|
|
183
193
|
* When specified, this setting's default value can always be overwritten by
|
|
184
194
|
* an experiment.
|
|
@@ -82,7 +82,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
82
82
|
this.configurationDefaultsOverrides = ( new Map());
|
|
83
83
|
this.defaultLanguageConfigurationOverridesNode = {
|
|
84
84
|
id: "defaultOverrides",
|
|
85
|
-
title: ( localize(
|
|
85
|
+
title: ( localize(1947, "Default Language Configuration Overrides")),
|
|
86
86
|
properties: {}
|
|
87
87
|
};
|
|
88
88
|
this.configurationContributors = [this.defaultLanguageConfigurationOverridesNode];
|
|
@@ -95,6 +95,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
95
95
|
};
|
|
96
96
|
this.configurationProperties = {};
|
|
97
97
|
this.policyConfigurations = ( new Map());
|
|
98
|
+
this.policyReferenceConfigurations = ( new Map());
|
|
98
99
|
this.excludedConfigurationProperties = {};
|
|
99
100
|
contributionRegistry.registerSchema(resourceLanguageSettingsSchemaId, this.resourceLanguageSettingsSchema);
|
|
100
101
|
this.registerOverridePropertyPatternKey();
|
|
@@ -283,7 +284,7 @@ class ConfigurationRegistry extends Disposable {
|
|
|
283
284
|
type: "object",
|
|
284
285
|
default: newDefaultOverride.value,
|
|
285
286
|
description: ( localize(
|
|
286
|
-
|
|
287
|
+
1948,
|
|
287
288
|
"Configure settings to be overridden for {0}.",
|
|
288
289
|
getLanguageTagSettingPlainKey(key)
|
|
289
290
|
)),
|
|
@@ -420,6 +421,15 @@ class ConfigurationRegistry extends Disposable {
|
|
|
420
421
|
if (property?.policy?.name) {
|
|
421
422
|
this.policyConfigurations.delete(property.policy.name);
|
|
422
423
|
}
|
|
424
|
+
if (property?.policyReference?.name) {
|
|
425
|
+
const refs = this.policyReferenceConfigurations.get(property.policyReference.name);
|
|
426
|
+
if (refs) {
|
|
427
|
+
refs.delete(key);
|
|
428
|
+
if (refs.size === 0) {
|
|
429
|
+
this.policyReferenceConfigurations.delete(property.policyReference.name);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
}
|
|
423
433
|
delete this.configurationProperties[key];
|
|
424
434
|
this.removeFromSchema(key, configuration.properties[key]);
|
|
425
435
|
}
|
|
@@ -481,18 +491,26 @@ class ConfigurationRegistry extends Disposable {
|
|
|
481
491
|
}
|
|
482
492
|
const excluded = properties[key].hasOwnProperty("included") && !properties[key].included;
|
|
483
493
|
const policyName = properties[key].policy?.name;
|
|
494
|
+
const policyReferenceName = properties[key].policyReference?.name;
|
|
484
495
|
if (excluded) {
|
|
485
496
|
this.excludedConfigurationProperties[key] = properties[key];
|
|
486
497
|
if (policyName) {
|
|
487
498
|
this.policyConfigurations.set(policyName, key);
|
|
488
499
|
bucket.add(key);
|
|
489
500
|
}
|
|
501
|
+
if (policyReferenceName) {
|
|
502
|
+
this.addPolicyReferenceConfiguration(policyReferenceName, key);
|
|
503
|
+
bucket.add(key);
|
|
504
|
+
}
|
|
490
505
|
delete properties[key];
|
|
491
506
|
} else {
|
|
492
507
|
bucket.add(key);
|
|
493
508
|
if (policyName) {
|
|
494
509
|
this.policyConfigurations.set(policyName, key);
|
|
495
510
|
}
|
|
511
|
+
if (policyReferenceName) {
|
|
512
|
+
this.addPolicyReferenceConfiguration(policyReferenceName, key);
|
|
513
|
+
}
|
|
496
514
|
this.configurationProperties[key] = properties[key];
|
|
497
515
|
if (!properties[key].deprecationMessage && properties[key].markdownDeprecationMessage) {
|
|
498
516
|
properties[key].deprecationMessage = properties[key].markdownDeprecationMessage;
|
|
@@ -507,6 +525,14 @@ class ConfigurationRegistry extends Disposable {
|
|
|
507
525
|
}
|
|
508
526
|
}
|
|
509
527
|
}
|
|
528
|
+
addPolicyReferenceConfiguration(policyName, key) {
|
|
529
|
+
let keys = this.policyReferenceConfigurations.get(policyName);
|
|
530
|
+
if (!keys) {
|
|
531
|
+
keys = ( new Set());
|
|
532
|
+
this.policyReferenceConfigurations.set(policyName, keys);
|
|
533
|
+
}
|
|
534
|
+
keys.add(key);
|
|
535
|
+
}
|
|
510
536
|
getConfigurations() {
|
|
511
537
|
return this.configurationContributors;
|
|
512
538
|
}
|
|
@@ -516,6 +542,9 @@ class ConfigurationRegistry extends Disposable {
|
|
|
516
542
|
getPolicyConfigurations() {
|
|
517
543
|
return this.policyConfigurations;
|
|
518
544
|
}
|
|
545
|
+
getPolicyReferenceConfigurations() {
|
|
546
|
+
return this.policyReferenceConfigurations;
|
|
547
|
+
}
|
|
519
548
|
getExcludedConfigurationProperties() {
|
|
520
549
|
return this.excludedConfigurationProperties;
|
|
521
550
|
}
|
|
@@ -601,8 +630,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
601
630
|
const overrideIdentifierProperty = `[${overrideIdentifier}]`;
|
|
602
631
|
const resourceLanguagePropertiesSchema = {
|
|
603
632
|
type: "object",
|
|
604
|
-
description: ( localize(
|
|
605
|
-
errorMessage: ( localize(
|
|
633
|
+
description: ( localize(1949, "Configure editor settings to be overridden for a language.")),
|
|
634
|
+
errorMessage: ( localize(1950, "This setting does not support per-language configuration.")),
|
|
606
635
|
$ref: resourceLanguageSettingsSchemaId
|
|
607
636
|
};
|
|
608
637
|
this.updatePropertyDefaultValue(overrideIdentifierProperty, resourceLanguagePropertiesSchema);
|
|
@@ -618,8 +647,8 @@ class ConfigurationRegistry extends Disposable {
|
|
|
618
647
|
registerOverridePropertyPatternKey() {
|
|
619
648
|
const resourceLanguagePropertiesSchema = {
|
|
620
649
|
type: "object",
|
|
621
|
-
description: ( localize(
|
|
622
|
-
errorMessage: ( localize(
|
|
650
|
+
description: ( localize(1949, "Configure editor settings to be overridden for a language.")),
|
|
651
|
+
errorMessage: ( localize(1950, "This setting does not support per-language configuration.")),
|
|
623
652
|
$ref: resourceLanguageSettingsSchemaId
|
|
624
653
|
};
|
|
625
654
|
allSettings.patternProperties[OVERRIDE_PROPERTY_PATTERN] = resourceLanguagePropertiesSchema;
|
|
@@ -694,26 +723,33 @@ const configurationRegistry = ( new ConfigurationRegistry());
|
|
|
694
723
|
Registry.add(Extensions.Configuration, configurationRegistry);
|
|
695
724
|
function validateProperty(property, schema, extensionId) {
|
|
696
725
|
if (!property.trim()) {
|
|
697
|
-
return localize(
|
|
726
|
+
return localize(1951, "Cannot register an empty property");
|
|
698
727
|
}
|
|
699
728
|
if (OVERRIDE_PROPERTY_REGEX.test(property)) {
|
|
700
729
|
return localize(
|
|
701
|
-
|
|
730
|
+
1952,
|
|
702
731
|
"Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",
|
|
703
732
|
property
|
|
704
733
|
);
|
|
705
734
|
}
|
|
706
735
|
if (configurationRegistry.getConfigurationProperties()[property] !== undefined && (!extensionId || !( EXTENSION_UNIFICATION_EXTENSION_IDS.has(extensionId.toLowerCase())))) {
|
|
707
736
|
return localize(
|
|
708
|
-
|
|
737
|
+
1953,
|
|
709
738
|
"Cannot register '{0}'. This property is already registered.",
|
|
710
739
|
property
|
|
711
740
|
);
|
|
712
741
|
}
|
|
742
|
+
if (schema.policy && schema.policyReference) {
|
|
743
|
+
return localize(
|
|
744
|
+
1954,
|
|
745
|
+
"Cannot register '{0}'. A setting must not declare both 'policy' and 'policyReference'.",
|
|
746
|
+
property
|
|
747
|
+
);
|
|
748
|
+
}
|
|
713
749
|
if (schema.policy?.name && configurationRegistry.getPolicyConfigurations().get(schema.policy?.name) !== undefined) {
|
|
714
750
|
return localize(
|
|
715
|
-
|
|
716
|
-
"Cannot register '{0}'. The associated policy {1} is already registered with {2}.",
|
|
751
|
+
1955,
|
|
752
|
+
"Cannot register '{0}'. The associated policy {1} is already registered with {2}. To attach another setting to the same policy, use 'policyReference'.",
|
|
717
753
|
property,
|
|
718
754
|
schema.policy?.name,
|
|
719
755
|
configurationRegistry.getPolicyConfigurations().get(schema.policy?.name)
|
|
@@ -42,9 +42,17 @@ export declare class PolicyConfiguration extends Disposable implements IPolicyCo
|
|
|
42
42
|
private readonly configurationRegistry;
|
|
43
43
|
private _configurationModel;
|
|
44
44
|
get configurationModel(): ConfigurationModel;
|
|
45
|
+
/** Last definition submitted per policy name; avoids redundant re-registration. */
|
|
46
|
+
private readonly _submittedPolicyDefinitions;
|
|
47
|
+
/** Maps each policy-controlled setting key to its policy name, so removed keys can be re-resolved. */
|
|
48
|
+
private readonly _policyNameByKey;
|
|
45
49
|
constructor(defaultConfiguration: DefaultConfiguration, policyService: IPolicyService, logService: ILogService);
|
|
46
50
|
initialize(): Promise<ConfigurationModel>;
|
|
51
|
+
private toPolicyDefinitionType;
|
|
47
52
|
private updatePolicyDefinitions;
|
|
53
|
+
private isSamePolicyDefinition;
|
|
54
|
+
/** Resolve the authoritative definition: owner wins; references provide a bare type fallback. */
|
|
55
|
+
private resolvePolicyDefinition;
|
|
48
56
|
private onDidChangePolicies;
|
|
49
57
|
private update;
|
|
50
58
|
private parse;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
3
|
-
import { coalesce } from '../../../base/common/arrays.js';
|
|
4
3
|
import { Emitter, Event } from '../../../base/common/event.js';
|
|
5
4
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
6
5
|
import { deepClone, equals } from '../../../base/common/objects.js';
|
|
@@ -92,6 +91,8 @@ let PolicyConfiguration = class PolicyConfiguration extends Disposable {
|
|
|
92
91
|
this.logService = logService;
|
|
93
92
|
this._onDidChangeConfiguration = this._register(( new Emitter()));
|
|
94
93
|
this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
|
|
94
|
+
this._submittedPolicyDefinitions = ( new Map());
|
|
95
|
+
this._policyNameByKey = ( new Map());
|
|
95
96
|
this._configurationModel = ConfigurationModel.createEmptyModel(this.logService);
|
|
96
97
|
this.configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
97
98
|
}
|
|
@@ -112,44 +113,107 @@ let PolicyConfiguration = class PolicyConfiguration extends Disposable {
|
|
|
112
113
|
) => this.update(await this.updatePolicyDefinitions(properties), true)));
|
|
113
114
|
return this._configurationModel;
|
|
114
115
|
}
|
|
116
|
+
toPolicyDefinitionType(configType, policyName) {
|
|
117
|
+
const configTypes = Array.isArray(configType) ? configType : [configType];
|
|
118
|
+
const supportedTypes = configTypes.filter(
|
|
119
|
+
type => type === "string" || type === "number" || type === "array" || type === "object" || type === "boolean"
|
|
120
|
+
);
|
|
121
|
+
if (supportedTypes.length === 0) {
|
|
122
|
+
this.logService.warn(
|
|
123
|
+
`PolicyConfiguration#updatePolicyDefinitions - policy '${policyName}' has unsupported type '${configType}'`
|
|
124
|
+
);
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
return supportedTypes.includes("number") ? "number" : supportedTypes.includes("boolean") ? "boolean" : "string";
|
|
128
|
+
}
|
|
115
129
|
async updatePolicyDefinitions(properties) {
|
|
116
130
|
this.logService.trace("PolicyConfiguration#updatePolicyDefinitions", properties);
|
|
117
|
-
const policyDefinitions = {};
|
|
118
131
|
const keys = [];
|
|
132
|
+
const policyNames = ( new Set());
|
|
119
133
|
const configurationProperties = this.configurationRegistry.getConfigurationProperties();
|
|
120
134
|
const excludedConfigurationProperties = this.configurationRegistry.getExcludedConfigurationProperties();
|
|
121
135
|
for (const key of properties) {
|
|
122
136
|
const config = configurationProperties[key] ?? excludedConfigurationProperties[key];
|
|
123
137
|
if (!config) {
|
|
124
138
|
keys.push(key);
|
|
139
|
+
const removedPolicyName = this._policyNameByKey.get(key);
|
|
140
|
+
if (removedPolicyName !== undefined) {
|
|
141
|
+
this._policyNameByKey.delete(key);
|
|
142
|
+
policyNames.add(removedPolicyName);
|
|
143
|
+
}
|
|
125
144
|
continue;
|
|
126
145
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
146
|
+
const policyName = config.policy?.name ?? config.policyReference?.name;
|
|
147
|
+
if (policyName) {
|
|
148
|
+
keys.push(key);
|
|
149
|
+
policyNames.add(policyName);
|
|
150
|
+
this._policyNameByKey.set(key, policyName);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const changedDefinitions = {};
|
|
154
|
+
for (const policyName of policyNames) {
|
|
155
|
+
const definition = this.resolvePolicyDefinition(policyName);
|
|
156
|
+
if (definition && !this.isSamePolicyDefinition(this._submittedPolicyDefinitions.get(policyName), definition)) {
|
|
157
|
+
this._submittedPolicyDefinitions.set(policyName, definition);
|
|
158
|
+
changedDefinitions[policyName] = definition;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if (!isEmptyObject(changedDefinitions)) {
|
|
162
|
+
await this.policyService.updatePolicyDefinitions(changedDefinitions);
|
|
163
|
+
}
|
|
164
|
+
return keys;
|
|
165
|
+
}
|
|
166
|
+
isSamePolicyDefinition(a, b) {
|
|
167
|
+
return !!a && a.type === b.type && a.value === b.value && a.managedSettings === b.managedSettings && a.restrictedValue === b.restrictedValue;
|
|
168
|
+
}
|
|
169
|
+
resolvePolicyDefinition(policyName) {
|
|
170
|
+
const configurationProperties = this.configurationRegistry.getConfigurationProperties();
|
|
171
|
+
const excludedConfigurationProperties = this.configurationRegistry.getExcludedConfigurationProperties();
|
|
172
|
+
const ownerKey = this.configurationRegistry.getPolicyConfigurations().get(policyName);
|
|
173
|
+
if (ownerKey !== undefined) {
|
|
174
|
+
const config = configurationProperties[ownerKey] ?? excludedConfigurationProperties[ownerKey];
|
|
175
|
+
if (config?.policy) {
|
|
176
|
+
const type = this.toPolicyDefinitionType(config.type, policyName);
|
|
132
177
|
const {
|
|
133
178
|
value,
|
|
179
|
+
managedSettings,
|
|
134
180
|
restrictedValue
|
|
135
181
|
} = config.policy;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
type: config.type === "number" ? "number" : config.type === "boolean" ? "boolean" : "string",
|
|
182
|
+
return type ? {
|
|
183
|
+
type,
|
|
139
184
|
value,
|
|
185
|
+
managedSettings,
|
|
140
186
|
restrictedValue
|
|
141
|
-
};
|
|
187
|
+
} : undefined;
|
|
142
188
|
}
|
|
143
189
|
}
|
|
144
|
-
|
|
145
|
-
|
|
190
|
+
const referenceKeys = this.configurationRegistry.getPolicyReferenceConfigurations().get(policyName);
|
|
191
|
+
for (const referenceKey of referenceKeys ?? []) {
|
|
192
|
+
const config = configurationProperties[referenceKey] ?? excludedConfigurationProperties[referenceKey];
|
|
193
|
+
if (config?.policyReference) {
|
|
194
|
+
const type = this.toPolicyDefinitionType(config.type, policyName);
|
|
195
|
+
return type ? {
|
|
196
|
+
type
|
|
197
|
+
} : undefined;
|
|
198
|
+
}
|
|
146
199
|
}
|
|
147
|
-
return
|
|
200
|
+
return undefined;
|
|
148
201
|
}
|
|
149
202
|
onDidChangePolicies(policyNames) {
|
|
150
203
|
this.logService.trace("PolicyConfiguration#onDidChangePolicies", policyNames);
|
|
151
204
|
const policyConfigurations = this.configurationRegistry.getPolicyConfigurations();
|
|
152
|
-
const
|
|
205
|
+
const policyReferenceConfigurations = this.configurationRegistry.getPolicyReferenceConfigurations();
|
|
206
|
+
const keys = [];
|
|
207
|
+
for (const policyName of policyNames) {
|
|
208
|
+
const owner = policyConfigurations.get(policyName);
|
|
209
|
+
if (owner) {
|
|
210
|
+
keys.push(owner);
|
|
211
|
+
}
|
|
212
|
+
const references = policyReferenceConfigurations.get(policyName);
|
|
213
|
+
if (references) {
|
|
214
|
+
keys.push(...references);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
153
217
|
this.update(keys, true);
|
|
154
218
|
}
|
|
155
219
|
update(keys, trigger) {
|
|
@@ -159,11 +223,12 @@ let PolicyConfiguration = class PolicyConfiguration extends Disposable {
|
|
|
159
223
|
const changed = [];
|
|
160
224
|
const wasEmpty = this._configurationModel.isEmpty();
|
|
161
225
|
for (const key of keys) {
|
|
162
|
-
const
|
|
163
|
-
const policyName =
|
|
226
|
+
const property = configurationProperties[key] ?? excludedConfigurationProperties[key];
|
|
227
|
+
const policyName = property?.policy?.name ?? property?.policyReference?.name;
|
|
164
228
|
if (policyName) {
|
|
165
229
|
let policyValue = this.policyService.getPolicyValue(policyName);
|
|
166
|
-
|
|
230
|
+
const acceptsStringType = Array.isArray(property.type) ? property.type.includes("string") : property.type === "string";
|
|
231
|
+
if (isString(policyValue) && !acceptsStringType) {
|
|
167
232
|
try {
|
|
168
233
|
policyValue = this.parse(policyValue);
|
|
169
234
|
} catch (e) {
|
|
@@ -533,7 +533,7 @@ CommandsRegistry.registerCommand({
|
|
|
533
533
|
return [...RawContextKey.all()].sort((a, b) => a.key.localeCompare(b.key));
|
|
534
534
|
},
|
|
535
535
|
metadata: {
|
|
536
|
-
description: ( localize(
|
|
536
|
+
description: ( localize(1956, "A command that returns information about context keys")),
|
|
537
537
|
args: []
|
|
538
538
|
}
|
|
539
539
|
});
|
|
@@ -47,17 +47,17 @@ var ContextKeyExprType;
|
|
|
47
47
|
const defaultConfig = {
|
|
48
48
|
regexParsingWithErrorRecovery: true
|
|
49
49
|
};
|
|
50
|
-
const errorEmptyString = ( localize(
|
|
50
|
+
const errorEmptyString = ( localize(1957, "Empty context key expression"));
|
|
51
51
|
const hintEmptyString = ( localize(
|
|
52
|
-
|
|
52
|
+
1958,
|
|
53
53
|
"Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."
|
|
54
54
|
));
|
|
55
|
-
const errorNoInAfterNot = ( localize(
|
|
56
|
-
const errorClosingParenthesis = ( localize(
|
|
57
|
-
const errorUnexpectedToken = ( localize(
|
|
58
|
-
const hintUnexpectedToken = ( localize(
|
|
59
|
-
const errorUnexpectedEOF = ( localize(
|
|
60
|
-
const hintUnexpectedEOF = ( localize(
|
|
55
|
+
const errorNoInAfterNot = ( localize(1959, "'in' after 'not'."));
|
|
56
|
+
const errorClosingParenthesis = ( localize(1960, "closing parenthesis ')'"));
|
|
57
|
+
const errorUnexpectedToken = ( localize(1961, "Unexpected token"));
|
|
58
|
+
const hintUnexpectedToken = ( localize(1962, "Did you forget to put && or || before the token?"));
|
|
59
|
+
const errorUnexpectedEOF = ( localize(1963, "Unexpected end of expression"));
|
|
60
|
+
const hintUnexpectedEOF = ( localize(1964, "Did you forget to put a context key?"));
|
|
61
61
|
class Parser {
|
|
62
62
|
static {
|
|
63
63
|
this._parseError = ( new Error());
|
|
@@ -391,7 +391,7 @@ class Parser {
|
|
|
391
391
|
throw this._errExpectedButGot(message, this._peek());
|
|
392
392
|
}
|
|
393
393
|
_errExpectedButGot(expected, got, additionalInfo) {
|
|
394
|
-
const message = ( localize(
|
|
394
|
+
const message = ( localize(1965, "Expected: {0}\nReceived: '{1}'.", expected, Scanner.getLexeme(got)));
|
|
395
395
|
const offset = got.offset;
|
|
396
396
|
const lexeme = Scanner.getLexeme(got);
|
|
397
397
|
this._parsingErrors.push({
|
|
@@ -479,7 +479,7 @@ function validateWhenClauses(whenClauses) {
|
|
|
479
479
|
parser.parse(whenClause);
|
|
480
480
|
if (parser.lexingErrors.length > 0) {
|
|
481
481
|
return (parser.lexingErrors.map(se => ({
|
|
482
|
-
errorMessage: se.additionalInfo ? ( localize(
|
|
482
|
+
errorMessage: se.additionalInfo ? ( localize(1966, "Unexpected token. Hint: {0}", se.additionalInfo)) : ( localize(1967, "Unexpected token.")),
|
|
483
483
|
offset: se.offset,
|
|
484
484
|
length: se.lexeme.length
|
|
485
485
|
})));
|