@codingame/monaco-vscode-api 34.1.3 → 35.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +261 -19
- package/package.json +8 -8
- package/services.d.ts +14 -0
- package/services.js +17 -3
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +2 -0
- package/vscode/src/vs/base/browser/markdownRenderer.js +52 -44
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.d.ts +7 -0
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +4 -0
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +5 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/list.js +3 -0
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/list/listView.js +9 -5
- package/vscode/src/vs/base/browser/ui/splitview/paneview.css +3 -2
- package/vscode/src/vs/base/browser/ui/splitview/paneview.d.ts +27 -0
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +22 -4
- package/vscode/src/vs/base/common/async.d.ts +30 -0
- package/vscode/src/vs/base/common/async.js +22 -4
- package/vscode/src/vs/base/common/codicons.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +9 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +9 -0
- package/vscode/src/vs/base/common/defaultAccount.d.ts +9 -20
- package/vscode/src/vs/base/common/managedSettings.d.ts +32 -0
- package/vscode/src/vs/base/common/managedSettings.js +30 -0
- package/vscode/src/vs/base/common/map.d.ts +6 -0
- package/vscode/src/vs/base/common/map.js +62 -8
- package/vscode/src/vs/base/common/numbers.d.ts +4 -0
- package/vscode/src/vs/base/common/numbers.js +13 -1
- package/vscode/src/vs/base/common/policy.d.ts +41 -0
- package/vscode/src/vs/base/common/product.d.ts +32 -3
- package/vscode/src/vs/base/common/uriTemplate.js +1 -1
- package/vscode/src/vs/base/common/uuid.d.ts +1 -1
- package/vscode/src/vs/base/common/yaml.d.ts +1 -0
- package/vscode/src/vs/base/common/yaml.js +80 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +1 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.d.ts +2 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +10 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +2 -1
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.d.ts +15 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +12 -6
- package/vscode/src/vs/editor/common/languages.js +0 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +10 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +36 -21
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +7 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.css +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +0 -5
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLineCommand.js +0 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css +6 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +4 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +3 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +77 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +163 -17
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +162 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +27 -12
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +11 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.d.ts +9 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidgetDropdown.js +13 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +8 -0
- package/vscode/src/vs/platform/actions/common/actions.js +12 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.d.ts +7 -2
- package/vscode/src/vs/platform/agentHost/browser/nullAgentHostService.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.d.ts +55 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.d.ts +56 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostConnectionsService.service.js +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpServer.d.ts +15 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.d.ts +37 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSessionType.js +45 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.d.ts +15 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostUri.js +37 -27
- package/vscode/src/vs/platform/agentHost/common/agentServerTools.d.ts +38 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +39 -5
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.d.ts +8 -2
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.js +8 -20
- package/vscode/src/vs/platform/agentHost/common/remoteAgentHostService.service.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +18 -6
- package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/actions.d.ts +131 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/state.d.ts +110 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/actions.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.d.ts +28 -8
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.js +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/actions.d.ts +584 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.d.ts +42 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.d.ts +1157 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/state.js +119 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/notifications.d.ts +80 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-root/state.d.ts +48 -3
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/actions.d.ts +117 -489
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/commands.d.ts +25 -20
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.d.ts +301 -937
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/state.js +7 -100
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.d.ts +43 -29
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/actions.js +38 -26
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/messages.d.ts +13 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/state.d.ts +17 -5
- package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/mcpAppDefaults.js +12 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.d.ts +10 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocolUpgrade.js +19 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +3 -2
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +258 -5
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.js +84 -7
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +36 -3
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +58 -27
- package/vscode/src/vs/platform/browserView/common/browserHistory.js +4 -2
- package/vscode/src/vs/platform/browserView/common/browserPermissions.d.ts +176 -0
- package/vscode/src/vs/platform/browserView/common/browserPermissions.js +244 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +86 -31
- package/vscode/src/vs/platform/browserView/common/browserView.js +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +13 -3
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +47 -11
- package/vscode/src/vs/platform/configuration/common/configurations.d.ts +8 -0
- package/vscode/src/vs/platform/configuration/common/configurations.js +83 -18
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +10 -10
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.d.ts +2 -0
- package/vscode/src/vs/platform/defaultAccount/common/defaultAccount.service.d.ts +2 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +6 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +16 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +9 -13
- package/vscode/src/vs/platform/extensions/common/extensionValidator.d.ts +1 -9
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +21 -73
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +0 -4
- package/vscode/src/vs/platform/extensions/common/extensions.js +6 -11
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +6 -14
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +19 -26
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/hoverService.js +4 -0
- package/vscode/src/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/vscode/src/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/keybinding/common/keybinding.d.ts +6 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.d.ts +1 -0
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +1 -0
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.d.ts +7 -1
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +2 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +25 -25
- package/vscode/src/vs/platform/log/common/log.d.ts +1 -0
- package/vscode/src/vs/platform/log/common/log.js +7 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagementService.js +1 -1
- package/vscode/src/vs/platform/meteredConnection/common/meteredConnection.config.contribution.js +5 -5
- package/vscode/src/vs/platform/native/common/native.d.ts +41 -6
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.d.ts +201 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.js +269 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.d.ts +17 -0
- package/vscode/src/vs/platform/policy/common/copilotManagedSettings.service.js +7 -0
- package/vscode/src/vs/platform/policy/common/policy.d.ts +4 -1
- package/vscode/src/vs/platform/policy/common/policy.js +17 -8
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +18 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +20 -20
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +2 -1
- package/vscode/src/vs/platform/sandbox/common/settings.d.ts +4 -1
- package/vscode/src/vs/platform/sandbox/common/settings.js +14 -2
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.service.d.ts +3 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalPlatformConfiguration.js +34 -34
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +1 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +19 -19
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +48 -48
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +10 -10
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/theme/common/sizes/baseSizes.js +26 -26
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/tunnel/common/tunnelProxy.d.ts +19 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/update/common/update.d.ts +7 -1
- package/vscode/src/vs/platform/update/common/update.js +2 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/keybindingsSync.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/settingsSync.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +7 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/browser/statusBarExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +25 -2
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +51 -1
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +4 -0
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.d.ts +10 -0
- package/vscode/src/vs/workbench/api/common/extHostAgentEditorComments.js +56 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.d.ts +21 -0
- package/vscode/src/vs/workbench/api/common/extHostBrowserTunnelProxy.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +33 -5
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +34 -11
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +4 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +33 -6
- package/vscode/src/vs/workbench/api/common/extHostLanguages.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +10 -0
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.d.ts +9 -0
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +17 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +7 -2
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +81 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +52 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +17 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +22 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +11 -11
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +233 -63
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +127 -127
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +29 -29
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/contextkeys.js +1 -0
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +4 -4
- package/vscode/src/vs/workbench/browser/media/floatingPanels.css +203 -0
- package/vscode/src/vs/workbench/browser/media/part.css +1 -0
- package/vscode/src/vs/workbench/browser/part.d.ts +8 -0
- package/vscode/src/vs/workbench/browser/part.js +15 -4
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +11 -0
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +43 -28
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +26 -26
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +5 -6
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/dialogs/dialog.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +37 -37
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +7 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +135 -135
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +31 -26
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.d.ts +13 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +19 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.d.ts +4 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +37 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.d.ts +18 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +64 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +66 -66
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +17 -7
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorgroupview.css +33 -16
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css +16 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +32 -19
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.d.ts +7 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +69 -9
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +19 -19
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +22 -22
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +40 -1
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +71 -6
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +27 -27
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +4 -5
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +0 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +17 -10
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +19 -8
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +14 -11
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +14 -14
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +261 -225
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +83 -83
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +180 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/browserView/common/browserEditorInput.js +21 -22
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +71 -3
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.js +36 -9
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.service.d.ts +44 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +100 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +34 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +31 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +32 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageUtils.js +5 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +30 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +216 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileRewriter.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service.d.ts +8 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.d.ts +49 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +52 -16
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +18 -2
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +118 -89
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +6 -11
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +6 -14
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +1 -6
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +84 -5
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariables.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.service.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +7 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +85 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +181 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +12 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +56 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.js +27 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +54 -2
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +50 -10
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +78 -7
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +26 -36
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +8 -25
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/enablement.js +52 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +106 -15
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +192 -56
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +28 -6
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +49 -12
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +15 -3
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +25 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +12 -16
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +21 -15
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +79 -79
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +111 -41
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +99 -5
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +31 -11
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +49 -23
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.d.ts +43 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +45 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.d.ts +95 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +6 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +12 -12
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +71 -71
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +15 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorDiffInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +32 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +216 -168
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +196 -182
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +48 -48
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +106 -104
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +3 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +28 -28
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineCompletions/browser/inlineCompletionLanguageStatusBarContribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +137 -74
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/discovery/pluginMcpDiscovery.js +119 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpCommandIds.js +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +43 -43
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +42 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +18 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.js +3 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/onboarding/common/onboardingScenarioService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -62
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +5 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +10 -11
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/search.js +12 -2
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +40 -40
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +24 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +117 -128
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/common/onboardingTypes.js +14 -14
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +8 -0
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +10 -9
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.d.ts +21 -14
- package/vscode/src/vs/workbench/services/accounts/browser/managedSettings.js +2 -57
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.d.ts +22 -0
- package/vscode/src/vs/workbench/services/agentEditorComments/common/agentEditorComments.service.js +6 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.d.ts +8 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/authentication/common/authenticationQuery.d.ts +5 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.d.ts +5 -0
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +13 -8
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +27 -1
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +24 -20
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +5 -5
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +15 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +22 -7
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +11 -0
- package/vscode/src/vs/workbench/services/editor/common/editorService.js +2 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +55 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +77 -2
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.d.ts +7 -1
- package/vscode/src/vs/workbench/services/policies/common/accountPolicyService.js +2 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +2 -1
- package/vscode-dts/vscode.d.ts +4 -4
- package/vscode-dts/vscode.proposed.agentEditorComments.d.ts +71 -0
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatDebug.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatHooks.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +23 -2
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +0 -8
- package/vscode-dts/vscode.proposed.chatPromptFiles.d.ts +0 -2
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +15 -2
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +11 -0
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +34 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +2 -2
- package/vscode-dts/vscode.proposed.customEditorDiffs.d.ts +24 -4
- package/vscode-dts/vscode.proposed.d.ts +2 -0
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -2
- package/vscode-dts/vscode.proposed.documentSyntaxHighlighting.d.ts +87 -0
- package/vscode-dts/vscode.proposed.findFiles2.d.ts +0 -2
- package/vscode-dts/vscode.proposed.languageModelPricing.d.ts +35 -0
- package/vscode-dts/vscode.proposed.languageModelThinkingPart.d.ts +0 -2
- package/vscode-dts/vscode.proposed.languageModelToolSupportsModel.d.ts +0 -2
- package/vscode-dts/vscode.proposed.mcpServerDefinitions.d.ts +0 -2
- package/vscode-dts/vscode.proposed.textEditorDiffInformation.d.ts +35 -0
- package/vscode/src/vs/platform/agentHost/common/agentPluginManager.d.ts +0 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +0 -135
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IAction } from "../../../../../base/common/actions.js";
|
|
2
2
|
import { DeferredPromise } from "../../../../../base/common/async.js";
|
|
3
3
|
import { CancellationToken } from "../../../../../base/common/cancellation.js";
|
|
4
|
+
import { IStringDictionary } from "../../../../../base/common/collections.js";
|
|
4
5
|
import { Event } from "../../../../../base/common/event.js";
|
|
5
6
|
import { IMarkdownString } from "../../../../../base/common/htmlContent.js";
|
|
6
7
|
import { IReference } from "../../../../../base/common/lifecycle.js";
|
|
@@ -125,8 +126,19 @@ export interface IChatUsage {
|
|
|
125
126
|
completionTokens: number;
|
|
126
127
|
outputBuffer?: number;
|
|
127
128
|
promptTokenDetails?: readonly IChatUsagePromptTokenDetail[];
|
|
129
|
+
copilotCredits?: number;
|
|
130
|
+
/**
|
|
131
|
+
* The language-model ID that actually served the request. Set when a
|
|
132
|
+
* meta-model (e.g. "auto") routes to a concrete model so consumers
|
|
133
|
+
* can look up the real model's metadata (context window size, etc.).
|
|
134
|
+
*/
|
|
135
|
+
actualModelId?: string;
|
|
128
136
|
kind: "usage";
|
|
129
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* Formats a copilot credit value for display.
|
|
140
|
+
*/
|
|
141
|
+
export declare function formatCopilotCredits(credits: number): string;
|
|
130
142
|
export interface IChatContentInlineReference {
|
|
131
143
|
resolveId?: string;
|
|
132
144
|
inlineReference: URI | Location | IWorkspaceSymbol;
|
|
@@ -183,6 +195,10 @@ export interface IChatProgressMessage {
|
|
|
183
195
|
kind: "progressMessage";
|
|
184
196
|
shimmer?: boolean;
|
|
185
197
|
}
|
|
198
|
+
export interface IChatSystemNotificationPart {
|
|
199
|
+
content: IMarkdownString;
|
|
200
|
+
kind: "systemNotification";
|
|
201
|
+
}
|
|
186
202
|
export interface IChatTask extends IChatTaskDto {
|
|
187
203
|
deferred: DeferredPromise<string | void>;
|
|
188
204
|
progress: (IChatWarningMessage | IChatContentReference)[];
|
|
@@ -433,6 +449,22 @@ export interface IChatThinkingPart {
|
|
|
433
449
|
};
|
|
434
450
|
generatedTitle?: string;
|
|
435
451
|
}
|
|
452
|
+
/**
|
|
453
|
+
* A progress part representing an auto-mode model routing resolution.
|
|
454
|
+
* Shown as a collapsible widget in the chat stream: collapsed displays
|
|
455
|
+
* "Routed to <model>", expanded shows routing details and confidence.
|
|
456
|
+
*/
|
|
457
|
+
export interface IChatAutoModeResolutionPart {
|
|
458
|
+
kind: "autoModeResolution";
|
|
459
|
+
/** The model ID that was selected by the router */
|
|
460
|
+
resolvedModel: string;
|
|
461
|
+
/** The user-facing display name of the resolved model */
|
|
462
|
+
resolvedModelName: string;
|
|
463
|
+
/** The router's classification label */
|
|
464
|
+
predictedLabel: "needs_reasoning" | "no_reasoning" | "fallback";
|
|
465
|
+
/** Confidence score (0-1) from the router */
|
|
466
|
+
confidence: number;
|
|
467
|
+
}
|
|
436
468
|
/**
|
|
437
469
|
* A progress part representing the execution result of a hook.
|
|
438
470
|
* Aligned with the hook output JSON structure: { stopReason, systemMessage, hookSpecificOutput }.
|
|
@@ -463,6 +495,12 @@ export interface IChatTerminalToolInvocationData {
|
|
|
463
495
|
forDisplay?: string;
|
|
464
496
|
isSandboxWrapped?: boolean;
|
|
465
497
|
};
|
|
498
|
+
/**
|
|
499
|
+
* LM-generated intention describing why the command is being run, shown
|
|
500
|
+
* above the command in the terminal tool card. Set by the Agent Host; the
|
|
501
|
+
* built-in terminal tool leaves this unset.
|
|
502
|
+
*/
|
|
503
|
+
intention?: string;
|
|
466
504
|
/** The working directory URI for the terminal */
|
|
467
505
|
cwd?: UriComponents;
|
|
468
506
|
/**
|
|
@@ -529,6 +567,10 @@ export interface IChatTerminalToolInvocationData {
|
|
|
529
567
|
autoApproveInfo?: IMarkdownString;
|
|
530
568
|
/** Names of missing sandbox dependencies that the user may choose to install */
|
|
531
569
|
missingSandboxDependencies?: string[];
|
|
570
|
+
/** Approved repair actions that may make an installed but unusable sandbox dependency work. */
|
|
571
|
+
sandboxRemediations?: string[];
|
|
572
|
+
/** User-visible reason a sandbox prerequisite cannot be repaired automatically. */
|
|
573
|
+
sandboxPrerequisiteFailure?: string;
|
|
532
574
|
}
|
|
533
575
|
/**
|
|
534
576
|
* @deprecated This is the old API shape, we should support this for a while before removing it so
|
|
@@ -540,18 +582,47 @@ export interface ILegacyChatTerminalToolInvocationData {
|
|
|
540
582
|
language: string;
|
|
541
583
|
}
|
|
542
584
|
export declare function isLegacyChatTerminalToolInvocationData(data: unknown): data is ILegacyChatTerminalToolInvocationData;
|
|
585
|
+
/**
|
|
586
|
+
* Routing information for an MCP App's webview sub-RPCs. The kind
|
|
587
|
+
* determines where `tools/call`, `resources/read`,
|
|
588
|
+
* `sampling/createMessage`, etc. are sent:
|
|
589
|
+
*
|
|
590
|
+
* - `local`: resolves the MCP server via {@link IMcpService} from a
|
|
591
|
+
* `serverDefinitionId` + `collectionId`. Used for locally-configured
|
|
592
|
+
* MCP servers whose state lives in the workbench.
|
|
593
|
+
* - `agentHost`: routes through {@link IAgentHostService.handleMcpRequest}
|
|
594
|
+
* on an AHP `mcp://` side channel. Used for MCP servers owned by an
|
|
595
|
+
* agent host (e.g. Copilot CLI).
|
|
596
|
+
*/
|
|
597
|
+
export type ChatMcpAppData = {
|
|
598
|
+
kind: "local";
|
|
599
|
+
/** URI of the UI resource for rendering (e.g., "ui://weather-server/dashboard") */
|
|
600
|
+
resourceUri: string;
|
|
601
|
+
/** Reference to the server definition for reconnection */
|
|
602
|
+
serverDefinitionId: string;
|
|
603
|
+
/** Reference to the collection containing the server */
|
|
604
|
+
collectionId: string;
|
|
605
|
+
} | {
|
|
606
|
+
kind: "agentHost";
|
|
607
|
+
/** URI of the UI resource for rendering (e.g., "ui://weather-server/dashboard") */
|
|
608
|
+
resourceUri: string;
|
|
609
|
+
/** AHP `mcp://` channel URI for the originating server. */
|
|
610
|
+
channel: string;
|
|
611
|
+
/**
|
|
612
|
+
* Stable identifier for the originating server, used as the
|
|
613
|
+
* additional key when computing the webview origin. Typically the
|
|
614
|
+
* AHP customization id. For top-level (bare) MCP servers this id
|
|
615
|
+
* is currently session-scoped, so see {@link ChatMcpAppModel} for
|
|
616
|
+
* how it avoids growing persistent application storage on every
|
|
617
|
+
* new session.
|
|
618
|
+
*/
|
|
619
|
+
serverId: string;
|
|
620
|
+
};
|
|
543
621
|
export interface IChatToolInputInvocationData {
|
|
544
622
|
kind: "input";
|
|
545
623
|
rawInput: any;
|
|
546
624
|
/** Optional MCP App UI metadata for rendering during and after tool execution */
|
|
547
|
-
mcpAppData?:
|
|
548
|
-
/** URI of the UI resource for rendering (e.g., "ui://weather-server/dashboard") */
|
|
549
|
-
resourceUri: string;
|
|
550
|
-
/** Reference to the server definition for reconnection */
|
|
551
|
-
serverDefinitionId: string;
|
|
552
|
-
/** Reference to the collection containing the server */
|
|
553
|
-
collectionId: string;
|
|
554
|
-
};
|
|
625
|
+
mcpAppData?: ChatMcpAppData;
|
|
555
626
|
}
|
|
556
627
|
export declare enum ToolConfirmKind {
|
|
557
628
|
Denied = 0,
|
|
@@ -581,7 +652,7 @@ export type ConfirmedReason = {
|
|
|
581
652
|
};
|
|
582
653
|
export interface IChatToolInvocation {
|
|
583
654
|
readonly presentation: IPreparedToolInvocation["presentation"];
|
|
584
|
-
readonly toolSpecificData?: IChatTerminalToolInvocationData | ILegacyChatTerminalToolInvocationData | IChatToolInputInvocationData | IChatExtensionsContent | IChatPullRequestContent | IChatTodoListContent | IChatSubagentToolInvocationData | IChatSimpleToolInvocationData | IChatSearchToolInvocationData | IChatToolResourcesInvocationData | IChatModifiedFilesConfirmationData;
|
|
655
|
+
readonly toolSpecificData?: IChatTerminalToolInvocationData | ILegacyChatTerminalToolInvocationData | IChatToolInputInvocationData | IChatExtensionsContent | IChatPullRequestContent | IChatTodoListContent | IChatSubagentToolInvocationData | IChatSimpleToolInvocationData | IChatSearchToolInvocationData | IChatToolResourcesInvocationData | IChatModifiedFilesConfirmationData | IChatAgentFeedbackReviewConfirmationData;
|
|
585
656
|
/**
|
|
586
657
|
* Observable that tracks the `kind` of `toolSpecificData`. Used by the
|
|
587
658
|
* tool invocation part to re-render when the kind changes (e.g. from
|
|
@@ -691,7 +762,7 @@ export interface IToolResultOutputDetailsSerialized {
|
|
|
691
762
|
*/
|
|
692
763
|
export interface IChatToolInvocationSerialized {
|
|
693
764
|
presentation: IPreparedToolInvocation["presentation"];
|
|
694
|
-
toolSpecificData?: IChatTerminalToolInvocationData | IChatToolInputInvocationData | IChatExtensionsContent | IChatPullRequestContent | IChatTodoListContent | IChatSubagentToolInvocationData | IChatSimpleToolInvocationData | IChatSearchToolInvocationData | IChatToolResourcesInvocationData | IChatModifiedFilesConfirmationData;
|
|
765
|
+
toolSpecificData?: IChatTerminalToolInvocationData | IChatToolInputInvocationData | IChatExtensionsContent | IChatPullRequestContent | IChatTodoListContent | IChatSubagentToolInvocationData | IChatSimpleToolInvocationData | IChatSearchToolInvocationData | IChatToolResourcesInvocationData | IChatModifiedFilesConfirmationData | IChatAgentFeedbackReviewConfirmationData;
|
|
695
766
|
invocationMessage: string | IMarkdownString;
|
|
696
767
|
originMessage: string | IMarkdownString | undefined;
|
|
697
768
|
pastTenseMessage: string | IMarkdownString | undefined;
|
|
@@ -726,11 +797,21 @@ export interface IChatPullRequestContent {
|
|
|
726
797
|
}
|
|
727
798
|
export interface IChatSubagentToolInvocationData {
|
|
728
799
|
kind: "subagent";
|
|
800
|
+
isActive?: boolean;
|
|
729
801
|
description?: string;
|
|
730
802
|
agentName?: string;
|
|
731
803
|
prompt?: string;
|
|
732
804
|
result?: string;
|
|
733
805
|
modelName?: string;
|
|
806
|
+
credits?: number;
|
|
807
|
+
/**
|
|
808
|
+
* Resource (URI string) of the subagent's own chat, when the subagent runs as
|
|
809
|
+
* a distinct chat (e.g. an agent host worker chat). Used to offer an "Open
|
|
810
|
+
* chat" link that reveals the subagent's read-only chat. Undefined when the
|
|
811
|
+
* subagent has no separately-openable chat. A string (not a `URI`) so it stays
|
|
812
|
+
* serializable across the extension host protocol.
|
|
813
|
+
*/
|
|
814
|
+
chatResource?: string;
|
|
734
815
|
}
|
|
735
816
|
/**
|
|
736
817
|
* Progress type for external tool invocation updates from extensions.
|
|
@@ -791,6 +872,53 @@ export interface IChatModifiedFilesConfirmationData {
|
|
|
791
872
|
readonly description?: string;
|
|
792
873
|
}[];
|
|
793
874
|
}
|
|
875
|
+
/**
|
|
876
|
+
* Confirmation data for the agent host `viewUnreviewedComments` tool. The
|
|
877
|
+
* comments themselves are not carried here: the renderer fetches them (and
|
|
878
|
+
* performs reveal/delete/accept actions) through commands registered by the
|
|
879
|
+
* agent feedback feature, so this workbench/chat layer stays decoupled from the
|
|
880
|
+
* `vs/sessions` feedback model. The renderer resolves the owning session from
|
|
881
|
+
* its render context. Only the confirmation button labels are needed up front.
|
|
882
|
+
*/
|
|
883
|
+
export interface IChatAgentFeedbackReviewConfirmationData {
|
|
884
|
+
readonly kind: "agentFeedbackReviewConfirmation";
|
|
885
|
+
/** Confirmation button labels (first is the primary/approve action). */
|
|
886
|
+
readonly options: readonly string[];
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* A single unreviewed comment shown in the {@link IChatAgentFeedbackReviewConfirmationData}
|
|
890
|
+
* confirmation. Produced by {@link AgentFeedbackReviewCommandId.GetComments}.
|
|
891
|
+
*/
|
|
892
|
+
export interface IChatAgentFeedbackReviewComment {
|
|
893
|
+
readonly id: string;
|
|
894
|
+
/** Localized origin label, e.g. "PR Review" or "Agent Review"; absent for user-authored comments. */
|
|
895
|
+
readonly kindLabel?: string;
|
|
896
|
+
/** The comment body. */
|
|
897
|
+
readonly text: string;
|
|
898
|
+
/** The file the comment is anchored to. */
|
|
899
|
+
readonly fileUri: UriComponents;
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* Command ids the agent feedback review confirmation renderer (workbench/chat)
|
|
903
|
+
* uses to fetch unreviewed comments and apply the user's selection. They are
|
|
904
|
+
* implemented by the agent feedback feature in `vs/sessions`, keeping the chat
|
|
905
|
+
* layer decoupled from the feedback model. Most take the owning session resource
|
|
906
|
+
* (`UriComponents`) as their first argument; {@link AgentFeedbackReviewCommandId.RevealAt}
|
|
907
|
+
* instead resolves the session from the file resource so a rendered tool call
|
|
908
|
+
* can link to a comment without knowing the session URI.
|
|
909
|
+
*/
|
|
910
|
+
export declare enum AgentFeedbackReviewCommandId {
|
|
911
|
+
/** `(sessionResource)` -> `IChatAgentFeedbackReviewComment[]` (the `created` reviewable comments). */
|
|
912
|
+
GetComments = "_agentFeedbackReview.getComments",
|
|
913
|
+
/** `(sessionResource, commentId)` -> opens the file and reveals the comment. */
|
|
914
|
+
Reveal = "_agentFeedbackReview.reveal",
|
|
915
|
+
/** `(resourceUri, range)` -> resolves the owning session and reveals the comment at that file range. */
|
|
916
|
+
RevealAt = "_agentFeedbackReview.revealAt",
|
|
917
|
+
/** `(sessionResource, commentId)` -> deletes the comment entirely. */
|
|
918
|
+
Delete = "_agentFeedbackReview.delete",
|
|
919
|
+
/** `(sessionResource, commentIds)` -> accepts (reveals) the given comments. */
|
|
920
|
+
Accept = "_agentFeedbackReview.accept"
|
|
921
|
+
}
|
|
794
922
|
export interface IChatMcpServersStarting {
|
|
795
923
|
readonly kind: "mcpServersStarting";
|
|
796
924
|
readonly state?: IObservable<IAutostartResult>;
|
|
@@ -802,6 +930,41 @@ export interface IChatMcpServersStartingSerialized {
|
|
|
802
930
|
readonly state?: undefined;
|
|
803
931
|
didStartServerIds?: string[];
|
|
804
932
|
}
|
|
933
|
+
export interface IChatMcpAuthenticationRequired {
|
|
934
|
+
readonly kind: "mcpAuthenticationRequired";
|
|
935
|
+
readonly sessionResource: UriComponents;
|
|
936
|
+
readonly servers: IObservable<readonly IChatMcpAuthenticationRequiredServer[]>;
|
|
937
|
+
isUsed: boolean;
|
|
938
|
+
}
|
|
939
|
+
export interface IChatMcpAuthenticationRequiredServer {
|
|
940
|
+
readonly id: string;
|
|
941
|
+
readonly name: string;
|
|
942
|
+
readonly resource: string;
|
|
943
|
+
readonly authorizationServers?: readonly string[];
|
|
944
|
+
readonly requiredScopes?: readonly string[];
|
|
945
|
+
readonly reason?: string;
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* Surfaced by agent-host sessions when one or more MCP servers are still in the
|
|
949
|
+
* {@link McpServerStatus.Starting starting} state a noticeable time after a
|
|
950
|
+
* turn began without any content arriving from the host. The part lists the
|
|
951
|
+
* servers still starting and updates dynamically via {@link servers}: it hides
|
|
952
|
+
* itself (by emptying the observable) once every server has started, content
|
|
953
|
+
* starts being received, or the turn ends — whichever happens first.
|
|
954
|
+
*
|
|
955
|
+
* Unlike {@link IChatMcpServersStarting} (used by the in-process MCP autostart
|
|
956
|
+
* flow), this is a lightweight progress hint with no interactive affordance
|
|
957
|
+
* (there is no "Skip" button).
|
|
958
|
+
*/
|
|
959
|
+
export interface IChatMcpServersStartingSlow {
|
|
960
|
+
readonly kind: "mcpServersStartingSlow";
|
|
961
|
+
readonly sessionResource: UriComponents;
|
|
962
|
+
readonly servers: IObservable<readonly IChatMcpStartingServer[]>;
|
|
963
|
+
}
|
|
964
|
+
export interface IChatMcpStartingServer {
|
|
965
|
+
readonly id: string;
|
|
966
|
+
readonly name: string;
|
|
967
|
+
}
|
|
805
968
|
export interface IChatDisabledClaudeHooksPart {
|
|
806
969
|
readonly kind: "disabledClaudeHooks";
|
|
807
970
|
}
|
|
@@ -875,7 +1038,7 @@ export declare class ChatMcpServersStarting implements IChatMcpServersStarting {
|
|
|
875
1038
|
wait(): Promise<IAutostartResult>;
|
|
876
1039
|
toJSON(): IChatMcpServersStartingSerialized;
|
|
877
1040
|
}
|
|
878
|
-
export type IChatProgress = IChatMarkdownContent | IChatAgentMarkdownContentWithVulnerability | IChatUsage | IChatTreeData | IChatMultiDiffData | IChatMultiDiffDataSerialized | IChatUsedContext | IChatContentReference | IChatContentInlineReference | IChatCodeCitation | IChatProgressMessage | IChatTask | IChatTaskResult | IChatCommandButton | IChatWarningMessage | IChatInfoMessage | IChatTextEdit | IChatNotebookEdit | IChatWorkspaceEdit | IChatExternalEdit | IChatMoveMessage | IChatResponseCodeblockUriPart | IChatConfirmation | IChatQuestionCarousel | IChatPlanReview | IChatClearToPreviousToolInvocation | IChatToolInvocation | IChatToolInvocationSerialized | IChatExtensionsContent | IChatPullRequestContent | IChatUndoStop | IChatThinkingPart | IChatTaskSerialized | IChatElicitationRequest | IChatElicitationRequestSerialized | IChatMcpServersStarting | IChatMcpServersStartingSerialized | IChatHookPart | IChatExternalToolInvocationUpdate | IChatDisabledClaudeHooksPart;
|
|
1041
|
+
export type IChatProgress = IChatMarkdownContent | IChatAgentMarkdownContentWithVulnerability | IChatUsage | IChatTreeData | IChatMultiDiffData | IChatMultiDiffDataSerialized | IChatUsedContext | IChatContentReference | IChatContentInlineReference | IChatCodeCitation | IChatProgressMessage | IChatSystemNotificationPart | IChatTask | IChatTaskResult | IChatCommandButton | IChatWarningMessage | IChatInfoMessage | IChatTextEdit | IChatNotebookEdit | IChatWorkspaceEdit | IChatExternalEdit | IChatMoveMessage | IChatResponseCodeblockUriPart | IChatConfirmation | IChatQuestionCarousel | IChatPlanReview | IChatClearToPreviousToolInvocation | IChatToolInvocation | IChatToolInvocationSerialized | IChatExtensionsContent | IChatPullRequestContent | IChatUndoStop | IChatThinkingPart | IChatTaskSerialized | IChatElicitationRequest | IChatElicitationRequestSerialized | IChatMcpServersStarting | IChatMcpServersStartingSerialized | IChatMcpAuthenticationRequired | IChatMcpServersStartingSlow | IChatHookPart | IChatExternalToolInvocationUpdate | IChatDisabledClaudeHooksPart | IChatAutoModeResolutionPart;
|
|
879
1042
|
export interface IChatFollowup {
|
|
880
1043
|
kind: "reply";
|
|
881
1044
|
message: string;
|
|
@@ -1109,6 +1272,13 @@ export declare enum ChatRequestQueueKind {
|
|
|
1109
1272
|
export interface IChatSendRequestOptions {
|
|
1110
1273
|
modeInfo?: IChatRequestModeInfo;
|
|
1111
1274
|
userSelectedModelId?: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* The configuration (e.g. context size, thinking effort) for the selected
|
|
1277
|
+
* model as scoped to the requesting editor. When set, it takes precedence
|
|
1278
|
+
* over the global per-model configuration so the value sent matches what the
|
|
1279
|
+
* editor displays. See issue #320393.
|
|
1280
|
+
*/
|
|
1281
|
+
userSelectedModelConfiguration?: IStringDictionary<unknown>;
|
|
1112
1282
|
userSelectedTools?: IObservable<UserSelectedTools>;
|
|
1113
1283
|
location?: ChatAgentLocation;
|
|
1114
1284
|
locationData?: IChatLocationData;
|
|
@@ -34,6 +34,9 @@ var ChatResponseClearToPreviousToolInvocationReason;
|
|
|
34
34
|
})(
|
|
35
35
|
ChatResponseClearToPreviousToolInvocationReason || (ChatResponseClearToPreviousToolInvocationReason = {})
|
|
36
36
|
);
|
|
37
|
+
function formatCopilotCredits(credits) {
|
|
38
|
+
return ( parseFloat(credits.toFixed(1)).toString());
|
|
39
|
+
}
|
|
37
40
|
var ElicitationState;
|
|
38
41
|
(function(ElicitationState) {
|
|
39
42
|
ElicitationState["Pending"] = "pending";
|
|
@@ -221,6 +224,14 @@ var IChatToolInvocation;
|
|
|
221
224
|
}
|
|
222
225
|
IChatToolInvocation.getConfirmationMessages = getConfirmationMessages;
|
|
223
226
|
})(IChatToolInvocation || (IChatToolInvocation = {}));
|
|
227
|
+
var AgentFeedbackReviewCommandId;
|
|
228
|
+
(function(AgentFeedbackReviewCommandId) {
|
|
229
|
+
AgentFeedbackReviewCommandId["GetComments"] = "_agentFeedbackReview.getComments";
|
|
230
|
+
AgentFeedbackReviewCommandId["Reveal"] = "_agentFeedbackReview.reveal";
|
|
231
|
+
AgentFeedbackReviewCommandId["RevealAt"] = "_agentFeedbackReview.revealAt";
|
|
232
|
+
AgentFeedbackReviewCommandId["Delete"] = "_agentFeedbackReview.delete";
|
|
233
|
+
AgentFeedbackReviewCommandId["Accept"] = "_agentFeedbackReview.accept";
|
|
234
|
+
})(AgentFeedbackReviewCommandId || (AgentFeedbackReviewCommandId = {}));
|
|
224
235
|
class ChatMcpServersStarting {
|
|
225
236
|
get isEmpty() {
|
|
226
237
|
const s = this.state.get();
|
|
@@ -311,4 +322,4 @@ var ChatRequestQueueKind;
|
|
|
311
322
|
const ChatStopCancellationNoopEventName = "chat.stopCancellationNoop";
|
|
312
323
|
const ChatPendingRequestChangeEventName = "chat.pendingRequestChange";
|
|
313
324
|
|
|
314
|
-
export { ChatAgentVoteDirection, ChatCopyKind, ChatErrorLevel, ChatMcpServersStarting, ChatPendingRequestChangeEventName, ChatRequestQueueKind, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatSendResult, ChatStopCancellationNoopEventName, ElicitationState, IChatToolInvocation, ResponseModelState, ToolConfirmKind, convertLegacyChatSessionTiming, isChatFollowup, isIDocumentContext, isIUsedContext, isLegacyChatTerminalToolInvocationData };
|
|
325
|
+
export { AgentFeedbackReviewCommandId, ChatAgentVoteDirection, ChatCopyKind, ChatErrorLevel, ChatMcpServersStarting, ChatPendingRequestChangeEventName, ChatRequestQueueKind, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatSendResult, ChatStopCancellationNoopEventName, ElicitationState, IChatToolInvocation, ResponseModelState, ToolConfirmKind, convertLegacyChatSessionTiming, formatCopilotCredits, isChatFollowup, isIDocumentContext, isIUsedContext, isLegacyChatTerminalToolInvocationData };
|
|
@@ -95,6 +95,13 @@ export interface IChatService {
|
|
|
95
95
|
* as needed. Idempotent, safe to call at any time.
|
|
96
96
|
*/
|
|
97
97
|
processPendingRequests(sessionResource: URI): void;
|
|
98
|
+
/**
|
|
99
|
+
* Cancels the in-flight request and immediately sends a single pending
|
|
100
|
+
* (queued or steering) request. Local sessions move it to the front and
|
|
101
|
+
* dequeue it; server-managed (agent host) sessions re-send it as a normal
|
|
102
|
+
* turn, since the server does not drain its queue on cancellation.
|
|
103
|
+
*/
|
|
104
|
+
sendPendingRequestImmediately(sessionResource: URI, requestId: string): Promise<void>;
|
|
98
105
|
addCompleteRequest(sessionResource: URI, message: IParsedChatRequest | string, variableData: IChatRequestVariableData | undefined, attempt: number | undefined, response: IChatCompleteResponse): void;
|
|
99
106
|
setChatSessionTitle(sessionResource: URI, title: string): void;
|
|
100
107
|
getLocalSessionHistory(): Promise<IChatDetail[]>;
|
|
@@ -6,11 +6,23 @@ import { IObservable } from "../../../../base/common/observable.js";
|
|
|
6
6
|
import { ThemeIcon } from "../../../../base/common/themables.js";
|
|
7
7
|
import { URI } from "../../../../base/common/uri.js";
|
|
8
8
|
import { IPosition } from "../../../../editor/common/core/position.js";
|
|
9
|
+
import { ServicesAccessor } from "../../../../platform/instantiation/common/instantiation.js";
|
|
9
10
|
import { IChatAgentAttachmentCapabilities, IChatAgentRequest } from "./participants/chatAgents.js";
|
|
10
11
|
import { IChatEditingSession } from "./editing/chatEditingService.js";
|
|
11
12
|
import { IChatRequestModeInstructions, IChatRequestVariableData, ISerializableChatModelInputState } from "./model/chatModel.js";
|
|
12
|
-
import { IChatProgress, IChatSessionTiming } from "./chatService/chatService.js";
|
|
13
|
+
import { IChatProgress, IChatResponseErrorDetails, IChatSessionTiming } from "./chatService/chatService.js";
|
|
13
14
|
import { Target } from "./promptSyntax/promptTypes.js";
|
|
15
|
+
export declare enum ChatSessionsExtensions {
|
|
16
|
+
AsyncActivation = "workbench.contrib.chatSessions.asyncActivation"
|
|
17
|
+
}
|
|
18
|
+
export interface IAsyncChatSessionActivationContribution {
|
|
19
|
+
matchSessionType(sessionType: string): boolean;
|
|
20
|
+
waitForActivation(accessor: ServicesAccessor, sessionType: string): Promise<boolean>;
|
|
21
|
+
}
|
|
22
|
+
export interface IAsyncChatSessionActivationRegistry {
|
|
23
|
+
register(contribution: IAsyncChatSessionActivationContribution): IDisposable;
|
|
24
|
+
getActivators(sessionType: string): readonly IAsyncChatSessionActivationContribution[];
|
|
25
|
+
}
|
|
14
26
|
export declare enum ChatSessionStatus {
|
|
15
27
|
Failed = 0,
|
|
16
28
|
Completed = 1,
|
|
@@ -34,9 +46,11 @@ export interface IChatSessionProviderOptionModelMetadata {
|
|
|
34
46
|
readonly inputCost?: number;
|
|
35
47
|
readonly outputCost?: number;
|
|
36
48
|
readonly cacheCost?: number;
|
|
49
|
+
readonly cacheWriteCost?: number;
|
|
37
50
|
readonly longContextInputCost?: number;
|
|
38
51
|
readonly longContextOutputCost?: number;
|
|
39
52
|
readonly longContextCacheCost?: number;
|
|
53
|
+
readonly longContextCacheWriteCost?: number;
|
|
40
54
|
readonly priceCategory?: string;
|
|
41
55
|
readonly maxInputTokens?: number;
|
|
42
56
|
readonly maxOutputTokens?: number;
|
|
@@ -121,6 +135,29 @@ export interface IChatSessionsExtensionPoint {
|
|
|
121
135
|
*/
|
|
122
136
|
readonly customAgentTarget?: Target;
|
|
123
137
|
readonly requiresCustomModels?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Whether this session type supports the synthetic "Auto" model fallback.
|
|
140
|
+
* Defaults to true. When false and no models are available, the picker
|
|
141
|
+
* shows a "No models available" state instead of "Auto".
|
|
142
|
+
*
|
|
143
|
+
* This is distinct from {@link requiresCustomModels}, which only controls
|
|
144
|
+
* whether the picker is filtered to the session's own model pool — a
|
|
145
|
+
* session can own a custom pool yet still support Auto (e.g. the Copilot
|
|
146
|
+
* CLI agent host).
|
|
147
|
+
*/
|
|
148
|
+
readonly supportsAutoModel?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Logical Agent Host provider ID for Agent Host-backed chat sessions.
|
|
151
|
+
* For example, both local `agent-host-copilotcli` and remote
|
|
152
|
+
* `remote-{authority}-copilotcli` sessions use `copilotcli`.
|
|
153
|
+
*/
|
|
154
|
+
readonly agentHostProviderId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Whether this type needs a GitHub Copilot account and so is unusable until the user signs in. Set by
|
|
157
|
+
* Copilot-backed types (Copilot CLI / agent host, cloud agent) where BYOK isn't supported. Defaults to false, so
|
|
158
|
+
* third-party types that don't depend on Copilot stay usable while signed out.
|
|
159
|
+
*/
|
|
160
|
+
readonly requiresCopilotSignIn?: boolean;
|
|
124
161
|
/**
|
|
125
162
|
* When false, the delegation picker is hidden for this session type.
|
|
126
163
|
* Defaults to true.
|
|
@@ -181,6 +218,7 @@ export interface IChatSessionFileChange {
|
|
|
181
218
|
readonly originalUri?: URI;
|
|
182
219
|
readonly insertions: number;
|
|
183
220
|
readonly deletions: number;
|
|
221
|
+
readonly reviewed?: boolean;
|
|
184
222
|
}
|
|
185
223
|
export interface IChatSessionFileChange2 {
|
|
186
224
|
readonly uri: URI;
|
|
@@ -188,6 +226,7 @@ export interface IChatSessionFileChange2 {
|
|
|
188
226
|
readonly modifiedUri?: URI;
|
|
189
227
|
readonly insertions: number;
|
|
190
228
|
readonly deletions: number;
|
|
229
|
+
readonly reviewed?: boolean;
|
|
191
230
|
}
|
|
192
231
|
export type IChatSessionHistoryItem = {
|
|
193
232
|
id?: string;
|
|
@@ -205,6 +244,12 @@ export type IChatSessionHistoryItem = {
|
|
|
205
244
|
parts: IChatProgress[];
|
|
206
245
|
participant: string;
|
|
207
246
|
details?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Error details for a failed response. Rendered as a proper chat error
|
|
249
|
+
* (including the quota-exceeded upgrade affordance), mirroring the live
|
|
250
|
+
* agent result's `errorDetails`.
|
|
251
|
+
*/
|
|
252
|
+
errorDetails?: IChatResponseErrorDetails;
|
|
208
253
|
};
|
|
209
254
|
export type IChatSessionRequestHistoryItem = Extract<IChatSessionHistoryItem, {
|
|
210
255
|
type: "request";
|
|
@@ -226,6 +271,8 @@ export declare namespace SessionType {
|
|
|
226
271
|
const Codex = "openai-codex";
|
|
227
272
|
const Growth = "copilot-growth";
|
|
228
273
|
const AgentHostCopilot = "agent-host-copilotcli";
|
|
274
|
+
const AgentHostClaude = "agent-host-claude";
|
|
275
|
+
const AgentHostCodex = "agent-host-codex";
|
|
229
276
|
}
|
|
230
277
|
/**
|
|
231
278
|
* Returns whether the given session type is a local agent host target.
|
|
@@ -290,6 +337,8 @@ export interface IChatSession extends IDisposable {
|
|
|
290
337
|
}
|
|
291
338
|
export interface IChatSessionContentProvider {
|
|
292
339
|
provideChatSessionContent(sessionResource: URI, token: CancellationToken): Promise<IChatSession>;
|
|
340
|
+
/** Resolves a parsed response Markdown URI before it is sanitized and rendered. */
|
|
341
|
+
resolveChatResponseUri?(sessionResource: URI, href: string, kind: "link" | "image"): string;
|
|
293
342
|
/**
|
|
294
343
|
* Optional. Compute completion items for an input being composed in this
|
|
295
344
|
* session. Returning `undefined` lets the workbench fall back to its
|
|
@@ -418,6 +467,12 @@ export interface IChatSessionItemController {
|
|
|
418
467
|
newChatSessionItem?(request: IChatNewSessionRequest, token: CancellationToken): Promise<IChatSessionItem | undefined>;
|
|
419
468
|
getNewChatSessionInputState?(sessionResource: URI, token: CancellationToken): Promise<readonly IChatSessionProviderOptionGroup[] | undefined>;
|
|
420
469
|
resolveChatSessionItem?(resource: URI, token: CancellationToken): Promise<IChatSessionItem | undefined>;
|
|
470
|
+
/**
|
|
471
|
+
* Permanently delete the session identified by `resource`. Implementations should tear down any backend state for
|
|
472
|
+
* the session. The controller is expected to fire an `onDidChangeChatSessionItems` event with the removed resource
|
|
473
|
+
* as a result of the deletion.
|
|
474
|
+
*/
|
|
475
|
+
deleteChatSessionItem?(resource: URI, token: CancellationToken): Promise<void>;
|
|
421
476
|
}
|
|
422
477
|
export interface IChatSessionOptionsChangeEvent {
|
|
423
478
|
readonly sessionResource: URI;
|
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
import { URI } from '../../../../base/common/uri.js';
|
|
3
|
+
import { isRemoteAgentHostSessionType } from '../../../../platform/agentHost/common/agentHostSessionType.js';
|
|
4
|
+
import { Registry } from '../../../../platform/registry/common/platform.js';
|
|
5
|
+
import { LOCAL_AGENT_HOST_SCHEME_PREFIX } from '../../../../platform/agentHost/common/agentHostConnectionsService.js';
|
|
3
6
|
|
|
7
|
+
var ChatSessionsExtensions;
|
|
8
|
+
(function(ChatSessionsExtensions) {
|
|
9
|
+
ChatSessionsExtensions["AsyncActivation"] = "workbench.contrib.chatSessions.asyncActivation";
|
|
10
|
+
})(ChatSessionsExtensions || (ChatSessionsExtensions = {}));
|
|
11
|
+
class AsyncChatSessionActivationRegistry {
|
|
12
|
+
constructor() {
|
|
13
|
+
this._contributions = ( new Set());
|
|
14
|
+
}
|
|
15
|
+
register(contribution) {
|
|
16
|
+
this._contributions.add(contribution);
|
|
17
|
+
return {
|
|
18
|
+
dispose: () => this._contributions.delete(contribution)
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
getActivators(sessionType) {
|
|
22
|
+
return Array.from(this._contributions).filter(contribution => contribution.matchSessionType(sessionType));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
Registry.add(ChatSessionsExtensions.AsyncActivation, ( new AsyncChatSessionActivationRegistry()));
|
|
4
26
|
var ChatSessionStatus;
|
|
5
27
|
(function(ChatSessionStatus) {
|
|
6
28
|
ChatSessionStatus[ChatSessionStatus["Failed"] = 0] = "Failed";
|
|
@@ -17,12 +39,14 @@ var SessionType;
|
|
|
17
39
|
SessionType.Codex = "openai-codex";
|
|
18
40
|
SessionType.Growth = "copilot-growth";
|
|
19
41
|
SessionType.AgentHostCopilot = "agent-host-copilotcli";
|
|
42
|
+
SessionType.AgentHostClaude = "agent-host-claude";
|
|
43
|
+
SessionType.AgentHostCodex = "agent-host-codex";
|
|
20
44
|
})(SessionType || (SessionType = {}));
|
|
21
45
|
function isLocalAgentHostTarget(target) {
|
|
22
|
-
return target === SessionType.AgentHostCopilot || target.startsWith(
|
|
46
|
+
return target === SessionType.AgentHostCopilot || target.startsWith(LOCAL_AGENT_HOST_SCHEME_PREFIX);
|
|
23
47
|
}
|
|
24
48
|
function isRemoteAgentHostTarget(target) {
|
|
25
|
-
return target
|
|
49
|
+
return isRemoteAgentHostSessionType(target);
|
|
26
50
|
}
|
|
27
51
|
function isAgentHostTarget(target) {
|
|
28
52
|
return isLocalAgentHostTarget(target) || isRemoteAgentHostTarget(target);
|
|
@@ -69,4 +93,4 @@ function isIChatSessionFileChange2(obj) {
|
|
|
69
93
|
return candidate && candidate.uri instanceof URI && typeof candidate.insertions === "number" && typeof candidate.deletions === "number";
|
|
70
94
|
}
|
|
71
95
|
|
|
72
|
-
export { ChatSessionOptionsMap, ChatSessionStatus, SessionType, isAgentHostTarget, isIChatSessionFileChange2, isLocalAgentHostTarget, isRemoteAgentHostTarget, isSessionInProgressStatus, localChatSessionType };
|
|
96
|
+
export { ChatSessionOptionsMap, ChatSessionStatus, ChatSessionsExtensions, SessionType, isAgentHostTarget, isIChatSessionFileChange2, isLocalAgentHostTarget, isRemoteAgentHostTarget, isSessionInProgressStatus, localChatSessionType };
|
|
@@ -62,6 +62,8 @@ export interface IChatSessionsService {
|
|
|
62
62
|
registerChatSessionContentProvider(scheme: string, provider: IChatSessionContentProvider): IDisposable;
|
|
63
63
|
canResolveChatSession(sessionType: string): Promise<boolean>;
|
|
64
64
|
getOrCreateChatSession(sessionResource: URI, token: CancellationToken): Promise<IChatSession>;
|
|
65
|
+
/** Resolves a parsed response Markdown URI through its session content provider. */
|
|
66
|
+
resolveChatResponseUri(sessionResource: URI, href: string, kind: "link" | "image"): string;
|
|
65
67
|
/**
|
|
66
68
|
* Compute completion items for an input being composed in the chat
|
|
67
69
|
* session identified by `sessionResource`. Delegates to the registered
|
|
@@ -101,6 +103,19 @@ export interface IChatSessionsService {
|
|
|
101
103
|
*/
|
|
102
104
|
requiresCustomModelsForSessionType(chatSessionType: string): boolean;
|
|
103
105
|
/**
|
|
106
|
+
* Returns whether the session type supports the synthetic "Auto" model
|
|
107
|
+
* fallback. The built-in local chat always supports it; contributed session
|
|
108
|
+
* types default to `false` unless they set `supportsAutoModel`. When false
|
|
109
|
+
* and no models are available, the picker shows a "No models available"
|
|
110
|
+
* state instead of "Auto".
|
|
111
|
+
*/
|
|
112
|
+
supportsAutoModelForSessionType(chatSessionType: string): boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Whether the session type needs a Copilot account and so is unusable until the user signs in (BYOK isn't
|
|
115
|
+
* supported). Defaults to false, so third-party types stay usable while signed out.
|
|
116
|
+
*/
|
|
117
|
+
requiresCopilotSignInForSessionType(chatSessionType: string): boolean;
|
|
118
|
+
/**
|
|
104
119
|
* Returns whether the session type supports delegation.
|
|
105
120
|
* Defaults to true when not explicitly set.
|
|
106
121
|
*/
|
|
@@ -142,11 +157,48 @@ export interface IChatSessionsService {
|
|
|
142
157
|
*/
|
|
143
158
|
createNewChatSessionItem(chatSessionType: string, request: IChatNewSessionRequest, token: CancellationToken): Promise<IChatSessionItem | undefined>;
|
|
144
159
|
/**
|
|
145
|
-
*
|
|
146
|
-
*
|
|
160
|
+
* Permanently deletes a chat session item by delegating to the registered controller's `deleteChatSessionItem`
|
|
161
|
+
* handler. Throws if the controller does not implement `deleteChatSessionItem`.
|
|
162
|
+
*/
|
|
163
|
+
deleteChatSessionItem(sessionResource: URI, token: CancellationToken): Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
* Records the inverse `real → untitled` alias so option lookups for the real
|
|
166
|
+
* session resolve to the untitled session's entry (e.g. {@link updateSessionOptions}).
|
|
167
|
+
*
|
|
168
|
+
* Call this BEFORE the real session loads, and never remove it — the real
|
|
169
|
+
* session keeps reading its options through this alias even after the untitled
|
|
170
|
+
* model is disposed. (Only the forward mapping is cleared, via
|
|
171
|
+
* {@link clearMaterializedSessionResource}.) Publishing the forward mapping is a
|
|
172
|
+
* separate step; see {@link setMaterializedSessionResource}.
|
|
147
173
|
*/
|
|
148
174
|
registerSessionResourceAlias(untitledResource: URI, realResource: URI): void;
|
|
149
175
|
/**
|
|
176
|
+
* Records the forward `untitled → real` mapping (read via
|
|
177
|
+
* {@link getMaterializedSessionResource}) so a late send still addressed to the
|
|
178
|
+
* untitled resource re-targets the real session. Call this only AFTER the real
|
|
179
|
+
* session has loaded.
|
|
180
|
+
*
|
|
181
|
+
* Kept separate from {@link registerSessionResourceAlias} on purpose: the
|
|
182
|
+
* inverse alias must exist BEFORE the load (for option lookups), but this
|
|
183
|
+
* forward mapping must appear only AFTER the real session exists — published
|
|
184
|
+
* earlier, a failed or still-loading session would be re-targeted before it
|
|
185
|
+
* exists (a later send would throw "Unknown session").
|
|
186
|
+
*/
|
|
187
|
+
setMaterializedSessionResource(untitledResource: URI, realResource: URI): void;
|
|
188
|
+
/**
|
|
189
|
+
* Returns the real session resource that `untitledResource` materialized
|
|
190
|
+
* into (via {@link setMaterializedSessionResource}), or `undefined` if it has
|
|
191
|
+
* not materialized or the mapping was already cleared.
|
|
192
|
+
*/
|
|
193
|
+
getMaterializedSessionResource(untitledResource: URI): URI | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* Clears the forward `untitled → real` mapping for `sessionResource` (passed
|
|
196
|
+
* either the untitled key or the real value), so {@link getMaterializedSessionResource}
|
|
197
|
+
* stops re-targeting once the session is disposed. Does NOT remove the inverse
|
|
198
|
+
* alias, which is intentionally permanent (see {@link registerSessionResourceAlias}).
|
|
199
|
+
*/
|
|
200
|
+
clearMaterializedSessionResource(sessionResource: URI): void;
|
|
201
|
+
/**
|
|
150
202
|
* Fires {@link onDidCommitSession} to notify listeners that an untitled
|
|
151
203
|
* session has been committed with a real resource URI.
|
|
152
204
|
*/
|