@codingame/monaco-vscode-api 34.1.3 → 35.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +261 -19
- package/package.json +8 -8
- package/services.d.ts +14 -0
- package/services.js +17 -3
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +2 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +52 -44
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +4 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/list.js +3 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/listView.js +9 -5
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css +3 -2
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +22 -4
- package/vscode/src/vs/base/common/async.d.ts +30 -0
- package/vscode/src/vs/base/common/async.js +22 -4
- package/vscode/src/vs/base/common/codicons.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +9 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +9 -20
- package/vscode/src/vs/base/common/managedSettings.d.ts +32 -0
- package/vscode/src/vs/base/common/managedSettings.js +30 -0
- package/vscode/src/vs/base/common/map.d.ts +6 -0
- package/vscode/src/vs/base/common/map.js +62 -8
- package/vscode/src/vs/base/common/numbers.d.ts +4 -0
- package/vscode/src/vs/base/common/numbers.js +13 -1
- package/vscode/src/vs/base/common/policy.d.ts +41 -0
- package/vscode/src/vs/base/common/product.d.ts +32 -3
- package/vscode/src/vs/base/common/uriTemplate.js +1 -1
- package/vscode/src/vs/base/common/uuid.d.ts +1 -1
- package/vscode/src/vs/base/common/yaml.d.ts +1 -0
- package/vscode/src/vs/base/common/yaml.js +80 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +1 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +2 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +10 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +2 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.d.ts +15 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +12 -6
- package/vscode/src/vs/editor/common/languages.js +0 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +10 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +36 -21
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +7 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +0 -5
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.js +0 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +6 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +4 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +3 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +77 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +163 -17
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +162 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +27 -12
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +11 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +9 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +13 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
- package/vscode/src/vs/platform/actions/common/actions.js +12 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +7 -2
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.d.ts +55 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.d.ts +56 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpServer.d.ts +15 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.d.ts +37 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.js +45 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.d.ts +15 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +37 -27
- package/vscode/src/vs/platform/agentHost/common/agentServerTools.d.ts +38 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +39 -5
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +8 -2
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +8 -20
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +18 -6
- package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/actions.d.ts +131 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/state.d.ts +110 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/actions.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.d.ts +28 -8
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.js +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/actions.d.ts +584 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.d.ts +42 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.d.ts +1157 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.js +119 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/notifications.d.ts +80 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.d.ts +48 -3
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/actions.d.ts +117 -489
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.d.ts +25 -20
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.d.ts +301 -937
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.js +7 -100
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.d.ts +43 -29
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.js +38 -26
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/messages.d.ts +13 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/state.d.ts +17 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.js +12 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.d.ts +10 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.js +19 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +3 -2
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +258 -5
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +84 -7
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +36 -3
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +58 -27
- package/vscode/src/vs/platform/browserView/common/browserHistory.js +4 -2
- package/vscode/src/vs/platform/browserView/common/browserPermissions.d.ts +176 -0
- package/vscode/src/vs/platform/browserView/common/browserPermissions.js +244 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +86 -31
- package/vscode/src/vs/platform/browserView/common/browserView.js +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +13 -3
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +47 -11
- package/vscode/src/vs/platform/configuration/common/configurations.d.ts +8 -0
- package/vscode/src/vs/platform/configuration/common/configurations.js +83 -18
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +10 -10
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +2 -0
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +2 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +6 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +16 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +9 -13
- package/vscode/src/vs/platform/extensions/common/extensionValidator.d.ts +1 -9
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -73
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -4
- package/vscode/src/vs/platform/extensions/common/extensions.js +6 -11
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +6 -14
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +19 -26
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.js +4 -0
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +6 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +1 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +1 -0
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.d.ts +7 -1
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +2 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +25 -25
- package/vscode/src/vs/platform/log/common/log.d.ts +1 -0
- package/vscode/src/vs/platform/log/common/log.js +7 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
- package/vscode/src/vs/platform/native/common/native.d.ts +41 -6
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.d.ts +201 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.js +269 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.d.ts +17 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.js +7 -0
- package/vscode/src/vs/platform/policy/common/policy.d.ts +4 -1
- package/vscode/src/vs/platform/policy/common/policy.js +17 -8
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +18 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +2 -1
- package/vscode/src/vs/platform/sandbox/common/settings.d.ts +4 -1
- package/vscode/src/vs/platform/sandbox/common/settings.js +14 -2
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +3 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +26 -26
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/tunnel/common/tunnelProxy.d.ts +19 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/update/common/update.d.ts +7 -1
- package/vscode/src/vs/platform/update/common/update.js +2 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +7 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +25 -2
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +51 -1
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +4 -0
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.d.ts +10 -0
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.js +56 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.d.ts +21 -0
- package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +33 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +34 -11
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +33 -6
- package/vscode/src/vs/workbench/api/common/extHostLanguages.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +17 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +7 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +81 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +52 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +17 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +22 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +233 -63
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +127 -127
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/contextkeys.js +1 -0
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/media/floatingPanels.css +203 -0
- package/vscode/src/vs/workbench/browser/media/part.css +1 -0
- package/vscode/src/vs/workbench/browser/part.d.ts +8 -0
- package/vscode/src/vs/workbench/browser/part.js +15 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +11 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +43 -28
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +5 -6
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +37 -37
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +135 -135
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +31 -26
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.d.ts +13 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +19 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.d.ts +4 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +37 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +18 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +64 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +17 -7
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css +33 -16
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +16 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +32 -19
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +7 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +69 -9
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +40 -1
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +71 -6
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +4 -5
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +17 -10
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +19 -8
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +14 -11
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +14 -14
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +261 -225
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +83 -83
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +180 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +21 -22
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +71 -3
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +36 -9
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +44 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +100 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +34 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +31 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +32 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +5 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +30 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +216 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.d.ts +8 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +52 -16
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +18 -2
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +118 -89
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +6 -11
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +6 -14
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +1 -6
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +84 -5
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +7 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +85 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +181 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +12 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +56 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +27 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +54 -2
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +50 -10
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +78 -7
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +26 -36
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +8 -25
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +52 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +106 -15
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +192 -56
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +28 -6
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +49 -12
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +15 -3
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +25 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +12 -16
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +21 -15
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +79 -79
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +111 -41
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +99 -5
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +31 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +49 -23
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +43 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +45 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.d.ts +95 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +6 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +12 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +71 -71
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +15 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +32 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +216 -168
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +196 -182
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +48 -48
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +106 -104
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +3 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +28 -28
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +137 -74
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +119 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.js +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +43 -43
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +42 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +18 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +3 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -62
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -11
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/search.js +12 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +24 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +117 -128
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +14 -14
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +8 -0
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +10 -9
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.d.ts +21 -14
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.js +2 -57
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.d.ts +22 -0
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.js +6 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +5 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.d.ts +5 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +13 -8
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +27 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +24 -20
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +5 -5
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +15 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +22 -7
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +11 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +55 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +77 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +7 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +2 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +2 -1
- package/vscode-dts/vscode.d.ts +4 -4
- package/vscode-dts/vscode.proposed.agentEditorComments.d.ts +71 -0
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatDebug.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatHooks.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +23 -2
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +0 -8
- package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +15 -2
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +11 -0
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +34 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +2 -2
- package/vscode-dts/vscode.proposed.customEditorDiffs.d.ts +24 -4
- package/vscode-dts/vscode.proposed.d.ts +2 -0
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -2
- package/vscode-dts/vscode.proposed.documentSyntaxHighlighting.d.ts +87 -0
- package/vscode-dts/vscode.proposed.findFiles2.d.ts +0 -2
- package/vscode-dts/vscode.proposed.languageModelPricing.d.ts +35 -0
- package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +0 -2
- package/vscode-dts/vscode.proposed.languageModelToolSupportsModel.d.ts +0 -2
- package/vscode-dts/vscode.proposed.mcpServerDefinitions.d.ts +0 -2
- package/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts +35 -0
- package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +0 -135
|
@@ -56,7 +56,7 @@ async function maybeEnableAuthExtension(extensionsWorkbenchService, logService)
|
|
|
56
56
|
);
|
|
57
57
|
try {
|
|
58
58
|
await extensionsWorkbenchService.setEnablement([providerExtension], EnablementState.EnabledGlobally);
|
|
59
|
-
await extensionsWorkbenchService.updateRunningExtensions(( localize(
|
|
59
|
+
await extensionsWorkbenchService.updateRunningExtensions(( localize(7225, "Enabling GitHub Authentication")));
|
|
60
60
|
return true;
|
|
61
61
|
} catch (error) {
|
|
62
62
|
logService.error(
|
|
@@ -3,7 +3,7 @@ import { URI } from "../../../../../base/common/uri.js";
|
|
|
3
3
|
import { ICodeEditorService } from "../../../../../editor/browser/services/codeEditorService.service.js";
|
|
4
4
|
import { Range } from "../../../../../editor/common/core/range.js";
|
|
5
5
|
import { ITextModel } from "../../../../../editor/common/model.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ToolAndToolSetEnablementMap } from "../../common/tools/languageModelToolsService.js";
|
|
7
7
|
import { ILanguageModelToolsService } from "../../common/tools/languageModelToolsService.service.js";
|
|
8
8
|
import { IPromptsService } from "../../common/promptSyntax/service/promptsService.service.js";
|
|
9
9
|
export declare class PromptFileRewriter {
|
|
@@ -11,8 +11,8 @@ export declare class PromptFileRewriter {
|
|
|
11
11
|
private readonly _promptsService;
|
|
12
12
|
private readonly _languageModelToolsService;
|
|
13
13
|
constructor(_codeEditorService: ICodeEditorService, _promptsService: IPromptsService, _languageModelToolsService: ILanguageModelToolsService);
|
|
14
|
-
openAndRewriteTools(uri: URI, newTools:
|
|
15
|
-
rewriteTools(model: ITextModel, newTools:
|
|
14
|
+
openAndRewriteTools(uri: URI, newTools: ToolAndToolSetEnablementMap | undefined, token: CancellationToken): Promise<void>;
|
|
15
|
+
rewriteTools(model: ITextModel, newTools: ToolAndToolSetEnablementMap, range: Range, isString: boolean): void;
|
|
16
16
|
private rewriteAttribute;
|
|
17
17
|
openAndRewriteName(uri: URI, newName: string, token: CancellationToken): Promise<void>;
|
|
18
18
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
2
2
|
import { IToolData } from "../../common/tools/languageModelToolsService.js";
|
|
3
|
-
import { IToolRiskAssessment } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService";
|
|
3
|
+
import { ToolRiskPromptKind, IToolRiskAssessment } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService";
|
|
4
4
|
export declare const IChatToolRiskAssessmentService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IChatToolRiskAssessmentService>;
|
|
5
5
|
export interface IChatToolRiskAssessmentService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
7
7
|
/** Returns whether the feature is enabled by configuration. */
|
|
8
8
|
isEnabled(): boolean;
|
|
9
9
|
/** Synchronously read a previously cached assessment, or undefined if none. */
|
|
10
|
-
getCached(tool: IToolData, parameters: unknown): IToolRiskAssessment | undefined;
|
|
10
|
+
getCached(tool: IToolData, parameters: unknown, kind?: ToolRiskPromptKind): IToolRiskAssessment | undefined;
|
|
11
11
|
/**
|
|
12
|
-
* Get a cached or freshly-computed risk assessment for a tool call.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* Get a cached or freshly-computed risk assessment for a tool call. Returns `undefined` when no
|
|
13
|
+
* model is available or the assessment cannot be parsed, or when the feature is disabled unless
|
|
14
|
+
* `options.ignoreEnablement` is set (used by the Autopilot risk gate).
|
|
15
15
|
*/
|
|
16
|
-
assess(tool: IToolData, parameters: unknown, token: CancellationToken
|
|
16
|
+
assess(tool: IToolData, parameters: unknown, token: CancellationToken, kind?: ToolRiskPromptKind, options?: {
|
|
17
|
+
ignoreEnablement?: boolean;
|
|
18
|
+
}): Promise<IToolRiskAssessment | undefined>;
|
|
17
19
|
}
|
package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Event } from "../../../../../base/common/event.js";
|
|
2
|
+
import { IPttDiagnostic } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService";
|
|
3
|
+
export declare const IMicCaptureService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IMicCaptureService>;
|
|
4
|
+
export interface IMicCaptureService {
|
|
5
|
+
readonly _serviceBrand: undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Store a window reference for later lazy mic acquisition without actually
|
|
8
|
+
* acquiring the microphone. The mic is acquired on `pttDown()` and released
|
|
9
|
+
* on `pttUp()`.
|
|
10
|
+
*/
|
|
11
|
+
prepare(window: Window & typeof globalThis): void;
|
|
12
|
+
/** Start capturing audio from the microphone. */
|
|
13
|
+
startCapture(window: Window & typeof globalThis): Promise<void>;
|
|
14
|
+
/** Stop capturing and release mic resources. */
|
|
15
|
+
stopCapture(): void;
|
|
16
|
+
readonly isCapturing: boolean;
|
|
17
|
+
/** Fired when a PTT segment begins (mic ready). */
|
|
18
|
+
readonly onPttStart: Event<void>;
|
|
19
|
+
/** Fired during PTT hold with base64-encoded raw PCM16 chunks. */
|
|
20
|
+
readonly onPttAudioChunk: Event<string>;
|
|
21
|
+
/** Fired when a PTT segment ends. All chunks have been sent before this fires. */
|
|
22
|
+
readonly onPttEnd: Event<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Fired after the diagnostic window closes (~1s after `pttUp`) with
|
|
25
|
+
* per-press telemetry. Always fires AFTER `onPttEnd` for normal
|
|
26
|
+
* presses. Used for tail-loss diagnosis; safe to ignore for normal
|
|
27
|
+
* operation.
|
|
28
|
+
*/
|
|
29
|
+
readonly onPttDiagnostic: Event<IPttDiagnostic>;
|
|
30
|
+
/** The AnalyserNode for visualisation, available while capturing. */
|
|
31
|
+
readonly analyserNode: AnalyserNode | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Begin a PTT segment. Lazily acquires the microphone if not already
|
|
34
|
+
* capturing. Returns a promise that resolves once the mic is ready to
|
|
35
|
+
* record (or rejects if acquisition fails).
|
|
36
|
+
*
|
|
37
|
+
* `turnId` is an opaque per-press identifier propagated into the
|
|
38
|
+
* eventual `onPttDiagnostic` payload for correlation with backend logs.
|
|
39
|
+
* Pass empty string when no correlation is needed.
|
|
40
|
+
*/
|
|
41
|
+
pttDown(turnId: string): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* End a PTT segment. Sends any remaining audio chunks, then fires pttEnd.
|
|
44
|
+
*/
|
|
45
|
+
pttUp(): void;
|
|
46
|
+
isMuted: boolean;
|
|
47
|
+
/** Suppress mic output until the given timestamp (AEC gating). */
|
|
48
|
+
suppressUntil(timestamp: number): void;
|
|
49
|
+
}
|
package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Event } from "../../../../../base/common/event.js";
|
|
2
|
+
export declare const ITtsPlaybackService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITtsPlaybackService>;
|
|
3
|
+
export interface ITtsPlaybackService {
|
|
4
|
+
readonly _serviceBrand: undefined;
|
|
5
|
+
/** Append a base64-encoded audio chunk for streaming playback. */
|
|
6
|
+
playAudioChunk(audio: string, isFinal: boolean, window: Window & typeof globalThis): void;
|
|
7
|
+
/** Stop any current playback immediately. */
|
|
8
|
+
stopPlayback(): void;
|
|
9
|
+
readonly isPlaying: boolean;
|
|
10
|
+
readonly onPlaybackStarted: Event<void>;
|
|
11
|
+
readonly onPlaybackStopped: Event<void>;
|
|
12
|
+
/** Returns the PCM samples from the last completed playback turn, or null. */
|
|
13
|
+
getLastPlayedSamples(): Float32Array | null;
|
|
14
|
+
/** The playback AnalyserNode for visualisation, available during playback. */
|
|
15
|
+
readonly analyserNode: AnalyserNode | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Ensure the playback AudioContext exists and is resumed.
|
|
18
|
+
* Returns the AudioContext for callers that need it (e.g. pre-warming).
|
|
19
|
+
*/
|
|
20
|
+
ensureContext(window: Window & typeof globalThis): AudioContext;
|
|
21
|
+
/** Close the AudioContext entirely (for full teardown). */
|
|
22
|
+
closeContext(): void;
|
|
23
|
+
}
|
package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IObservable } from "../../../../../base/common/observable.js";
|
|
2
|
+
import { URI } from "../../../../../base/common/uri.js";
|
|
3
|
+
import { VoiceState, ITranscriptTurn, IPendingToolConfirmation } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController";
|
|
4
|
+
export interface IVoiceSessionController {
|
|
5
|
+
readonly _serviceBrand: undefined;
|
|
6
|
+
readonly voiceState: IObservable<VoiceState>;
|
|
7
|
+
readonly statusText: IObservable<string>;
|
|
8
|
+
/** Rolling buffer of the last 2 transcript turns (oldest first). */
|
|
9
|
+
readonly transcriptTurns: IObservable<readonly ITranscriptTurn[]>;
|
|
10
|
+
readonly isConnected: IObservable<boolean>;
|
|
11
|
+
readonly isConnecting: IObservable<boolean>;
|
|
12
|
+
readonly isReconnecting: IObservable<boolean>;
|
|
13
|
+
readonly pendingToolConfirmations: IObservable<readonly IPendingToolConfirmation[]>;
|
|
14
|
+
/** The session resource that transcriptions will be sent to. undefined = active session. */
|
|
15
|
+
readonly targetSession: IObservable<URI | undefined>;
|
|
16
|
+
connect(window: Window & typeof globalThis): Promise<void>;
|
|
17
|
+
disconnect(): void;
|
|
18
|
+
pttDown(): void;
|
|
19
|
+
pttUp(): void;
|
|
20
|
+
/**
|
|
21
|
+
* Mark a session as having been cancelled by the user from VS Code UI. The
|
|
22
|
+
* next state-change detected for this session (typically the chat model
|
|
23
|
+
* transitioning to `idle`) will be suppressed so the backend doesn't
|
|
24
|
+
* narrate a status update the user already knows about.
|
|
25
|
+
*/
|
|
26
|
+
markUserCancelled(sessionId: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* Set the target session for transcription. When set, transcriptions are
|
|
29
|
+
* sent to this session instead of the currently active one.
|
|
30
|
+
*/
|
|
31
|
+
setTargetSession(resource: URI | undefined): void;
|
|
32
|
+
/**
|
|
33
|
+
* Create a new chat session and set it as the target for transcription.
|
|
34
|
+
*/
|
|
35
|
+
newSessionAsTarget(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Submit user feedback along with full diagnostic data (transcript history,
|
|
38
|
+
* client state, environment info). Returns success/failure.
|
|
39
|
+
*/
|
|
40
|
+
submitFeedback(feedbackText: string): Promise<{
|
|
41
|
+
ok: boolean;
|
|
42
|
+
error?: string;
|
|
43
|
+
}>;
|
|
44
|
+
/** DEV ONLY: Simulate a connected session with fake transcript for UI testing. */
|
|
45
|
+
simulateConnection(): void;
|
|
46
|
+
}
|
|
47
|
+
export declare const IVoiceSessionController: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IVoiceSessionController>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IVoiceToolCall } from "../../common/voiceClient/voiceClientService.js";
|
|
2
|
+
import { IVoiceToolDispatchDelegate } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService";
|
|
3
|
+
export interface IVoiceToolDispatchService {
|
|
4
|
+
readonly _serviceBrand: undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Set the delegate that bridges widget/UI concerns.
|
|
7
|
+
* Must be called before dispatching tool calls.
|
|
8
|
+
*/
|
|
9
|
+
setDelegate(delegate: IVoiceToolDispatchDelegate): void;
|
|
10
|
+
/**
|
|
11
|
+
* Dispatch a tool call and return the result string.
|
|
12
|
+
*/
|
|
13
|
+
dispatchToolCall(toolCall: IVoiceToolCall): Promise<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare const IVoiceToolDispatchService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IVoiceToolDispatchService>;
|
package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { ThemeIcon } from "../../../../../../base/common/themables.js";
|
|
|
3
3
|
import { URI } from "../../../../../../base/common/uri.js";
|
|
4
4
|
import { ConfirmResult } from "../../../../../../platform/dialogs/common/dialogs.js";
|
|
5
5
|
import { IDialogService } from "../../../../../../platform/dialogs/common/dialogs.service.js";
|
|
6
|
+
import { IConfigurationService } from "../../../../../../platform/configuration/common/configuration.service.js";
|
|
6
7
|
import { IInstantiationService } from "../../../../../../platform/instantiation/common/instantiation.js";
|
|
7
8
|
import { EditorInputCapabilities, IEditorIdentifier, IEditorSerializer, IUntypedEditorInput, Verbosity } from "../../../../../common/editor.js";
|
|
8
9
|
import { EditorInput, IEditorCloseHandler } from "../../../../../common/editor/editorInput.js";
|
|
@@ -17,6 +18,7 @@ export declare class ChatEditorInput extends EditorInput implements IEditorClose
|
|
|
17
18
|
readonly options: IChatEditorOptions;
|
|
18
19
|
private readonly chatService;
|
|
19
20
|
private readonly dialogService;
|
|
21
|
+
private readonly configurationService;
|
|
20
22
|
private readonly chatSessionsService;
|
|
21
23
|
private readonly instantiationService;
|
|
22
24
|
static readonly TypeID: string;
|
|
@@ -34,7 +36,7 @@ export declare class ChatEditorInput extends EditorInput implements IEditorClose
|
|
|
34
36
|
private readonly _modelChangeListener;
|
|
35
37
|
private get model();
|
|
36
38
|
static getNewEditorUri(): URI;
|
|
37
|
-
constructor(resource: URI, options: IChatEditorOptions, chatService: IChatService, dialogService: IDialogService, chatSessionsService: IChatSessionsService, instantiationService: IInstantiationService);
|
|
39
|
+
constructor(resource: URI, options: IChatEditorOptions, chatService: IChatService, dialogService: IDialogService, configurationService: IConfigurationService, chatSessionsService: IChatSessionsService, instantiationService: IInstantiationService);
|
|
38
40
|
closeHandler: this;
|
|
39
41
|
showConfirm(): boolean;
|
|
40
42
|
transferOutEditingSession(): IChatEditingSession | undefined;
|
|
@@ -54,6 +56,7 @@ export declare class ChatEditorInput extends EditorInput implements IEditorClose
|
|
|
54
56
|
*/
|
|
55
57
|
getSessionType(): string;
|
|
56
58
|
resolve(): Promise<ChatEditorModel | null>;
|
|
59
|
+
private shouldReplaceEmptyLocalSession;
|
|
57
60
|
/**
|
|
58
61
|
* Updates the editor input to track a new model. Called when the widget swaps
|
|
59
62
|
* from an untitled session to a real session.
|
|
@@ -12,6 +12,7 @@ import { URI } from '../../../../../../base/common/uri.js';
|
|
|
12
12
|
import { localize } from '../../../../../../nls.js';
|
|
13
13
|
import { ConfirmResult } from '../../../../../../platform/dialogs/common/dialogs.js';
|
|
14
14
|
import { IDialogService } from '../../../../../../platform/dialogs/common/dialogs.service.js';
|
|
15
|
+
import { IConfigurationService } from '../../../../../../platform/configuration/common/configuration.service.js';
|
|
15
16
|
import { IInstantiationService } from '../../../../../../platform/instantiation/common/instantiation.js';
|
|
16
17
|
import { registerIcon } from '../../../../../../platform/theme/common/iconRegistry.js';
|
|
17
18
|
import { EditorInputCapabilities, Verbosity } from '../../../../../common/editor.js';
|
|
@@ -19,12 +20,12 @@ import { EditorInput } from '../../../../../common/editor/editorInput.js';
|
|
|
19
20
|
import { IChatService } from '../../../common/chatService/chatService.service.js';
|
|
20
21
|
import { localChatSessionType } from '../../../common/chatSessionsService.js';
|
|
21
22
|
import { IChatSessionsService } from '../../../common/chatSessionsService.service.js';
|
|
22
|
-
import { ChatEditorTitleMaxLength, ChatAgentLocation } from '../../../common/constants.js';
|
|
23
|
+
import { ChatEditorTitleMaxLength, ChatAgentLocation, getDefaultNewChatSessionResource, getDefaultNewChatSessionType } from '../../../common/constants.js';
|
|
23
24
|
import { ModifiedFileEntryState } from '../../../common/editing/chatEditingService.js';
|
|
24
25
|
import { LocalChatSessionUri, getChatSessionType } from '../../../common/model/chatUri.js';
|
|
25
26
|
|
|
26
27
|
var ChatEditorInput_1;
|
|
27
|
-
const ChatEditorIcon = registerIcon("chat-editor-label-icon", Codicon.chatSparkle, ( localize(
|
|
28
|
+
const ChatEditorIcon = registerIcon("chat-editor-label-icon", Codicon.chatSparkle, ( localize(8386, "Icon of the chat editor label.")));
|
|
28
29
|
let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
29
30
|
static {
|
|
30
31
|
ChatEditorInput_1 = this;
|
|
@@ -49,6 +50,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
49
50
|
options,
|
|
50
51
|
chatService,
|
|
51
52
|
dialogService,
|
|
53
|
+
configurationService,
|
|
52
54
|
chatSessionsService,
|
|
53
55
|
instantiationService
|
|
54
56
|
) {
|
|
@@ -57,6 +59,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
57
59
|
this.options = options;
|
|
58
60
|
this.chatService = chatService;
|
|
59
61
|
this.dialogService = dialogService;
|
|
62
|
+
this.configurationService = configurationService;
|
|
60
63
|
this.chatSessionsService = chatSessionsService;
|
|
61
64
|
this.instantiationService = instantiationService;
|
|
62
65
|
this.didTransferOutEditingSession = false;
|
|
@@ -89,8 +92,8 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
89
92
|
if (!this.model?.editingSession || this.didTransferOutEditingSession || this.getSessionType() !== localChatSessionType) {
|
|
90
93
|
return ConfirmResult.SAVE;
|
|
91
94
|
}
|
|
92
|
-
const titleOverride = ( localize(
|
|
93
|
-
const messageOverride = ( localize(
|
|
95
|
+
const titleOverride = ( localize(8387, "Close Chat Editor"));
|
|
96
|
+
const messageOverride = ( localize(8388, "Closing the chat editor will end your current edit session."));
|
|
94
97
|
const result = await showClearEditingSessionConfirmation(this.model, this.dialogService, {
|
|
95
98
|
titleOverride,
|
|
96
99
|
messageOverride
|
|
@@ -132,7 +135,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
132
135
|
if (this.options.title?.preferred) {
|
|
133
136
|
return this.options.title.preferred;
|
|
134
137
|
}
|
|
135
|
-
return this.options.title?.fallback ?? ( localize(
|
|
138
|
+
return this.options.title?.fallback ?? ( localize(8389, "Chat"));
|
|
136
139
|
}
|
|
137
140
|
getTitle(verbosity) {
|
|
138
141
|
const name = this.getName();
|
|
@@ -169,7 +172,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
169
172
|
return undefined;
|
|
170
173
|
}
|
|
171
174
|
getSessionType() {
|
|
172
|
-
return getChatSessionType(this.resource);
|
|
175
|
+
return getChatSessionType(this._sessionResource ?? this.resource);
|
|
173
176
|
}
|
|
174
177
|
async resolve() {
|
|
175
178
|
const searchParams = ( new URLSearchParams(this.resource.query));
|
|
@@ -182,6 +185,18 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
182
185
|
CancellationToken.None,
|
|
183
186
|
"ChatEditorInput#resolve"
|
|
184
187
|
);
|
|
188
|
+
if (this.shouldReplaceEmptyLocalSession(this._sessionResource)) {
|
|
189
|
+
const defaultResource = getDefaultNewChatSessionResource(this.configurationService, this.chatSessionsService);
|
|
190
|
+
if (getChatSessionType(defaultResource) !== localChatSessionType) {
|
|
191
|
+
this._sessionResource = defaultResource;
|
|
192
|
+
this.modelRef.value = await this.chatService.acquireOrLoadSession(
|
|
193
|
+
defaultResource,
|
|
194
|
+
ChatAgentLocation.Chat,
|
|
195
|
+
CancellationToken.None,
|
|
196
|
+
"ChatEditorInput#resolveDefaultSession"
|
|
197
|
+
);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
185
200
|
if (!this.model && LocalChatSessionUri.parseLocalSessionId(this._sessionResource)) {
|
|
186
201
|
this.modelRef.value = this.chatService.startNewLocalSession(ChatAgentLocation.Chat, {
|
|
187
202
|
canUseTools: true,
|
|
@@ -189,10 +204,28 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
189
204
|
});
|
|
190
205
|
}
|
|
191
206
|
} else if (!this.options.target) {
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
207
|
+
if (this.options.explicitSessionType === localChatSessionType) {
|
|
208
|
+
this.modelRef.value = this.chatService.startNewLocalSession(ChatAgentLocation.Chat, {
|
|
209
|
+
canUseTools: !inputType,
|
|
210
|
+
debugOwner: "ChatEditorInput#resolveExplicitLocal"
|
|
211
|
+
});
|
|
212
|
+
} else {
|
|
213
|
+
const defaultResource = getDefaultNewChatSessionResource(this.configurationService, this.chatSessionsService);
|
|
214
|
+
if (getChatSessionType(defaultResource) === localChatSessionType) {
|
|
215
|
+
this.modelRef.value = this.chatService.startNewLocalSession(ChatAgentLocation.Chat, {
|
|
216
|
+
canUseTools: !inputType,
|
|
217
|
+
debugOwner: "ChatEditorInput#resolveUntitled"
|
|
218
|
+
});
|
|
219
|
+
} else {
|
|
220
|
+
this._sessionResource = defaultResource;
|
|
221
|
+
this.modelRef.value = await this.chatService.acquireOrLoadSession(
|
|
222
|
+
defaultResource,
|
|
223
|
+
ChatAgentLocation.Chat,
|
|
224
|
+
CancellationToken.None,
|
|
225
|
+
"ChatEditorInput#resolveDefaultUntitled"
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
196
229
|
} else if (this.options.target.data) {
|
|
197
230
|
this.modelRef.value = this.chatService.loadSessionFromData(this.options.target.data, "ChatEditorInput#resolveImportedData");
|
|
198
231
|
}
|
|
@@ -208,6 +241,9 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
208
241
|
this._onDidChangeLabel.fire();
|
|
209
242
|
return this._register(( new ChatEditorModel(this.model)));
|
|
210
243
|
}
|
|
244
|
+
shouldReplaceEmptyLocalSession(sessionResource) {
|
|
245
|
+
return LocalChatSessionUri.isLocalSession(sessionResource) && this.options.explicitSessionType !== localChatSessionType && !!this.model && !this.model.hasRequests && getDefaultNewChatSessionType(this.configurationService, this.chatSessionsService) !== localChatSessionType;
|
|
246
|
+
}
|
|
211
247
|
updateModel(model) {
|
|
212
248
|
this._sessionResource = model.sessionResource;
|
|
213
249
|
this.modelRef.value = this.chatService.acquireExistingSession(model.sessionResource, "ChatEditorInput#updateModel");
|
|
@@ -234,7 +270,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
234
270
|
return false;
|
|
235
271
|
}
|
|
236
272
|
};
|
|
237
|
-
ChatEditorInput = ChatEditorInput_1 = ( __decorate([( __param(2, IChatService)), ( __param(3, IDialogService)), ( __param(4,
|
|
273
|
+
ChatEditorInput = ChatEditorInput_1 = ( __decorate([( __param(2, IChatService)), ( __param(3, IDialogService)), ( __param(4, IConfigurationService)), ( __param(5, IChatSessionsService)), ( __param(6, IInstantiationService))], ChatEditorInput));
|
|
238
274
|
class ChatEditorModel extends Disposable {
|
|
239
275
|
constructor(model) {
|
|
240
276
|
super();
|
|
@@ -316,25 +352,25 @@ async function showClearEditingSessionConfirmation(model, dialogService, options
|
|
|
316
352
|
if (!undecidedEdits) {
|
|
317
353
|
return true;
|
|
318
354
|
}
|
|
319
|
-
const defaultPhrase = ( localize(
|
|
320
|
-
const defaultTitle = ( localize(
|
|
355
|
+
const defaultPhrase = ( localize(8390, "Starting a new chat will end your current edit session."));
|
|
356
|
+
const defaultTitle = ( localize(8391, "Start new chat?"));
|
|
321
357
|
const phrase = options?.messageOverride ?? defaultPhrase;
|
|
322
358
|
const title = options?.titleOverride ?? defaultTitle;
|
|
323
359
|
const {
|
|
324
360
|
result
|
|
325
361
|
} = await dialogService.prompt({
|
|
326
362
|
title,
|
|
327
|
-
message: phrase + " " + ( localize(
|
|
363
|
+
message: phrase + " " + ( localize(8392, "Do you want to keep pending edits to {0} files?", undecidedEdits)),
|
|
328
364
|
type: "info",
|
|
329
365
|
cancelButton: true,
|
|
330
366
|
buttons: [{
|
|
331
|
-
label: ( localize(
|
|
367
|
+
label: ( localize(8393, "Keep & Continue")),
|
|
332
368
|
run: async () => {
|
|
333
369
|
await model.editingSession.accept();
|
|
334
370
|
return true;
|
|
335
371
|
}
|
|
336
372
|
}, {
|
|
337
|
-
label: ( localize(
|
|
373
|
+
label: ( localize(8394, "Undo & Continue")),
|
|
338
374
|
run: async () => {
|
|
339
375
|
await model.editingSession.reject();
|
|
340
376
|
return true;
|
|
@@ -48,6 +48,20 @@ export declare namespace ChatContextKeys {
|
|
|
48
48
|
*/
|
|
49
49
|
const lockedToCodingAgent: RawContextKey<boolean>;
|
|
50
50
|
const lockedCodingAgentId: RawContextKey<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Widget-scoped: true when the chat shown in this widget is read-only (non-interactive),
|
|
53
|
+
* e.g. an observable worker chat. Read-only chats hide the composer and do not offer
|
|
54
|
+
* mutating actions such as Start Over or Restore Checkpoint.
|
|
55
|
+
*/
|
|
56
|
+
const readOnly: RawContextKey<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* Widget-scoped: true when this chat widget is locked to an Agent Host-backed chat session.
|
|
59
|
+
*/
|
|
60
|
+
const chatIsAgentHostSession: RawContextKey<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* Widget-scoped: logical Agent Host provider ID for this chat widget, e.g. `copilotcli`, `claude`, or `codex`.
|
|
63
|
+
*/
|
|
64
|
+
const chatAgentHostProviderId: RawContextKey<string>;
|
|
51
65
|
/**
|
|
52
66
|
* True when the chat session has a customAgentTarget defined in its contribution,
|
|
53
67
|
* which means the mode picker should be shown with filtered custom agents.
|
|
@@ -76,6 +90,7 @@ export declare namespace ChatContextKeys {
|
|
|
76
90
|
const location: RawContextKey<ChatAgentLocation>;
|
|
77
91
|
const inQuickChat: RawContextKey<boolean>;
|
|
78
92
|
const inAgentSessionsWelcome: RawContextKey<boolean>;
|
|
93
|
+
const inAutomationsDialog: RawContextKey<boolean>;
|
|
79
94
|
const chatSessionType: RawContextKey<string>;
|
|
80
95
|
const hasFileAttachments: RawContextKey<boolean>;
|
|
81
96
|
const chatSessionIsEmpty: RawContextKey<boolean>;
|
|
@@ -134,6 +149,7 @@ export declare namespace ChatContextKeys {
|
|
|
134
149
|
const agentSessionsViewerVisible: RawContextKey<boolean>;
|
|
135
150
|
const agentSessionType: RawContextKey<string>;
|
|
136
151
|
const chatSessionSupportsDelegation: RawContextKey<boolean>;
|
|
152
|
+
const hasPendingDelegationTarget: RawContextKey<boolean>;
|
|
137
153
|
const chatSessionSupportsFork: RawContextKey<boolean>;
|
|
138
154
|
const agentSessionSection: RawContextKey<string>;
|
|
139
155
|
const isArchivedAgentSession: RawContextKey<boolean>;
|
|
@@ -153,10 +169,10 @@ export declare namespace ChatContextKeys {
|
|
|
153
169
|
export declare namespace ChatContextKeyExprs {
|
|
154
170
|
const inEditingMode: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression | undefined;
|
|
155
171
|
/**
|
|
156
|
-
* True when the locked coding agent is an
|
|
172
|
+
* True when the locked coding agent is an Agent Host session.
|
|
157
173
|
* These sessions use {@link AgentHostSnapshotController} which supports checkpoint-based restore.
|
|
158
174
|
*/
|
|
159
|
-
const isAgentHostSession: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression
|
|
175
|
+
const isAgentHostSession: import("../../../../../platform/contextkey/common/contextkey.js").ContextKeyExpression;
|
|
160
176
|
/**
|
|
161
177
|
* True when an agent session item (e.g. in the sessions viewer) is an agent
|
|
162
178
|
* host session (agent-host-* or remote-*). Keyed on {@link ChatContextKeys.agentSessionType}
|