@codingame/monaco-vscode-chat-service-override 32.0.2 → 33.0.5
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/index.d.ts +1 -1
- package/index.js +15 -5
- package/package.json +5 -5
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.d.ts +170 -24
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.js +372 -66
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +18 -1
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +160 -31
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.js +19 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.d.ts +134 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +257 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +84 -3
- package/vscode/src/vs/platform/agentHost/common/agentService.js +9 -1
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.d.ts +61 -1
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +61 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.js +3 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/reducers.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/version/registry.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.d.ts +4 -4
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +1 -1
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +2 -7
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +8 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +60 -60
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +10 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +180 -174
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.d.ts +64 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +330 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +267 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +53 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +30 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +7 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +150 -119
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +45 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +58 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationGroupHeaderRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +2 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +88 -70
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +82 -56
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css +10 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +2 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +89 -71
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +2 -2843
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +2934 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +99 -99
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +33 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +53 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +131 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +23 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +91 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +23 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +15 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +203 -163
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +31 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css +88 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +17 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +91 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.js +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.d.ts +21 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +55 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/hasByokModelsContribution.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/hasByokModelsContribution.js +106 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.js +59 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileContributions.js +4 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +38 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +5 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolResultCompressorService.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolResultCompressorService.js +106 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +6 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +75 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/{toolInvocationParts/chatToolOutputStateCache.d.ts → chatOutputPartStateCache.d.ts} +5 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/{toolInvocationParts/chatToolOutputStateCache.js → chatOutputPartStateCache.js} +19 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +58 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +18 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +13 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +19 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/PromptHeaderDefinitionProvider.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +6 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +14 -15
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +155 -156
- package/vscode/src/vs/workbench/contrib/chat/common/tools/copilotToolIds.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/copilotToolIds.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.d.ts +88 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/toolResultCompressor.js +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +237 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.d.ts +66 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +600 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +47 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselTypes.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselTypes.js +7 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/media/imageCarousel.css +298 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.d.ts +12 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +78 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +15 -11
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandParser.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandParser.js +286 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.js +285 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCompressor.d.ts +19 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCompressor.js +415 -47
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.d.ts +2 -7
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +1 -1
- package/vscode/src/vs/base/common/defaultAccount.d.ts +0 -69
- package/vscode/src/vs/base/common/defaultAccount.js +0 -12
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.d.ts +0 -15
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +0 -85
|
@@ -34,12 +34,12 @@ import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode
|
|
|
34
34
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
35
35
|
import { IPaneCompositePartService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
36
36
|
|
|
37
|
-
const AGENT_SESSIONS_CATEGORY = ( localize2(
|
|
37
|
+
const AGENT_SESSIONS_CATEGORY = ( localize2(5242, "Chat Agent Sessions"));
|
|
38
38
|
class ToggleShowAgentSessionsAction extends Action2 {
|
|
39
39
|
constructor() {
|
|
40
40
|
super({
|
|
41
41
|
id: "workbench.action.chat.toggleShowAgentSessions",
|
|
42
|
-
title: ( localize2(
|
|
42
|
+
title: ( localize2(5243, "Show Sessions")),
|
|
43
43
|
toggled: ( ContextKeyExpr.equals(`config.${ChatConfiguration.ChatViewSessionsEnabled}`, true)),
|
|
44
44
|
menu: {
|
|
45
45
|
id: MenuId.ChatWelcomeContext,
|
|
@@ -58,7 +58,7 @@ class ToggleShowAgentSessionsAction extends Action2 {
|
|
|
58
58
|
const agentSessionsOrientationSubmenu = ( new MenuId("chatAgentSessionsOrientationSubmenu"));
|
|
59
59
|
MenuRegistry.appendMenuItem(MenuId.ChatWelcomeContext, {
|
|
60
60
|
submenu: agentSessionsOrientationSubmenu,
|
|
61
|
-
title: ( localize2(
|
|
61
|
+
title: ( localize2(5244, "Sessions Orientation")),
|
|
62
62
|
group: "0_sessions",
|
|
63
63
|
order: 1,
|
|
64
64
|
when: ( ChatContextKeys.inChatEditor.negate())
|
|
@@ -67,7 +67,7 @@ class SetAgentSessionsOrientationStackedAction extends Action2 {
|
|
|
67
67
|
constructor() {
|
|
68
68
|
super({
|
|
69
69
|
id: "workbench.action.chat.setAgentSessionsOrientationStacked",
|
|
70
|
-
title: ( localize2(
|
|
70
|
+
title: ( localize2(5245, "Stacked")),
|
|
71
71
|
toggled: ( ContextKeyExpr.equals(`config.${ChatConfiguration.ChatViewSessionsOrientation}`, "stacked")),
|
|
72
72
|
precondition: ( ContextKeyExpr.equals(`config.${ChatConfiguration.ChatViewSessionsEnabled}`, true)),
|
|
73
73
|
menu: {
|
|
@@ -86,7 +86,7 @@ class SetAgentSessionsOrientationSideBySideAction extends Action2 {
|
|
|
86
86
|
constructor() {
|
|
87
87
|
super({
|
|
88
88
|
id: "workbench.action.chat.setAgentSessionsOrientationSideBySide",
|
|
89
|
-
title: ( localize2(
|
|
89
|
+
title: ( localize2(5246, "Side by Side")),
|
|
90
90
|
toggled: ( ContextKeyExpr.notEquals(`config.${ChatConfiguration.ChatViewSessionsOrientation}`, "stacked")),
|
|
91
91
|
precondition: ( ContextKeyExpr.equals(`config.${ChatConfiguration.ChatViewSessionsEnabled}`, true)),
|
|
92
92
|
menu: {
|
|
@@ -105,7 +105,7 @@ class PickAgentSessionAction extends Action2 {
|
|
|
105
105
|
constructor() {
|
|
106
106
|
super({
|
|
107
107
|
id: `workbench.action.chat.history`,
|
|
108
|
-
title: ( localize2(
|
|
108
|
+
title: ( localize2(5247, "Open Agent Session...")),
|
|
109
109
|
menu: [{
|
|
110
110
|
id: MenuId.ViewTitle,
|
|
111
111
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", ChatViewId)), ( ContextKeyExpr.equals(`config.${ChatConfiguration.ChatViewSessionsEnabled}`, false)))),
|
|
@@ -131,7 +131,7 @@ class ArchiveAllAgentSessionsAction extends Action2 {
|
|
|
131
131
|
constructor() {
|
|
132
132
|
super({
|
|
133
133
|
id: "workbench.action.chat.archiveAllAgentSessions",
|
|
134
|
-
title: ( localize2(
|
|
134
|
+
title: ( localize2(5248, "Archive All Workspace Agent Sessions")),
|
|
135
135
|
precondition: ChatContextKeys.enabled,
|
|
136
136
|
category: AGENT_SESSIONS_CATEGORY,
|
|
137
137
|
f1: true
|
|
@@ -145,13 +145,13 @@ class ArchiveAllAgentSessionsAction extends Action2 {
|
|
|
145
145
|
return;
|
|
146
146
|
}
|
|
147
147
|
const confirmed = await dialogService.confirm({
|
|
148
|
-
message: sessionsToArchive.length === 1 ? ( localize(
|
|
149
|
-
|
|
148
|
+
message: sessionsToArchive.length === 1 ? ( localize(5249, "Are you sure you want to archive 1 agent session?")) : ( localize(
|
|
149
|
+
5250,
|
|
150
150
|
"Are you sure you want to archive {0} agent sessions?",
|
|
151
151
|
sessionsToArchive.length
|
|
152
152
|
)),
|
|
153
|
-
detail: ( localize(
|
|
154
|
-
primaryButton: ( localize(
|
|
153
|
+
detail: ( localize(5251, "You can unarchive sessions later if needed from the sessions view.")),
|
|
154
|
+
primaryButton: ( localize(5252, "Archive"))
|
|
155
155
|
});
|
|
156
156
|
if (!confirmed.confirmed) {
|
|
157
157
|
return;
|
|
@@ -165,7 +165,7 @@ class MarkAllAgentSessionsReadAction extends Action2 {
|
|
|
165
165
|
constructor() {
|
|
166
166
|
super({
|
|
167
167
|
id: "workbench.action.chat.markAllAgentSessionsRead",
|
|
168
|
-
title: ( localize2(
|
|
168
|
+
title: ( localize2(5253, "Mark All as Read")),
|
|
169
169
|
precondition: ChatContextKeys.enabled,
|
|
170
170
|
category: AGENT_SESSIONS_CATEGORY,
|
|
171
171
|
f1: true,
|
|
@@ -193,7 +193,7 @@ class ArchiveAgentSessionSectionAction extends Action2 {
|
|
|
193
193
|
constructor() {
|
|
194
194
|
super({
|
|
195
195
|
id: "agentSessionSection.archive",
|
|
196
|
-
title: ( localize2(
|
|
196
|
+
title: ( localize2(5254, "Archive All")),
|
|
197
197
|
icon: Codicon.archive,
|
|
198
198
|
menu: [{
|
|
199
199
|
id: MenuId.AgentSessionSectionToolbar,
|
|
@@ -218,19 +218,19 @@ class ArchiveAgentSessionSectionAction extends Action2 {
|
|
|
218
218
|
if (!skipConfirmation) {
|
|
219
219
|
const confirmed = await dialogService.confirm({
|
|
220
220
|
message: context.sessions.length === 1 ? ( localize(
|
|
221
|
-
|
|
221
|
+
5255,
|
|
222
222
|
"Are you sure you want to archive 1 agent session from '{0}'?",
|
|
223
223
|
context.label
|
|
224
224
|
)) : ( localize(
|
|
225
|
-
|
|
225
|
+
5256,
|
|
226
226
|
"Are you sure you want to archive {0} agent sessions from '{1}'?",
|
|
227
227
|
context.sessions.length,
|
|
228
228
|
context.label
|
|
229
229
|
)),
|
|
230
|
-
detail: ( localize(
|
|
231
|
-
primaryButton: ( localize(
|
|
230
|
+
detail: ( localize(5257, "You can unarchive sessions later if needed from the sessions view.")),
|
|
231
|
+
primaryButton: ( localize(5258, "Archive All")),
|
|
232
232
|
checkbox: {
|
|
233
|
-
label: ( localize(
|
|
233
|
+
label: ( localize(5259, "Do not ask me again"))
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
if (!confirmed.confirmed) {
|
|
@@ -249,7 +249,7 @@ class UnarchiveAgentSessionSectionAction extends Action2 {
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super({
|
|
251
251
|
id: "agentSessionSection.unarchive",
|
|
252
|
-
title: ( localize2(
|
|
252
|
+
title: ( localize2(5260, "Unarchive All")),
|
|
253
253
|
icon: Codicon.unarchive,
|
|
254
254
|
menu: [{
|
|
255
255
|
id: MenuId.AgentSessionSectionToolbar,
|
|
@@ -275,13 +275,13 @@ class UnarchiveAgentSessionSectionAction extends Action2 {
|
|
|
275
275
|
if (!skipConfirmation) {
|
|
276
276
|
const confirmed = await dialogService.confirm({
|
|
277
277
|
message: ( localize(
|
|
278
|
-
|
|
278
|
+
5261,
|
|
279
279
|
"Are you sure you want to unarchive {0} agent sessions?",
|
|
280
280
|
context.sessions.length
|
|
281
281
|
)),
|
|
282
|
-
primaryButton: ( localize(
|
|
282
|
+
primaryButton: ( localize(5262, "Unarchive All")),
|
|
283
283
|
checkbox: {
|
|
284
|
-
label: ( localize(
|
|
284
|
+
label: ( localize(5259, "Do not ask me again"))
|
|
285
285
|
}
|
|
286
286
|
});
|
|
287
287
|
if (!confirmed.confirmed) {
|
|
@@ -301,7 +301,7 @@ class MarkAgentSessionSectionReadAction extends Action2 {
|
|
|
301
301
|
constructor() {
|
|
302
302
|
super({
|
|
303
303
|
id: "agentSessionSection.markRead",
|
|
304
|
-
title: ( localize2(
|
|
304
|
+
title: ( localize2(5263, "Mark All as Read")),
|
|
305
305
|
menu: [{
|
|
306
306
|
id: MenuId.AgentSessionSectionContext,
|
|
307
307
|
group: "1_edit",
|
|
@@ -323,7 +323,7 @@ class CollapseAllAgentSessionSectionsAction extends Action2 {
|
|
|
323
323
|
constructor() {
|
|
324
324
|
super({
|
|
325
325
|
id: "agentSessionSection.collapseAll",
|
|
326
|
-
title: ( localize2(
|
|
326
|
+
title: ( localize2(5264, "Collapse All")),
|
|
327
327
|
menu: [{
|
|
328
328
|
id: MenuId.AgentSessionSectionContext,
|
|
329
329
|
group: "2_collapse",
|
|
@@ -361,7 +361,7 @@ class MarkAgentSessionUnreadAction extends BaseAgentSessionAction {
|
|
|
361
361
|
constructor() {
|
|
362
362
|
super({
|
|
363
363
|
id: "agentSession.markUnread",
|
|
364
|
-
title: ( localize2(
|
|
364
|
+
title: ( localize2(5265, "Mark as Unread")),
|
|
365
365
|
menu: {
|
|
366
366
|
id: MenuId.AgentSessionsContext,
|
|
367
367
|
group: "0_read",
|
|
@@ -381,7 +381,7 @@ class MarkAgentSessionReadAction extends BaseAgentSessionAction {
|
|
|
381
381
|
constructor() {
|
|
382
382
|
super({
|
|
383
383
|
id: "agentSession.markRead",
|
|
384
|
-
title: ( localize2(
|
|
384
|
+
title: ( localize2(5266, "Mark as Read")),
|
|
385
385
|
menu: {
|
|
386
386
|
id: MenuId.AgentSessionsContext,
|
|
387
387
|
group: "0_read",
|
|
@@ -401,7 +401,7 @@ class ArchiveAgentSessionAction extends BaseAgentSessionAction {
|
|
|
401
401
|
constructor() {
|
|
402
402
|
super({
|
|
403
403
|
id: "agentSession.archive",
|
|
404
|
-
title: ( localize2(
|
|
404
|
+
title: ( localize2(5267, "Archive")),
|
|
405
405
|
icon: Codicon.archive,
|
|
406
406
|
keybinding: {
|
|
407
407
|
primary: KeyCode.Delete,
|
|
@@ -431,8 +431,8 @@ class ArchiveAgentSessionAction extends BaseAgentSessionAction {
|
|
|
431
431
|
const chatModel = chatService.getSession(session.resource);
|
|
432
432
|
if (chatModel && !(await showClearEditingSessionConfirmation(chatModel, dialogService, {
|
|
433
433
|
isArchiveAction: true,
|
|
434
|
-
titleOverride: ( localize(
|
|
435
|
-
messageOverride: ( localize(
|
|
434
|
+
titleOverride: ( localize(5268, "Archive chat with pending edits?")),
|
|
435
|
+
messageOverride: ( localize(5269, "You have pending changes in this chat session."))
|
|
436
436
|
}))) {
|
|
437
437
|
return;
|
|
438
438
|
}
|
|
@@ -444,7 +444,7 @@ class UnarchiveAgentSessionAction extends BaseAgentSessionAction {
|
|
|
444
444
|
constructor() {
|
|
445
445
|
super({
|
|
446
446
|
id: "agentSession.unarchive",
|
|
447
|
-
title: ( localize2(
|
|
447
|
+
title: ( localize2(5270, "Unarchive")),
|
|
448
448
|
icon: Codicon.unarchive,
|
|
449
449
|
keybinding: {
|
|
450
450
|
primary: KeyMod.Shift | KeyCode.Delete,
|
|
@@ -480,7 +480,7 @@ class PinAgentSessionAction extends BaseAgentSessionAction {
|
|
|
480
480
|
constructor() {
|
|
481
481
|
super({
|
|
482
482
|
id: "agentSession.pin",
|
|
483
|
-
title: ( localize2(
|
|
483
|
+
title: ( localize2(5271, "Pin")),
|
|
484
484
|
icon: Codicon.pin,
|
|
485
485
|
menu: [{
|
|
486
486
|
id: MenuId.AgentSessionItemToolbar,
|
|
@@ -505,7 +505,7 @@ class UnpinAgentSessionAction extends BaseAgentSessionAction {
|
|
|
505
505
|
constructor() {
|
|
506
506
|
super({
|
|
507
507
|
id: "agentSession.unpin",
|
|
508
|
-
title: ( localize2(
|
|
508
|
+
title: ( localize2(5272, "Unpin")),
|
|
509
509
|
icon: Codicon.pinned,
|
|
510
510
|
menu: [{
|
|
511
511
|
id: MenuId.AgentSessionItemToolbar,
|
|
@@ -530,7 +530,7 @@ class RenameAgentSessionAction extends BaseAgentSessionAction {
|
|
|
530
530
|
constructor() {
|
|
531
531
|
super({
|
|
532
532
|
id: AGENT_SESSION_RENAME_ACTION_ID,
|
|
533
|
-
title: ( localize2(
|
|
533
|
+
title: ( localize2(5273, "Rename...")),
|
|
534
534
|
precondition: ( ChatContextKeys.hasMultipleAgentSessionsSelected.negate()),
|
|
535
535
|
keybinding: {
|
|
536
536
|
primary: KeyCode.F2,
|
|
@@ -556,7 +556,7 @@ class RenameAgentSessionAction extends BaseAgentSessionAction {
|
|
|
556
556
|
const quickInputService = accessor.get(IQuickInputService);
|
|
557
557
|
const chatService = accessor.get(IChatService);
|
|
558
558
|
const title = await quickInputService.input({
|
|
559
|
-
prompt: ( localize(
|
|
559
|
+
prompt: ( localize(5274, "New agent session title")),
|
|
560
560
|
value: session.label
|
|
561
561
|
});
|
|
562
562
|
if (title) {
|
|
@@ -568,7 +568,7 @@ class DeleteAgentSessionAction extends BaseAgentSessionAction {
|
|
|
568
568
|
constructor() {
|
|
569
569
|
super({
|
|
570
570
|
id: AGENT_SESSION_DELETE_ACTION_ID,
|
|
571
|
-
title: ( localize2(
|
|
571
|
+
title: ( localize2(5275, "Delete...")),
|
|
572
572
|
menu: {
|
|
573
573
|
id: MenuId.AgentSessionsContext,
|
|
574
574
|
group: "1_edit",
|
|
@@ -586,13 +586,13 @@ class DeleteAgentSessionAction extends BaseAgentSessionAction {
|
|
|
586
586
|
const widgetService = accessor.get(IChatWidgetService);
|
|
587
587
|
const commandService = accessor.get(ICommandService);
|
|
588
588
|
const confirmed = await dialogService.confirm({
|
|
589
|
-
message: sessions.length === 1 ? ( localize(
|
|
590
|
-
|
|
589
|
+
message: sessions.length === 1 ? ( localize(5276, "Are you sure you want to delete this chat session?")) : ( localize(
|
|
590
|
+
5277,
|
|
591
591
|
"Are you sure you want to delete {0} chat sessions?",
|
|
592
592
|
sessions.length
|
|
593
593
|
)),
|
|
594
|
-
detail: ( localize(
|
|
595
|
-
primaryButton: ( localize(
|
|
594
|
+
detail: ( localize(5278, "This action cannot be undone.")),
|
|
595
|
+
primaryButton: ( localize(5279, "Delete"))
|
|
596
596
|
});
|
|
597
597
|
if (!confirmed.confirmed) {
|
|
598
598
|
return;
|
|
@@ -615,7 +615,7 @@ class DeleteAllLocalSessionsAction extends Action2 {
|
|
|
615
615
|
constructor() {
|
|
616
616
|
super({
|
|
617
617
|
id: "workbench.action.chat.clearHistory",
|
|
618
|
-
title: ( localize2(
|
|
618
|
+
title: ( localize2(5280, "Delete All Local Workspace Chat Sessions")),
|
|
619
619
|
precondition: ChatContextKeys.enabled,
|
|
620
620
|
category: AGENT_SESSIONS_CATEGORY,
|
|
621
621
|
f1: true
|
|
@@ -631,13 +631,13 @@ class DeleteAllLocalSessionsAction extends Action2 {
|
|
|
631
631
|
return;
|
|
632
632
|
}
|
|
633
633
|
const confirmed = await dialogService.confirm({
|
|
634
|
-
message: localSessionsCount === 1 ? ( localize(
|
|
635
|
-
|
|
634
|
+
message: localSessionsCount === 1 ? ( localize(5281, "Are you sure you want to delete 1 local workspace chat session?")) : ( localize(
|
|
635
|
+
5282,
|
|
636
636
|
"Are you sure you want to delete {0} local workspace chat sessions?",
|
|
637
637
|
localSessionsCount
|
|
638
638
|
)),
|
|
639
|
-
detail: ( localize(
|
|
640
|
-
primaryButton: ( localize(
|
|
639
|
+
detail: ( localize(5283, "This action cannot be undone.")),
|
|
640
|
+
primaryButton: ( localize(5284, "Delete All"))
|
|
641
641
|
});
|
|
642
642
|
if (!confirmed.confirmed) {
|
|
643
643
|
return;
|
|
@@ -666,7 +666,7 @@ class OpenAgentSessionInEditorGroupAction extends BaseOpenAgentSessionAction {
|
|
|
666
666
|
constructor() {
|
|
667
667
|
super({
|
|
668
668
|
id: OpenAgentSessionInEditorGroupAction.id,
|
|
669
|
-
title: ( localize2(
|
|
669
|
+
title: ( localize2(5285, "Open as Editor")),
|
|
670
670
|
keybinding: {
|
|
671
671
|
primary: KeyMod.CtrlCmd | KeyCode.Enter,
|
|
672
672
|
mac: {
|
|
@@ -697,7 +697,7 @@ class OpenAgentSessionInNewEditorGroupAction extends BaseOpenAgentSessionAction
|
|
|
697
697
|
constructor() {
|
|
698
698
|
super({
|
|
699
699
|
id: OpenAgentSessionInNewEditorGroupAction.id,
|
|
700
|
-
title: ( localize2(
|
|
700
|
+
title: ( localize2(5286, "Open to the Side")),
|
|
701
701
|
keybinding: {
|
|
702
702
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter,
|
|
703
703
|
mac: {
|
|
@@ -728,7 +728,7 @@ class OpenAgentSessionInNewWindowAction extends BaseOpenAgentSessionAction {
|
|
|
728
728
|
constructor() {
|
|
729
729
|
super({
|
|
730
730
|
id: OpenAgentSessionInNewWindowAction.id,
|
|
731
|
-
title: ( localize2(
|
|
731
|
+
title: ( localize2(5287, "Open in New Window")),
|
|
732
732
|
menu: {
|
|
733
733
|
id: MenuId.AgentSessionsContext,
|
|
734
734
|
order: 3,
|
|
@@ -755,7 +755,7 @@ class RefreshAgentSessionsViewerAction extends Action2 {
|
|
|
755
755
|
constructor() {
|
|
756
756
|
super({
|
|
757
757
|
id: "agentSessionsViewer.refresh",
|
|
758
|
-
title: ( localize2(
|
|
758
|
+
title: ( localize2(5288, "Refresh Agent Sessions")),
|
|
759
759
|
icon: Codicon.refresh,
|
|
760
760
|
menu: {
|
|
761
761
|
id: MenuId.AgentSessionsToolbar,
|
|
@@ -777,7 +777,7 @@ class FindAgentSessionInViewerAction extends Action2 {
|
|
|
777
777
|
constructor() {
|
|
778
778
|
super({
|
|
779
779
|
id: "agentSessionsViewer.find",
|
|
780
|
-
title: ( localize2(
|
|
780
|
+
title: ( localize2(5289, "Find Agent Session")),
|
|
781
781
|
icon: Codicon.search,
|
|
782
782
|
menu: {
|
|
783
783
|
id: MenuId.AgentSessionsToolbar,
|
|
@@ -874,7 +874,7 @@ class ShowAgentSessionsSidebar extends UpdateChatViewWidthAction {
|
|
|
874
874
|
this.ID = "agentSessions.showAgentSessionsSidebar";
|
|
875
875
|
}
|
|
876
876
|
static {
|
|
877
|
-
this.TITLE = ( localize2(
|
|
877
|
+
this.TITLE = ( localize2(5290, "Show Agent Sessions Sidebar"));
|
|
878
878
|
}
|
|
879
879
|
constructor() {
|
|
880
880
|
super({
|
|
@@ -894,7 +894,7 @@ class HideAgentSessionsSidebar extends UpdateChatViewWidthAction {
|
|
|
894
894
|
this.ID = "agentSessions.hideAgentSessionsSidebar";
|
|
895
895
|
}
|
|
896
896
|
static {
|
|
897
|
-
this.TITLE = ( localize2(
|
|
897
|
+
this.TITLE = ( localize2(5291, "Hide Agent Sessions Sidebar"));
|
|
898
898
|
}
|
|
899
899
|
constructor() {
|
|
900
900
|
super({
|
|
@@ -914,7 +914,7 @@ class ToggleAgentSessionsSidebar extends Action2 {
|
|
|
914
914
|
this.ID = "agentSessions.toggleAgentSessionsSidebar";
|
|
915
915
|
}
|
|
916
916
|
static {
|
|
917
|
-
this.TITLE = ( localize2(
|
|
917
|
+
this.TITLE = ( localize2(5292, "Toggle Agent Sessions Sidebar"));
|
|
918
918
|
}
|
|
919
919
|
constructor() {
|
|
920
920
|
super({
|
|
@@ -944,7 +944,7 @@ class FocusAgentSessionsAction extends Action2 {
|
|
|
944
944
|
constructor() {
|
|
945
945
|
super({
|
|
946
946
|
id: FocusAgentSessionsAction.id,
|
|
947
|
-
title: ( localize2(
|
|
947
|
+
title: ( localize2(5293, "Focus Agent Sessions")),
|
|
948
948
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ContextKeyExpr.equals(`config.${ChatConfiguration.ChatViewSessionsEnabled}`, true)))),
|
|
949
949
|
category: AGENT_SESSIONS_CATEGORY,
|
|
950
950
|
f1: true
|
|
@@ -17,19 +17,19 @@ import { AgentSessionsFilter } from '@codingame/monaco-vscode-katex-common/vscod
|
|
|
17
17
|
|
|
18
18
|
const archiveButton = {
|
|
19
19
|
iconClass: ThemeIcon.asClassName(Codicon.archive),
|
|
20
|
-
tooltip: ( localize(
|
|
20
|
+
tooltip: ( localize(5308, "Archive"))
|
|
21
21
|
};
|
|
22
22
|
const unarchiveButton = {
|
|
23
23
|
iconClass: ThemeIcon.asClassName(Codicon.inbox),
|
|
24
|
-
tooltip: ( localize(
|
|
24
|
+
tooltip: ( localize(5309, "Unarchive"))
|
|
25
25
|
};
|
|
26
26
|
const renameButton = {
|
|
27
27
|
iconClass: ThemeIcon.asClassName(Codicon.edit),
|
|
28
|
-
tooltip: ( localize(
|
|
28
|
+
tooltip: ( localize(5310, "Rename"))
|
|
29
29
|
};
|
|
30
30
|
const deleteButton = {
|
|
31
31
|
iconClass: ThemeIcon.asClassName(Codicon.trash),
|
|
32
|
-
tooltip: ( localize(
|
|
32
|
+
tooltip: ( localize(5311, "Delete"))
|
|
33
33
|
};
|
|
34
34
|
function getSessionDescription(session) {
|
|
35
35
|
const descriptionText = typeof session.description === "string" ? session.description : session.description ? renderAsPlaintext(session.description) : undefined;
|
|
@@ -75,7 +75,7 @@ let AgentSessionsPicker = class AgentSessionsPicker {
|
|
|
75
75
|
picker.anchor = this.anchor;
|
|
76
76
|
picker.items = this.createPickerItems(filter);
|
|
77
77
|
picker.canAcceptInBackground = true;
|
|
78
|
-
picker.placeholder = ( localize(
|
|
78
|
+
picker.placeholder = ( localize(5312, "Search agent sessions by name"));
|
|
79
79
|
disposables.add(picker.onDidAccept(e => {
|
|
80
80
|
const pick = picker.selectedItems[0];
|
|
81
81
|
if (pick) {
|
package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js
CHANGED
|
@@ -19,7 +19,7 @@ let AgentSessionsQuickAccessProvider = class AgentSessionsQuickAccessProvider ex
|
|
|
19
19
|
super(AGENT_SESSIONS_QUICK_ACCESS_PREFIX, {
|
|
20
20
|
canAcceptInBackground: true,
|
|
21
21
|
noResultsPick: {
|
|
22
|
-
label: ( localize(
|
|
22
|
+
label: ( localize(5313, "No matching agent sessions"))
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
this.agentSessionsService = agentSessionsService;
|
|
@@ -5,7 +5,7 @@ import { RawContextKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/c
|
|
|
5
5
|
const inAgentSessionProjection = ( new RawContextKey("chatInAgentSessionProjection", false, {
|
|
6
6
|
type: "boolean",
|
|
7
7
|
description: ( localize(
|
|
8
|
-
|
|
8
|
+
5346,
|
|
9
9
|
"True when the workbench is in agent session projection mode for reviewing an agent session."
|
|
10
10
|
))
|
|
11
11
|
}));
|
|
@@ -21,7 +21,7 @@ class EnterAgentSessionProjectionAction extends Action2 {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super({
|
|
23
23
|
id: EnterAgentSessionProjectionAction.ID,
|
|
24
|
-
title: ( localize2(
|
|
24
|
+
title: ( localize2(5347, "Enter Agent Session Projection")),
|
|
25
25
|
category: CHAT_CATEGORY,
|
|
26
26
|
f1: false,
|
|
27
27
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ContextKeyExpr.has(`config.${ChatConfiguration.AgentSessionProjectionEnabled}`)), ( inAgentSessionProjection.negate())))
|
|
@@ -50,7 +50,7 @@ class ExitAgentSessionProjectionAction extends Action2 {
|
|
|
50
50
|
constructor() {
|
|
51
51
|
super({
|
|
52
52
|
id: ExitAgentSessionProjectionAction.ID,
|
|
53
|
-
title: ( localize2(
|
|
53
|
+
title: ( localize2(5348, "Exit Agent Session Projection")),
|
|
54
54
|
category: CHAT_CATEGORY,
|
|
55
55
|
f1: true,
|
|
56
56
|
precondition: ( ContextKeyExpr.and(ChatContextKeys.enabled, inAgentSessionProjection)),
|
|
@@ -68,8 +68,8 @@ class ExitAgentSessionProjectionAction extends Action2 {
|
|
|
68
68
|
}
|
|
69
69
|
class ToggleUnifiedAgentsBarAction extends ToggleTitleBarConfigAction {
|
|
70
70
|
constructor() {
|
|
71
|
-
super(ChatConfiguration.UnifiedAgentsBar, ( localize(
|
|
72
|
-
|
|
71
|
+
super(ChatConfiguration.UnifiedAgentsBar, ( localize(5349, "Agent Quick Input")), ( localize(
|
|
72
|
+
5350,
|
|
73
73
|
"Toggle Agent Quick Input, replacing the classic command center search box."
|
|
74
74
|
)), 7, ( ContextKeyExpr.and(ChatContextKeys.enabled, ( IsCompactTitleBarContext.negate()), ChatContextKeys.supported, ( ContextKeyExpr.has("config.window.commandCenter")))));
|
|
75
75
|
}
|
|
@@ -144,7 +144,7 @@ let AgentSessionProjectionService = class AgentSessionProjectionService extends
|
|
|
144
144
|
resource: dr.modifiedUri
|
|
145
145
|
}
|
|
146
146
|
}))),
|
|
147
|
-
label: ( localize(
|
|
147
|
+
label: ( localize(5351, "{0} - All Changes", session.label))
|
|
148
148
|
}, MODAL_GROUP);
|
|
149
149
|
this.logService.trace(
|
|
150
150
|
`[AgentSessionProjection] Multi-diff editor opened successfully in modal view`
|
|
@@ -196,14 +196,14 @@ registerWorkbenchContribution2(
|
|
|
196
196
|
);
|
|
197
197
|
MenuRegistry.appendMenuItem(MenuId.CommandCenter, {
|
|
198
198
|
submenu: MenuId.AgentsTitleBarControlMenu,
|
|
199
|
-
title: ( localize(
|
|
199
|
+
title: ( localize(5352, "Agents")),
|
|
200
200
|
icon: Codicon.chatSparkle,
|
|
201
201
|
when: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ContextKeyExpr.notEquals(`config.${ChatConfiguration.AgentStatusEnabled}`, "hidden")), ( ContextKeyExpr.notEquals(`config.${ChatConfiguration.AgentStatusEnabled}`, false)))),
|
|
202
202
|
order: 10002
|
|
203
203
|
});
|
|
204
204
|
MenuRegistry.appendMenuItem(MenuId.TitleBar, {
|
|
205
205
|
submenu: MenuId.ChatTitleBarMenu,
|
|
206
|
-
title: ( localize(
|
|
206
|
+
title: ( localize(5353, "Chat")),
|
|
207
207
|
group: "navigation",
|
|
208
208
|
icon: Codicon.chatSparkle,
|
|
209
209
|
when: ( ContextKeyExpr.and(ChatContextKeys.supported, ( ContextKeyExpr.and(( ChatContextKeys.Setup.hidden.negate()))), ( ( ContextKeyExpr.has("config.window.commandCenter")).negate()))),
|
|
@@ -212,7 +212,7 @@ MenuRegistry.appendMenuItem(MenuId.TitleBar, {
|
|
|
212
212
|
MenuRegistry.appendMenuItem(MenuId.AgentsTitleBarControlMenu, {
|
|
213
213
|
command: {
|
|
214
214
|
id: "workbench.action.chat.toggle",
|
|
215
|
-
title: ( localize(
|
|
215
|
+
title: ( localize(5354, "Open Chat"))
|
|
216
216
|
},
|
|
217
217
|
when: ChatContextKeys.enabled,
|
|
218
218
|
group: "a_open",
|
|
@@ -221,7 +221,7 @@ MenuRegistry.appendMenuItem(MenuId.AgentsTitleBarControlMenu, {
|
|
|
221
221
|
MenuRegistry.appendMenuItem(MenuId.AgentsTitleBarControlMenu, {
|
|
222
222
|
command: {
|
|
223
223
|
id: `toggle.${ChatConfiguration.UnifiedAgentsBar}`,
|
|
224
|
-
title: ( localize(
|
|
224
|
+
title: ( localize(5355, "Agent Quick Input (Experimental)")),
|
|
225
225
|
toggled: ( ContextKeyExpr.has(`config.${ChatConfiguration.UnifiedAgentsBar}`))
|
|
226
226
|
},
|
|
227
227
|
when: ( ContextKeyExpr.and(ChatContextKeys.enabled, ( ProductQualityContext.notEqualsTo("stable")))),
|
|
@@ -16,9 +16,11 @@ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
16
16
|
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
17
17
|
import { IActionViewItemService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/actionViewItemService.service";
|
|
18
18
|
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
19
|
+
import { WindowTitle } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/titlebar/windowTitle";
|
|
19
20
|
import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
|
|
20
21
|
import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service";
|
|
21
22
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
23
|
+
import { ITitleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/title/browser/titleService.service";
|
|
22
24
|
/**
|
|
23
25
|
* Agent Status Widget - renders agent status in the command center.
|
|
24
26
|
*
|
|
@@ -29,6 +31,7 @@ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platfo
|
|
|
29
31
|
* The command center search box and navigation controls remain visible alongside this control.
|
|
30
32
|
*/
|
|
31
33
|
export declare class AgentTitleBarStatusWidget extends BaseActionViewItem {
|
|
34
|
+
private readonly _windowTitle;
|
|
32
35
|
private readonly instantiationService;
|
|
33
36
|
private readonly agentTitleBarStatusService;
|
|
34
37
|
private readonly hoverService;
|
|
@@ -61,9 +64,7 @@ export declare class AgentTitleBarStatusWidget extends BaseActionViewItem {
|
|
|
61
64
|
private readonly _commandCenterMenu;
|
|
62
65
|
/** Menu for ChatTitleBarMenu items (same as chat controls dropdown) */
|
|
63
66
|
private readonly _chatTitleBarMenu;
|
|
64
|
-
|
|
65
|
-
private readonly _windowTitle;
|
|
66
|
-
constructor(action: IAction, options: IBaseActionViewItemOptions | undefined, instantiationService: IInstantiationService, agentTitleBarStatusService: IAgentTitleBarStatusService, hoverService: IHoverService, commandService: ICommandService, keybindingService: IKeybindingService, agentSessionsService: IAgentSessionsService, workspaceContextService: IWorkspaceContextService, editorGroupsService: IEditorGroupsService, editorService: IEditorService, menuService: IMenuService, contextKeyService: IContextKeyService, storageService: IStorageService, configurationService: IConfigurationService, chatEntitlementService: IChatEntitlementService, chatWidgetService: IChatWidgetService, telemetryService: ITelemetryService);
|
|
67
|
+
constructor(action: IAction, _windowTitle: WindowTitle, options: IBaseActionViewItemOptions | undefined, instantiationService: IInstantiationService, agentTitleBarStatusService: IAgentTitleBarStatusService, hoverService: IHoverService, commandService: ICommandService, keybindingService: IKeybindingService, agentSessionsService: IAgentSessionsService, workspaceContextService: IWorkspaceContextService, editorGroupsService: IEditorGroupsService, editorService: IEditorService, menuService: IMenuService, contextKeyService: IContextKeyService, storageService: IStorageService, configurationService: IConfigurationService, chatEntitlementService: IChatEntitlementService, chatWidgetService: IChatWidgetService, telemetryService: ITelemetryService);
|
|
67
68
|
render(container: HTMLElement): void;
|
|
68
69
|
setFocusable(_focusable: boolean): void;
|
|
69
70
|
focus(): void;
|
|
@@ -175,5 +176,5 @@ export declare class AgentTitleBarStatusWidget extends BaseActionViewItem {
|
|
|
175
176
|
*/
|
|
176
177
|
export declare class AgentTitleBarStatusRendering extends Disposable implements IWorkbenchContribution {
|
|
177
178
|
static readonly ID = "workbench.contrib.agentStatus.rendering";
|
|
178
|
-
constructor(actionViewItemService: IActionViewItemService, instantiationService: IInstantiationService, configurationService: IConfigurationService, contextKeyService: IContextKeyService);
|
|
179
|
+
constructor(actionViewItemService: IActionViewItemService, instantiationService: IInstantiationService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, titleService: ITitleService);
|
|
179
180
|
}
|