@codingame/monaco-vscode-api 29.1.1 → 30.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +39 -16
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +5 -5
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +6 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +19 -7
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +81 -15
- package/vscode/src/vs/base/common/codicons.d.ts +4 -0
- package/vscode/src/vs/base/common/codicons.js +3 -1
- package/vscode/src/vs/base/common/glob.js +5 -1
- package/vscode/src/vs/base/common/performance.d.ts +4 -0
- package/vscode/src/vs/base/common/performance.js +40 -17
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +4 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +13 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +106 -74
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +14 -11
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -0
- package/vscode/src/vs/platform/actions/common/actions.js +9 -0
- package/vscode/src/vs/platform/browserView/common/browserView.d.ts +34 -7
- package/vscode/src/vs/platform/editor/common/editor.d.ts +29 -4
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environmentService.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +3 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +3 -0
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +2 -2
- package/vscode/src/vs/platform/label/common/label.d.ts +6 -0
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.d.ts +11 -2
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +6 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +14 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +5 -3
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +6 -2
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.d.ts +4 -0
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.service.d.ts +6 -0
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperService.service.js +6 -0
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +3 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +5 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +4 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +9 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +21 -1
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +57 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +5 -3
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +34 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +5 -1
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +32 -2
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +11 -1
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +24 -2
- package/vscode/src/vs/workbench/browser/parts/editor/media/modalEditorPart.css +35 -5
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/modalEditorPart.js +70 -4
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +8 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +156 -167
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +77 -77
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.d.ts +0 -6
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +154 -154
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/browserView/common/browserView.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +65 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.js +26 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.d.ts +21 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel.js +21 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +8 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatScreenshotContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.d.ts +165 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.js +1409 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/actions/chatContextKeys.js +87 -83
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/common/attachments/chatVariableEntries.js +5 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatModes.js +13 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatPerf.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatPerf.js +30 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.d.ts +9 -12
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.js +1 -13
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatService.service.d.ts +1 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +45 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +17 -4
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +48 -5
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +46 -18
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatEditingService.service.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.d.ts +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModel.js +54 -20
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.d.ts +3 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatViewModel.js +3 -7
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatAgents.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +36 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/config.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.d.ts +3 -29
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.js +2 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookSchema.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookTypes.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptFileAttributes.js +78 -88
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileParser.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +28 -23
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.js +1 -7
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/requestParser/chatRequestParser.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/askQuestionsTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.service.d.ts +2 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/widget/input/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +11 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +41 -8
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/common/languageConfigurationExtensionPoint.js +65 -65
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +9 -9
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +12 -12
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +75 -75
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +38 -38
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +18 -18
- package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/abstractRuntimeExtensionsEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/extensions/browser/configBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/exeBasedRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEditor.js +41 -41
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionEnablementWorkspaceTrustTransitionParticipant.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionFeaturesTab.js +15 -15
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.js +14 -14
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensions.contribution.js +148 -148
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +170 -170
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActivationProgress.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsCompletionItemsProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsDependencyChecker.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +25 -25
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsQuickAccess.js +4 -4
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewer.js +7 -7
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.js +47 -47
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViews.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWidgets.js +30 -30
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.js +76 -76
- package/vscode/src/vs/workbench/contrib/extensions/browser/fileBasedRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/webRecommendations.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/workspaceRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/runtimeExtensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +39 -39
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +27 -27
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +50 -50
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +17 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -16
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration.js +66 -66
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerActions.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditor.js +34 -34
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerIcons.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpServerWidgets.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpConfiguration.js +40 -40
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpServer.js +16 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +23 -23
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +20 -9
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnection.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/meteredConnection/browser/meteredConnectionStatus.js +4 -4
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +1 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +60 -60
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +59 -59
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +11 -11
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryChatContext.js +6 -6
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +30 -13
- package/vscode/src/vs/workbench/contrib/search/browser/patternInputWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +12 -12
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +9 -9
- package/vscode/src/vs/workbench/contrib/search/browser/searchChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchFindInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/searchMessage.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchResultsView.js +14 -14
- package/vscode/src/vs/workbench/contrib/search/browser/searchView.js +55 -55
- package/vscode/src/vs/workbench/contrib/search/browser/searchWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +32 -5
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/searchEditor/browser/searchEditorSerialization.js +5 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +6 -6
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +13 -13
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +43 -45
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +13 -10
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +17 -17
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +26 -26
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/terminal/terminalContribExports.js +10 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminalAccessibilityConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/autoReplies/common/terminalAutoRepliesConfiguration.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.d.ts +10 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.js +134 -91
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.service.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/commandGuide/common/terminalCommandGuideConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/history/common/terminal.history.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/inlineHint/common/terminalInitialHintConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/notification/common/terminalNotificationConfiguration.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/common/terminalStickyScrollConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminalSuggestConfiguration.js +30 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/typeAhead/common/terminalTypeAheadConfiguration.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/zoom/common/terminal.zoom.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindAccessibilityHelp.js +30 -30
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +11 -11
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +4 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +27 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/environment/browser/environmentService.js +9 -0
- package/vscode/src/vs/workbench/services/environment/common/environmentService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionsIcons.js +3 -3
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +10 -10
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +88 -88
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +24 -24
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +4 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +30 -30
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +18 -18
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.d.ts +2 -2
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +8 -4
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +16 -16
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +0 -4
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +19 -1
- package/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts +168 -0
- package/vscode-dts/vscode.proposed.d.ts +1 -0
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +0 -746
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -300
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -55
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.d.ts +0 -273
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1963
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -314
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.d.ts +0 -258
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -886
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -118
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +0 -71
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookCellDiffDecorator.js +0 -313
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.d.ts +0 -51
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookDeletedCellDecorator.js +0 -265
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiff.js +0 -185
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.d.ts +0 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInlineDiffWidget.js +0 -104
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookInsertedCellDecorator.js +0 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalCellModelFactory.js +0 -41
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/inlineDiff/notebookOriginalModelRefFactory.js +0 -69
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css +0 -469
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.d.ts +0 -149
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -933
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.d.ts +0 -180
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -32
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.d.ts +0 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -643
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.d.ts +0 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -197
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.d.ts +0 -75
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +0 -539
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +0 -39
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +0 -90
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiff.js +0 -92
|
@@ -24,7 +24,7 @@ import { ModifiedFileEntryState } from '../../../common/editing/chatEditingServi
|
|
|
24
24
|
import { LocalChatSessionUri, getChatSessionType } from '../../../common/model/chatUri.js';
|
|
25
25
|
|
|
26
26
|
var ChatEditorInput_1;
|
|
27
|
-
const ChatEditorIcon = registerIcon("chat-editor-label-icon", Codicon.chatSparkle, ( localize(
|
|
27
|
+
const ChatEditorIcon = registerIcon("chat-editor-label-icon", Codicon.chatSparkle, ( localize(7139, "Icon of the chat editor label.")));
|
|
28
28
|
let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
29
29
|
static {
|
|
30
30
|
ChatEditorInput_1 = this;
|
|
@@ -88,8 +88,8 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
88
88
|
if (!this.model?.editingSession || this.didTransferOutEditingSession || this.getSessionType() !== localChatSessionType) {
|
|
89
89
|
return ConfirmResult.SAVE;
|
|
90
90
|
}
|
|
91
|
-
const titleOverride = ( localize(
|
|
92
|
-
const messageOverride = ( localize(
|
|
91
|
+
const titleOverride = ( localize(7140, "Close Chat Editor"));
|
|
92
|
+
const messageOverride = ( localize(7141, "Closing the chat editor will end your current edit session."));
|
|
93
93
|
const result = await showClearEditingSessionConfirmation(this.model, this.dialogService, {
|
|
94
94
|
titleOverride,
|
|
95
95
|
messageOverride
|
|
@@ -131,7 +131,7 @@ let ChatEditorInput = class ChatEditorInput extends EditorInput {
|
|
|
131
131
|
if (this.options.title?.preferred) {
|
|
132
132
|
return this.options.title.preferred;
|
|
133
133
|
}
|
|
134
|
-
return this.options.title?.fallback ?? ( localize(
|
|
134
|
+
return this.options.title?.fallback ?? ( localize(7142, "Chat"));
|
|
135
135
|
}
|
|
136
136
|
getTitle(verbosity) {
|
|
137
137
|
const name = this.getName();
|
|
@@ -295,25 +295,25 @@ async function showClearEditingSessionConfirmation(model, dialogService, options
|
|
|
295
295
|
if (!undecidedEdits) {
|
|
296
296
|
return true;
|
|
297
297
|
}
|
|
298
|
-
const defaultPhrase = ( localize(
|
|
299
|
-
const defaultTitle = ( localize(
|
|
298
|
+
const defaultPhrase = ( localize(7143, "Starting a new chat will end your current edit session."));
|
|
299
|
+
const defaultTitle = ( localize(7144, "Start new chat?"));
|
|
300
300
|
const phrase = options?.messageOverride ?? defaultPhrase;
|
|
301
301
|
const title = options?.titleOverride ?? defaultTitle;
|
|
302
302
|
const {
|
|
303
303
|
result
|
|
304
304
|
} = await dialogService.prompt({
|
|
305
305
|
title,
|
|
306
|
-
message: phrase + " " + ( localize(
|
|
306
|
+
message: phrase + " " + ( localize(7145, "Do you want to keep pending edits to {0} files?", undecidedEdits)),
|
|
307
307
|
type: "info",
|
|
308
308
|
cancelButton: true,
|
|
309
309
|
buttons: [{
|
|
310
|
-
label: ( localize(
|
|
310
|
+
label: ( localize(7146, "Keep & Continue")),
|
|
311
311
|
run: async () => {
|
|
312
312
|
await model.editingSession.accept();
|
|
313
313
|
return true;
|
|
314
314
|
}
|
|
315
315
|
}, {
|
|
316
|
-
label: ( localize(
|
|
316
|
+
label: ( localize(7147, "Undo & Continue")),
|
|
317
317
|
run: async () => {
|
|
318
318
|
await model.editingSession.reject();
|
|
319
319
|
return true;
|
|
@@ -18,6 +18,7 @@ export declare namespace ChatContextKeys {
|
|
|
18
18
|
const editingRequestType: RawContextKey<EditingRequestType | undefined>;
|
|
19
19
|
const isResponse: RawContextKey<boolean>;
|
|
20
20
|
const isRequest: RawContextKey<boolean>;
|
|
21
|
+
const isFirstRequest: RawContextKey<boolean>;
|
|
21
22
|
const isPendingRequest: RawContextKey<boolean>;
|
|
22
23
|
const itemId: RawContextKey<string>;
|
|
23
24
|
const lastItemId: RawContextKey<string[]>;
|
|
@@ -95,6 +96,7 @@ export declare namespace ChatContextKeys {
|
|
|
95
96
|
canSignUp: RawContextKey<boolean>;
|
|
96
97
|
planFree: RawContextKey<boolean>;
|
|
97
98
|
planPro: RawContextKey<boolean>;
|
|
99
|
+
planEdu: RawContextKey<boolean>;
|
|
98
100
|
planProPlus: RawContextKey<boolean>;
|
|
99
101
|
planBusiness: RawContextKey<boolean>;
|
|
100
102
|
planEnterprise: RawContextKey<boolean>;
|
|
@@ -11,37 +11,37 @@ var ChatContextKeys;
|
|
|
11
11
|
ChatContextKeys.responseVote = ( new RawContextKey("chatSessionResponseVote", "", {
|
|
12
12
|
type: "string",
|
|
13
13
|
description: ( localize(
|
|
14
|
-
|
|
14
|
+
7163,
|
|
15
15
|
"When the response has been voted up, is set to 'up'. When voted down, is set to 'down'. Otherwise an empty string."
|
|
16
16
|
))
|
|
17
17
|
}));
|
|
18
18
|
ChatContextKeys.responseDetectedAgentCommand = ( new RawContextKey("chatSessionResponseDetectedAgentOrCommand", false, {
|
|
19
19
|
type: "boolean",
|
|
20
|
-
description: ( localize(
|
|
20
|
+
description: ( localize(7164, "When the agent or command was automatically detected"))
|
|
21
21
|
}));
|
|
22
22
|
ChatContextKeys.responseSupportsIssueReporting = ( new RawContextKey("chatResponseSupportsIssueReporting", false, {
|
|
23
23
|
type: "boolean",
|
|
24
|
-
description: ( localize(
|
|
24
|
+
description: ( localize(7165, "True when the current chat response supports issue reporting."))
|
|
25
25
|
}));
|
|
26
26
|
ChatContextKeys.responseIsFiltered = ( new RawContextKey("chatSessionResponseFiltered", false, {
|
|
27
27
|
type: "boolean",
|
|
28
|
-
description: ( localize(
|
|
28
|
+
description: ( localize(7166, "True when the chat response was filtered out by the server."))
|
|
29
29
|
}));
|
|
30
30
|
ChatContextKeys.responseHasError = ( new RawContextKey("chatSessionResponseError", false, {
|
|
31
31
|
type: "boolean",
|
|
32
|
-
description: ( localize(
|
|
32
|
+
description: ( localize(7167, "True when the chat response resulted in an error."))
|
|
33
33
|
}));
|
|
34
34
|
ChatContextKeys.requestInProgress = ( new RawContextKey("chatSessionRequestInProgress", false, {
|
|
35
35
|
type: "boolean",
|
|
36
|
-
description: ( localize(
|
|
36
|
+
description: ( localize(7168, "True when the current request is still in progress."))
|
|
37
37
|
}));
|
|
38
38
|
ChatContextKeys.currentlyEditing = ( new RawContextKey("chatSessionCurrentlyEditing", false, {
|
|
39
39
|
type: "boolean",
|
|
40
|
-
description: ( localize(
|
|
40
|
+
description: ( localize(7169, "True when the current request is being edited."))
|
|
41
41
|
}));
|
|
42
42
|
ChatContextKeys.currentlyEditingInput = ( new RawContextKey("chatSessionCurrentlyEditingInput", false, {
|
|
43
43
|
type: "boolean",
|
|
44
|
-
description: ( localize(
|
|
44
|
+
description: ( localize(7170, "True when the current request input at the bottom is being edited."))
|
|
45
45
|
}));
|
|
46
46
|
(function(EditingRequestType) {
|
|
47
47
|
EditingRequestType["Sent"] = "s";
|
|
@@ -52,88 +52,92 @@ var ChatContextKeys;
|
|
|
52
52
|
);
|
|
53
53
|
ChatContextKeys.editingRequestType = ( new RawContextKey("chatEditingSentRequest", undefined, {
|
|
54
54
|
type: "string",
|
|
55
|
-
description: ( localize(
|
|
55
|
+
description: ( localize(7171, "The type of the current editing request."))
|
|
56
56
|
}));
|
|
57
57
|
ChatContextKeys.isResponse = ( new RawContextKey("chatResponse", false, {
|
|
58
58
|
type: "boolean",
|
|
59
|
-
description: ( localize(
|
|
59
|
+
description: ( localize(7172, "The chat item is a response."))
|
|
60
60
|
}));
|
|
61
61
|
ChatContextKeys.isRequest = ( new RawContextKey("chatRequest", false, {
|
|
62
62
|
type: "boolean",
|
|
63
|
-
description: ( localize(
|
|
63
|
+
description: ( localize(7173, "The chat item is a request"))
|
|
64
|
+
}));
|
|
65
|
+
ChatContextKeys.isFirstRequest = ( new RawContextKey("chatFirstRequest", false, {
|
|
66
|
+
type: "boolean",
|
|
67
|
+
description: ( localize(7174, "The chat item is the first request in the session."))
|
|
64
68
|
}));
|
|
65
69
|
ChatContextKeys.isPendingRequest = ( new RawContextKey("chatRequestIsPending", false, {
|
|
66
70
|
type: "boolean",
|
|
67
|
-
description: ( localize(
|
|
71
|
+
description: ( localize(7175, "True when the chat request item is pending in the queue."))
|
|
68
72
|
}));
|
|
69
73
|
ChatContextKeys.itemId = ( new RawContextKey("chatItemId", "", {
|
|
70
74
|
type: "string",
|
|
71
|
-
description: ( localize(
|
|
75
|
+
description: ( localize(7176, "The id of the chat item."))
|
|
72
76
|
}));
|
|
73
77
|
ChatContextKeys.lastItemId = ( new RawContextKey("chatLastItemId", [], {
|
|
74
78
|
type: "string",
|
|
75
|
-
description: ( localize(
|
|
79
|
+
description: ( localize(7177, "The id of the last chat item."))
|
|
76
80
|
}));
|
|
77
81
|
ChatContextKeys.editApplied = ( new RawContextKey("chatEditApplied", false, {
|
|
78
82
|
type: "boolean",
|
|
79
|
-
description: ( localize(
|
|
83
|
+
description: ( localize(7178, "True when the chat text edits have been applied."))
|
|
80
84
|
}));
|
|
81
85
|
ChatContextKeys.inputHasText = ( new RawContextKey("chatInputHasText", false, {
|
|
82
86
|
type: "boolean",
|
|
83
|
-
description: ( localize(
|
|
87
|
+
description: ( localize(7179, "True when the chat input has text."))
|
|
84
88
|
}));
|
|
85
89
|
ChatContextKeys.inputHasFocus = ( new RawContextKey("chatInputHasFocus", false, {
|
|
86
90
|
type: "boolean",
|
|
87
|
-
description: ( localize(
|
|
91
|
+
description: ( localize(7180, "True when the chat input has focus."))
|
|
88
92
|
}));
|
|
89
93
|
ChatContextKeys.inChatInput = ( new RawContextKey("inChatInput", false, {
|
|
90
94
|
type: "boolean",
|
|
91
|
-
description: ( localize(
|
|
95
|
+
description: ( localize(7181, "True when focus is in the chat input, false otherwise."))
|
|
92
96
|
}));
|
|
93
97
|
ChatContextKeys.inChatSession = ( new RawContextKey("inChat", false, {
|
|
94
98
|
type: "boolean",
|
|
95
|
-
description: ( localize(
|
|
99
|
+
description: ( localize(7182, "True when focus is in the chat widget, false otherwise."))
|
|
96
100
|
}));
|
|
97
101
|
ChatContextKeys.inChatQuestionCarousel = ( new RawContextKey("inChatQuestionCarousel", false, {
|
|
98
102
|
type: "boolean",
|
|
99
|
-
description: ( localize(
|
|
103
|
+
description: ( localize(7183, "True when focus is in the chat question carousel."))
|
|
100
104
|
}));
|
|
101
105
|
ChatContextKeys.inChatEditor = ( new RawContextKey("inChatEditor", false, {
|
|
102
106
|
type: "boolean",
|
|
103
|
-
description: ( localize(
|
|
107
|
+
description: ( localize(7184, "Whether focus is in a chat editor."))
|
|
104
108
|
}));
|
|
105
109
|
ChatContextKeys.inChatTodoList = ( new RawContextKey("inChatTodoList", false, {
|
|
106
110
|
type: "boolean",
|
|
107
|
-
description: ( localize(
|
|
111
|
+
description: ( localize(7185, "True when focus is in the chat todo list."))
|
|
108
112
|
}));
|
|
109
113
|
ChatContextKeys.inChatTip = ( new RawContextKey("inChatTip", false, {
|
|
110
114
|
type: "boolean",
|
|
111
|
-
description: ( localize(
|
|
115
|
+
description: ( localize(7186, "True when focus is in a chat tip."))
|
|
112
116
|
}));
|
|
113
117
|
ChatContextKeys.multipleChatTips = ( new RawContextKey("multipleChatTips", false, {
|
|
114
118
|
type: "boolean",
|
|
115
|
-
description: ( localize(
|
|
119
|
+
description: ( localize(7187, "True when there are multiple chat tips available."))
|
|
116
120
|
}));
|
|
117
121
|
ChatContextKeys.inChatTerminalToolOutput = ( new RawContextKey("inChatTerminalToolOutput", false, {
|
|
118
122
|
type: "boolean",
|
|
119
|
-
description: ( localize(
|
|
123
|
+
description: ( localize(7188, "True when focus is in the chat terminal output region."))
|
|
120
124
|
}));
|
|
121
125
|
ChatContextKeys.chatModeKind = ( new RawContextKey("chatAgentKind", ChatModeKind.Ask, {
|
|
122
126
|
type: "string",
|
|
123
|
-
description: ( localize(
|
|
127
|
+
description: ( localize(7189, "The 'kind' of the current agent."))
|
|
124
128
|
}));
|
|
125
129
|
ChatContextKeys.chatPermissionLevel = ( new RawContextKey("chatPermissionLevel", ChatPermissionLevel.Default, {
|
|
126
130
|
type: "string",
|
|
127
|
-
description: ( localize(
|
|
131
|
+
description: ( localize(7190, "The current permission level for tool auto-approval."))
|
|
128
132
|
}));
|
|
129
133
|
ChatContextKeys.chatModeName = ( new RawContextKey("chatModeName", "", {
|
|
130
134
|
type: "string",
|
|
131
|
-
description: ( localize(
|
|
135
|
+
description: ( localize(7191, "The name of the current chat mode (e.g. 'Plan' for custom modes)."))
|
|
132
136
|
}));
|
|
133
137
|
ChatContextKeys.chatModelId = ( new RawContextKey("chatModelId", "", {
|
|
134
138
|
type: "string",
|
|
135
139
|
description: ( localize(
|
|
136
|
-
|
|
140
|
+
7192,
|
|
137
141
|
"The short id of the currently selected chat model (for example 'gpt-4.1')."
|
|
138
142
|
))
|
|
139
143
|
}));
|
|
@@ -141,94 +145,94 @@ var ChatContextKeys;
|
|
|
141
145
|
ChatContextKeys.enabled = ( new RawContextKey("chatIsEnabled", false, {
|
|
142
146
|
type: "boolean",
|
|
143
147
|
description: ( localize(
|
|
144
|
-
|
|
148
|
+
7193,
|
|
145
149
|
"True when chat is enabled because a default chat participant is activated with an implementation."
|
|
146
150
|
))
|
|
147
151
|
}));
|
|
148
152
|
ChatContextKeys.lockedToCodingAgent = ( new RawContextKey("lockedToCodingAgent", false, {
|
|
149
153
|
type: "boolean",
|
|
150
|
-
description: ( localize(
|
|
154
|
+
description: ( localize(7194, "True when the chat widget is locked to the coding agent session."))
|
|
151
155
|
}));
|
|
152
156
|
ChatContextKeys.lockedCodingAgentId = ( new RawContextKey("lockedCodingAgentId", "", {
|
|
153
157
|
type: "string",
|
|
154
158
|
description: ( localize(
|
|
155
|
-
|
|
159
|
+
7195,
|
|
156
160
|
"The agent ID when the chat widget is locked to a coding agent session."
|
|
157
161
|
))
|
|
158
162
|
}));
|
|
159
163
|
ChatContextKeys.chatSessionHasCustomAgentTarget = ( new RawContextKey("chatSessionHasCustomAgentTarget", false, {
|
|
160
164
|
type: "boolean",
|
|
161
165
|
description: ( localize(
|
|
162
|
-
|
|
166
|
+
7196,
|
|
163
167
|
"True when the chat session has a customAgentTarget defined to filter modes."
|
|
164
168
|
))
|
|
165
169
|
}));
|
|
166
170
|
ChatContextKeys.chatSessionHasTargetedModels = ( new RawContextKey("chatSessionHasTargetedModels", false, {
|
|
167
171
|
type: "boolean",
|
|
168
172
|
description: ( localize(
|
|
169
|
-
|
|
173
|
+
7197,
|
|
170
174
|
"True when the chat session has language models that target it via targetChatSessionType."
|
|
171
175
|
))
|
|
172
176
|
}));
|
|
173
177
|
ChatContextKeys.agentSupportsAttachments = ( new RawContextKey("agentSupportsAttachments", false, {
|
|
174
178
|
type: "boolean",
|
|
175
|
-
description: ( localize(
|
|
179
|
+
description: ( localize(7198, "True when the chat agent supports attachments."))
|
|
176
180
|
}));
|
|
177
181
|
ChatContextKeys.withinEditSessionDiff = ( new RawContextKey("withinEditSessionDiff", false, {
|
|
178
182
|
type: "boolean",
|
|
179
|
-
description: ( localize(
|
|
183
|
+
description: ( localize(7199, "True when the chat widget dispatches to the edit session chat."))
|
|
180
184
|
}));
|
|
181
185
|
ChatContextKeys.filePartOfEditSession = ( new RawContextKey("filePartOfEditSession", false, {
|
|
182
186
|
type: "boolean",
|
|
183
|
-
description: ( localize(
|
|
187
|
+
description: ( localize(7200, "True when the chat widget is within a file with an edit session."))
|
|
184
188
|
}));
|
|
185
189
|
ChatContextKeys.extensionParticipantRegistered = ( new RawContextKey("chatPanelExtensionParticipantRegistered", false, {
|
|
186
190
|
type: "boolean",
|
|
187
191
|
description: ( localize(
|
|
188
|
-
|
|
192
|
+
7201,
|
|
189
193
|
"True when a default chat participant is registered for the panel from an extension."
|
|
190
194
|
))
|
|
191
195
|
}));
|
|
192
196
|
ChatContextKeys.panelParticipantRegistered = ( new RawContextKey("chatPanelParticipantRegistered", false, {
|
|
193
197
|
type: "boolean",
|
|
194
|
-
description: ( localize(
|
|
198
|
+
description: ( localize(7202, "True when a default chat participant is registered for the panel."))
|
|
195
199
|
}));
|
|
196
200
|
ChatContextKeys.chatEditingCanUndo = ( new RawContextKey("chatEditingCanUndo", false, {
|
|
197
201
|
type: "boolean",
|
|
198
202
|
description: ( localize(
|
|
199
|
-
|
|
203
|
+
7203,
|
|
200
204
|
"True when it is possible to undo an interaction in the editing panel."
|
|
201
205
|
))
|
|
202
206
|
}));
|
|
203
207
|
ChatContextKeys.chatEditingCanRedo = ( new RawContextKey("chatEditingCanRedo", false, {
|
|
204
208
|
type: "boolean",
|
|
205
209
|
description: ( localize(
|
|
206
|
-
|
|
210
|
+
7204,
|
|
207
211
|
"True when it is possible to redo an interaction in the editing panel."
|
|
208
212
|
))
|
|
209
213
|
}));
|
|
210
214
|
ChatContextKeys.languageModelsAreUserSelectable = ( new RawContextKey("chatModelsAreUserSelectable", false, {
|
|
211
215
|
type: "boolean",
|
|
212
|
-
description: ( localize(
|
|
216
|
+
description: ( localize(7205, "True when the chat model can be selected manually by the user."))
|
|
213
217
|
}));
|
|
214
218
|
ChatContextKeys.chatSessionHasModels = ( new RawContextKey("chatSessionHasModels", false, {
|
|
215
219
|
type: "boolean",
|
|
216
220
|
description: ( localize(
|
|
217
|
-
|
|
221
|
+
7206,
|
|
218
222
|
"True when the chat is in a contributed chat session that has available 'models' to display."
|
|
219
223
|
))
|
|
220
224
|
}));
|
|
221
225
|
ChatContextKeys.chatSessionOptionsValid = ( new RawContextKey("chatSessionOptionsValid", true, {
|
|
222
226
|
type: "boolean",
|
|
223
227
|
description: ( localize(
|
|
224
|
-
|
|
228
|
+
7207,
|
|
225
229
|
"True when all selected session options exist in their respective option group items."
|
|
226
230
|
))
|
|
227
231
|
}));
|
|
228
232
|
ChatContextKeys.extensionInvalid = ( new RawContextKey("chatExtensionInvalid", false, {
|
|
229
233
|
type: "boolean",
|
|
230
234
|
description: ( localize(
|
|
231
|
-
|
|
235
|
+
7208,
|
|
232
236
|
"True when the installed chat extension is invalid and needs to be updated."
|
|
233
237
|
))
|
|
234
238
|
}));
|
|
@@ -237,58 +241,58 @@ var ChatContextKeys;
|
|
|
237
241
|
ChatContextKeys.location = ( new RawContextKey("chatLocation", undefined));
|
|
238
242
|
ChatContextKeys.inQuickChat = ( new RawContextKey("quickChatHasFocus", false, {
|
|
239
243
|
type: "boolean",
|
|
240
|
-
description: ( localize(
|
|
244
|
+
description: ( localize(7209, "True when the quick chat UI has focus, false otherwise."))
|
|
241
245
|
}));
|
|
242
246
|
ChatContextKeys.inAgentSessionsWelcome = ( new RawContextKey("inAgentSessionsWelcome", false, {
|
|
243
247
|
type: "boolean",
|
|
244
248
|
description: ( localize(
|
|
245
|
-
|
|
249
|
+
7210,
|
|
246
250
|
"True when the chat input is within the agent sessions welcome page."
|
|
247
251
|
))
|
|
248
252
|
}));
|
|
249
253
|
ChatContextKeys.chatSessionType = ( new RawContextKey("chatSessionType", "", {
|
|
250
254
|
type: "string",
|
|
251
|
-
description: ( localize(
|
|
255
|
+
description: ( localize(7211, "The type of the current chat session."))
|
|
252
256
|
}));
|
|
253
257
|
ChatContextKeys.hasFileAttachments = ( new RawContextKey("chatHasFileAttachments", false, {
|
|
254
258
|
type: "boolean",
|
|
255
|
-
description: ( localize(
|
|
259
|
+
description: ( localize(7212, "True when the chat has file attachments."))
|
|
256
260
|
}));
|
|
257
261
|
ChatContextKeys.chatSessionIsEmpty = ( new RawContextKey("chatSessionIsEmpty", true, {
|
|
258
262
|
type: "boolean",
|
|
259
|
-
description: ( localize(
|
|
263
|
+
description: ( localize(7213, "True when the current chat session has no requests."))
|
|
260
264
|
}));
|
|
261
265
|
ChatContextKeys.hasPendingRequests = ( new RawContextKey("chatHasPendingRequests", false, {
|
|
262
266
|
type: "boolean",
|
|
263
|
-
description: ( localize(
|
|
267
|
+
description: ( localize(7214, "True when there are pending requests in the queue."))
|
|
264
268
|
}));
|
|
265
269
|
ChatContextKeys.chatSessionHasDebugData = ( new RawContextKey("chatSessionHasDebugData", false, {
|
|
266
270
|
type: "boolean",
|
|
267
|
-
description: ( localize(
|
|
271
|
+
description: ( localize(7215, "True when the current chat session has debug log data."))
|
|
268
272
|
}));
|
|
269
273
|
ChatContextKeys.chatSessionHasDebugTools = ( new RawContextKey("chatSessionHasDebugTools", false, {
|
|
270
274
|
type: "boolean",
|
|
271
|
-
description: ( localize(
|
|
275
|
+
description: ( localize(7216, "True when debug tools are enabled in the current chat session."))
|
|
272
276
|
}));
|
|
273
277
|
ChatContextKeys.remoteJobCreating = ( new RawContextKey("chatRemoteJobCreating", false, {
|
|
274
278
|
type: "boolean",
|
|
275
|
-
description: ( localize(
|
|
279
|
+
description: ( localize(7217, "True when a remote coding agent job is being created."))
|
|
276
280
|
}));
|
|
277
|
-
ChatContextKeys.hasRemoteCodingAgent = ( new RawContextKey("hasRemoteCodingAgent", false, ( localize(
|
|
281
|
+
ChatContextKeys.hasRemoteCodingAgent = ( new RawContextKey("hasRemoteCodingAgent", false, ( localize(7218, "Whether any remote coding agent is available"))));
|
|
278
282
|
ChatContextKeys.hasCanDelegateProviders = ( new RawContextKey("chatHasCanDelegateProviders", false, {
|
|
279
283
|
type: "boolean",
|
|
280
284
|
description: ( localize(
|
|
281
|
-
|
|
285
|
+
7219,
|
|
282
286
|
"True when there are chat session providers with delegation support available."
|
|
283
287
|
))
|
|
284
288
|
}));
|
|
285
289
|
ChatContextKeys.enableRemoteCodingAgentPromptFileOverlay = ( new RawContextKey("enableRemoteCodingAgentPromptFileOverlay", false, ( localize(
|
|
286
|
-
|
|
290
|
+
7220,
|
|
287
291
|
"Whether the remote coding agent prompt file overlay feature is enabled"
|
|
288
292
|
))));
|
|
289
293
|
ChatContextKeys.skipChatRequestInProgressMessage = ( new RawContextKey("chatSkipRequestInProgressMessage", false, {
|
|
290
294
|
type: "boolean",
|
|
291
|
-
description: ( localize(
|
|
295
|
+
description: ( localize(7221, "True when the chat request in progress message should be skipped."))
|
|
292
296
|
}));
|
|
293
297
|
ChatContextKeys.Setup = ChatEntitlementContextKeys.Setup;
|
|
294
298
|
ChatContextKeys.Entitlement = ChatEntitlementContextKeys.Entitlement;
|
|
@@ -297,115 +301,115 @@ var ChatContextKeys;
|
|
|
297
301
|
ChatContextKeys.Editing = {
|
|
298
302
|
hasToolConfirmation: ( new RawContextKey("chatHasToolConfirmation", false, {
|
|
299
303
|
type: "boolean",
|
|
300
|
-
description: ( localize(
|
|
304
|
+
description: ( localize(7222, "True when a tool confirmation is present."))
|
|
301
305
|
})),
|
|
302
306
|
hasElicitationRequest: ( new RawContextKey("chatHasElicitationRequest", false, {
|
|
303
307
|
type: "boolean",
|
|
304
|
-
description: ( localize(
|
|
308
|
+
description: ( localize(7223, "True when a chat elicitation request is pending."))
|
|
305
309
|
})),
|
|
306
310
|
hasQuestionCarousel: ( new RawContextKey("chatHasQuestionCarousel", false, {
|
|
307
311
|
type: "boolean",
|
|
308
|
-
description: ( localize(
|
|
312
|
+
description: ( localize(7224, "True when a question carousel is rendered in the chat input."))
|
|
309
313
|
}))
|
|
310
314
|
};
|
|
311
315
|
ChatContextKeys.Tools = {
|
|
312
316
|
toolsCount: ( new RawContextKey("toolsCount", 0, {
|
|
313
317
|
type: "number",
|
|
314
|
-
description: ( localize(
|
|
318
|
+
description: ( localize(7225, "The count of tools available in the chat."))
|
|
315
319
|
}))
|
|
316
320
|
};
|
|
317
321
|
ChatContextKeys.foregroundSessionCount = ( new RawContextKey("chatForegroundSessionCount", 0, {
|
|
318
322
|
type: "number",
|
|
319
323
|
description: ( localize(
|
|
320
|
-
|
|
324
|
+
7226,
|
|
321
325
|
"The number of foreground chat sessions visible across chat surfaces."
|
|
322
326
|
))
|
|
323
327
|
}));
|
|
324
328
|
ChatContextKeys.Modes = {
|
|
325
329
|
hasCustomChatModes: ( new RawContextKey("chatHasCustomAgents", false, {
|
|
326
330
|
type: "boolean",
|
|
327
|
-
description: ( localize(
|
|
331
|
+
description: ( localize(7227, "True when the chat has custom agents available."))
|
|
328
332
|
})),
|
|
329
333
|
agentModeDisabledByPolicy: ( new RawContextKey("chatAgentModeDisabledByPolicy", false, {
|
|
330
334
|
type: "boolean",
|
|
331
|
-
description: ( localize(
|
|
335
|
+
description: ( localize(7228, "True when agent mode is disabled by organization policy."))
|
|
332
336
|
}))
|
|
333
337
|
};
|
|
334
338
|
ChatContextKeys.panelLocation = ( new RawContextKey("chatPanelLocation", undefined, {
|
|
335
339
|
type: "number",
|
|
336
|
-
description: ( localize(
|
|
340
|
+
description: ( localize(7229, "The location of the chat panel."))
|
|
337
341
|
}));
|
|
338
342
|
ChatContextKeys.agentSessionsViewerFocused = ( new RawContextKey("agentSessionsViewerFocused", true, {
|
|
339
343
|
type: "boolean",
|
|
340
|
-
description: ( localize(
|
|
344
|
+
description: ( localize(7230, "If the agent sessions view in the chat view is focused."))
|
|
341
345
|
}));
|
|
342
346
|
ChatContextKeys.agentSessionsViewerOrientation = ( new RawContextKey("agentSessionsViewerOrientation", undefined, {
|
|
343
347
|
type: "number",
|
|
344
|
-
description: ( localize(
|
|
348
|
+
description: ( localize(7231, "Orientation of the agent sessions view in the chat view."))
|
|
345
349
|
}));
|
|
346
350
|
ChatContextKeys.agentSessionsViewerPosition = ( new RawContextKey("agentSessionsViewerPosition", undefined, {
|
|
347
351
|
type: "number",
|
|
348
|
-
description: ( localize(
|
|
352
|
+
description: ( localize(7232, "Position of the agent sessions view in the chat view."))
|
|
349
353
|
}));
|
|
350
354
|
ChatContextKeys.agentSessionsViewerVisible = ( new RawContextKey("agentSessionsViewerVisible", undefined, {
|
|
351
355
|
type: "boolean",
|
|
352
|
-
description: ( localize(
|
|
356
|
+
description: ( localize(7233, "Visibility of the agent sessions view in the chat view."))
|
|
353
357
|
}));
|
|
354
358
|
ChatContextKeys.agentSessionType = ( new RawContextKey("chatSessionType", "", {
|
|
355
359
|
type: "string",
|
|
356
|
-
description: ( localize(
|
|
360
|
+
description: ( localize(7234, "The type of the current agent session item."))
|
|
357
361
|
}));
|
|
358
362
|
ChatContextKeys.chatSessionSupportsDelegation = ( new RawContextKey("chatSessionSupportsDelegation", true, {
|
|
359
363
|
type: "boolean",
|
|
360
|
-
description: ( localize(
|
|
364
|
+
description: ( localize(7235, "True when the current session type supports delegation."))
|
|
361
365
|
}));
|
|
362
366
|
ChatContextKeys.chatSessionSupportsFork = ( new RawContextKey("chatSessionSupportsFork", false, {
|
|
363
367
|
type: "boolean",
|
|
364
368
|
description: ( localize(
|
|
365
|
-
|
|
369
|
+
7236,
|
|
366
370
|
"True when the current chat session provider supports forking conversations."
|
|
367
371
|
))
|
|
368
372
|
}));
|
|
369
373
|
ChatContextKeys.agentSessionSection = ( new RawContextKey("agentSessionSection", "", {
|
|
370
374
|
type: "string",
|
|
371
|
-
description: ( localize(
|
|
375
|
+
description: ( localize(7237, "The section of the current agent session section item."))
|
|
372
376
|
}));
|
|
373
377
|
ChatContextKeys.isArchivedAgentSession = ( new RawContextKey("agentSessionIsArchived", false, {
|
|
374
378
|
type: "boolean",
|
|
375
|
-
description: ( localize(
|
|
379
|
+
description: ( localize(7238, "True when the agent session item is archived."))
|
|
376
380
|
}));
|
|
377
381
|
ChatContextKeys.isPinnedAgentSession = ( new RawContextKey("agentSessionIsPinned", false, {
|
|
378
382
|
type: "boolean",
|
|
379
|
-
description: ( localize(
|
|
383
|
+
description: ( localize(7239, "True when the agent session item is pinned."))
|
|
380
384
|
}));
|
|
381
385
|
ChatContextKeys.isReadAgentSession = ( new RawContextKey("agentSessionIsRead", false, {
|
|
382
386
|
type: "boolean",
|
|
383
|
-
description: ( localize(
|
|
387
|
+
description: ( localize(7240, "True when the agent session item is read."))
|
|
384
388
|
}));
|
|
385
389
|
ChatContextKeys.hasMultipleAgentSessionsSelected = ( new RawContextKey("agentSessionHasMultipleSelected", false, {
|
|
386
390
|
type: "boolean",
|
|
387
|
-
description: ( localize(
|
|
391
|
+
description: ( localize(7241, "True when multiple agent sessions are selected."))
|
|
388
392
|
}));
|
|
389
393
|
ChatContextKeys.hasAgentSessionChanges = ( new RawContextKey("agentSessionHasChanges", false, {
|
|
390
394
|
type: "boolean",
|
|
391
|
-
description: ( localize(
|
|
395
|
+
description: ( localize(7242, "True when the current agent session item has changes."))
|
|
392
396
|
}));
|
|
393
397
|
ChatContextKeys.isKatexMathElement = ( new RawContextKey("chatIsKatexMathElement", false, {
|
|
394
398
|
type: "boolean",
|
|
395
|
-
description: ( localize(
|
|
399
|
+
description: ( localize(7243, "True when focusing a KaTeX math element."))
|
|
396
400
|
}));
|
|
397
401
|
ChatContextKeys.hasUsedCreateSlashCommands = ( new RawContextKey("chatHasUsedCreateSlashCommands", false, {
|
|
398
402
|
type: "boolean",
|
|
399
|
-
description: ( localize(
|
|
403
|
+
description: ( localize(7244, "True when the user has used any of the /create-* slash commands."))
|
|
400
404
|
}));
|
|
401
405
|
ChatContextKeys.contextUsageHasBeenOpened = ( new RawContextKey("chatContextUsageHasBeenOpened", false, {
|
|
402
406
|
type: "boolean",
|
|
403
|
-
description: ( localize(
|
|
407
|
+
description: ( localize(7245, "True when the user has opened the context window usage details."))
|
|
404
408
|
}));
|
|
405
409
|
ChatContextKeys.newChatButtonExperimentIcon = ( new RawContextKey("chatNewChatButtonExperimentIcon", "", {
|
|
406
410
|
type: "string",
|
|
407
411
|
description: ( localize(
|
|
408
|
-
|
|
412
|
+
7246,
|
|
409
413
|
"The icon variant for the new chat button, controlled by experiment. Values: 'copilot', 'new-session', 'comment', or empty for default."
|
|
410
414
|
))
|
|
411
415
|
}));
|
package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service.d.ts
CHANGED
|
@@ -68,4 +68,12 @@ export interface IAICustomizationWorkspaceService {
|
|
|
68
68
|
* customizations visible in the AI Customization views.
|
|
69
69
|
*/
|
|
70
70
|
getFilteredPromptSlashCommands(token: CancellationToken): Promise<readonly IChatPromptSlashCommand[]>;
|
|
71
|
+
/**
|
|
72
|
+
* Returns a map of built-in skill names that have direct UI integrations
|
|
73
|
+
* (toolbar buttons, menu items, etc.) to a tooltip describing the
|
|
74
|
+
* integration. Used to display a 'UI Integration' badge in the
|
|
75
|
+
* customizations editor, especially important when users override a
|
|
76
|
+
* built-in skill that drives a UI surface.
|
|
77
|
+
*/
|
|
78
|
+
getSkillUIIntegrations(): ReadonlyMap<string, string>;
|
|
71
79
|
}
|
|
@@ -37,8 +37,14 @@ export interface IChatRequestFileEntry extends IBaseChatRequestVariableEntry {
|
|
|
37
37
|
export declare enum OmittedState {
|
|
38
38
|
NotOmitted = 0,
|
|
39
39
|
Partial = 1,
|
|
40
|
-
Full = 2
|
|
40
|
+
Full = 2,
|
|
41
|
+
ImageLimitExceeded = 3
|
|
41
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* The maximum number of images allowed per request.
|
|
45
|
+
* Claude has an upstream limit where more than 20 images causes issues.
|
|
46
|
+
*/
|
|
47
|
+
export declare const MAX_IMAGES_PER_REQUEST = 20;
|
|
42
48
|
export interface IChatRequestToolEntry extends IBaseChatRequestVariableEntry {
|
|
43
49
|
readonly kind: "tool";
|
|
44
50
|
}
|
|
@@ -227,7 +233,11 @@ export interface IChatRequestDebugEventsVariableEntry extends IBaseChatRequestVa
|
|
|
227
233
|
/** The session resource these debug events belong to. */
|
|
228
234
|
readonly sessionResource: URI;
|
|
229
235
|
}
|
|
230
|
-
export
|
|
236
|
+
export interface IChatRequestSessionReferenceVariableEntry extends IBaseChatRequestVariableEntry {
|
|
237
|
+
readonly kind: "sessionReference";
|
|
238
|
+
readonly value: URI;
|
|
239
|
+
}
|
|
240
|
+
export type IChatRequestVariableEntry = IGenericChatRequestVariableEntry | IChatRequestImplicitVariableEntry | IChatRequestPasteVariableEntry | ISymbolVariableEntry | ICommandResultVariableEntry | IDiagnosticVariableEntry | IImageVariableEntry | IChatRequestToolEntry | IChatRequestToolSetEntry | IChatRequestDirectoryEntry | IChatRequestFileEntry | INotebookOutputVariableEntry | IElementVariableEntry | IPromptFileVariableEntry | IPromptTextVariableEntry | ISCMHistoryItemVariableEntry | ISCMHistoryItemChangeVariableEntry | ISCMHistoryItemChangeRangeVariableEntry | ITerminalVariableEntry | IChatRequestStringVariableEntry | IChatRequestWorkspaceVariableEntry | IDebugVariableEntry | IAgentFeedbackVariableEntry | IChatRequestDebugEventsVariableEntry | IChatRequestSessionReferenceVariableEntry;
|
|
231
241
|
export declare namespace IChatRequestVariableEntry {
|
|
232
242
|
/**
|
|
233
243
|
* Returns URI of the passed variant entry. Return undefined if not found.
|
|
@@ -12,7 +12,9 @@ var OmittedState;
|
|
|
12
12
|
OmittedState[OmittedState["NotOmitted"] = 0] = "NotOmitted";
|
|
13
13
|
OmittedState[OmittedState["Partial"] = 1] = "Partial";
|
|
14
14
|
OmittedState[OmittedState["Full"] = 2] = "Full";
|
|
15
|
+
OmittedState[OmittedState["ImageLimitExceeded"] = 3] = "ImageLimitExceeded";
|
|
15
16
|
})(OmittedState || (OmittedState = {}));
|
|
17
|
+
const MAX_IMAGES_PER_REQUEST = 20;
|
|
16
18
|
var IDiagnosticVariableEntryFilterData;
|
|
17
19
|
(function(IDiagnosticVariableEntryFilterData) {
|
|
18
20
|
IDiagnosticVariableEntryFilterData.icon = Codicon.error;
|
|
@@ -67,9 +69,9 @@ var IDiagnosticVariableEntryFilterData;
|
|
|
67
69
|
}
|
|
68
70
|
return data.problemMessage.substring(0, lastSpace) + "…";
|
|
69
71
|
}
|
|
70
|
-
let labelStr = ( localize(
|
|
72
|
+
let labelStr = ( localize(7247, "All Problems"));
|
|
71
73
|
if (data.filterUri) {
|
|
72
|
-
labelStr = ( localize(
|
|
74
|
+
labelStr = ( localize(7248, "Problems in {0}", basename(data.filterUri)));
|
|
73
75
|
}
|
|
74
76
|
return labelStr;
|
|
75
77
|
}
|
|
@@ -254,4 +256,4 @@ class ChatRequestVariableSet {
|
|
|
254
256
|
}
|
|
255
257
|
}
|
|
256
258
|
|
|
257
|
-
export { ChatRequestVariableSet, IChatRequestVariableEntry, IDiagnosticVariableEntryFilterData, OmittedState, PromptFileVariableKind, isElementVariableEntry, isImageVariableEntry, isImplicitVariableEntry, isNotebookOutputVariableEntry, isPasteVariableEntry, isPromptFileVariableEntry, isPromptTextVariableEntry, isSCMHistoryItemChangeRangeVariableEntry, isSCMHistoryItemChangeVariableEntry, isSCMHistoryItemVariableEntry, isStringImplicitContextValue, isStringVariableEntry, isTerminalVariableEntry, isWorkspaceVariableEntry, toPromptFileVariableEntry, toPromptTextVariableEntry, toToolSetVariableEntry, toToolVariableEntry };
|
|
259
|
+
export { ChatRequestVariableSet, IChatRequestVariableEntry, IDiagnosticVariableEntryFilterData, MAX_IMAGES_PER_REQUEST, OmittedState, PromptFileVariableKind, isElementVariableEntry, isImageVariableEntry, isImplicitVariableEntry, isNotebookOutputVariableEntry, isPasteVariableEntry, isPromptFileVariableEntry, isPromptTextVariableEntry, isSCMHistoryItemChangeRangeVariableEntry, isSCMHistoryItemChangeVariableEntry, isSCMHistoryItemVariableEntry, isStringImplicitContextValue, isStringVariableEntry, isTerminalVariableEntry, isWorkspaceVariableEntry, toPromptFileVariableEntry, toPromptTextVariableEntry, toToolSetVariableEntry, toToolVariableEntry };
|