@codingame/monaco-vscode-api 29.1.1 → 30.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 +39 -16
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +5 -5
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +19 -7
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +81 -15
- package/vscode/src/vs/base/common/codicons.d.ts +4 -0
- package/vscode/src/vs/base/common/codicons.js +3 -1
- package/vscode/src/vs/base/common/glob.js +5 -1
- package/vscode/src/vs/base/common/performance.d.ts +4 -0
- package/vscode/src/vs/base/common/performance.js +40 -17
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +4 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +13 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +106 -74
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +14 -11
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -0
- package/vscode/src/vs/platform/actions/common/actions.js +9 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +34 -7
- package/vscode/src/vs/platform/editor/common/editor.d.ts +29 -4
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environmentService.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +3 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +3 -0
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +2 -2
- package/vscode/src/vs/platform/label/common/label.d.ts +6 -0
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.d.ts +11 -2
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +6 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +14 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +5 -3
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -2
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +4 -0
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.service.d.ts +6 -0
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.service.js +6 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +3 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +5 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +4 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +21 -1
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +57 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +34 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +32 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +11 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +24 -2
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +35 -5
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +70 -4
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +8 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +156 -167
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +77 -77
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.d.ts +0 -6
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +154 -154
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +65 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +26 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +21 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +21 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +8 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +165 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +1409 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +87 -83
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +5 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +13 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatPerf.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatPerf.js +30 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +9 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +1 -13
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +1 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +45 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +17 -4
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +48 -5
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +46 -18
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.service.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +54 -20
- 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 +3 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +3 -7
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +36 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +3 -29
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +2 -18
- 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 +78 -88
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +28 -23
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +1 -7
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.service.d.ts +2 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +41 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +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 +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/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/abstractRuntimeExtensionsEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +148 -148
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +170 -170
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +47 -47
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +76 -76
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +27 -27
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +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/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +34 -34
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- 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/browser/model/textModelDiffs.js +20 -9
- 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/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 +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +27 -27
- 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/viewModel/notebookViewModelImpl.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +30 -13
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
- 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.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +32 -5
- 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 +5 -5
- 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/terminal.d.ts +1 -1
- 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.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +43 -45
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +13 -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 +10 -3
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +10 -3
- 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 +10 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +134 -91
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.service.d.ts +6 -2
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +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/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +4 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +27 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +9 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +1 -0
- 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/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +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/themes/common/workbenchThemeService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +8 -4
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +0 -4
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +19 -1
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +168 -0
- package/vscode-dts/vscode.proposed.d.ts +1 -0
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -746
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -300
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +0 -273
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1963
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -314
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +0 -258
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -886
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -118
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -71
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +0 -313
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +0 -51
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +0 -265
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +0 -185
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +0 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +0 -69
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +0 -469
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +0 -149
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -933
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +0 -180
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +0 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -643
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -197
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +0 -75
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -539
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -39
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -90
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +0 -92
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Event } from "../../../base/common/event.js";
|
|
1
2
|
import { IDisposable } from "../../../base/common/lifecycle.js";
|
|
2
3
|
import { URI } from "../../../base/common/uri.js";
|
|
3
4
|
import { IUriIdentityService } from "../../uriIdentity/common/uriIdentity.service.js";
|
|
@@ -267,10 +268,6 @@ export interface IModalEditorPartOptions {
|
|
|
267
268
|
* Whether the modal editor should be maximized.
|
|
268
269
|
*/
|
|
269
270
|
readonly maximized?: boolean;
|
|
270
|
-
/**
|
|
271
|
-
* Minimum width of the modal editor part in pixels.
|
|
272
|
-
*/
|
|
273
|
-
readonly minWidth?: number;
|
|
274
271
|
/**
|
|
275
272
|
* Size of the modal editor part unless it is maximized.
|
|
276
273
|
*/
|
|
@@ -290,6 +287,34 @@ export interface IModalEditorPartOptions {
|
|
|
290
287
|
* within this modal editor. Pass `undefined` to clear.
|
|
291
288
|
*/
|
|
292
289
|
readonly navigation?: IModalEditorNavigation;
|
|
290
|
+
/**
|
|
291
|
+
* Optional sidebar content to render on the left side of the
|
|
292
|
+
* modal editor. The caller provides a render callback that
|
|
293
|
+
* receives a container element and a layout callback, and
|
|
294
|
+
* returns a disposable to clean up when the modal closes.
|
|
295
|
+
*
|
|
296
|
+
* Note: the sidebar will only be shown when provided during
|
|
297
|
+
* opening and cannot currently be added, removed, or updated
|
|
298
|
+
* after the modal editor is opened.
|
|
299
|
+
*/
|
|
300
|
+
readonly sidebar?: IModalEditorSidebarContent;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Content to render in the modal editor sidebar.
|
|
304
|
+
*/
|
|
305
|
+
export interface IModalEditorSidebarContent {
|
|
306
|
+
/**
|
|
307
|
+
* Render the sidebar content into the given container.
|
|
308
|
+
*
|
|
309
|
+
* @param container The DOM element to render into.
|
|
310
|
+
* @param onDidLayout An event that fires when the sidebar is
|
|
311
|
+
* laid out with the available dimensions.
|
|
312
|
+
* @returns A disposable to clean up when the modal closes.
|
|
313
|
+
*/
|
|
314
|
+
readonly render: (container: unknown, onDidLayout: Event<{
|
|
315
|
+
readonly height: number;
|
|
316
|
+
readonly width: number;
|
|
317
|
+
}>) => IDisposable;
|
|
293
318
|
}
|
|
294
319
|
/**
|
|
295
320
|
* Context for navigating between items within a modal editor.
|
|
@@ -65,6 +65,7 @@ export interface NativeParsedArgs {
|
|
|
65
65
|
"extensions-dir"?: string;
|
|
66
66
|
"extensions-download-dir"?: string;
|
|
67
67
|
"builtin-extensions-dir"?: string;
|
|
68
|
+
"agent-plugins-dir"?: string;
|
|
68
69
|
extensionDevelopmentPath?: string[];
|
|
69
70
|
extensionTestsPath?: string;
|
|
70
71
|
extensionDevelopmentKind?: string[];
|
|
@@ -48,6 +48,7 @@ export declare abstract class AbstractNativeEnvironmentService implements INativ
|
|
|
48
48
|
get builtinExtensionsPath(): string;
|
|
49
49
|
get extensionsDownloadLocation(): URI;
|
|
50
50
|
get extensionsPath(): string;
|
|
51
|
+
get agentPluginsPath(): string;
|
|
51
52
|
get extensionDevelopmentLocationURI(): URI[] | undefined;
|
|
52
53
|
get extensionDevelopmentKind(): ExtensionKind[] | undefined;
|
|
53
54
|
get extensionTestsLocationURI(): URI | undefined;
|
|
@@ -1433,6 +1433,7 @@ export interface IExtensionContributions {
|
|
|
1433
1433
|
readonly chatInstructions?: ReadonlyArray<IChatFileContribution>;
|
|
1434
1434
|
readonly chatAgents?: ReadonlyArray<IChatFileContribution>;
|
|
1435
1435
|
readonly chatSkills?: ReadonlyArray<IChatFileContribution>;
|
|
1436
|
+
readonly chatPlugins?: ReadonlyArray<IChatFileContribution>;
|
|
1436
1437
|
readonly languageModelTools?: ReadonlyArray<IToolContribution>;
|
|
1437
1438
|
readonly languageModelToolSets?: ReadonlyArray<IToolSetContribution>;
|
|
1438
1439
|
readonly mcpServerDefinitionProviders?: ReadonlyArray<IMcpCollectionContribution>;
|
|
@@ -74,6 +74,9 @@ const _allApiProposals = {
|
|
|
74
74
|
chatReferenceDiagnostic: {
|
|
75
75
|
proposal: "https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatReferenceDiagnostic.d.ts"
|
|
76
76
|
},
|
|
77
|
+
chatSessionCustomizationProvider: {
|
|
78
|
+
proposal: "https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts"
|
|
79
|
+
},
|
|
77
80
|
chatSessionsProvider: {
|
|
78
81
|
proposal: "https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts",
|
|
79
82
|
version: 3
|
|
@@ -40,13 +40,13 @@ function parseKeyboardLayoutDescription(layout) {
|
|
|
40
40
|
}
|
|
41
41
|
if (/^com\.apple\.keylayout\./.test(macLayout.id)) {
|
|
42
42
|
return {
|
|
43
|
-
label: macLayout.id.replace(/^com\.apple\.keylayout\./, "").replace(
|
|
43
|
+
label: macLayout.id.replace(/^com\.apple\.keylayout\./, "").replace(/-/g, " "),
|
|
44
44
|
description: ""
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
if (/^.*inputmethod\./.test(macLayout.id)) {
|
|
48
48
|
return {
|
|
49
|
-
label: macLayout.id.replace(/^.*inputmethod\./, "").replace(/[-\.]
|
|
49
|
+
label: macLayout.id.replace(/^.*inputmethod\./, "").replace(/[-\.]/g, " "),
|
|
50
50
|
description: `Input Method (${macLayout.lang})`
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -21,4 +21,10 @@ export interface ResourceLabelFormatting {
|
|
|
21
21
|
workspaceTooltip?: string;
|
|
22
22
|
authorityPrefix?: string;
|
|
23
23
|
stripPathStartingSeparator?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Number of leading path segments to strip from `${path}` before
|
|
26
|
+
* substitution. For example, a value of `2` turns
|
|
27
|
+
* `/scheme/authority/rest/of/path` into `/rest/of/path`.
|
|
28
|
+
*/
|
|
29
|
+
stripPathSegments?: number;
|
|
24
30
|
}
|
|
@@ -4,9 +4,9 @@ import productJson from '../../../../../product.json.js';
|
|
|
4
4
|
var product = {
|
|
5
5
|
...productJson,
|
|
6
6
|
quality: 'stable',
|
|
7
|
-
version: '1.
|
|
8
|
-
commit: '
|
|
9
|
-
date: '2026-
|
|
7
|
+
version: '1.114.0',
|
|
8
|
+
commit: 'e7fb5e96c0730b9deb70b33781f98e2f35975036',
|
|
9
|
+
date: '2026-04-01T14:55:41.293Z',
|
|
10
10
|
...(globalThis._VSCODE_PRODUCT_JSON ?? {})
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -36,12 +36,21 @@ export interface IPickerQuickAccessItem extends IQuickPickItem {
|
|
|
36
36
|
* @param buttonIndex index of the button of the item that
|
|
37
37
|
* was clicked.
|
|
38
38
|
*
|
|
39
|
-
* @param the state of modifier keys when the button was triggered.
|
|
39
|
+
* @param keyMods the state of modifier keys when the button was triggered.
|
|
40
40
|
*
|
|
41
41
|
* @returns a value that indicates what should happen after the trigger
|
|
42
42
|
* which can be a `Promise` for long running operations.
|
|
43
43
|
*/
|
|
44
44
|
trigger?(buttonIndex: number, keyMods: IKeyMods): TriggerAction | Promise<TriggerAction>;
|
|
45
|
+
/**
|
|
46
|
+
* When set, this will be invoked instead of `accept` if modifier keys are held down.
|
|
47
|
+
* This is useful for actions like "attach to context" where you want to keep the picker
|
|
48
|
+
* open and allow multiple picks.
|
|
49
|
+
*
|
|
50
|
+
* @param keyMods the state of modifier keys when the item was accepted.
|
|
51
|
+
* @param event the underlying event that caused this to trigger.
|
|
52
|
+
*/
|
|
53
|
+
attach?(keyMods: IKeyMods, event: IQuickPickDidAcceptEvent): void;
|
|
45
54
|
}
|
|
46
55
|
export interface IPickerQuickAccessSeparator extends IQuickPickSeparator {
|
|
47
56
|
/**
|
|
@@ -51,7 +60,7 @@ export interface IPickerQuickAccessSeparator extends IQuickPickSeparator {
|
|
|
51
60
|
* @param buttonIndex index of the button of the item that
|
|
52
61
|
* was clicked.
|
|
53
62
|
*
|
|
54
|
-
* @param the state of modifier keys when the button was triggered.
|
|
63
|
+
* @param keyMods the state of modifier keys when the button was triggered.
|
|
55
64
|
*
|
|
56
65
|
* @returns a value that indicates what should happen after the trigger
|
|
57
66
|
* which can be a `Promise` for long running operations.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { timeout } from '../../../base/common/async.js';
|
|
3
3
|
import { CancellationTokenSource } from '../../../base/common/cancellation.js';
|
|
4
4
|
import { Disposable, DisposableStore, MutableDisposable } from '../../../base/common/lifecycle.js';
|
|
5
|
+
import { isKeyModified } from '../common/quickInput.js';
|
|
5
6
|
import { isFunction } from '../../../base/common/types.js';
|
|
6
7
|
|
|
7
8
|
var TriggerAction;
|
|
@@ -166,6 +167,11 @@ class PickerQuickAccessProvider extends Disposable {
|
|
|
166
167
|
}
|
|
167
168
|
const [item] = picker.selectedItems;
|
|
168
169
|
if (typeof item?.accept === "function") {
|
|
170
|
+
const isAttachAction = isKeyModified(picker.keyMods) && !!item.attach;
|
|
171
|
+
if (isAttachAction) {
|
|
172
|
+
item.attach(picker.keyMods, event);
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
169
175
|
if (!event.inBackground) {
|
|
170
176
|
picker.hide();
|
|
171
177
|
}
|
|
@@ -49,6 +49,18 @@ function getSecondary(primary, secondary, options = {}) {
|
|
|
49
49
|
secondary.push(KeyMod$1.Alt + ctrlKeyMod + primary);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
if (options.withShiftMod) {
|
|
53
|
+
secondary.push(KeyMod$1.Shift + primary);
|
|
54
|
+
if (options.withAltMod) {
|
|
55
|
+
secondary.push(KeyMod$1.Alt + KeyMod$1.Shift + primary);
|
|
56
|
+
}
|
|
57
|
+
if (options.withCtrlMod) {
|
|
58
|
+
secondary.push(ctrlKeyMod + KeyMod$1.Shift + primary);
|
|
59
|
+
if (options.withAltMod) {
|
|
60
|
+
secondary.push(KeyMod$1.Alt + ctrlKeyMod + KeyMod$1.Shift + primary);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
52
64
|
if (options.withCmdMod && isMacintosh) {
|
|
53
65
|
secondary.push(KeyMod$1.CtrlCmd + primary);
|
|
54
66
|
if (options.withCtrlMod) {
|
|
@@ -211,7 +223,8 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
211
223
|
secondary: getSecondary(KeyCode.Enter, [], {
|
|
212
224
|
withAltMod: true,
|
|
213
225
|
withCtrlMod: true,
|
|
214
|
-
withCmdMod: true
|
|
226
|
+
withCmdMod: true,
|
|
227
|
+
withShiftMod: true
|
|
215
228
|
})
|
|
216
229
|
});
|
|
217
230
|
registerQuickPickCommandAndKeybindingRule({
|
|
@@ -79,7 +79,8 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
79
79
|
this.onDidTriggerButtonEmitter = this._register(( new Emitter()));
|
|
80
80
|
this.keyMods = {
|
|
81
81
|
ctrlCmd: false,
|
|
82
|
-
alt: false
|
|
82
|
+
alt: false,
|
|
83
|
+
shift: false
|
|
83
84
|
};
|
|
84
85
|
this.controller = null;
|
|
85
86
|
this.onShowEmitter = this._register(( new Emitter()));
|
|
@@ -117,6 +118,7 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
117
118
|
const listener = e => {
|
|
118
119
|
this.keyMods.ctrlCmd = e.ctrlKey || e.metaKey;
|
|
119
120
|
this.keyMods.alt = e.altKey;
|
|
121
|
+
this.keyMods.shift = e.shiftKey;
|
|
120
122
|
};
|
|
121
123
|
for (const event of [EventType.KEY_DOWN, EventType.KEY_UP, EventType.MOUSE_DOWN]) {
|
|
122
124
|
disposables.add(addDisposableListener(window, event, listener, true));
|
|
@@ -752,11 +754,13 @@ let QuickInputController = class QuickInputController extends Disposable {
|
|
|
752
754
|
async accept(
|
|
753
755
|
keyMods = {
|
|
754
756
|
alt: false,
|
|
755
|
-
ctrlCmd: false
|
|
757
|
+
ctrlCmd: false,
|
|
758
|
+
shift: false
|
|
756
759
|
}
|
|
757
760
|
) {
|
|
758
761
|
this.keyMods.alt = keyMods.alt;
|
|
759
762
|
this.keyMods.ctrlCmd = keyMods.ctrlCmd;
|
|
763
|
+
this.keyMods.shift = keyMods.shift;
|
|
760
764
|
this.onDidAcceptEmitter.fire();
|
|
761
765
|
}
|
|
762
766
|
async back() {
|
|
@@ -102,7 +102,9 @@ export interface IQuickPickSeparator {
|
|
|
102
102
|
export interface IKeyMods {
|
|
103
103
|
readonly ctrlCmd: boolean;
|
|
104
104
|
readonly alt: boolean;
|
|
105
|
+
readonly shift: boolean;
|
|
105
106
|
}
|
|
107
|
+
export declare function isKeyModified(keyMods: IKeyMods): boolean;
|
|
106
108
|
export declare const NO_KEY_MODS: IKeyMods;
|
|
107
109
|
export interface IQuickNavigateConfiguration {
|
|
108
110
|
keybindings: readonly ResolvedKeybinding[];
|
|
@@ -169,7 +171,7 @@ export interface IPickOptions<T extends IQuickPickItem> {
|
|
|
169
171
|
/**
|
|
170
172
|
* an optional anchor for the picker
|
|
171
173
|
*/
|
|
172
|
-
anchor?:
|
|
174
|
+
anchor?: unknown | {
|
|
173
175
|
x: number;
|
|
174
176
|
y: number;
|
|
175
177
|
};
|
|
@@ -307,7 +309,7 @@ export interface IQuickInput extends IDisposable {
|
|
|
307
309
|
/**
|
|
308
310
|
* An optional anchor for the quick input.
|
|
309
311
|
*/
|
|
310
|
-
anchor?:
|
|
312
|
+
anchor?: unknown | {
|
|
311
313
|
x: number;
|
|
312
314
|
y: number;
|
|
313
315
|
};
|
|
@@ -338,7 +340,7 @@ export interface IQuickWidget extends IQuickInput {
|
|
|
338
340
|
/**
|
|
339
341
|
* A HTML element that will be rendered inside the quick input.
|
|
340
342
|
*/
|
|
341
|
-
widget:
|
|
343
|
+
widget: unknown | undefined;
|
|
342
344
|
}
|
|
343
345
|
export interface IQuickPickWillAcceptEvent {
|
|
344
346
|
/**
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
import { Schemas } from '../../../base/common/network.js';
|
|
3
3
|
|
|
4
|
+
function isKeyModified(keyMods) {
|
|
5
|
+
return keyMods.ctrlCmd || keyMods.alt || keyMods.shift;
|
|
6
|
+
}
|
|
4
7
|
const NO_KEY_MODS = {
|
|
5
8
|
ctrlCmd: false,
|
|
6
|
-
alt: false
|
|
9
|
+
alt: false,
|
|
10
|
+
shift: false
|
|
7
11
|
};
|
|
8
12
|
var QuickInputHideReason;
|
|
9
13
|
(function(QuickInputHideReason) {
|
|
@@ -68,4 +72,4 @@ class QuickPickItemScorerAccessor {
|
|
|
68
72
|
}
|
|
69
73
|
const quickPickItemScorerAccessor = ( new QuickPickItemScorerAccessor());
|
|
70
74
|
|
|
71
|
-
export { ItemActivation, NO_KEY_MODS, QuickInputButtonLocation, QuickInputHideReason, QuickInputType, QuickPickFocus, QuickPickItemScorerAccessor, quickPickItemScorerAccessor };
|
|
75
|
+
export { ItemActivation, NO_KEY_MODS, QuickInputButtonLocation, QuickInputHideReason, QuickInputType, QuickPickFocus, QuickPickItemScorerAccessor, isKeyModified, quickPickItemScorerAccessor };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ISandboxDependencyStatus } from "./sandboxHelperService.js";
|
|
2
|
+
export declare const ISandboxHelperService: import("../../instantiation/common/instantiation.js").ServiceIdentifier<ISandboxHelperService>;
|
|
3
|
+
export interface ISandboxHelperService {
|
|
4
|
+
readonly _serviceBrand: undefined;
|
|
5
|
+
checkSandboxDependencies(): Promise<ISandboxDependencyStatus | undefined>;
|
|
6
|
+
}
|
|
@@ -114,7 +114,6 @@ export declare enum TerminalSettingId {
|
|
|
114
114
|
FontLigaturesFallbackLigatures = "terminal.integrated.fontLigatures.fallbackLigatures",
|
|
115
115
|
EnableKittyKeyboardProtocol = "terminal.integrated.enableKittyKeyboardProtocol",
|
|
116
116
|
EnableWin32InputMode = "terminal.integrated.enableWin32InputMode",
|
|
117
|
-
ExperimentalAiProfileGrouping = "terminal.integrated.experimental.aiProfileGrouping",
|
|
118
117
|
AllowInUntrustedWorkspace = "terminal.integrated.allowInUntrustedWorkspace",
|
|
119
118
|
/** Simulated latency applied to all calls made to the pty host */
|
|
120
119
|
DeveloperPtyHostLatency = "terminal.integrated.developer.ptyHost.latency",
|
|
@@ -871,6 +870,9 @@ export declare enum ShellIntegrationInjectionFailureReason {
|
|
|
871
870
|
*/
|
|
872
871
|
FailedToCreateTmpDir = "failedToCreateTmpDir"
|
|
873
872
|
}
|
|
873
|
+
export declare enum ShellIntegrationTimeoutOverride {
|
|
874
|
+
DisableForTests = -2
|
|
875
|
+
}
|
|
874
876
|
export declare enum TerminalExitReason {
|
|
875
877
|
Unknown = 0,
|
|
876
878
|
Shutdown = 1,
|
|
@@ -107,7 +107,6 @@ var TerminalSettingId;
|
|
|
107
107
|
TerminalSettingId["FontLigaturesFallbackLigatures"] = "terminal.integrated.fontLigatures.fallbackLigatures";
|
|
108
108
|
TerminalSettingId["EnableKittyKeyboardProtocol"] = "terminal.integrated.enableKittyKeyboardProtocol";
|
|
109
109
|
TerminalSettingId["EnableWin32InputMode"] = "terminal.integrated.enableWin32InputMode";
|
|
110
|
-
TerminalSettingId["ExperimentalAiProfileGrouping"] = "terminal.integrated.experimental.aiProfileGrouping";
|
|
111
110
|
TerminalSettingId["AllowInUntrustedWorkspace"] = "terminal.integrated.allowInUntrustedWorkspace";
|
|
112
111
|
TerminalSettingId["DeveloperPtyHostLatency"] = "terminal.integrated.developer.ptyHost.latency";
|
|
113
112
|
TerminalSettingId["DeveloperPtyHostStartupDelay"] = "terminal.integrated.developer.ptyHost.startupDelay";
|
|
@@ -220,6 +219,10 @@ var ShellIntegrationInjectionFailureReason;
|
|
|
220
219
|
})(
|
|
221
220
|
ShellIntegrationInjectionFailureReason || (ShellIntegrationInjectionFailureReason = {})
|
|
222
221
|
);
|
|
222
|
+
var ShellIntegrationTimeoutOverride;
|
|
223
|
+
(function(ShellIntegrationTimeoutOverride) {
|
|
224
|
+
ShellIntegrationTimeoutOverride[ShellIntegrationTimeoutOverride["DisableForTests"] = -2] = "DisableForTests";
|
|
225
|
+
})(ShellIntegrationTimeoutOverride || (ShellIntegrationTimeoutOverride = {}));
|
|
223
226
|
var TerminalExitReason;
|
|
224
227
|
(function(TerminalExitReason) {
|
|
225
228
|
TerminalExitReason[TerminalExitReason["Unknown"] = 0] = "Unknown";
|
|
@@ -267,4 +270,4 @@ class TerminalBackendRegistry {
|
|
|
267
270
|
}
|
|
268
271
|
Registry.add(TerminalExtensions.Backend, ( new TerminalBackendRegistry()));
|
|
269
272
|
|
|
270
|
-
export { FlowControlConstants, GeneralShellType, HeartbeatConstants, LocalReconnectConstants, PosixShellType, ProcessPropertyType, ProfileSource, ShellIntegrationInjectionFailureReason, ShellIntegrationStatus, TerminalBackendChangeEvent, TerminalExitReason, TerminalExtensions, TerminalIpcChannels, TerminalLocation, TerminalLocationConfigValue, TerminalSettingId, TerminalSettingPrefix, TitleEventSource, WindowsShellType };
|
|
273
|
+
export { FlowControlConstants, GeneralShellType, HeartbeatConstants, LocalReconnectConstants, PosixShellType, ProcessPropertyType, ProfileSource, ShellIntegrationInjectionFailureReason, ShellIntegrationStatus, ShellIntegrationTimeoutOverride, TerminalBackendChangeEvent, TerminalExitReason, TerminalExtensions, TerminalIpcChannels, TerminalLocation, TerminalLocationConfigValue, TerminalSettingId, TerminalSettingPrefix, TitleEventSource, WindowsShellType };
|
|
@@ -110,6 +110,10 @@ export interface IColorRegistry {
|
|
|
110
110
|
* JSON schema to for a reference to a color contribution.
|
|
111
111
|
*/
|
|
112
112
|
getColorReferenceSchema(): IJSONSchema;
|
|
113
|
+
/**
|
|
114
|
+
* Update the default color of a color identifier.
|
|
115
|
+
*/
|
|
116
|
+
updateDefaultColor(id: string, defaults: ColorDefaults | ColorValue | null): void;
|
|
113
117
|
/**
|
|
114
118
|
* Notify when the color theme or settings change.
|
|
115
119
|
*/
|
|
@@ -96,6 +96,15 @@ class ColorRegistry extends Disposable {
|
|
|
96
96
|
this._onDidChangeSchema.fire();
|
|
97
97
|
return id;
|
|
98
98
|
}
|
|
99
|
+
updateDefaultColor(id, defaults) {
|
|
100
|
+
const existing = this.colorsById[id];
|
|
101
|
+
if (existing) {
|
|
102
|
+
this.colorsById[id] = {
|
|
103
|
+
...existing,
|
|
104
|
+
defaults
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
}
|
|
99
108
|
deregisterColor(id) {
|
|
100
109
|
delete this.colorsById[id];
|
|
101
110
|
delete this.colorSchema.properties[id];
|
|
@@ -100,7 +100,7 @@ import { ExtHostTimeline } from './extHostTimeline.js';
|
|
|
100
100
|
import { ExtHostTreeViews } from './extHostTreeViews.js';
|
|
101
101
|
import { IExtHostTunnelService } from './extHostTunnelService.js';
|
|
102
102
|
import { LanguageSelector } from './extHostTypeConverters.js';
|
|
103
|
-
import { ExtensionKind, ProgressLocation, ChatDebugSubagentStatus, ChatTodoStatus, SettingsSearchResultKind, McpToolInvocationContentData, McpToolAvailability, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, ExtendedLanguageModelToolResult, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelPartAudience, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatDebugEventHookContent, ChatDebugEventModelTurnContent, ChatDebugEventToolCallContent, ChatDebugEventMessageContent, ChatDebugMessageContentType, ChatDebugEventTextContent, ChatDebugMessageSection, ChatDebugAgentResponseEvent, ChatDebugUserMessageEvent, ChatDebugSubagentInvocationEvent, ChatDebugGenericEvent, ChatDebugModelTurnEvent, ChatDebugToolCallEvent, ChatDebugHookResult, ChatDebugToolCallResult, ChatDebugLogLevel, ChatSessionStatus, ChatLocation, ChatToolInvocationPart, ChatSubagentToolInvocationData, ChatResponseTurn2, ChatResponseTurn, ChatRequestTurn, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatResponseMultiDiffPart, ChatResponsePullRequestPart, ChatResponseExternalEditPart, ChatResponseExtensionsPart, ChatResponseMovePart, ChatResponseQuestionCarouselPart, ChatQuestionType, ChatQuestion, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWorkspaceEditPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseHookPart, ChatResponseThinkingProgressPart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, ChatImageMimeType, KeywordRecognitionStatus, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatSessionChangedFile2, ChatSessionChangedFile, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookCellExecutionState, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRunOn, TaskRevealKind, TaskPanelKind, TaskGroup, TaskEventKind, Task, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, RelativePattern, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, PortAutoForwardAction, ParameterInformation, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionsDisposeReasonKind, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
103
|
+
import { ExtensionKind, ProgressLocation, ChatDebugSubagentStatus, ChatTodoStatus, SettingsSearchResultKind, McpToolInvocationContentData, McpToolAvailability, McpStdioServerDefinition, McpHttpServerDefinition, ChatErrorLevel, NewSymbolNameTriggerKind, NewSymbolNameTag, NewSymbolName, LanguageModelPromptTsxPart, LanguageModelChatToolMode, ExtendedLanguageModelToolResult, LanguageModelToolMCPSource, LanguageModelToolExtensionSource, LanguageModelDataPart, LanguageModelToolResult2, LanguageModelToolResult, LanguageModelError, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelPartAudience, LanguageModelTextPart, LanguageModelToolResultPart, LanguageModelChatMessage2, LanguageModelChatMessage, LanguageModelChatMessageRole, ChatRequestEditedFileEventKind, ChatReferenceBinaryData, ChatRequestNotebookData, ChatRequestEditorData, ChatDebugEventHookContent, ChatDebugEventModelTurnContent, ChatDebugEventToolCallContent, ChatDebugEventMessageContent, ChatDebugMessageContentType, ChatDebugEventTextContent, ChatDebugMessageSection, ChatDebugAgentResponseEvent, ChatDebugUserMessageEvent, ChatDebugSubagentInvocationEvent, ChatDebugGenericEvent, ChatDebugModelTurnEvent, ChatDebugToolCallEvent, ChatDebugHookResult, ChatDebugToolCallResult, ChatDebugLogLevel, ChatSessionCustomizationType, ChatSessionStatus, ChatLocation, ChatToolInvocationPart, ChatSubagentToolInvocationData, ChatResponseTurn2, ChatResponseTurn, ChatRequestTurn, ChatResponseClearToPreviousToolInvocationReason, ChatResponseReferencePartStatusKind, ChatResponseMultiDiffPart, ChatResponsePullRequestPart, ChatResponseExternalEditPart, ChatResponseExtensionsPart, ChatResponseMovePart, ChatResponseQuestionCarouselPart, ChatQuestionType, ChatQuestion, ChatResponseConfirmationPart, ChatResponseCommandButtonPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWorkspaceEditPart, ChatResponseNotebookEditPart, ChatResponseTextEditPart, ChatResponseWarningPart, ChatResponseCodeblockUriPart, ChatResponseCodeCitationPart, ChatResponseReferencePart, ChatResponseHookPart, ChatResponseThinkingProgressPart, ChatResponseProgressPart2, ChatResponseProgressPart, ChatResponseAnchorPart, ChatResponseFileTreePart, ChatResponseMarkdownPart, ChatImageMimeType, KeywordRecognitionStatus, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, PartialAcceptTriggerKind, TextToSpeechStatus, SpeechToTextStatus, RelatedInformationType, DebugThread, DebugStackFrame, InteractiveEditorResponseFeedbackKind, ChatEditingSessionActionOutcome, ChatSessionChangedFile2, ChatSessionChangedFile, ChatCopyKind, InteractiveSessionVoteDirection, TextMultiDiffTabInput, ChatEditorTabInput, InteractiveWindowInput, TerminalEditorTabInput, WebviewEditorTabInput, NotebookDiffEditorTabInput, NotebookEditorTabInput, CustomEditorTabInput, TextMergeTabInput, TextDiffTabInput, TextTabInput, InputBoxValidationSeverity, QuickPickItemKind, LanguageStatusSeverity, WorkspaceTrustState, DeclarationCoverage, BranchCoverage, StatementCoverage, FileCoverage, TestCoverageCount, DataTransferItem, DataTransfer, TestRunProfileKind, TestTag, TestMessageStackFrame, TestMessage, TestRunRequest, TestResultState, LinkedEditingRanges, PortAttributes, NotebookVariablesRequestKind, NotebookKernelSourceAction, NotebookControllerAffinity2, NotebookControllerAffinity, NotebookCellStatusBarItem, CellErrorStackFrame, NotebookEditorRevealType, NotebookCellStatusBarAlignment, NotebookRendererScript, NotebookCellExecutionState, TimelineItem, ExtensionRuntime, SourceControlInputBoxValidationType, ManagedResolvedAuthority, ResolvedAuthority, RemoteAuthorityResolverError, InlayHintKind, InlayHintLabelPart, InlayHint, DocumentPasteEdit, DocumentDropOrPasteEditKind, DocumentDropEdit, DocumentPasteTriggerKind, ViewColumn, TypeHierarchyItem, TreeItemCollapsibleState, TreeItemCheckboxState, TreeItem, ThemeIcon, ThemeColor, TextDocumentChangeReason, SyntaxTokenType, TextEditorSelectionChangeKind, TextEditorRevealType, TextEditorLineNumbersStyle, TextEditorChangeKind, TextDocumentSaveReason, TerminalShellType, TerminalCompletionList, TerminalCompletionItemKind, TerminalCompletionItem, TerminalShellExecutionCommandLineConfidence, TerminalExitReason, TerminalProfile, TerminalLocation, TerminalQuickFixOpener, TerminalQuickFixCommand, TerminalLink, TaskScope, TaskRunOn, TaskRevealKind, TaskPanelKind, TaskGroup, TaskEventKind, Task, StatusBarAlignment, StandardTokenType, SourceBreakpoint, SignatureInformation, SignatureHelpTriggerKind, SignatureHelp, ShellQuoting, ShellExecution, SemanticTokensLegend, SemanticTokensEdits, SemanticTokensEdit, SemanticTokensBuilder, SemanticTokens, SelectionRange, RelativePattern, QuickInputButtons, QuickInputButtonLocation, ProcessExecution, PortAutoForwardAction, ParameterInformation, HoverVerbosityAction, VerboseHover, Hover, InlineSuggestionList, InlineSuggestion, FunctionBreakpoint, FoldingRangeKind, FoldingRange, FileSystemError, FileDecoration, FileChangeType, ExternalUriOpenerPriority, ExtensionMode, InlineCompletionsDisposeReasonKind, InlineCompletionTriggerKind, InlineValueEvaluatableExpression, InlineValueVariableLookup, InlineValueText, EvaluatableExpression, EnvironmentVariableMutatorType, DocumentSymbol, DocumentLink, MultiDocumentHighlight, DocumentHighlightKind, DocumentHighlight, Disposable, DecorationRangeBehavior, DebugVisualization, DebugConsoleMode, DebugAdapterServer, DebugAdapterNamedPipeServer, DebugAdapterInlineImplementation, DebugAdapterExecutable, CustomExecution, ConfigurationTarget, CompletionTriggerKind, CompletionList, CompletionItemTag, CompletionItemKind, CompletionItem, CommentThreadFocus, CommentThreadApplicability, CommentThreadState, CommentThreadCollapsibleState, CommentState, CommentMode, ColorThemeKind, ColorPresentation, ColorInformation, Color, CodeLens, CodeActionTriggerKind, CodeAction, CallHierarchyOutgoingCall, CallHierarchyItem, CallHierarchyIncomingCall, ChatReferenceDiagnostic, ChatCompletionItem, ChatVariableLevel, ChatResultFeedbackKind, TerminalOutputAnchor, Breakpoint } from './extHostTypes.js';
|
|
104
104
|
import { ExtHostUriOpeners } from './extHostUriOpener.js';
|
|
105
105
|
import { IURITransformerService } from './extHostUriTransformerService.js';
|
|
106
106
|
import { IExtHostUrlsService } from './extHostUrls.js';
|
|
@@ -1812,6 +1812,10 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
1812
1812
|
onDidChangeSkills: (listener, thisArgs, disposables) => {
|
|
1813
1813
|
checkProposedApiEnabled(extension, "chatPromptFiles");
|
|
1814
1814
|
return extHostChatAgents2.onDidChangeSkills(listener, thisArgs, disposables);
|
|
1815
|
+
},
|
|
1816
|
+
registerChatSessionCustomizationProvider(chatSessionType, metadata, provider) {
|
|
1817
|
+
checkProposedApiEnabled(extension, "chatSessionCustomizationProvider");
|
|
1818
|
+
return extHostChatAgents2.registerChatSessionCustomizationProvider(extension, chatSessionType, metadata, provider);
|
|
1815
1819
|
}
|
|
1816
1820
|
};
|
|
1817
1821
|
const lm = {
|
|
@@ -2191,6 +2195,7 @@ function createApiFactoryAndRegisterActors(accessor) {
|
|
|
2191
2195
|
ChatToolInvocationPart: ChatToolInvocationPart,
|
|
2192
2196
|
ChatLocation: ChatLocation,
|
|
2193
2197
|
ChatSessionStatus: ChatSessionStatus,
|
|
2198
|
+
ChatSessionCustomizationType: ChatSessionCustomizationType,
|
|
2194
2199
|
ChatDebugLogLevel: ChatDebugLogLevel,
|
|
2195
2200
|
ChatDebugToolCallResult: ChatDebugToolCallResult,
|
|
2196
2201
|
ChatDebugHookResult: ChatDebugHookResult,
|
|
@@ -53,7 +53,7 @@ import { CallHierarchyItem } from "../../contrib/callHierarchy/common/callHierar
|
|
|
53
53
|
import { IChatAgentMetadata, IChatAgentRequest, IChatAgentResult, UserSelectedTools } from "../../contrib/chat/common/participants/chatAgents.js";
|
|
54
54
|
import { ICodeMapperRequest, ICodeMapperResult } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/editing/chatCodeMapperService";
|
|
55
55
|
import { IChatContextItem } from "../../contrib/chat/common/contextContrib/chatContext.js";
|
|
56
|
-
import { IChatProgressHistoryResponseContent, IChatRequestVariableData } from "../../contrib/chat/common/model/chatModel.js";
|
|
56
|
+
import { IChatProgressHistoryResponseContent, IChatRequestModeInstructions, IChatRequestVariableData } from "../../contrib/chat/common/model/chatModel.js";
|
|
57
57
|
import { ChatResponseClearToPreviousToolInvocationReason, IChatContentInlineReference, IChatExternalEditsDto, IChatFollowup, IChatMultiDiffData, IChatMultiDiffDataSerialized, IChatNotebookEdit, IChatProgress, IChatTask, IChatTaskDto, IChatUserActionEvent, IChatVoteAction } from "../../contrib/chat/common/chatService/chatService.js";
|
|
58
58
|
import { IChatSessionItem, IChatSessionProviderOptionGroup, IChatSessionProviderOptionItem } from "../../contrib/chat/common/chatSessionsService.js";
|
|
59
59
|
import { IChatRequestVariableValue } from "../../contrib/chat/common/attachments/chatVariables.js";
|
|
@@ -1402,6 +1402,9 @@ export interface MainThreadChatAgentsShape2 extends IChatAgentProgressShape, IDi
|
|
|
1402
1402
|
$registerPromptFileProvider(handle: number, type: string, extension: ExtensionIdentifier): void;
|
|
1403
1403
|
$unregisterPromptFileProvider(handle: number): void;
|
|
1404
1404
|
$onDidChangePromptFiles(handle: number): void;
|
|
1405
|
+
$registerChatSessionCustomizationProvider(handle: number, chatSessionType: string, metadata: IChatSessionCustomizationProviderMetadataDto, extension: ExtensionIdentifier): void;
|
|
1406
|
+
$unregisterChatSessionCustomizationProvider(handle: number): void;
|
|
1407
|
+
$onDidChangeCustomizations(handle: number): void;
|
|
1405
1408
|
$registerAgentCompletionsProvider(handle: number, id: string, triggerCharacters: string[]): void;
|
|
1406
1409
|
$unregisterAgentCompletionsProvider(handle: number, id: string): void;
|
|
1407
1410
|
$updateAgent(handle: number, metadataUpdate: IExtensionChatAgentMetadata): void;
|
|
@@ -1469,6 +1472,7 @@ export interface ExtHostChatAgentsShape2 {
|
|
|
1469
1472
|
location: ChatAgentLocation;
|
|
1470
1473
|
}, token: CancellationToken): Promise<IChatParticipantDetectionResult | null | undefined>;
|
|
1471
1474
|
$providePromptFiles(handle: number, type: PromptsType, context: IPromptFileContext, token: CancellationToken): Promise<Dto<IPromptFileResource>[] | undefined>;
|
|
1475
|
+
$provideChatSessionCustomizations(handle: number, token: CancellationToken): Promise<IChatSessionCustomizationItemDto[] | undefined>;
|
|
1472
1476
|
$setRequestTools(requestId: string, tools: UserSelectedTools): void;
|
|
1473
1477
|
$setYieldRequested(requestId: string, value: boolean): void;
|
|
1474
1478
|
$acceptActiveChatSession(sessionResource: UriComponents | undefined): void;
|
|
@@ -1485,6 +1489,20 @@ export interface IInstructionDto {
|
|
|
1485
1489
|
export interface ISkillDto {
|
|
1486
1490
|
uri: UriComponents;
|
|
1487
1491
|
}
|
|
1492
|
+
export interface IChatSessionCustomizationProviderMetadataDto {
|
|
1493
|
+
readonly label: string;
|
|
1494
|
+
readonly iconId?: string;
|
|
1495
|
+
readonly unsupportedTypes?: readonly string[];
|
|
1496
|
+
}
|
|
1497
|
+
export interface IChatSessionCustomizationItemDto {
|
|
1498
|
+
readonly uri: UriComponents;
|
|
1499
|
+
readonly type: string;
|
|
1500
|
+
readonly name: string;
|
|
1501
|
+
readonly description?: string;
|
|
1502
|
+
readonly groupKey?: string;
|
|
1503
|
+
readonly badge?: string;
|
|
1504
|
+
readonly badgeTooltip?: string;
|
|
1505
|
+
}
|
|
1488
1506
|
export interface IChatParticipantMetadata {
|
|
1489
1507
|
participant: string;
|
|
1490
1508
|
command?: string;
|
|
@@ -1502,6 +1520,7 @@ export interface IToolDataDto {
|
|
|
1502
1520
|
id: string;
|
|
1503
1521
|
toolReferenceName?: string;
|
|
1504
1522
|
legacyToolReferenceFullNames?: readonly string[];
|
|
1523
|
+
fullReferenceName?: string;
|
|
1505
1524
|
tags?: readonly string[];
|
|
1506
1525
|
displayName: string;
|
|
1507
1526
|
userDescription?: string;
|
|
@@ -3308,6 +3327,7 @@ export type IChatSessionHistoryItemDto = {
|
|
|
3308
3327
|
command?: string;
|
|
3309
3328
|
variableData?: Dto<IChatRequestVariableData>;
|
|
3310
3329
|
modelId?: string;
|
|
3330
|
+
modeInstructions?: Dto<IChatRequestModeInstructions>;
|
|
3311
3331
|
} | {
|
|
3312
3332
|
type: "response";
|
|
3313
3333
|
parts: IChatProgressDto[];
|
|
@@ -740,14 +740,15 @@ new ApiCommand(
|
|
|
740
740
|
"Get all extension-contributed prompt files (custom agents, instructions, and prompt files).",
|
|
741
741
|
[],
|
|
742
742
|
( new ApiCommandResult(
|
|
743
|
-
"A promise that resolves to an array of objects containing uri and
|
|
743
|
+
"A promise that resolves to an array of objects containing uri, type, and extensionId.",
|
|
744
744
|
value => {
|
|
745
745
|
if (!value) {
|
|
746
746
|
return [];
|
|
747
747
|
}
|
|
748
748
|
return ( value.map(item => ({
|
|
749
749
|
uri: URI.revive(item.uri),
|
|
750
|
-
type: item.type
|
|
750
|
+
type: item.type,
|
|
751
|
+
extensionId: item.extensionId
|
|
751
752
|
})));
|
|
752
753
|
}
|
|
753
754
|
))
|
|
@@ -9,7 +9,7 @@ import { IChatAgentRequest, IChatAgentResult, IChatAgentResultTimings, UserSelec
|
|
|
9
9
|
import { IChatFollowup, IChatUserActionEvent, IChatVoteAction } from "../../contrib/chat/common/chatService/chatService.js";
|
|
10
10
|
import { ChatAgentLocation } from "../../contrib/chat/common/constants.js";
|
|
11
11
|
import { Dto } from "../../services/extensions/common/proxyIdentifier.js";
|
|
12
|
-
import { ExtHostChatAgentsShape2, IChatAgentCompletionItem, IChatAgentHistoryEntryDto, IChatAgentProgressShape, IChatSessionContextDto, ICustomAgentDto, IInstructionDto, IMainContext, ISkillDto } from "./extHost.protocol.js";
|
|
12
|
+
import { ExtHostChatAgentsShape2, IChatAgentCompletionItem, IChatAgentHistoryEntryDto, IChatAgentProgressShape, IChatSessionCustomizationItemDto, IChatSessionContextDto, ICustomAgentDto, IInstructionDto, IMainContext, ISkillDto } from "./extHost.protocol.js";
|
|
13
13
|
import { CommandsConverter, ExtHostCommands } from "./extHostCommands.js";
|
|
14
14
|
import { ExtHostDiagnostics } from "./extHostDiagnostics.js";
|
|
15
15
|
import { ExtHostDocuments } from "./extHostDocuments.js";
|
|
@@ -50,6 +50,8 @@ export declare class ExtHostChatAgents2 extends Disposable implements ExtHostCha
|
|
|
50
50
|
private readonly _participantDetectionProviders;
|
|
51
51
|
private static _contributionsProviderIdPool;
|
|
52
52
|
private readonly _promptFileProviders;
|
|
53
|
+
private static _customizationProviderIdPool;
|
|
54
|
+
private readonly _customizationProviders;
|
|
53
55
|
private readonly _sessionDisposables;
|
|
54
56
|
private readonly _completionDisposables;
|
|
55
57
|
private readonly _inFlightRequests;
|
|
@@ -88,6 +90,8 @@ export declare class ExtHostChatAgents2 extends Disposable implements ExtHostCha
|
|
|
88
90
|
*/
|
|
89
91
|
registerPromptFileProvider(extension: IExtensionDescription, type: PromptsType, provider: vscode.ChatCustomAgentProvider | vscode.ChatInstructionsProvider | vscode.ChatPromptFileProvider | vscode.ChatSkillProvider): vscode.Disposable;
|
|
90
92
|
$providePromptFiles(handle: number, type: PromptsType, context: IPromptFileContext, token: CancellationToken): Promise<IPromptFileResource[] | undefined>;
|
|
93
|
+
registerChatSessionCustomizationProvider(extension: IExtensionDescription, chatSessionType: string, metadata: vscode.ChatSessionCustomizationProviderMetadata, provider: vscode.ChatSessionCustomizationProvider): vscode.Disposable;
|
|
94
|
+
$provideChatSessionCustomizations(handle: number, token: CancellationToken): Promise<IChatSessionCustomizationItemDto[] | undefined>;
|
|
91
95
|
$detectChatParticipant(handle: number, requestDto: Dto<IChatAgentRequest>, context: {
|
|
92
96
|
history: IChatAgentHistoryEntryDto[];
|
|
93
97
|
}, options: {
|