@codingame/monaco-vscode-api 30.0.0 → 31.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 +137 -46
- package/package.json +9 -9
- package/services.d.ts +10 -1
- package/services.js +13 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/domStylesheets.js +2 -11
- package/vscode/src/vs/base/browser/overlayLayoutElement.d.ts +44 -0
- package/vscode/src/vs/base/browser/overlayLayoutElement.js +122 -0
- package/vscode/src/vs/base/browser/performance.d.ts +5 -0
- package/vscode/src/vs/base/browser/performance.js +4 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +17 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/media/scrollbars.css +5 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +14 -8
- package/vscode/src/vs/base/common/async.d.ts +1 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +1 -0
- package/vscode/src/vs/base/common/event.d.ts +6 -9
- package/vscode/src/vs/base/common/event.js +12 -8
- package/vscode/src/vs/base/common/htmlContent.d.ts +10 -0
- package/vscode/src/vs/base/common/htmlContent.js +8 -1
- package/vscode/src/vs/base/common/labels.d.ts +1 -1
- package/vscode/src/vs/base/common/labels.js +13 -3
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/index.js +1 -1
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +6 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utils.js +38 -1
- package/vscode/src/vs/base/common/performance.d.ts +3 -2
- package/vscode/src/vs/base/common/performance.js +32 -34
- package/vscode/src/vs/base/common/product.d.ts +31 -0
- package/vscode/src/vs/base/common/types.js +1 -1
- package/vscode/src/vs/base/common/uri.js +1 -1
- package/vscode/src/vs/editor/browser/view.js +2 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +30 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/workbenchUIElementFactory.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineSuggestionsView.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +1 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +2 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +1 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +4 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +204 -157
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +25 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +15 -17
- 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 +1 -0
- package/vscode/src/vs/platform/actions/common/actions.js +3 -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 +45 -0
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +77 -0
- package/vscode/src/vs/platform/agentHost/browser/nullSshRemoteAgentHostService.d.ts +18 -0
- package/vscode/src/vs/platform/agentHost/browser/nullSshRemoteAgentHostService.js +25 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.d.ts +58 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +73 -0
- package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +11 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +119 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +122 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +104 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +54 -0
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.d.ts +88 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.d.ts +89 -0
- package/vscode/src/vs/platform/agentHost/common/sshRemoteAgentHost.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +22 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/messages.d.ts +234 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.d.ts +91 -0
- package/vscode/src/vs/platform/agentHost/common/tunnelAgentHost.js +5 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +28 -2
- package/vscode/src/vs/platform/browserView/common/browserViewTelemetry.d.ts +34 -0
- package/vscode/src/vs/platform/browserView/common/browserViewTelemetry.js +7 -0
- package/vscode/src/vs/platform/browserView/common/browserViewUri.d.ts +21 -0
- package/vscode/src/vs/platform/browserView/common/browserViewUri.js +34 -0
- package/vscode/src/vs/platform/browserView/common/cdp/types.d.ts +21 -10
- package/vscode/src/vs/platform/browserView/common/playwrightService.d.ts +7 -0
- package/vscode/src/vs/platform/browserView/common/playwrightService.service.d.ts +20 -5
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -4
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -22
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +1 -0
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +3 -0
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +3 -1
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +3 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +11 -3
- package/vscode/src/vs/platform/environment/common/argv.d.ts +2 -1
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environmentService.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +14 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +38 -16
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -21
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +1 -1
- 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/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/keybindingResolver.js +4 -2
- 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.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
- package/vscode/src/vs/platform/mcp/common/mcpPlatformTypes.d.ts +4 -0
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
- package/vscode/src/vs/platform/native/common/native.d.ts +11 -1
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.d.ts +33 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.service.js +6 -0
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -10
- 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.d.ts +4 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +39 -16
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +4 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +8 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +6 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/sandbox/common/settings.d.ts +11 -0
- package/vscode/src/vs/platform/sandbox/common/settings.js +14 -0
- package/vscode/src/vs/{workbench/contrib/terminalContrib/chatAgentTools → platform/sandbox}/common/terminalSandboxService.service.d.ts +6 -6
- package/vscode/src/vs/{workbench/contrib/terminalContrib/chatAgentTools → platform/sandbox}/common/terminalSandboxService.service.js +1 -1
- package/vscode/src/vs/platform/telemetry/common/errorTelemetry.d.ts +82 -0
- package/vscode/src/vs/platform/telemetry/common/errorTelemetry.js +108 -0
- package/vscode/src/vs/platform/telemetry/common/telemetry.service.d.ts +5 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +1 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +5 -0
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +31 -31
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +97 -97
- 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 +11 -11
- 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 +9 -9
- 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 +11 -11
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/update/common/update.d.ts +10 -3
- package/vscode/src/vs/platform/update/common/update.js +3 -1
- 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/extensionsSync.d.ts +3 -1
- package/vscode/src/vs/platform/userDataSync/common/extensionsSync.js +14 -8
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +39 -11
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +67 -14
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +36 -13
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +164 -26
- package/vscode/src/vs/workbench/api/common/extHostChatDebug.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostChatDebug.js +7 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +22 -5
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +278 -42
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostGitExtensionService.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostGitExtensionService.js +18 -35
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- 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 +3 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +16 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +2 -8
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +6 -11
- 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 +58 -32
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +153 -148
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +34 -34
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +39 -39
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/media/style.css +1 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +33 -31
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +5 -5
- 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 +12 -12
- 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.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +47 -26
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.d.ts +4 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +21 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +11 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +14 -5
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +12 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +117 -13
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +1 -3
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +2 -23
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
- package/vscode/src/vs/workbench/browser/web.api.d.ts +69 -0
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +2 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +41 -39
- 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.d.ts +2 -2
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +163 -155
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +267 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +8 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +68 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +12 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- 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 +1 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +88 -66
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +66 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +38 -17
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +92 -85
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +7 -3
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +18 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chat.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +32 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +25 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +17 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatPerf.js +29 -13
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +98 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +11 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +6 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +4 -10
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +11 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -5
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +16 -14
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +78 -18
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +47 -84
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +49 -57
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +54 -15
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +99 -25
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatPlanReviewData.js +44 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatQuestionCarouselData.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +31 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +26 -6
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginGitService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +16 -23
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +150 -89
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.d.ts +9 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +22 -21
- 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 +77 -77
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +167 -15
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +19 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +18 -20
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +61 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +12 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +176 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +18 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +140 -59
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +90 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +34 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +4 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/terminalToolIds.js +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +133 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
- 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.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +17 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/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 +36 -31
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +17 -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 +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css +2 -0
- 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/debug.service.d.ts +11 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +16 -8
- 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/abstractRuntimeExtensionsEditor.js +18 -18
- 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 +151 -150
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.d.ts +10 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +460 -189
- 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 +47 -47
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +32 -32
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +120 -102
- 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.js +1 -1
- 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/runtimeExtensionsInput.js +2 -2
- 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 +27 -27
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +56 -53
- 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 +19 -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 +7 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +34 -34
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +53 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpGatewayService.service.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +5 -4
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +1 -1
- 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 +5 -2
- 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.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +22 -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/media/notebook.css +63 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +52 -75
- 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/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +12 -9
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +17 -14
- 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/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 +9 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.service.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/agentHostTerminalService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +27 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +16 -2
- 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.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +12 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +8 -0
- 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/terminalEnvironment.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +321 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +6 -11
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +6 -11
- 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/chat/browser/terminalChat.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +83 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +7 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +137 -151
- 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.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +16 -1
- 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 +5 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testingContinuousRunService.service.d.ts +4 -4
- 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.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +6 -9
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingService.service.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +74 -0
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +3 -1
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +72 -48
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.service.d.ts +17 -0
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.service.js +6 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +13 -13
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +22 -4
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +61 -19
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +16 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -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.d.ts +2 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +18 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +6 -0
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +10 -10
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode-dts/vscode.proposed.authIssuers.d.ts +12 -0
- package/vscode-dts/vscode.proposed.chatDebug.d.ts +11 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +8 -0
- package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +316 -8
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +6 -4
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +92 -44
- package/vscode-dts/vscode.proposed.mcpServerDefinitions.d.ts +4 -1
- package/vscode-dts/vscode.proposed.toolInvocationApproveCombination.d.ts +13 -4
- package/vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.d.ts +0 -12
- package/vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.js +0 -6
|
@@ -209,7 +209,7 @@ let UserDataProfilesService = class UserDataProfilesService extends Disposable {
|
|
|
209
209
|
return false;
|
|
210
210
|
}
|
|
211
211
|
createDefaultProfile() {
|
|
212
|
-
const defaultProfile = toUserDataProfile("__default__profile__", ( localize(
|
|
212
|
+
const defaultProfile = toUserDataProfile("__default__profile__", ( localize(2504, "Default")), this.environmentService.userRoamingDataHome, this.profilesCacheHome);
|
|
213
213
|
return {
|
|
214
214
|
...defaultProfile,
|
|
215
215
|
extensionsResource: this.getDefaultProfileExtensionsLocation() ?? defaultProfile.extensionsResource,
|
|
@@ -283,7 +283,7 @@ let AbstractSynchroniser = class AbstractSynchroniser extends Disposable {
|
|
|
283
283
|
async performSync(remoteUserData, lastSyncUserData, strategy, userDataSyncConfiguration) {
|
|
284
284
|
if (remoteUserData.syncData && remoteUserData.syncData.version > this.version) {
|
|
285
285
|
throw ( new UserDataSyncError(( localize(
|
|
286
|
-
|
|
286
|
+
2505,
|
|
287
287
|
"Cannot sync {0} as its local version {1} is not compatible with its remote version {2}",
|
|
288
288
|
this.resource,
|
|
289
289
|
this.version,
|
|
@@ -720,7 +720,7 @@ let AbstractSynchroniser = class AbstractSynchroniser extends Disposable {
|
|
|
720
720
|
this.logService.error(error);
|
|
721
721
|
}
|
|
722
722
|
throw ( new UserDataSyncError(( localize(
|
|
723
|
-
|
|
723
|
+
2506,
|
|
724
724
|
"Cannot parse sync data as it is not compatible with the current version."
|
|
725
725
|
)), UserDataSyncErrorCode.IncompatibleRemoteContent, this.resource));
|
|
726
726
|
}
|
|
@@ -24,6 +24,7 @@ import { IUserDataSyncEnablementService } from "./userDataSync.service.js";
|
|
|
24
24
|
import { IUserDataSyncLocalStoreService } from "./userDataSync.service.js";
|
|
25
25
|
import { IUserDataSyncStoreService } from "./userDataSync.service.js";
|
|
26
26
|
import { IUserDataProfileStorageService } from "../../userDataProfile/common/userDataProfileStorageService.service.js";
|
|
27
|
+
import { IProductService } from "../../product/common/productService.service.js";
|
|
27
28
|
type IExtensionResourceMergeResult = IAcceptResult & IExtensionMergeResult;
|
|
28
29
|
interface IExtensionResourcePreview extends IResourcePreview {
|
|
29
30
|
readonly localExtensions: ILocalSyncExtension[];
|
|
@@ -73,7 +74,8 @@ export declare class LocalExtensionsProvider {
|
|
|
73
74
|
private readonly ignoredExtensionsManagementService;
|
|
74
75
|
private readonly instantiationService;
|
|
75
76
|
private readonly logService;
|
|
76
|
-
|
|
77
|
+
private readonly productService;
|
|
78
|
+
constructor(extensionManagementService: IExtensionManagementService, userDataProfileStorageService: IUserDataProfileStorageService, extensionGalleryService: IExtensionGalleryService, ignoredExtensionsManagementService: IIgnoredExtensionsManagementService, instantiationService: IInstantiationService, logService: IUserDataSyncLogService, productService: IProductService);
|
|
77
79
|
getLocalExtensions(profile: IUserDataProfile): Promise<{
|
|
78
80
|
localExtensions: ILocalSyncExtension[];
|
|
79
81
|
ignoredExtensions: string[];
|
|
@@ -30,6 +30,7 @@ import { IIgnoredExtensionsManagementService } from './ignoredExtensions.service
|
|
|
30
30
|
import { SyncResource, USER_DATA_SYNC_SCHEME, Change } from './userDataSync.js';
|
|
31
31
|
import { IUserDataSyncStoreService, IUserDataSyncLocalStoreService, IUserDataSyncLogService, IUserDataSyncEnablementService } from './userDataSync.service.js';
|
|
32
32
|
import { IUserDataProfileStorageService } from '../../userDataProfile/common/userDataProfileStorageService.service.js';
|
|
33
|
+
import { IProductService } from '../../product/common/productService.service.js';
|
|
33
34
|
|
|
34
35
|
async function parseAndMigrateExtensions(syncData, extensionManagementService) {
|
|
35
36
|
const extensions = JSON.parse(syncData.content);
|
|
@@ -399,7 +400,8 @@ let LocalExtensionsProvider = class LocalExtensionsProvider {
|
|
|
399
400
|
extensionGalleryService,
|
|
400
401
|
ignoredExtensionsManagementService,
|
|
401
402
|
instantiationService,
|
|
402
|
-
logService
|
|
403
|
+
logService,
|
|
404
|
+
productService
|
|
403
405
|
) {
|
|
404
406
|
this.extensionManagementService = extensionManagementService;
|
|
405
407
|
this.userDataProfileStorageService = userDataProfileStorageService;
|
|
@@ -407,6 +409,7 @@ let LocalExtensionsProvider = class LocalExtensionsProvider {
|
|
|
407
409
|
this.ignoredExtensionsManagementService = ignoredExtensionsManagementService;
|
|
408
410
|
this.instantiationService = instantiationService;
|
|
409
411
|
this.logService = logService;
|
|
412
|
+
this.productService = productService;
|
|
410
413
|
}
|
|
411
414
|
async getLocalExtensions(profile) {
|
|
412
415
|
const installedExtensions = await this.extensionManagementService.getInstalled(undefined, profile.extensionsResource);
|
|
@@ -422,20 +425,23 @@ let LocalExtensionsProvider = class LocalExtensionsProvider {
|
|
|
422
425
|
pinned,
|
|
423
426
|
isApplicationScoped
|
|
424
427
|
} = extension;
|
|
425
|
-
const
|
|
428
|
+
const syncExtension = {
|
|
426
429
|
identifier,
|
|
427
430
|
preRelease,
|
|
428
431
|
version: manifest.version,
|
|
429
432
|
pinned: !!pinned
|
|
430
433
|
};
|
|
431
434
|
if (isApplicationScoped && !isApplicationScopedExtension(manifest)) {
|
|
432
|
-
|
|
435
|
+
syncExtension.isApplicationScoped = isApplicationScoped;
|
|
436
|
+
}
|
|
437
|
+
if (this.productService.builtInExtensionsEnabledWithAutoUpdates?.some(id => id.toLowerCase() === identifier.id.toLowerCase())) {
|
|
438
|
+
syncExtension.isApplicationScoped = true;
|
|
433
439
|
}
|
|
434
440
|
if (( disabledExtensions.some(disabledExtension => areSameExtensions(disabledExtension, identifier)))) {
|
|
435
|
-
|
|
441
|
+
syncExtension.disabled = true;
|
|
436
442
|
}
|
|
437
443
|
if (!isBuiltin) {
|
|
438
|
-
|
|
444
|
+
syncExtension.installed = true;
|
|
439
445
|
}
|
|
440
446
|
try {
|
|
441
447
|
const keys = extensionStorageService.getKeysForSync({
|
|
@@ -444,7 +450,7 @@ let LocalExtensionsProvider = class LocalExtensionsProvider {
|
|
|
444
450
|
});
|
|
445
451
|
if (keys) {
|
|
446
452
|
const extensionStorageState = extensionStorageService.getExtensionState(extension, true) || {};
|
|
447
|
-
|
|
453
|
+
syncExtension.state = ( Object.keys(extensionStorageState)).reduce((state, key) => {
|
|
448
454
|
if (keys.includes(key)) {
|
|
449
455
|
state[key] = extensionStorageState[key];
|
|
450
456
|
}
|
|
@@ -457,7 +463,7 @@ let LocalExtensionsProvider = class LocalExtensionsProvider {
|
|
|
457
463
|
getErrorMessage(error)
|
|
458
464
|
);
|
|
459
465
|
}
|
|
460
|
-
return
|
|
466
|
+
return syncExtension;
|
|
461
467
|
}));
|
|
462
468
|
});
|
|
463
469
|
return {
|
|
@@ -696,7 +702,7 @@ let LocalExtensionsProvider = class LocalExtensionsProvider {
|
|
|
696
702
|
});
|
|
697
703
|
}
|
|
698
704
|
};
|
|
699
|
-
LocalExtensionsProvider = ( __decorate([( __param(0, IExtensionManagementService)), ( __param(1, IUserDataProfileStorageService)), ( __param(2, IExtensionGalleryService)), ( __param(3, IIgnoredExtensionsManagementService)), ( __param(4, IInstantiationService)), ( __param(5, IUserDataSyncLogService))], LocalExtensionsProvider));
|
|
705
|
+
LocalExtensionsProvider = ( __decorate([( __param(0, IExtensionManagementService)), ( __param(1, IUserDataProfileStorageService)), ( __param(2, IExtensionGalleryService)), ( __param(3, IIgnoredExtensionsManagementService)), ( __param(4, IInstantiationService)), ( __param(5, IUserDataSyncLogService)), ( __param(6, IProductService))], LocalExtensionsProvider));
|
|
700
706
|
let AbstractExtensionsInitializer = class AbstractExtensionsInitializer extends AbstractInitializer {
|
|
701
707
|
constructor(
|
|
702
708
|
extensionManagementService,
|
|
@@ -106,7 +106,7 @@ let KeybindingsSynchroniser = class KeybindingsSynchroniser extends AbstractJson
|
|
|
106
106
|
localContent = localContent || "[]";
|
|
107
107
|
if (this.hasErrors(localContent, true)) {
|
|
108
108
|
throw ( new UserDataSyncError(( localize(
|
|
109
|
-
|
|
109
|
+
2507,
|
|
110
110
|
"Unable to sync keybindings because the content in the file is not valid. Please open the file and correct it."
|
|
111
111
|
)), UserDataSyncErrorCode.LocalInvalidContent, this.resource));
|
|
112
112
|
}
|
|
@@ -230,7 +230,7 @@ let KeybindingsSynchroniser = class KeybindingsSynchroniser extends AbstractJson
|
|
|
230
230
|
content = content || "[]";
|
|
231
231
|
if (this.hasErrors(content, true)) {
|
|
232
232
|
throw ( new UserDataSyncError(( localize(
|
|
233
|
-
|
|
233
|
+
2507,
|
|
234
234
|
"Unable to sync keybindings because the content in the file is not valid. Please open the file and correct it."
|
|
235
235
|
)), UserDataSyncErrorCode.LocalInvalidContent, this.resource));
|
|
236
236
|
}
|
|
@@ -348,7 +348,7 @@ let SettingsSynchroniser = class SettingsSynchroniser extends AbstractJsonFileSy
|
|
|
348
348
|
validateContent(content) {
|
|
349
349
|
if (this.hasErrors(content, false)) {
|
|
350
350
|
throw ( new UserDataSyncError(( localize(
|
|
351
|
-
|
|
351
|
+
2508,
|
|
352
352
|
"Unable to sync settings as there are errors/warning in settings file."
|
|
353
353
|
)), UserDataSyncErrorCode.LocalInvalidContent, this.resource));
|
|
354
354
|
}
|
|
@@ -49,12 +49,12 @@ function registerConfiguration() {
|
|
|
49
49
|
configurationRegistry.registerConfiguration({
|
|
50
50
|
id: "settingsSync",
|
|
51
51
|
order: 30,
|
|
52
|
-
title: ( localize(
|
|
52
|
+
title: ( localize(2514, "Settings Sync")),
|
|
53
53
|
type: "object",
|
|
54
54
|
properties: {
|
|
55
55
|
[CONFIG_SYNC_KEYBINDINGS_PER_PLATFORM]: {
|
|
56
56
|
type: "boolean",
|
|
57
|
-
description: ( localize(
|
|
57
|
+
description: ( localize(2515, "Synchronize keybindings for each platform.")),
|
|
58
58
|
default: true,
|
|
59
59
|
scope: ConfigurationScope.APPLICATION,
|
|
60
60
|
tags: ["sync", "usesOnlineServices"]
|
|
@@ -62,13 +62,13 @@ function registerConfiguration() {
|
|
|
62
62
|
"settingsSync.ignoredExtensions": {
|
|
63
63
|
"type": "array",
|
|
64
64
|
markdownDescription: ( localize(
|
|
65
|
-
|
|
65
|
+
2516,
|
|
66
66
|
"List of extensions to be ignored while synchronizing. The identifier of an extension is always `${publisher}.${name}`. For example: `vscode.csharp`."
|
|
67
67
|
)),
|
|
68
68
|
items: [{
|
|
69
69
|
type: "string",
|
|
70
70
|
pattern: EXTENSION_IDENTIFIER_PATTERN,
|
|
71
|
-
errorMessage: ( localize(
|
|
71
|
+
errorMessage: ( localize(2517, "Expected format '${publisher}.${name}'. Example: 'vscode.csharp'."))
|
|
72
72
|
}],
|
|
73
73
|
"default": [],
|
|
74
74
|
"scope": ConfigurationScope.APPLICATION,
|
|
@@ -78,7 +78,7 @@ function registerConfiguration() {
|
|
|
78
78
|
},
|
|
79
79
|
"settingsSync.ignoredSettings": {
|
|
80
80
|
"type": "array",
|
|
81
|
-
description: ( localize(
|
|
81
|
+
description: ( localize(2518, "Configure settings to be ignored while synchronizing.")),
|
|
82
82
|
"default": [],
|
|
83
83
|
"scope": ConfigurationScope.APPLICATION,
|
|
84
84
|
$ref: ignoredSettingsSchemaId,
|
|
@@ -171,7 +171,7 @@ let UserDataSyncMachinesService = class UserDataSyncMachinesService extends Disp
|
|
|
171
171
|
const machinesData = this.parse(this.userData);
|
|
172
172
|
if (machinesData.version !== UserDataSyncMachinesService_1.VERSION) {
|
|
173
173
|
throw ( new Error(( localize(
|
|
174
|
-
|
|
174
|
+
2520,
|
|
175
175
|
"Cannot read machines data as the current version is incompatible. Please update {0} and try again.",
|
|
176
176
|
this.productService.nameLong
|
|
177
177
|
))));
|
|
@@ -150,7 +150,7 @@ function toWorkspaceFolder(resource) {
|
|
|
150
150
|
const WORKSPACE_EXTENSION = "code-workspace";
|
|
151
151
|
const WORKSPACE_SUFFIX = `.${WORKSPACE_EXTENSION}`;
|
|
152
152
|
const WORKSPACE_FILTER = [{
|
|
153
|
-
name: ( localize(
|
|
153
|
+
name: ( localize(2522, "Code Workspace")),
|
|
154
154
|
extensions: [WORKSPACE_EXTENSION]
|
|
155
155
|
}];
|
|
156
156
|
const UNTITLED_WORKSPACE_NAME = "workspace.json";
|
|
@@ -23,49 +23,49 @@ const statusBarItemSchema = {
|
|
|
23
23
|
id: {
|
|
24
24
|
type: "string",
|
|
25
25
|
markdownDescription: ( localize(
|
|
26
|
-
|
|
26
|
+
2615,
|
|
27
27
|
"The identifier of the status bar entry. Must be unique within the extension. The same value must be used when calling the `vscode.window.createStatusBarItem(id, ...)`-API"
|
|
28
28
|
))
|
|
29
29
|
},
|
|
30
30
|
name: {
|
|
31
31
|
type: "string",
|
|
32
32
|
description: ( localize(
|
|
33
|
-
|
|
33
|
+
2616,
|
|
34
34
|
"The name of the entry, like 'Python Language Indicator', 'Git Status' etc. Try to keep the length of the name short, yet descriptive enough that users can understand what the status bar item is about."
|
|
35
35
|
))
|
|
36
36
|
},
|
|
37
37
|
text: {
|
|
38
38
|
type: "string",
|
|
39
39
|
description: ( localize(
|
|
40
|
-
|
|
40
|
+
2617,
|
|
41
41
|
"The text to show for the entry. You can embed icons in the text by leveraging the `$(<name>)`-syntax, like 'Hello {0}!'",
|
|
42
42
|
"$(globe)"
|
|
43
43
|
))
|
|
44
44
|
},
|
|
45
45
|
tooltip: {
|
|
46
46
|
type: "string",
|
|
47
|
-
description: ( localize(
|
|
47
|
+
description: ( localize(2618, "The tooltip text for the entry."))
|
|
48
48
|
},
|
|
49
49
|
command: {
|
|
50
50
|
type: "string",
|
|
51
|
-
description: ( localize(
|
|
51
|
+
description: ( localize(2619, "The command to execute when the status bar entry is clicked."))
|
|
52
52
|
},
|
|
53
53
|
alignment: {
|
|
54
54
|
type: "string",
|
|
55
55
|
enum: ["left", "right"],
|
|
56
|
-
description: ( localize(
|
|
56
|
+
description: ( localize(2620, "The alignment of the status bar entry."))
|
|
57
57
|
},
|
|
58
58
|
priority: {
|
|
59
59
|
type: "number",
|
|
60
60
|
description: ( localize(
|
|
61
|
-
|
|
61
|
+
2621,
|
|
62
62
|
"The priority of the status bar entry. Higher value means the item should be shown more to the left."
|
|
63
63
|
))
|
|
64
64
|
},
|
|
65
65
|
accessibilityInformation: {
|
|
66
66
|
type: "object",
|
|
67
67
|
description: ( localize(
|
|
68
|
-
|
|
68
|
+
2622,
|
|
69
69
|
"Defines the role and aria label to be used when the status bar entry is focused."
|
|
70
70
|
)),
|
|
71
71
|
required: ["label"],
|
|
@@ -73,14 +73,14 @@ const statusBarItemSchema = {
|
|
|
73
73
|
role: {
|
|
74
74
|
type: "string",
|
|
75
75
|
description: ( localize(
|
|
76
|
-
|
|
76
|
+
2623,
|
|
77
77
|
"The role of the status bar entry which defines how a screen reader interacts with it. More about aria roles can be found here https://w3c.github.io/aria/#widget_roles"
|
|
78
78
|
))
|
|
79
79
|
},
|
|
80
80
|
label: {
|
|
81
81
|
type: "string",
|
|
82
82
|
description: ( localize(
|
|
83
|
-
|
|
83
|
+
2624,
|
|
84
84
|
"The aria label of the status bar entry. Defaults to the entry's text."
|
|
85
85
|
))
|
|
86
86
|
}
|
|
@@ -89,7 +89,7 @@ const statusBarItemSchema = {
|
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
const statusBarItemsSchema = {
|
|
92
|
-
description: ( localize(
|
|
92
|
+
description: ( localize(2625, "Contributes items to the status bar.")),
|
|
93
93
|
oneOf: [statusBarItemSchema, {
|
|
94
94
|
type: "array",
|
|
95
95
|
items: statusBarItemSchema
|
|
@@ -115,7 +115,7 @@ let StatusBarItemsExtensionPoint = class StatusBarItemsExtensionPoint {
|
|
|
115
115
|
} = entry;
|
|
116
116
|
for (const candidate of Iterable.wrap(value)) {
|
|
117
117
|
if (!isUserFriendlyStatusItemEntry(candidate)) {
|
|
118
|
-
collector.error(( localize(
|
|
118
|
+
collector.error(( localize(2626, "Invalid status bar item contribution.")));
|
|
119
119
|
continue;
|
|
120
120
|
}
|
|
121
121
|
const fullItemId = asStatusBarItemIdentifier(entry.description.identifier, candidate.id);
|
|
@@ -100,7 +100,7 @@ import { ExtHostTimeline } from './extHostTimeline.js';
|
|
|
100
100
|
import { ExtHostTreeViews } from './extHostTreeViews.js';
|
|
101
101
|
import { IExtHostTunnelService } from './extHostTunnelService.js';
|
|
102
102
|
import { LanguageSelector } from './extHostTypeConverters.js';
|
|
103
|
-
import { ExtensionKind, ProgressLocation, ChatDebugSubagentStatus, ChatTodoStatus, SettingsSearchResultKind, McpToolInvocationContentData, McpToolAvailability, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, ExtendedLanguageModelToolResult, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelPartAudience, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatDebugEventHookContent, ChatDebugEventModelTurnContent, ChatDebugEventToolCallContent, ChatDebugEventMessageContent, ChatDebugMessageContentType, ChatDebugEventTextContent, ChatDebugMessageSection, ChatDebugAgentResponseEvent, ChatDebugUserMessageEvent, ChatDebugSubagentInvocationEvent, ChatDebugGenericEvent, ChatDebugModelTurnEvent, ChatDebugToolCallEvent, ChatDebugHookResult, ChatDebugToolCallResult, ChatDebugLogLevel, ChatSessionCustomizationType, ChatSessionStatus, ChatLocation, ChatToolInvocationPart, ChatSubagentToolInvocationData, ChatResponseTurn2, ChatResponseTurn, ChatRequestTurn, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatResponseMultiDiffPart, ChatResponsePullRequestPart, ChatResponseExternalEditPart, ChatResponseExtensionsPart, ChatResponseMovePart, ChatResponseQuestionCarouselPart, ChatQuestionType, ChatQuestion, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWorkspaceEditPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseHookPart, ChatResponseThinkingProgressPart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, ChatImageMimeType, KeywordRecognitionStatus, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome,
|
|
103
|
+
import { ExtensionKind, ProgressLocation, ChatDebugSubagentStatus, ChatTodoStatus, SettingsSearchResultKind, McpToolInvocationContentData, McpToolAvailability, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, ExtendedLanguageModelToolResult, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelPartAudience, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatDebugEventHookContent, ChatDebugEventModelTurnContent, ChatDebugEventToolCallContent, ChatDebugEventMessageContent, ChatDebugMessageContentType, ChatDebugEventTextContent, ChatDebugMessageSection, ChatDebugAgentResponseEvent, ChatDebugUserMessageEvent, ChatDebugSubagentInvocationEvent, ChatDebugGenericEvent, ChatDebugModelTurnEvent, ChatDebugToolCallEvent, ChatDebugHookResult, ChatDebugToolCallResult, ChatDebugLogLevel, ChatSessionCustomizationType, ChatSessionStatus, ChatLocation, ChatToolInvocationPart, ChatSubagentToolInvocationData, ChatResponseTurn2, ChatResponseTurn, ChatRequestTurn, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatResponseMultiDiffPart, ChatResponsePullRequestPart, ChatResponseExternalEditPart, ChatResponseExtensionsPart, ChatResponseMovePart, ChatResponseQuestionCarouselPart, ChatQuestionType, ChatQuestion, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWorkspaceEditPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseHookPart, ChatResponseThinkingProgressPart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, ChatImageMimeType, KeywordRecognitionStatus, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatSessionChangedFile, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookCellExecutionState, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRunOn, TaskRevealKind, TaskPanelKind, TaskGroup, TaskEventKind, Task, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, RelativePattern, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, PortAutoForwardAction, ParameterInformation, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionsDisposeReasonKind, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
104
104
|
import { ExtHostUriOpeners } from './extHostUriOpener.js';
|
|
105
105
|
import { IURITransformerService } from './extHostUriTransformerService.js';
|
|
106
106
|
import { IExtHostUrlsService } from './extHostUrls.js';
|
|
@@ -290,7 +290,8 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
290
290
|
extHostDocumentsAndEditors,
|
|
291
291
|
extHostLanguageModels,
|
|
292
292
|
extHostDiagnostics,
|
|
293
|
-
extHostLanguageModelTools
|
|
293
|
+
extHostLanguageModelTools,
|
|
294
|
+
extHostChatSessions
|
|
294
295
|
)));
|
|
295
296
|
const extHostChatContext = rpcProtocol.set(ExtHostContext.ExtHostChatContext, ( new ExtHostChatContext(rpcProtocol, extHostCommands)));
|
|
296
297
|
const extHostChatDebug = rpcProtocol.set(ExtHostContext.ExtHostChatDebug, ( new ExtHostChatDebug(rpcProtocol)));
|
|
@@ -1781,6 +1782,10 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1781
1782
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1782
1783
|
return extHostChatAgents2.registerPromptFileProvider(extension, PromptsType.skill, provider);
|
|
1783
1784
|
},
|
|
1785
|
+
registerHookProvider(provider) {
|
|
1786
|
+
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1787
|
+
return extHostChatAgents2.registerPromptFileProvider(extension, PromptsType.hook, provider);
|
|
1788
|
+
},
|
|
1784
1789
|
registerChatDebugLogProvider(provider) {
|
|
1785
1790
|
checkProposedApiEnabled(extension, "chatDebug");
|
|
1786
1791
|
return extHostChatDebug.registerChatDebugLogProvider(provider);
|
|
@@ -1789,30 +1794,54 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1789
1794
|
checkProposedApiEnabled(extension, "chatDebug");
|
|
1790
1795
|
return extHostChatDebug.onDidAddCoreEvent(listener, thisArgs, disposables);
|
|
1791
1796
|
},
|
|
1792
|
-
|
|
1797
|
+
getCustomAgents(token) {
|
|
1793
1798
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1794
|
-
return extHostChatAgents2.
|
|
1799
|
+
return extHostChatAgents2.provideCustomAgents(token);
|
|
1795
1800
|
},
|
|
1796
1801
|
onDidChangeCustomAgents: (listener, thisArgs, disposables) => {
|
|
1797
1802
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1798
1803
|
return extHostChatAgents2.onDidChangeCustomAgents(listener, thisArgs, disposables);
|
|
1799
1804
|
},
|
|
1800
|
-
|
|
1805
|
+
getInstructions(token) {
|
|
1801
1806
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1802
|
-
return extHostChatAgents2.
|
|
1807
|
+
return extHostChatAgents2.provideInstructions(token);
|
|
1803
1808
|
},
|
|
1804
1809
|
onDidChangeInstructions: (listener, thisArgs, disposables) => {
|
|
1805
1810
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1806
1811
|
return extHostChatAgents2.onDidChangeInstructions(listener, thisArgs, disposables);
|
|
1807
1812
|
},
|
|
1808
|
-
|
|
1813
|
+
getSkills(token) {
|
|
1809
1814
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1810
|
-
return extHostChatAgents2.
|
|
1815
|
+
return extHostChatAgents2.provideSkills(token);
|
|
1811
1816
|
},
|
|
1812
1817
|
onDidChangeSkills: (listener, thisArgs, disposables) => {
|
|
1813
1818
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1814
1819
|
return extHostChatAgents2.onDidChangeSkills(listener, thisArgs, disposables);
|
|
1815
1820
|
},
|
|
1821
|
+
getSlashCommands(token) {
|
|
1822
|
+
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1823
|
+
return extHostChatAgents2.provideSlashCommands(token);
|
|
1824
|
+
},
|
|
1825
|
+
onDidChangeSlashCommands: (listener, thisArgs, disposables) => {
|
|
1826
|
+
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1827
|
+
return extHostChatAgents2.onDidChangeSlashCommands(listener, thisArgs, disposables);
|
|
1828
|
+
},
|
|
1829
|
+
getHooks(token) {
|
|
1830
|
+
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1831
|
+
return extHostChatAgents2.provideHooks(token);
|
|
1832
|
+
},
|
|
1833
|
+
onDidChangeHooks: (listener, thisArgs, disposables) => {
|
|
1834
|
+
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1835
|
+
return extHostChatAgents2.onDidChangeHooks(listener, thisArgs, disposables);
|
|
1836
|
+
},
|
|
1837
|
+
getPlugins(token) {
|
|
1838
|
+
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1839
|
+
return extHostChatAgents2.providePlugins(token);
|
|
1840
|
+
},
|
|
1841
|
+
onDidChangePlugins: (listener, thisArgs, disposables) => {
|
|
1842
|
+
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1843
|
+
return extHostChatAgents2.onDidChangePlugins(listener, thisArgs, disposables);
|
|
1844
|
+
},
|
|
1816
1845
|
registerChatSessionCustomizationProvider(chatSessionType, metadata, provider) {
|
|
1817
1846
|
checkProposedApiEnabled(extension, "chatSessionCustomizationProvider");
|
|
1818
1847
|
return extHostChatAgents2.registerChatSessionCustomizationProvider(extension, chatSessionType, metadata, provider);
|
|
@@ -1896,9 +1925,9 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1896
1925
|
checkProposedApiEnabled(extension, "mcpServerDefinitions");
|
|
1897
1926
|
return extHostMcp.mcpServerDefinitions;
|
|
1898
1927
|
},
|
|
1899
|
-
startMcpGateway() {
|
|
1928
|
+
startMcpGateway(chatSessionResource) {
|
|
1900
1929
|
checkProposedApiEnabled(extension, "mcpServerDefinitions");
|
|
1901
|
-
return extHostMcp.startMcpGateway();
|
|
1930
|
+
return extHostMcp.startMcpGateway(chatSessionResource);
|
|
1902
1931
|
},
|
|
1903
1932
|
onDidChangeChatRequestTools(...args) {
|
|
1904
1933
|
checkProposedApiEnabled(extension, "chatParticipantAdditions");
|
|
@@ -2146,7 +2175,6 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
2146
2175
|
InteractiveSessionVoteDirection: InteractiveSessionVoteDirection,
|
|
2147
2176
|
ChatCopyKind: ChatCopyKind,
|
|
2148
2177
|
ChatSessionChangedFile: ChatSessionChangedFile,
|
|
2149
|
-
ChatSessionChangedFile2: ChatSessionChangedFile2,
|
|
2150
2178
|
ChatEditingSessionActionOutcome: ChatEditingSessionActionOutcome,
|
|
2151
2179
|
InteractiveEditorResponseFeedbackKind: InteractiveEditorResponseFeedbackKind,
|
|
2152
2180
|
DebugStackFrame: DebugStackFrame,
|
|
@@ -1357,6 +1357,10 @@ export interface ExtHostChatDebugShape {
|
|
|
1357
1357
|
uri: UriComponents;
|
|
1358
1358
|
sessionTitle?: string;
|
|
1359
1359
|
} | undefined>;
|
|
1360
|
+
$getAvailableDebugSessionResources(handle: number, token: CancellationToken): Promise<{
|
|
1361
|
+
uri: UriComponents;
|
|
1362
|
+
title?: string;
|
|
1363
|
+
}[]>;
|
|
1360
1364
|
$onCoreDebugEvent(event: IChatDebugEventDto): void;
|
|
1361
1365
|
}
|
|
1362
1366
|
export interface MainThreadChatDebugShape extends IDisposable {
|
|
@@ -1410,6 +1414,12 @@ export interface MainThreadChatAgentsShape2 extends IChatAgentProgressShape, IDi
|
|
|
1410
1414
|
$updateAgent(handle: number, metadataUpdate: IExtensionChatAgentMetadata): void;
|
|
1411
1415
|
$unregisterAgent(handle: number): void;
|
|
1412
1416
|
$transferActiveChatSession(toWorkspace: UriComponents): Promise<void>;
|
|
1417
|
+
$provideCustomAgents(token: CancellationToken): Promise<ICustomAgentDto[]>;
|
|
1418
|
+
$provideInstructions(token: CancellationToken): Promise<IInstructionDto[]>;
|
|
1419
|
+
$provideSkills(token: CancellationToken): Promise<ISkillDto[]>;
|
|
1420
|
+
$provideSlashCommands(token: CancellationToken): Promise<ISlashCommandDto[]>;
|
|
1421
|
+
$provideHooks(token: CancellationToken): Promise<IHookDto[]>;
|
|
1422
|
+
$providePlugins(token: CancellationToken): Promise<IPluginDto[]>;
|
|
1413
1423
|
}
|
|
1414
1424
|
export interface ICodeMapperTextEdit {
|
|
1415
1425
|
uri: URI;
|
|
@@ -1450,11 +1460,17 @@ export interface IChatSessionContextDto {
|
|
|
1450
1460
|
value: string;
|
|
1451
1461
|
}>;
|
|
1452
1462
|
}
|
|
1463
|
+
export interface IChatAgentInvokeResult extends IChatAgentResult {
|
|
1464
|
+
/** Error callstack for telemetry only. Stripped at the RPC boundary — never persisted or sent to the model. */
|
|
1465
|
+
errorCallstack?: string;
|
|
1466
|
+
/** Error name (e.g. 'ChatQuotaExceeded', 'TypeError') for telemetry only. */
|
|
1467
|
+
errorName?: string;
|
|
1468
|
+
}
|
|
1453
1469
|
export interface ExtHostChatAgentsShape2 {
|
|
1454
1470
|
$invokeAgent(handle: number, request: Dto<IChatAgentRequest>, context: {
|
|
1455
1471
|
history: IChatAgentHistoryEntryDto[];
|
|
1456
1472
|
chatSessionContext?: IChatSessionContextDto;
|
|
1457
|
-
}, token: CancellationToken): Promise<
|
|
1473
|
+
}, token: CancellationToken): Promise<IChatAgentInvokeResult | undefined>;
|
|
1458
1474
|
$provideFollowups(request: Dto<IChatAgentRequest>, handle: number, result: IChatAgentResult, context: {
|
|
1459
1475
|
history: IChatAgentHistoryEntryDto[];
|
|
1460
1476
|
}, token: CancellationToken): Promise<IChatFollowup[]>;
|
|
@@ -1476,23 +1492,51 @@ export interface ExtHostChatAgentsShape2 {
|
|
|
1476
1492
|
$setRequestTools(requestId: string, tools: UserSelectedTools): void;
|
|
1477
1493
|
$setYieldRequested(requestId: string, value: boolean): void;
|
|
1478
1494
|
$acceptActiveChatSession(sessionResource: UriComponents | undefined): void;
|
|
1479
|
-
$
|
|
1480
|
-
$
|
|
1481
|
-
$
|
|
1495
|
+
$onDidChangeCustomAgents(): void;
|
|
1496
|
+
$onDidChangeInstructions(): void;
|
|
1497
|
+
$onDidChangeSkills(): void;
|
|
1498
|
+
$onDidChangeSlashCommands(): void;
|
|
1499
|
+
$onDidChangeHooks(): void;
|
|
1500
|
+
$onDidChangePlugins(): void;
|
|
1501
|
+
}
|
|
1502
|
+
export type IChatResourceSourceDto = "local" | "user" | "extension" | "plugin";
|
|
1503
|
+
export interface IChatResourceDto {
|
|
1504
|
+
readonly uri: UriComponents;
|
|
1505
|
+
readonly name: string;
|
|
1506
|
+
readonly description?: string;
|
|
1507
|
+
readonly source: IChatResourceSourceDto;
|
|
1508
|
+
readonly extensionId?: string;
|
|
1509
|
+
readonly pluginUri?: UriComponents;
|
|
1510
|
+
readonly sessionTypes?: readonly string[];
|
|
1482
1511
|
}
|
|
1483
|
-
export interface ICustomAgentDto {
|
|
1484
|
-
|
|
1512
|
+
export interface ICustomAgentDto extends IChatResourceDto {
|
|
1513
|
+
readonly argumentHint?: string;
|
|
1514
|
+
readonly tools?: readonly string[];
|
|
1515
|
+
readonly model?: readonly string[];
|
|
1516
|
+
readonly userInvocable: boolean;
|
|
1517
|
+
readonly disableModelInvocation: boolean;
|
|
1485
1518
|
}
|
|
1486
|
-
export interface IInstructionDto {
|
|
1487
|
-
|
|
1519
|
+
export interface IInstructionDto extends IChatResourceDto {
|
|
1520
|
+
readonly pattern?: string;
|
|
1488
1521
|
}
|
|
1489
|
-
export interface ISkillDto {
|
|
1490
|
-
|
|
1522
|
+
export interface ISkillDto extends IChatResourceDto {
|
|
1523
|
+
readonly userInvocable: boolean;
|
|
1524
|
+
}
|
|
1525
|
+
export interface ISlashCommandDto extends IChatResourceDto {
|
|
1526
|
+
readonly argumentHint?: string;
|
|
1527
|
+
readonly userInvocable: boolean;
|
|
1528
|
+
}
|
|
1529
|
+
export interface IHookDto {
|
|
1530
|
+
readonly uri: UriComponents;
|
|
1531
|
+
readonly sessionTypes?: readonly string[];
|
|
1532
|
+
}
|
|
1533
|
+
export interface IPluginDto {
|
|
1534
|
+
readonly uri: UriComponents;
|
|
1491
1535
|
}
|
|
1492
1536
|
export interface IChatSessionCustomizationProviderMetadataDto {
|
|
1493
1537
|
readonly label: string;
|
|
1494
1538
|
readonly iconId?: string;
|
|
1495
|
-
readonly
|
|
1539
|
+
readonly supportedTypes?: readonly string[];
|
|
1496
1540
|
}
|
|
1497
1541
|
export interface IChatSessionCustomizationItemDto {
|
|
1498
1542
|
readonly uri: UriComponents;
|
|
@@ -3200,10 +3244,12 @@ export interface IMcpAuthenticationDetails {
|
|
|
3200
3244
|
authorizationServerMetadata: IAuthorizationServerMetadata;
|
|
3201
3245
|
resourceMetadata: IAuthorizationProtectedResourceMetadata | undefined;
|
|
3202
3246
|
scopes: string[] | undefined;
|
|
3247
|
+
clientId?: string;
|
|
3203
3248
|
}
|
|
3204
3249
|
export interface IMcpAuthenticationOptions {
|
|
3205
3250
|
errorOnUserInteraction?: boolean;
|
|
3206
3251
|
forceNewRegistration?: boolean;
|
|
3252
|
+
clientId?: string;
|
|
3207
3253
|
}
|
|
3208
3254
|
export declare enum IAuthResourceMetadataSource {
|
|
3209
3255
|
Header = "header",
|
|
@@ -3228,7 +3274,7 @@ export interface MainThreadMcpShape {
|
|
|
3228
3274
|
$getTokenFromServerMetadata(id: number, authDetails: IMcpAuthenticationDetails, options?: IMcpAuthenticationOptions): Promise<string | undefined>;
|
|
3229
3275
|
$getTokenForProviderId(id: number, providerId: string, scopes: string[], options?: IMcpAuthenticationOptions): Promise<string | undefined>;
|
|
3230
3276
|
$logMcpAuthSetup(data: IAuthMetadataSource): void;
|
|
3231
|
-
$startMcpGateway(): Promise<{
|
|
3277
|
+
$startMcpGateway(chatSessionResource?: UriComponents): Promise<{
|
|
3232
3278
|
servers: {
|
|
3233
3279
|
label: string;
|
|
3234
3280
|
address: UriComponents;
|
|
@@ -3378,6 +3424,7 @@ export interface MainThreadChatSessionsShape extends IDisposable {
|
|
|
3378
3424
|
$unregisterChatSessionContentProvider(handle: number): void;
|
|
3379
3425
|
$onDidChangeChatSessionOptions(handle: number, sessionResource: UriComponents, updates: Record<string, string | IChatSessionProviderOptionItem>): void;
|
|
3380
3426
|
$onDidChangeChatSessionProviderOptions(handle: number): void;
|
|
3427
|
+
$updateChatSessionInputState(controllerHandle: number, sessionResource: UriComponents, optionGroups: readonly IChatSessionProviderOptionGroup[]): void;
|
|
3381
3428
|
$handleProgressChunk(handle: number, sessionResource: UriComponents, requestId: string, chunks: (IChatProgressDto | [
|
|
3382
3429
|
IChatProgressDto,
|
|
3383
3430
|
number
|
|
@@ -3394,9 +3441,9 @@ export interface ExtHostChatSessionsShape {
|
|
|
3394
3441
|
$disposeChatSessionContent(providerHandle: number, sessionResource: UriComponents): Promise<void>;
|
|
3395
3442
|
$invokeChatSessionRequestHandler(providerHandle: number, sessionResource: UriComponents, request: IChatAgentRequest, history: any[], token: CancellationToken): Promise<IChatAgentResult>;
|
|
3396
3443
|
$provideChatSessionProviderOptions(providerHandle: number, token: CancellationToken): Promise<IChatSessionProviderOptions | undefined>;
|
|
3397
|
-
$invokeOptionGroupSearch(providerHandle: number, optionGroupId: string, query: string, token: CancellationToken): Promise<IChatSessionProviderOptionItem[]>;
|
|
3398
3444
|
$provideHandleOptionsChange(providerHandle: number, sessionResource: UriComponents, updates: Record<string, string | IChatSessionProviderOptionItem | undefined>, token: CancellationToken): Promise<void>;
|
|
3399
3445
|
$forkChatSession(providerHandle: number, sessionResource: UriComponents, request: IChatSessionRequestHistoryItemDto | undefined, token: CancellationToken): Promise<Dto<IChatSessionItem>>;
|
|
3446
|
+
$provideChatSessionInputState(controllerHandle: number, sessionResource: UriComponents | undefined, token: CancellationToken): Promise<IChatSessionProviderOptionGroup[] | undefined>;
|
|
3400
3447
|
}
|
|
3401
3448
|
export interface GitRefQueryDto {
|
|
3402
3449
|
readonly contains?: string;
|
|
@@ -3424,8 +3471,15 @@ export interface GitDiffChangeDto extends GitChangeDto {
|
|
|
3424
3471
|
readonly insertions: number;
|
|
3425
3472
|
readonly deletions: number;
|
|
3426
3473
|
}
|
|
3474
|
+
export interface GitRemoteDto {
|
|
3475
|
+
readonly name: string;
|
|
3476
|
+
readonly fetchUrl?: string;
|
|
3477
|
+
readonly pushUrl?: string;
|
|
3478
|
+
readonly isReadOnly: boolean;
|
|
3479
|
+
}
|
|
3427
3480
|
export interface GitRepositoryStateDto {
|
|
3428
3481
|
readonly HEAD?: GitBranchDto;
|
|
3482
|
+
readonly remotes: readonly GitRemoteDto[];
|
|
3429
3483
|
readonly mergeChanges: readonly GitChangeDto[];
|
|
3430
3484
|
readonly indexChanges: readonly GitChangeDto[];
|
|
3431
3485
|
readonly workingTreeChanges: readonly GitChangeDto[];
|
|
@@ -3436,7 +3490,6 @@ export interface GitBranchDto {
|
|
|
3436
3490
|
readonly commit?: string;
|
|
3437
3491
|
readonly type: GitRefTypeDto;
|
|
3438
3492
|
readonly remote?: string;
|
|
3439
|
-
readonly base?: GitBaseRefDto;
|
|
3440
3493
|
readonly upstream?: GitUpstreamRefDto;
|
|
3441
3494
|
readonly ahead?: number;
|
|
3442
3495
|
readonly behind?: number;
|