@codingame/monaco-vscode-api 29.1.0 → 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
|
@@ -18,7 +18,7 @@ import { LocalChatSessionUri } from '../../contrib/chat/common/model/chatUri.js'
|
|
|
18
18
|
import { ChatAgentLocation } from '../../contrib/chat/common/constants.js';
|
|
19
19
|
import { checkProposedApiEnabled, isProposedApiEnabled } from '../../services/extensions/common/extensions.js';
|
|
20
20
|
import { MainContext } from './extHost.protocol.js';
|
|
21
|
-
import { ChatResponseWarningPart, ChatResponseReferencePart, ChatTaskResult, ChatTask, ChatResponseProgressPart, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponsePart, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseFilesPart, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatAgentRequest, ChatLocation, Selection, Range, ChatAgentResult, ChatLanguageModelToolReference, ChatPromptReference, ChatFollowup, ChatAgentUserActionEvent, ChatAgentCompletionItem, MarkdownString as MarkdownString$1 } from './extHostTypeConverters.js';
|
|
21
|
+
import { ChatResponseWarningPart, ChatResponseReferencePart, ChatTaskResult, ChatTask, ChatResponseProgressPart, ChatResponseThinkingProgressPart as ChatResponseThinkingProgressPart$1, ChatResponseAnchorPart as ChatResponseAnchorPart$1, ChatResponsePart, ChatResponseQuestionCarouselPart as ChatResponseQuestionCarouselPart$1, ChatResponseConfirmationPart as ChatResponseConfirmationPart$1, ChatResponseWorkspaceEditPart as ChatResponseWorkspaceEditPart$1, ChatResponseNotebookEditPart as ChatResponseNotebookEditPart$1, ChatResponseTextEditPart as ChatResponseTextEditPart$1, ChatResponseCodeCitationPart as ChatResponseCodeCitationPart$1, ChatResponseHookPart as ChatResponseHookPart$1, ChatResponseCommandButtonPart as ChatResponseCommandButtonPart$1, ChatResponseFilesPart, ChatResponseCodeblockUriPart as ChatResponseCodeblockUriPart$1, ChatResponseMarkdownWithVulnerabilitiesPart as ChatResponseMarkdownWithVulnerabilitiesPart$1, ChatResponseMarkdownPart as ChatResponseMarkdownPart$1, ChatSessionCustomizationType, ChatAgentRequest, ChatLocation, Selection, Range, ChatAgentResult, ChatLanguageModelToolReference, ChatPromptReference, ChatRequestModeInstructions, ChatFollowup, ChatAgentUserActionEvent, ChatAgentCompletionItem, MarkdownString as MarkdownString$1 } from './extHostTypeConverters.js';
|
|
22
22
|
import { ChatResponseTextEditPart, ChatResponseNotebookEditPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseWarningPart as ChatResponseWarningPart$1, ChatResponseConfirmationPart, ChatResponseQuestionCarouselPart, ChatResponseCodeCitationPart, ChatResponseMovePart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseThinkingProgressPart, ChatResponsePullRequestPart, ChatResponseProgressPart2, ChatResponseReferencePart as ChatResponseReferencePart$1, ChatResponseAnchorPart, ChatResponseWorkspaceEditPart, ChatResponseHookPart, ChatResponseCommandButtonPart, ChatResponseFileTreePart, ChatResponseCodeblockUriPart, ChatResponseMarkdownPart, ChatRequestEditorData, ChatRequestNotebookData, LanguageModelError, ChatRequestTurn, ChatResponseTurn, ChatResultFeedbackKind, ThemeIcon } from './extHostTypes.js';
|
|
23
23
|
import { PromptsType } from '../../contrib/chat/common/promptSyntax/promptTypes.js';
|
|
24
24
|
import { MarkdownString } from './extHostTypes/markdownString.js';
|
|
@@ -398,6 +398,9 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
398
398
|
static {
|
|
399
399
|
this._contributionsProviderIdPool = 0;
|
|
400
400
|
}
|
|
401
|
+
static {
|
|
402
|
+
this._customizationProviderIdPool = 0;
|
|
403
|
+
}
|
|
401
404
|
get activeChatPanelSessionResource() {
|
|
402
405
|
return this._activeChatPanelSessionResource;
|
|
403
406
|
}
|
|
@@ -449,6 +452,7 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
449
452
|
this._agents = ( new Map());
|
|
450
453
|
this._participantDetectionProviders = ( new Map());
|
|
451
454
|
this._promptFileProviders = ( new Map());
|
|
455
|
+
this._customizationProviders = ( new Map());
|
|
452
456
|
this._sessionDisposables = this._register(( new DisposableResourceMap()));
|
|
453
457
|
this._completionDisposables = this._register(( new DisposableMap()));
|
|
454
458
|
this._inFlightRequests = ( new Set());
|
|
@@ -563,6 +567,53 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
563
567
|
}
|
|
564
568
|
return resources;
|
|
565
569
|
}
|
|
570
|
+
registerChatSessionCustomizationProvider(extension, chatSessionType, metadata, provider) {
|
|
571
|
+
const handle = ExtHostChatAgents2._customizationProviderIdPool++;
|
|
572
|
+
this._customizationProviders.set(handle, {
|
|
573
|
+
extension,
|
|
574
|
+
provider
|
|
575
|
+
});
|
|
576
|
+
const metadataDto = {
|
|
577
|
+
label: metadata.label,
|
|
578
|
+
iconId: metadata.iconId,
|
|
579
|
+
unsupportedTypes: metadata.unsupportedTypes?.map(t => ChatSessionCustomizationType.from(t))
|
|
580
|
+
};
|
|
581
|
+
this._proxy.$registerChatSessionCustomizationProvider(handle, chatSessionType, metadataDto, extension.identifier);
|
|
582
|
+
const disposables = ( new DisposableStore());
|
|
583
|
+
if (provider.onDidChange) {
|
|
584
|
+
disposables.add(provider.onDidChange(() => {
|
|
585
|
+
this._proxy.$onDidChangeCustomizations(handle);
|
|
586
|
+
}));
|
|
587
|
+
}
|
|
588
|
+
disposables.add(toDisposable(() => {
|
|
589
|
+
this._customizationProviders.delete(handle);
|
|
590
|
+
this._proxy.$unregisterChatSessionCustomizationProvider(handle);
|
|
591
|
+
}));
|
|
592
|
+
return disposables;
|
|
593
|
+
}
|
|
594
|
+
async $provideChatSessionCustomizations(handle, token) {
|
|
595
|
+
const providerData = this._customizationProviders.get(handle);
|
|
596
|
+
if (!providerData) {
|
|
597
|
+
return undefined;
|
|
598
|
+
}
|
|
599
|
+
try {
|
|
600
|
+
const items = await providerData.provider.provideChatSessionCustomizations(token);
|
|
601
|
+
if (!items) {
|
|
602
|
+
return undefined;
|
|
603
|
+
}
|
|
604
|
+
return ( items.map(item => ({
|
|
605
|
+
uri: item.uri,
|
|
606
|
+
type: ChatSessionCustomizationType.from(item.type),
|
|
607
|
+
name: item.name,
|
|
608
|
+
description: item.description,
|
|
609
|
+
groupKey: item.groupKey,
|
|
610
|
+
badge: item.badge,
|
|
611
|
+
badgeTooltip: item.badgeTooltip
|
|
612
|
+
})));
|
|
613
|
+
} catch (err) {
|
|
614
|
+
return undefined;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
566
617
|
async $detectChatParticipant(handle, requestDto, context, options, token) {
|
|
567
618
|
const detector = this._participantDetectionProviders.get(handle);
|
|
568
619
|
if (!detector) {
|
|
@@ -827,6 +878,7 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
827
878
|
}
|
|
828
879
|
}
|
|
829
880
|
const editedFileEvents = isProposedApiEnabled(extension) ? h.request.editedFileEvents : undefined;
|
|
881
|
+
const modeInstructions2 = isProposedApiEnabled(extension) && h.request.modeInstructions ? ChatRequestModeInstructions.to(h.request.modeInstructions) : undefined;
|
|
830
882
|
const turn = new ChatRequestTurn(
|
|
831
883
|
h.request.message,
|
|
832
884
|
h.request.command,
|
|
@@ -834,7 +886,9 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
834
886
|
h.request.agentId,
|
|
835
887
|
toolReferences,
|
|
836
888
|
editedFileEvents,
|
|
837
|
-
h.request.requestId
|
|
889
|
+
h.request.requestId,
|
|
890
|
+
undefined,
|
|
891
|
+
modeInstructions2
|
|
838
892
|
);
|
|
839
893
|
res.push(turn);
|
|
840
894
|
const parts = coalesce(( h.response.map(r => ChatResponsePart.toContent(r, this._commands.converter))));
|
|
@@ -898,8 +952,7 @@ class ExtHostChatAgents2 extends Disposable {
|
|
|
898
952
|
}
|
|
899
953
|
const feedback = {
|
|
900
954
|
result: ehResult,
|
|
901
|
-
kind
|
|
902
|
-
unhelpfulReason: isProposedApiEnabled(agent.extension) ? voteAction.reason : undefined
|
|
955
|
+
kind
|
|
903
956
|
};
|
|
904
957
|
agent.acceptFeedback(( Object.freeze(feedback)));
|
|
905
958
|
}
|
|
@@ -16,7 +16,7 @@ import { ChatAgentLocation } from '../../contrib/chat/common/constants.js';
|
|
|
16
16
|
import { MainContext } from './extHost.protocol.js';
|
|
17
17
|
import { ChatAgentResponseStream } from './extHostChatAgents2.js';
|
|
18
18
|
import { IExtHostRpcService } from './extHostRpcService.js';
|
|
19
|
-
import { ChatSessionItem, ChatAgentRequest, Location, Diagnostic, ChatResponsePart } from './extHostTypeConverters.js';
|
|
19
|
+
import { ChatSessionItem, ChatAgentRequest, ChatRequestModeInstructions, Location, Diagnostic, ChatResponsePart } from './extHostTypeConverters.js';
|
|
20
20
|
import { Disposable as Disposable$1, ChatRequestTurn, ChatReferenceDiagnostic } from './extHostTypes.js';
|
|
21
21
|
import { Location as Location$1 } from './extHostTypes/location.js';
|
|
22
22
|
|
|
@@ -609,7 +609,8 @@ let ExtHostChatSessions = class ExtHostChatSessions extends Disposable {
|
|
|
609
609
|
[],
|
|
610
610
|
undefined,
|
|
611
611
|
request.id,
|
|
612
|
-
request.modelId
|
|
612
|
+
request.modelId,
|
|
613
|
+
ChatRequestModeInstructions.to(request.modeInstructions)
|
|
613
614
|
);
|
|
614
615
|
}
|
|
615
616
|
getChatSessionItemController(chatSessionType) {
|
|
@@ -644,7 +645,8 @@ let ExtHostChatSessions = class ExtHostChatSessions extends Disposable {
|
|
|
644
645
|
variableData: variables.length > 0 ? {
|
|
645
646
|
variables
|
|
646
647
|
} : undefined,
|
|
647
|
-
modelId: turn.modelId
|
|
648
|
+
modelId: turn.modelId,
|
|
649
|
+
modeInstructions: ChatRequestModeInstructions.from(turn.modeInstructions2)
|
|
648
650
|
};
|
|
649
651
|
}
|
|
650
652
|
convertReferenceToVariable(ref) {
|
|
@@ -47,8 +47,15 @@ class FileSystemWatcher {
|
|
|
47
47
|
this._config += 0b100;
|
|
48
48
|
}
|
|
49
49
|
const ignoreCase = typeof globPattern === "string" ? !((fileSystemInfo.getCapabilities(Schemas.file) ?? 0) & FileSystemProviderCapabilities.PathCaseSensitive) : fileSystemInfo.extUri.ignorePathCasing(URI.revive(globPattern.baseUri));
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
let matchGlob = globPattern;
|
|
51
|
+
if (ignoreCase) {
|
|
52
|
+
matchGlob = typeof globPattern === "string" ? globPattern.toLowerCase() : {
|
|
53
|
+
base: globPattern.base.toLowerCase(),
|
|
54
|
+
pattern: globPattern.pattern.toLowerCase()
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
const parsedPattern = parse(matchGlob, {
|
|
58
|
+
ignoreCase: false
|
|
52
59
|
});
|
|
53
60
|
const excludeOutOfWorkspaceEvents = typeof globPattern === "string";
|
|
54
61
|
const subscription = dispatcher(events => {
|
|
@@ -56,25 +63,31 @@ class FileSystemWatcher {
|
|
|
56
63
|
return;
|
|
57
64
|
}
|
|
58
65
|
if (!options.ignoreCreateEvents) {
|
|
59
|
-
for (const
|
|
60
|
-
|
|
61
|
-
|
|
66
|
+
for (const {
|
|
67
|
+
uri,
|
|
68
|
+
lowerCaseFsPath
|
|
69
|
+
} of events.created) {
|
|
70
|
+
if (parsedPattern(ignoreCase ? lowerCaseFsPath : uri.fsPath) && (!excludeOutOfWorkspaceEvents || workspace.getWorkspaceFolder(uri))) {
|
|
62
71
|
this._onDidCreate.fire(uri);
|
|
63
72
|
}
|
|
64
73
|
}
|
|
65
74
|
}
|
|
66
75
|
if (!options.ignoreChangeEvents) {
|
|
67
|
-
for (const
|
|
68
|
-
|
|
69
|
-
|
|
76
|
+
for (const {
|
|
77
|
+
uri,
|
|
78
|
+
lowerCaseFsPath
|
|
79
|
+
} of events.changed) {
|
|
80
|
+
if (parsedPattern(ignoreCase ? lowerCaseFsPath : uri.fsPath) && (!excludeOutOfWorkspaceEvents || workspace.getWorkspaceFolder(uri))) {
|
|
70
81
|
this._onDidChange.fire(uri);
|
|
71
82
|
}
|
|
72
83
|
}
|
|
73
84
|
}
|
|
74
85
|
if (!options.ignoreDeleteEvents) {
|
|
75
|
-
for (const
|
|
76
|
-
|
|
77
|
-
|
|
86
|
+
for (const {
|
|
87
|
+
uri,
|
|
88
|
+
lowerCaseFsPath
|
|
89
|
+
} of events.deleted) {
|
|
90
|
+
if (parsedPattern(ignoreCase ? lowerCaseFsPath : uri.fsPath) && (!excludeOutOfWorkspaceEvents || workspace.getWorkspaceFolder(uri))) {
|
|
78
91
|
this._onDidDelete.fire(uri);
|
|
79
92
|
}
|
|
80
93
|
}
|
|
@@ -194,11 +207,18 @@ class LazyRevivedFileSystemEvents {
|
|
|
194
207
|
get deleted() {
|
|
195
208
|
return this._deleted.value;
|
|
196
209
|
}
|
|
210
|
+
static _revive(uriComponents) {
|
|
211
|
+
const uri = URI.revive(uriComponents);
|
|
212
|
+
return {
|
|
213
|
+
uri,
|
|
214
|
+
lowerCaseFsPath: uri.fsPath.toLowerCase()
|
|
215
|
+
};
|
|
216
|
+
}
|
|
197
217
|
constructor(_events) {
|
|
198
218
|
this._events = _events;
|
|
199
|
-
this._created = ( new Lazy(() => ( this._events.created.map(
|
|
200
|
-
this._changed = ( new Lazy(() => ( this._events.changed.map(
|
|
201
|
-
this._deleted = ( new Lazy(() => ( this._events.deleted.map(
|
|
219
|
+
this._created = ( new Lazy(() => ( this._events.created.map(LazyRevivedFileSystemEvents._revive))));
|
|
220
|
+
this._changed = ( new Lazy(() => ( this._events.changed.map(LazyRevivedFileSystemEvents._revive))));
|
|
221
|
+
this._deleted = ( new Lazy(() => ( this._events.deleted.map(LazyRevivedFileSystemEvents._revive))));
|
|
202
222
|
this.session = this._events.session;
|
|
203
223
|
}
|
|
204
224
|
}
|
|
@@ -47,7 +47,8 @@ class Tool {
|
|
|
47
47
|
description: this._data.modelDescription,
|
|
48
48
|
inputSchema: this._data.inputSchema,
|
|
49
49
|
tags: this._data.tags ?? [],
|
|
50
|
-
source: LanguageModelToolSource.to(this._data.source)
|
|
50
|
+
source: LanguageModelToolSource.to(this._data.source),
|
|
51
|
+
fullReferenceName: this._data.fullReferenceName
|
|
51
52
|
}));
|
|
52
53
|
}
|
|
53
54
|
return this._apiObjectWithChatParticipantAdditions;
|
|
@@ -567,6 +567,9 @@ export declare namespace ChatLocation {
|
|
|
567
567
|
function to(loc: ChatAgentLocation): types.ChatLocation;
|
|
568
568
|
function from(loc: types.ChatLocation): ChatAgentLocation;
|
|
569
569
|
}
|
|
570
|
+
export declare namespace ChatSessionCustomizationType {
|
|
571
|
+
function from(type: types.ChatSessionCustomizationType): string;
|
|
572
|
+
}
|
|
570
573
|
export declare namespace ChatPromptReference {
|
|
571
574
|
function to(variable: IChatRequestVariableEntry, diagnostics: readonly [
|
|
572
575
|
vscode.Uri,
|
|
@@ -577,7 +580,8 @@ export declare namespace ChatLanguageModelToolReference {
|
|
|
577
580
|
function to(variable: IChatRequestVariableEntry): vscode.ChatLanguageModelToolReference;
|
|
578
581
|
}
|
|
579
582
|
export declare namespace ChatRequestModeInstructions {
|
|
580
|
-
function to(mode: IChatRequestModeInstructions | undefined): vscode.ChatRequestModeInstructions | undefined;
|
|
583
|
+
function to(mode: IChatRequestModeInstructions | Dto<IChatRequestModeInstructions> | undefined): vscode.ChatRequestModeInstructions | undefined;
|
|
584
|
+
function from(mode: vscode.ChatRequestModeInstructions | undefined): IChatRequestModeInstructions | undefined;
|
|
581
585
|
}
|
|
582
586
|
export declare namespace ChatAgentCompletionItem {
|
|
583
587
|
function from(item: vscode.ChatCompletionItem, commandsConverter: CommandsConverter, disposables: DisposableStore): extHostProtocol.IChatAgentCompletionItem;
|
|
@@ -3456,6 +3456,13 @@ var ChatLocation;
|
|
|
3456
3456
|
}
|
|
3457
3457
|
ChatLocation.from = from;
|
|
3458
3458
|
})(ChatLocation || (ChatLocation = {}));
|
|
3459
|
+
var ChatSessionCustomizationType;
|
|
3460
|
+
(function(ChatSessionCustomizationType) {
|
|
3461
|
+
function from(type) {
|
|
3462
|
+
return type.id;
|
|
3463
|
+
}
|
|
3464
|
+
ChatSessionCustomizationType.from = from;
|
|
3465
|
+
})(ChatSessionCustomizationType || (ChatSessionCustomizationType = {}));
|
|
3459
3466
|
var ChatPromptReference;
|
|
3460
3467
|
(function(ChatPromptReference) {
|
|
3461
3468
|
function to(variable, diagnostics, logService) {
|
|
@@ -3551,7 +3558,7 @@ var ChatRequestModeInstructions;
|
|
|
3551
3558
|
uri: URI.revive(mode.uri),
|
|
3552
3559
|
name: mode.name,
|
|
3553
3560
|
content: mode.content,
|
|
3554
|
-
toolReferences: ChatLanguageModelToolReferences.to(mode.toolReferences),
|
|
3561
|
+
toolReferences: ChatLanguageModelToolReferences.to(revive(mode.toolReferences)),
|
|
3555
3562
|
metadata: mode.metadata,
|
|
3556
3563
|
isBuiltin: mode.isBuiltin
|
|
3557
3564
|
};
|
|
@@ -3559,6 +3566,29 @@ var ChatRequestModeInstructions;
|
|
|
3559
3566
|
return undefined;
|
|
3560
3567
|
}
|
|
3561
3568
|
ChatRequestModeInstructions.to = to;
|
|
3569
|
+
function from(mode) {
|
|
3570
|
+
if (mode) {
|
|
3571
|
+
return {
|
|
3572
|
+
uri: mode.uri,
|
|
3573
|
+
name: mode.name,
|
|
3574
|
+
content: mode.content,
|
|
3575
|
+
toolReferences: mode.toolReferences?.map(ref => ({
|
|
3576
|
+
kind: "tool",
|
|
3577
|
+
id: ref.name,
|
|
3578
|
+
name: ref.name,
|
|
3579
|
+
value: undefined,
|
|
3580
|
+
range: ref.range ? {
|
|
3581
|
+
start: ref.range[0],
|
|
3582
|
+
endExclusive: ref.range[1]
|
|
3583
|
+
} : undefined
|
|
3584
|
+
})) ?? [],
|
|
3585
|
+
metadata: mode.metadata,
|
|
3586
|
+
isBuiltin: mode.isBuiltin
|
|
3587
|
+
};
|
|
3588
|
+
}
|
|
3589
|
+
return undefined;
|
|
3590
|
+
}
|
|
3591
|
+
ChatRequestModeInstructions.from = from;
|
|
3562
3592
|
})(ChatRequestModeInstructions || (ChatRequestModeInstructions = {}));
|
|
3563
3593
|
var ChatAgentCompletionItem;
|
|
3564
3594
|
(function(ChatAgentCompletionItem) {
|
|
@@ -4154,4 +4184,4 @@ var ChatSessionItem;
|
|
|
4154
4184
|
ChatSessionItem.from = from;
|
|
4155
4185
|
})(ChatSessionItem || (ChatSessionItem = {}));
|
|
4156
4186
|
|
|
4157
|
-
export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatHookCommand, ChatLanguageModelToolReference, ChatLocation, ChatPromptReference, ChatRequestHooksConverter, ChatRequestModeInstructions, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseHookPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatSessionItem, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionEndOfLifeReason, InlineCompletionHintStyle, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SourceControlInputBoxValidationType, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalCompletionResourceOptions, TerminalQuickFix, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
|
|
4187
|
+
export { AiSettingsSearch, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, ChatAgentCompletionItem, ChatAgentRequest, ChatAgentResult, ChatAgentUserActionEvent, ChatFollowup, ChatHookCommand, ChatLanguageModelToolReference, ChatLocation, ChatPromptReference, ChatRequestHooksConverter, ChatRequestModeInstructions, ChatResponseAnchorPart, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseFilesPart, ChatResponseHookPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponsePart, ChatResponseProgressPart, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatSessionCustomizationType, ChatSessionItem, ChatTask, ChatTaskResult, ChatToolInvocationPart, CodeActionTriggerKind, Color, ColorPresentation, CompletionCommand, CompletionContext, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionTriggerKind, DataTransfer, DataTransferItem, DebugTreeItem, DecorationRangeBehavior, DecorationRenderOptions, DefinitionLink, Diagnostic, DiagnosticRelatedInformation, DiagnosticSeverity, DiagnosticTag, DocumentHighlight, DocumentLink, DocumentSelector, DocumentSymbol, EndOfLine, EvaluatableExpression, FoldingRange, FoldingRangeKind, GlobPattern, Hover, IconPath, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionEndOfLifeReason, InlineCompletionHintStyle, InlineValue, InlineValueContext, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelToolResult, LanguageModelToolSource, LanguageSelector, Location, MarkdownString, McpServerDefinition, MultiDocumentHighlight, NotebookCellData, NotebookCellExecutionSummary, NotebookCellKind, NotebookCellOutput, NotebookCellOutputItem, NotebookData, NotebookDocumentContentOptions, NotebookEdit, NotebookExclusiveDocumentPattern, NotebookKernelSourceAction, NotebookRange, NotebookRendererScript, NotebookStatusBarItem, ParameterInformation, PartialAcceptInfo, PartialAcceptTriggerKind, Position, ProgressLocation, Range, Selection, SelectionRange, SignatureHelp, SignatureInformation, SourceControlInputBoxValidationType, SymbolKind, SymbolTag, TerminalCompletionItemDto, TerminalCompletionList, TerminalCompletionResourceOptions, TerminalQuickFix, TestCoverage, TestItem, TestMessage, TestResults, TestRunProfile, TestRunProfileKind, TestTag, TextDocumentSaveReason, TextEdit, TextEditorLineNumbersStyle, TextEditorOpenOptions, ThemableDecorationAttachmentRenderOptions, ThemableDecorationRenderOptions, TokenType, TypeHierarchyItem, ViewBadge, ViewColumn, WorkspaceEdit, WorkspaceSymbol, fromRangeOrRangeWithMessage, isDecorationOptionsArr, location, pathOrURIToURI };
|
|
@@ -1726,7 +1726,8 @@ export declare class ChatRequestTurn implements vscode.ChatRequestTurn2 {
|
|
|
1726
1726
|
readonly editedFileEvents?: vscode.ChatRequestEditedFileEvent[] | undefined;
|
|
1727
1727
|
readonly id?: string | undefined;
|
|
1728
1728
|
readonly modelId?: string | undefined;
|
|
1729
|
-
|
|
1729
|
+
readonly modeInstructions2?: vscode.ChatRequestModeInstructions | undefined;
|
|
1730
|
+
constructor(prompt: string, command: string | undefined, references: vscode.ChatPromptReference[], participant: string, toolReferences: vscode.ChatLanguageModelToolReference[], editedFileEvents?: vscode.ChatRequestEditedFileEvent[] | undefined, id?: string | undefined, modelId?: string | undefined, modeInstructions2?: vscode.ChatRequestModeInstructions | undefined);
|
|
1730
1731
|
}
|
|
1731
1732
|
export declare class ChatResponseTurn implements vscode.ChatResponseTurn {
|
|
1732
1733
|
readonly response: ReadonlyArray<ChatResponseMarkdownPart | ChatResponseFileTreePart | ChatResponseAnchorPart | ChatResponseCommandButtonPart>;
|
|
@@ -1754,6 +1755,15 @@ export declare enum ChatSessionStatus {
|
|
|
1754
1755
|
InProgress = 2,
|
|
1755
1756
|
NeedsInput = 3
|
|
1756
1757
|
}
|
|
1758
|
+
export declare class ChatSessionCustomizationType {
|
|
1759
|
+
readonly id: string;
|
|
1760
|
+
static readonly Agent: ChatSessionCustomizationType;
|
|
1761
|
+
static readonly Skill: ChatSessionCustomizationType;
|
|
1762
|
+
static readonly Instructions: ChatSessionCustomizationType;
|
|
1763
|
+
static readonly Prompt: ChatSessionCustomizationType;
|
|
1764
|
+
static readonly Hook: ChatSessionCustomizationType;
|
|
1765
|
+
constructor(id: string);
|
|
1766
|
+
}
|
|
1757
1767
|
export declare enum ChatDebugLogLevel {
|
|
1758
1768
|
Trace = 0,
|
|
1759
1769
|
Info = 1,
|
|
@@ -2615,7 +2615,8 @@ class ChatRequestTurn {
|
|
|
2615
2615
|
toolReferences,
|
|
2616
2616
|
editedFileEvents,
|
|
2617
2617
|
id,
|
|
2618
|
-
modelId
|
|
2618
|
+
modelId,
|
|
2619
|
+
modeInstructions2
|
|
2619
2620
|
) {
|
|
2620
2621
|
this.prompt = prompt;
|
|
2621
2622
|
this.command = command;
|
|
@@ -2625,6 +2626,7 @@ class ChatRequestTurn {
|
|
|
2625
2626
|
this.editedFileEvents = editedFileEvents;
|
|
2626
2627
|
this.id = id;
|
|
2627
2628
|
this.modelId = modelId;
|
|
2629
|
+
this.modeInstructions2 = modeInstructions2;
|
|
2628
2630
|
}
|
|
2629
2631
|
}
|
|
2630
2632
|
class ChatResponseTurn {
|
|
@@ -2657,6 +2659,26 @@ var ChatSessionStatus;
|
|
|
2657
2659
|
ChatSessionStatus[ChatSessionStatus["InProgress"] = 2] = "InProgress";
|
|
2658
2660
|
ChatSessionStatus[ChatSessionStatus["NeedsInput"] = 3] = "NeedsInput";
|
|
2659
2661
|
})(ChatSessionStatus || (ChatSessionStatus = {}));
|
|
2662
|
+
class ChatSessionCustomizationType {
|
|
2663
|
+
static {
|
|
2664
|
+
this.Agent = ( new ChatSessionCustomizationType("agent"));
|
|
2665
|
+
}
|
|
2666
|
+
static {
|
|
2667
|
+
this.Skill = ( new ChatSessionCustomizationType("skill"));
|
|
2668
|
+
}
|
|
2669
|
+
static {
|
|
2670
|
+
this.Instructions = ( new ChatSessionCustomizationType("instructions"));
|
|
2671
|
+
}
|
|
2672
|
+
static {
|
|
2673
|
+
this.Prompt = ( new ChatSessionCustomizationType("prompt"));
|
|
2674
|
+
}
|
|
2675
|
+
static {
|
|
2676
|
+
this.Hook = ( new ChatSessionCustomizationType("hook"));
|
|
2677
|
+
}
|
|
2678
|
+
constructor(id) {
|
|
2679
|
+
this.id = id;
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2660
2682
|
var ChatDebugLogLevel;
|
|
2661
2683
|
(function(ChatDebugLogLevel) {
|
|
2662
2684
|
ChatDebugLogLevel[ChatDebugLogLevel["Trace"] = 0] = "Trace";
|
|
@@ -3113,4 +3135,4 @@ class McpHttpServerDefinition {
|
|
|
3113
3135
|
}
|
|
3114
3136
|
}
|
|
3115
3137
|
|
|
3116
|
-
export { BranchCoverage, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CellErrorStackFrame, ChatCompletionItem, ChatCopyKind, ChatDebugAgentResponseEvent, ChatDebugEventHookContent, ChatDebugEventMessageContent, ChatDebugEventModelTurnContent, ChatDebugEventTextContent, ChatDebugEventToolCallContent, ChatDebugGenericEvent, ChatDebugHookResult, ChatDebugLogLevel, ChatDebugMessageContentType, ChatDebugMessageSection, ChatDebugModelTurnEvent, ChatDebugSubagentInvocationEvent, ChatDebugSubagentStatus, ChatDebugToolCallEvent, ChatDebugToolCallResult, ChatDebugUserMessageEvent, ChatEditingSessionActionOutcome, ChatEditorTabInput, ChatErrorLevel, ChatImageMimeType, ChatLocation, ChatQuestion, ChatQuestionType, ChatReferenceBinaryData, ChatReferenceDiagnostic, ChatRequestEditedFileEventKind, ChatRequestEditorData, ChatRequestNotebookData, ChatRequestTurn, ChatResponseAnchorPart, ChatResponseClearToPreviousToolInvocationReason, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseFileTreePart, ChatResponseHookPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponseProgressPart, ChatResponseProgressPart2, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseReferencePartStatusKind, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseTurn, ChatResponseTurn2, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatResultFeedbackKind, ChatSessionChangedFile, ChatSessionChangedFile2, ChatSessionStatus, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart, ChatVariableLevel, CodeAction, CodeActionTriggerKind, CodeLens, Color, ColorFormat, ColorInformation, ColorPresentation, ColorTheme, ColorThemeKind, CommentMode, CommentState, CommentThreadApplicability, CommentThreadCollapsibleState, CommentThreadFocus, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomEditorTabInput, CustomExecution, DataBreakpoint, DataTransfer, DataTransferFile, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DebugStackFrame, DebugThread, DebugVisualization, DeclarationCoverage, DecorationRangeBehavior, Disposable, DocumentDropEdit, DocumentDropOrPasteEditKind, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentPasteEdit, DocumentPasteTriggerKind, DocumentSymbol, EnvironmentVariableMutatorType, EvaluatableExpression, ExtendedLanguageModelToolResult, ExtensionKind, ExtensionMode, ExtensionRuntime, ExternalUriOpenerPriority, FileChangeType, FileCoverage, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, HoverVerbosityAction, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, InlineCompletionTriggerKind, InlineCompletionsDisposeReasonKind, InlineSuggestion, InlineSuggestionList, InlineValueContext, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, InteractiveEditorResponseFeedbackKind, InteractiveSessionVoteDirection, InteractiveWindowInput, InternalDataTransferItem, InternalFileDataTransferItem, KeywordRecognitionStatus, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelChatToolMode, LanguageModelDataPart, LanguageModelError, LanguageModelPartAudience, LanguageModelPromptTsxPart, LanguageModelTextPart, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelToolExtensionSource, LanguageModelToolMCPSource, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolResultPart, LanguageStatusSeverity, LinkedEditingRanges, ManagedResolvedAuthority, MarkdownString, McpHttpServerDefinition, McpStdioServerDefinition, McpToolAvailability, McpToolInvocationContentData, MultiDocumentHighlight, NewSymbolName, NewSymbolNameTag, NewSymbolNameTriggerKind, NotebookCellExecutionState, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookDiffEditorTabInput, NotebookEditorRevealType, NotebookEditorTabInput, NotebookKernelSourceAction, NotebookRendererScript, NotebookVariablesRequestKind, ParameterInformation, PartialAcceptTriggerKind, PortAttributes, PortAutoForwardAction, ProcessExecution, ProgressLocation, QuickInputButtonLocation, QuickInputButtons, QuickPickItemKind, Range, RelatedInformationType, RelativePattern, RemoteAuthorityResolverError, ResolvedAuthority, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, SettingsSearchResultKind, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SourceBreakpoint, SourceControlInputBoxValidationType, SpeechToTextStatus, StandardTokenType, StatementCoverage, StatusBarAlignment, SyntaxTokenType, Task, TaskEventKind, TaskGroup, TaskPanelKind, TaskRevealKind, TaskRunOn, TaskScope, TerminalCompletionItem, TerminalCompletionItemKind, TerminalCompletionList, TerminalEditorTabInput, TerminalExitReason, TerminalLink, TerminalLocation, TerminalOutputAnchor, TerminalProfile, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalQuickFixType, TerminalShellExecutionCommandLineConfidence, TerminalShellType, TestCoverageCount, TestMessage, TestMessageStackFrame, TestResultState, TestRunProfileBase, TestRunProfileKind, TestRunRequest, TestTag, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason, TextEditorChangeKind, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextMergeTabInput, TextMultiDiffTabInput, TextTabInput, TextToSpeechStatus, ThemeColor, ThemeIcon, TimelineItem, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, VerboseHover, ViewBadge, ViewColumn, WebviewEditorTabInput, WorkspaceTrustState, asStatusBarItemIdentifier, setBreakpointId, validateTestCoverageCount };
|
|
3138
|
+
export { BranchCoverage, Breakpoint, CallHierarchyIncomingCall, CallHierarchyItem, CallHierarchyOutgoingCall, CellErrorStackFrame, ChatCompletionItem, ChatCopyKind, ChatDebugAgentResponseEvent, ChatDebugEventHookContent, ChatDebugEventMessageContent, ChatDebugEventModelTurnContent, ChatDebugEventTextContent, ChatDebugEventToolCallContent, ChatDebugGenericEvent, ChatDebugHookResult, ChatDebugLogLevel, ChatDebugMessageContentType, ChatDebugMessageSection, ChatDebugModelTurnEvent, ChatDebugSubagentInvocationEvent, ChatDebugSubagentStatus, ChatDebugToolCallEvent, ChatDebugToolCallResult, ChatDebugUserMessageEvent, ChatEditingSessionActionOutcome, ChatEditorTabInput, ChatErrorLevel, ChatImageMimeType, ChatLocation, ChatQuestion, ChatQuestionType, ChatReferenceBinaryData, ChatReferenceDiagnostic, ChatRequestEditedFileEventKind, ChatRequestEditorData, ChatRequestNotebookData, ChatRequestTurn, ChatResponseAnchorPart, ChatResponseClearToPreviousToolInvocationReason, ChatResponseCodeCitationPart, ChatResponseCodeblockUriPart, ChatResponseCommandButtonPart, ChatResponseConfirmationPart, ChatResponseExtensionsPart, ChatResponseExternalEditPart, ChatResponseFileTreePart, ChatResponseHookPart, ChatResponseMarkdownPart, ChatResponseMarkdownWithVulnerabilitiesPart, ChatResponseMovePart, ChatResponseMultiDiffPart, ChatResponseNotebookEditPart, ChatResponseProgressPart, ChatResponseProgressPart2, ChatResponsePullRequestPart, ChatResponseQuestionCarouselPart, ChatResponseReferencePart, ChatResponseReferencePartStatusKind, ChatResponseTextEditPart, ChatResponseThinkingProgressPart, ChatResponseTurn, ChatResponseTurn2, ChatResponseWarningPart, ChatResponseWorkspaceEditPart, ChatResultFeedbackKind, ChatSessionChangedFile, ChatSessionChangedFile2, ChatSessionCustomizationType, ChatSessionStatus, ChatSubagentToolInvocationData, ChatTodoStatus, ChatToolInvocationPart, ChatVariableLevel, CodeAction, CodeActionTriggerKind, CodeLens, Color, ColorFormat, ColorInformation, ColorPresentation, ColorTheme, ColorThemeKind, CommentMode, CommentState, CommentThreadApplicability, CommentThreadCollapsibleState, CommentThreadFocus, CommentThreadState, CompletionItem, CompletionItemKind, CompletionItemTag, CompletionList, CompletionTriggerKind, ConfigurationTarget, CustomEditorTabInput, CustomExecution, DataBreakpoint, DataTransfer, DataTransferFile, DataTransferItem, DebugAdapterExecutable, DebugAdapterInlineImplementation, DebugAdapterNamedPipeServer, DebugAdapterServer, DebugConsoleMode, DebugStackFrame, DebugThread, DebugVisualization, DeclarationCoverage, DecorationRangeBehavior, Disposable, DocumentDropEdit, DocumentDropOrPasteEditKind, DocumentHighlight, DocumentHighlightKind, DocumentLink, DocumentPasteEdit, DocumentPasteTriggerKind, DocumentSymbol, EnvironmentVariableMutatorType, EvaluatableExpression, ExtendedLanguageModelToolResult, ExtensionKind, ExtensionMode, ExtensionRuntime, ExternalUriOpenerPriority, FileChangeType, FileCoverage, FileDecoration, FileSystemError, FoldingRange, FoldingRangeKind, FunctionBreakpoint, Hover, HoverVerbosityAction, InlayHint, InlayHintKind, InlayHintLabelPart, InlineCompletionDisplayLocationKind, InlineCompletionEndOfLifeReasonKind, InlineCompletionTriggerKind, InlineCompletionsDisposeReasonKind, InlineSuggestion, InlineSuggestionList, InlineValueContext, InlineValueEvaluatableExpression, InlineValueText, InlineValueVariableLookup, InputBoxValidationSeverity, InteractiveEditorResponseFeedbackKind, InteractiveSessionVoteDirection, InteractiveWindowInput, InternalDataTransferItem, InternalFileDataTransferItem, KeywordRecognitionStatus, LanguageModelChatMessage, LanguageModelChatMessage2, LanguageModelChatMessageRole, LanguageModelChatToolMode, LanguageModelDataPart, LanguageModelError, LanguageModelPartAudience, LanguageModelPromptTsxPart, LanguageModelTextPart, LanguageModelThinkingPart, LanguageModelToolCallPart, LanguageModelToolExtensionSource, LanguageModelToolMCPSource, LanguageModelToolResult, LanguageModelToolResult2, LanguageModelToolResultPart, LanguageStatusSeverity, LinkedEditingRanges, ManagedResolvedAuthority, MarkdownString, McpHttpServerDefinition, McpStdioServerDefinition, McpToolAvailability, McpToolInvocationContentData, MultiDocumentHighlight, NewSymbolName, NewSymbolNameTag, NewSymbolNameTriggerKind, NotebookCellExecutionState, NotebookCellStatusBarAlignment, NotebookCellStatusBarItem, NotebookControllerAffinity, NotebookControllerAffinity2, NotebookDiffEditorTabInput, NotebookEditorRevealType, NotebookEditorTabInput, NotebookKernelSourceAction, NotebookRendererScript, NotebookVariablesRequestKind, ParameterInformation, PartialAcceptTriggerKind, PortAttributes, PortAutoForwardAction, ProcessExecution, ProgressLocation, QuickInputButtonLocation, QuickInputButtons, QuickPickItemKind, Range, RelatedInformationType, RelativePattern, RemoteAuthorityResolverError, ResolvedAuthority, SelectionRange, SemanticTokens, SemanticTokensBuilder, SemanticTokensEdit, SemanticTokensEdits, SemanticTokensLegend, SettingsSearchResultKind, ShellExecution, ShellQuoting, SignatureHelp, SignatureHelpTriggerKind, SignatureInformation, SourceBreakpoint, SourceControlInputBoxValidationType, SpeechToTextStatus, StandardTokenType, StatementCoverage, StatusBarAlignment, SyntaxTokenType, Task, TaskEventKind, TaskGroup, TaskPanelKind, TaskRevealKind, TaskRunOn, TaskScope, TerminalCompletionItem, TerminalCompletionItemKind, TerminalCompletionList, TerminalEditorTabInput, TerminalExitReason, TerminalLink, TerminalLocation, TerminalOutputAnchor, TerminalProfile, TerminalQuickFixCommand, TerminalQuickFixOpener, TerminalQuickFixType, TerminalShellExecutionCommandLineConfidence, TerminalShellType, TestCoverageCount, TestMessage, TestMessageStackFrame, TestResultState, TestRunProfileBase, TestRunProfileKind, TestRunRequest, TestTag, TextDiffTabInput, TextDocumentChangeReason, TextDocumentSaveReason, TextEditorChangeKind, TextEditorLineNumbersStyle, TextEditorRevealType, TextEditorSelectionChangeKind, TextMergeTabInput, TextMultiDiffTabInput, TextTabInput, TextToSpeechStatus, ThemeColor, ThemeIcon, TimelineItem, TreeItem, TreeItemCheckboxState, TreeItemCollapsibleState, TypeHierarchyItem, VerboseHover, ViewBadge, ViewColumn, WebviewEditorTabInput, WorkspaceTrustState, asStatusBarItemIdentifier, setBreakpointId, validateTestCoverageCount };
|
|
@@ -31,30 +31,60 @@
|
|
|
31
31
|
|
|
32
32
|
/** Modal Editor Container */
|
|
33
33
|
.monaco-modal-editor-block .modal-editor-part {
|
|
34
|
-
display:
|
|
35
|
-
|
|
34
|
+
display: grid;
|
|
35
|
+
grid-template-rows: auto 1fr;
|
|
36
|
+
grid-template-columns: 1fr;
|
|
36
37
|
width: 100%;
|
|
37
38
|
height: 100%;
|
|
38
39
|
background-color: var(--vscode-editor-background);
|
|
39
40
|
border: 1px solid var(--vscode-editorWidget-border, var(--vscode-contrastBorder));
|
|
40
41
|
border-radius: 8px;
|
|
41
42
|
overflow: hidden;
|
|
43
|
+
position: relative;
|
|
42
44
|
|
|
43
45
|
&:focus {
|
|
44
46
|
outline: none;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
&.has-sidebar {
|
|
50
|
+
grid-template-columns: auto 1fr;
|
|
51
|
+
|
|
52
|
+
> .content {
|
|
53
|
+
grid-column: 2;
|
|
54
|
+
grid-row: 2;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
> .content {
|
|
50
59
|
overflow: hidden;
|
|
60
|
+
min-width: 0;
|
|
61
|
+
min-height: 0;
|
|
51
62
|
}
|
|
52
63
|
}
|
|
53
64
|
|
|
65
|
+
/** Modal Editor Sidebar */
|
|
66
|
+
.monaco-modal-editor-block .modal-editor-sidebar {
|
|
67
|
+
grid-row: 2;
|
|
68
|
+
grid-column: 1;
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
box-sizing: border-box;
|
|
73
|
+
background-color: var(--vscode-sideBar-background, var(--vscode-editor-background));
|
|
74
|
+
border-right: 1px solid var(--vscode-sideBarSectionHeader-border, var(--vscode-editorWidget-border, transparent));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.monaco-modal-editor-block .modal-editor-sidebar .monaco-tl-twistie.force-no-twistie {
|
|
78
|
+
width: 6px !important;
|
|
79
|
+
padding-left: 0 !important;
|
|
80
|
+
padding-right: 0 !important;
|
|
81
|
+
}
|
|
82
|
+
|
|
54
83
|
/** Modal Editor Header */
|
|
55
84
|
.monaco-modal-editor-block .modal-editor-header {
|
|
56
85
|
display: grid;
|
|
57
86
|
grid-template-columns: 1fr auto 1fr;
|
|
87
|
+
grid-column: 1 / -1;
|
|
58
88
|
align-items: center;
|
|
59
89
|
height: 32px;
|
|
60
90
|
min-height: 32px;
|
|
@@ -29,6 +29,7 @@ export declare class ModalEditorPart {
|
|
|
29
29
|
private readonly configurationService;
|
|
30
30
|
constructor(editorPartsView: IEditorPartsView, instantiationService: IInstantiationService, editorService: IEditorService, layoutService: IWorkbenchLayoutService, keybindingService: IKeybindingService, hostService: IHostService, configurationService: IConfigurationService);
|
|
31
31
|
create(options?: IModalEditorPartOptions): Promise<ICreateModalEditorPartResult>;
|
|
32
|
+
private createSidebar;
|
|
32
33
|
}
|
|
33
34
|
interface IPosition {
|
|
34
35
|
left: number;
|
|
@@ -6,6 +6,7 @@ import { $, addDisposableListener, EventType, EventHelper, Dimension, append, hi
|
|
|
6
6
|
import { StandardKeyboardEvent } from '../../../../base/browser/keyboardEvent.js';
|
|
7
7
|
import { prepareActions } from '../../../../base/browser/ui/actionbar/actionbar.js';
|
|
8
8
|
import { Button } from '../../../../base/browser/ui/button/button.js';
|
|
9
|
+
import { Sash, Orientation } from '../../../../base/browser/ui/sash/sash.js';
|
|
9
10
|
import { Event, Emitter } from '../../../../base/common/event.js';
|
|
10
11
|
import { DisposableStore, toDisposable, MutableDisposable } from '../../../../base/common/lifecycle.js';
|
|
11
12
|
import { ResizableHTMLElement } from '../../../../base/browser/ui/resizable/resizable.js';
|
|
@@ -43,6 +44,8 @@ const MODAL_BORDER_SIZE = 2;
|
|
|
43
44
|
const MODAL_HEADER_HEIGHT = 33;
|
|
44
45
|
const MODAL_SNAP_THRESHOLD = 20;
|
|
45
46
|
const MODAL_MAXIMIZED_PADDING = 16;
|
|
47
|
+
const MODAL_SIDEBAR_MIN_WIDTH = 160;
|
|
48
|
+
const MODAL_SIDEBAR_DEFAULT_WIDTH = 220;
|
|
46
49
|
const defaultModalEditorAllowableCommands = ( new Set([
|
|
47
50
|
"workbench.action.quit", "workbench.action.reloadWindow", "workbench.action.toggleFullScreen",
|
|
48
51
|
"workbench.action.gotoSymbol", "workbench.action.gotoLine",
|
|
@@ -102,8 +105,7 @@ let ModalEditorPart = class ModalEditorPart {
|
|
|
102
105
|
const resizableElement = ( new ResizableHTMLElement());
|
|
103
106
|
disposables.add(toDisposable(() => resizableElement.dispose()));
|
|
104
107
|
resizableElement.domNode.classList.add("modal-editor-resizable");
|
|
105
|
-
const
|
|
106
|
-
const effectiveMinWidth = (typeof configuredMinWidth === "number" && Number.isFinite(configuredMinWidth) && configuredMinWidth >= MODAL_MIN_WIDTH) ? configuredMinWidth : MODAL_MIN_WIDTH;
|
|
108
|
+
const effectiveMinWidth = MODAL_MIN_WIDTH + (options?.sidebar ? MODAL_SIDEBAR_MIN_WIDTH : 0);
|
|
107
109
|
resizableElement.minSize = ( new Dimension(effectiveMinWidth, MODAL_MIN_HEIGHT));
|
|
108
110
|
modalElement.appendChild(resizableElement.domNode);
|
|
109
111
|
const shadowElement = resizableElement.domNode.appendChild($(".modal-editor-shadow"));
|
|
@@ -148,6 +150,11 @@ let ModalEditorPart = class ModalEditorPart {
|
|
|
148
150
|
}
|
|
149
151
|
}));
|
|
150
152
|
const actionBarContainer = append(headerElement, $("div.modal-editor-action-container"));
|
|
153
|
+
const sidebarResult = this.createSidebar(editorPartContainer, options?.sidebar, disposables);
|
|
154
|
+
if (sidebarResult) {
|
|
155
|
+
editorPartContainer.classList.add("has-sidebar");
|
|
156
|
+
disposables.add(sidebarResult.onDidResize(() => layoutModal()));
|
|
157
|
+
}
|
|
151
158
|
const editorPart = disposables.add(this.instantiationService.createInstance(
|
|
152
159
|
ModalEditorPartImpl,
|
|
153
160
|
mainWindow.vscodeWindowId,
|
|
@@ -366,12 +373,14 @@ let ModalEditorPart = class ModalEditorPart {
|
|
|
366
373
|
}
|
|
367
374
|
}
|
|
368
375
|
const size = resizableElement.size;
|
|
376
|
+
const sidebarWidth = sidebarResult?.getWidth() ?? 0;
|
|
369
377
|
editorPart.layout(
|
|
370
|
-
size.width - MODAL_BORDER_SIZE,
|
|
378
|
+
Math.max(0, size.width - MODAL_BORDER_SIZE - sidebarWidth),
|
|
371
379
|
size.height - MODAL_BORDER_SIZE - MODAL_HEADER_HEIGHT,
|
|
372
380
|
0,
|
|
373
381
|
0
|
|
374
382
|
);
|
|
383
|
+
sidebarResult?.layout(size.height - MODAL_BORDER_SIZE - MODAL_HEADER_HEIGHT);
|
|
375
384
|
if (e.done) {
|
|
376
385
|
isResizing = false;
|
|
377
386
|
const defaultSize = getDefaultSize();
|
|
@@ -443,11 +452,12 @@ let ModalEditorPart = class ModalEditorPart {
|
|
|
443
452
|
resizableElement.domNode.style.top = `${top}px`;
|
|
444
453
|
}
|
|
445
454
|
editorPart.layout(
|
|
446
|
-
width - MODAL_BORDER_SIZE,
|
|
455
|
+
Math.max(0, width - MODAL_BORDER_SIZE - (sidebarResult?.getWidth() ?? 0)),
|
|
447
456
|
height - MODAL_BORDER_SIZE - MODAL_HEADER_HEIGHT,
|
|
448
457
|
0,
|
|
449
458
|
0
|
|
450
459
|
);
|
|
460
|
+
sidebarResult?.layout(height - MODAL_BORDER_SIZE - MODAL_HEADER_HEIGHT);
|
|
451
461
|
};
|
|
452
462
|
disposables.add(
|
|
453
463
|
Event.runAndSubscribe(this.layoutService.onDidLayoutMainContainer, layoutModal)
|
|
@@ -463,6 +473,62 @@ let ModalEditorPart = class ModalEditorPart {
|
|
|
463
473
|
disposables
|
|
464
474
|
};
|
|
465
475
|
}
|
|
476
|
+
createSidebar(container, content, disposables) {
|
|
477
|
+
if (!content) {
|
|
478
|
+
return undefined;
|
|
479
|
+
}
|
|
480
|
+
let sidebarWidth = MODAL_SIDEBAR_DEFAULT_WIDTH;
|
|
481
|
+
const sidebarContainer = append(container, $("div.modal-editor-sidebar.show-file-icons"));
|
|
482
|
+
sidebarContainer.style.width = `${sidebarWidth}px`;
|
|
483
|
+
const onDidLayoutEmitter = disposables.add(( new Emitter()));
|
|
484
|
+
const contentDisposable = disposables.add(( new MutableDisposable()));
|
|
485
|
+
contentDisposable.value = content.render(sidebarContainer, onDidLayoutEmitter.event);
|
|
486
|
+
const sash = disposables.add(( new Sash(container, {
|
|
487
|
+
getVerticalSashLeft: () => sidebarWidth,
|
|
488
|
+
getVerticalSashTop: () => MODAL_HEADER_HEIGHT,
|
|
489
|
+
getVerticalSashHeight: () => (container.clientHeight - MODAL_HEADER_HEIGHT)
|
|
490
|
+
}, {
|
|
491
|
+
orientation: Orientation.VERTICAL
|
|
492
|
+
})));
|
|
493
|
+
const onDidResizeEmitter = disposables.add(( new Emitter()));
|
|
494
|
+
let sashStartWidth;
|
|
495
|
+
disposables.add(sash.onDidStart(() => sashStartWidth = sidebarWidth));
|
|
496
|
+
disposables.add(sash.onDidEnd(() => sashStartWidth = undefined));
|
|
497
|
+
disposables.add(sash.onDidChange(e => {
|
|
498
|
+
if (sashStartWidth === undefined) {
|
|
499
|
+
return;
|
|
500
|
+
}
|
|
501
|
+
const delta = e.currentX - e.startX;
|
|
502
|
+
const maxWidth = Math.max(MODAL_SIDEBAR_MIN_WIDTH, container.clientWidth - MODAL_MIN_WIDTH);
|
|
503
|
+
sidebarWidth = Math.min(maxWidth, Math.max(MODAL_SIDEBAR_MIN_WIDTH, sashStartWidth + delta));
|
|
504
|
+
sidebarContainer.style.width = `${sidebarWidth}px`;
|
|
505
|
+
sash.layout();
|
|
506
|
+
onDidResizeEmitter.fire();
|
|
507
|
+
}));
|
|
508
|
+
disposables.add(sash.onDidReset(() => {
|
|
509
|
+
const maxWidth = Math.max(MODAL_SIDEBAR_MIN_WIDTH, container.clientWidth - MODAL_MIN_WIDTH);
|
|
510
|
+
sidebarWidth = Math.min(maxWidth, MODAL_SIDEBAR_DEFAULT_WIDTH);
|
|
511
|
+
sidebarContainer.style.width = `${sidebarWidth}px`;
|
|
512
|
+
sash.layout();
|
|
513
|
+
onDidResizeEmitter.fire();
|
|
514
|
+
}));
|
|
515
|
+
return {
|
|
516
|
+
onDidResize: onDidResizeEmitter.event,
|
|
517
|
+
getWidth: () => sidebarWidth,
|
|
518
|
+
layout: height => {
|
|
519
|
+
onDidLayoutEmitter.fire({
|
|
520
|
+
height,
|
|
521
|
+
width: sidebarWidth
|
|
522
|
+
});
|
|
523
|
+
sash.layout();
|
|
524
|
+
},
|
|
525
|
+
updateContent: newContent => {
|
|
526
|
+
contentDisposable.clear();
|
|
527
|
+
sidebarContainer.textContent = "";
|
|
528
|
+
contentDisposable.value = newContent.render(sidebarContainer, onDidLayoutEmitter.event);
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
}
|
|
466
532
|
};
|
|
467
533
|
ModalEditorPart = ( __decorate([( __param(1, IInstantiationService)), ( __param(2, IEditorService)), ( __param(3, IWorkbenchLayoutService)), ( __param(4, IKeybindingService)), ( __param(5, IHostService)), ( __param(6, IConfigurationService))], ModalEditorPart));
|
|
468
534
|
let ModalEditorPartImpl = class ModalEditorPartImpl extends EditorPart {
|
|
@@ -879,7 +879,14 @@ let MultiEditorTabsControl = class MultiEditorTabsControl extends EditorTabsCont
|
|
|
879
879
|
const label = `${editor.getName()} + ${selectedEditors.length - 1}`;
|
|
880
880
|
applyDragImage(e, tab, label);
|
|
881
881
|
} else {
|
|
882
|
-
|
|
882
|
+
const options = this.groupsView.partOptions;
|
|
883
|
+
const isTabSticky = this.tabsModel.isSticky(tabIndex);
|
|
884
|
+
const isShrinkSizing = options.tabSizing === "shrink" || (isTabSticky && options.pinnedTabSizing === "shrink");
|
|
885
|
+
if (isShrinkSizing) {
|
|
886
|
+
applyDragImage(e, tab, editor.getName());
|
|
887
|
+
} else {
|
|
888
|
+
e.dataTransfer.setDragImage(tab, 0, 0);
|
|
889
|
+
}
|
|
883
890
|
}
|
|
884
891
|
}
|
|
885
892
|
this.doFillResourceDataTransfers(selectedEditors, e, isNewWindowOperation);
|