@codingame/monaco-vscode-chat-service-override 27.0.0 → 28.0.1
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.js +5 -2
- package/package.json +5 -5
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.d.ts +54 -4
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.js +179 -11
- package/vscode/src/vs/sessions/contrib/chat/browser/newSession.js +5 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsConfigurationService.d.ts +6 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsConfigurationService.js +25 -10
- package/vscode/src/vs/sessions/contrib/fileTreeView/browser/githubFileSystemProvider.d.ts +67 -0
- package/vscode/src/vs/sessions/contrib/fileTreeView/browser/githubFileSystemProvider.js +263 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsManagementService.d.ts +6 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/sessionsManagementService.js +25 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +59 -59
- 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 +13 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +5 -5
- 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 +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +5 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +49 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +537 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +55 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.js +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/media/agentPluginEditor.css +32 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +17 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +89 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.d.ts +4 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +146 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +56 -54
- 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 +5 -5
- 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.js +25 -25
- 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/aiCustomization/aiCustomizationIcons.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +13 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +7 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +189 -145
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +42 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +20 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +210 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +14 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +122 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +87 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +702 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/simpleBrowserEditorOverlay.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +279 -214
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.js +12 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +63 -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 +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +62 -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 +28 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugTypes.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/media/chatDebug.css +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.d.ts +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +32 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +4 -5
- 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/media/chatEditorController.css +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +49 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +14 -14
- 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 +26 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +103 -60
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +61 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.d.ts +66 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +245 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipEligibilityTracker.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipEligibilityTracker.js +234 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.d.ts +31 -126
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +229 -524
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.js +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +54 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +11 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +112 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +99 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +489 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +348 -285
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.d.ts +18 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +107 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +4 -4
- 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/tools/languageModelToolsConfirmationService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +55 -38
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.d.ts +20 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +148 -60
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +29 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +72 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +5 -3
- 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 +5 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +11 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.js +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +72 -23
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.d.ts +19 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +37 -8
- package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.js +36 -3
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +71 -25
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +217 -91
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +85 -3
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +257 -63
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +3 -16
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +7 -50
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +32 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/PromptHeaderDefinitionProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +7 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +26 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +287 -88
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +75 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +121 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +1422 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/promptFileContributions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +81 -41
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +8 -6
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.d.ts +14 -2
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +54 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +6 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +38 -22
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +8 -8
- 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/runInTerminalHelpers.js +6 -6
- 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/awaitTerminalTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +12 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
- 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.js +3 -3
- 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/monitoring/outputMonitor.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +36 -18
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +27 -13
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +1 -1
- 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 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +8 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatVariables.js +0 -67
|
@@ -70,126 +70,126 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
70
70
|
if (type === "panelChat" || type === "quickChat" || type === "agentView") {
|
|
71
71
|
if (type === "quickChat") {
|
|
72
72
|
content.push(( localize(
|
|
73
|
-
|
|
73
|
+
4715,
|
|
74
74
|
"The quick chat view is comprised of an input box and a request/response list. The input box is used to make requests and the list is used to display responses."
|
|
75
75
|
)));
|
|
76
76
|
content.push(( localize(
|
|
77
|
-
|
|
77
|
+
4716,
|
|
78
78
|
"The quick chat view is a transient interface for making and viewing requests, while the panel chat view is a persistent interface that also supports navigating suggested follow-up questions."
|
|
79
79
|
)));
|
|
80
80
|
} else {
|
|
81
81
|
content.push(( localize(
|
|
82
|
-
|
|
82
|
+
4717,
|
|
83
83
|
"The chat view is a persistent interface that also supports navigating suggested follow-up questions, while the quick chat view is a transient interface for making and viewing requests."
|
|
84
84
|
)));
|
|
85
85
|
content.push(( localize(
|
|
86
|
-
|
|
86
|
+
4718,
|
|
87
87
|
"To create a new chat session, invoke the New Chat command{0}.",
|
|
88
88
|
"<keybinding:workbench.action.chat.newChat>"
|
|
89
89
|
)));
|
|
90
90
|
content.push(( localize(
|
|
91
|
-
|
|
91
|
+
4719,
|
|
92
92
|
"To view all chat sessions, invoke the Show Chats command{0}.",
|
|
93
93
|
"<keybinding:workbench.action.chat.history>"
|
|
94
94
|
)));
|
|
95
95
|
content.push(( localize(
|
|
96
|
-
|
|
96
|
+
4720,
|
|
97
97
|
"You can focus the agent sessions list by invoking the Focus Agent Sessions command{0}.",
|
|
98
98
|
`<keybinding:${FocusAgentSessionsAction.id}>`
|
|
99
99
|
)));
|
|
100
100
|
}
|
|
101
101
|
content.push(( localize(
|
|
102
|
-
|
|
102
|
+
4721,
|
|
103
103
|
"In the input box, use up and down arrows to navigate your request history. Edit input and use enter or the submit button to run a new request."
|
|
104
104
|
)));
|
|
105
105
|
content.push(( localize(
|
|
106
|
-
|
|
106
|
+
4722,
|
|
107
107
|
"To remove attached contexts, focus an attachment and press Delete or Backspace."
|
|
108
108
|
)));
|
|
109
109
|
content.push(( localize(
|
|
110
|
-
|
|
110
|
+
4723,
|
|
111
111
|
"In the input box, inspect the last response in the accessible view{0}. Thinking content is included in order by default.",
|
|
112
112
|
"<keybinding:editor.action.accessibleView>"
|
|
113
113
|
)));
|
|
114
114
|
content.push(( localize(
|
|
115
|
-
|
|
115
|
+
4724,
|
|
116
116
|
"To include or exclude thinking content in the accessible view, run the Toggle Thinking Content in Accessible View command from the Command Palette."
|
|
117
117
|
)));
|
|
118
118
|
content.push(( localize(
|
|
119
|
-
|
|
119
|
+
4725,
|
|
120
120
|
"To focus the chat request and response list, invoke the Focus Chat command{0}. This will move focus to the most recent response, which you can then navigate using the up and down arrow keys.",
|
|
121
121
|
getChatFocusKeybindingLabel(keybindingService, type, "last")
|
|
122
122
|
)));
|
|
123
123
|
content.push(( localize(
|
|
124
|
-
|
|
124
|
+
4726,
|
|
125
125
|
"To return to the last chat response you focused, invoke the Focus Last Focused Chat Response command{0}.",
|
|
126
126
|
getChatFocusKeybindingLabel(keybindingService, type, "lastFocused")
|
|
127
127
|
)));
|
|
128
128
|
content.push(( localize(
|
|
129
|
-
|
|
129
|
+
4727,
|
|
130
130
|
"To focus the input box for chat requests, invoke the Focus Chat Input command{0}.",
|
|
131
131
|
getChatFocusKeybindingLabel(keybindingService, type, "input")
|
|
132
132
|
)));
|
|
133
133
|
content.push(( localize(
|
|
134
|
-
|
|
134
|
+
4728,
|
|
135
135
|
"As the chat request is being processed, you will hear verbose progress updates if the request takes more than 4 seconds. This includes information like searched text for <search term> with X results, created file <file_name>, or read file <file path>. This can be disabled with accessibility.verboseChatProgressUpdates."
|
|
136
136
|
)));
|
|
137
137
|
content.push(( localize(
|
|
138
|
-
|
|
138
|
+
4729,
|
|
139
139
|
"Chat responses will be announced as they come in. A response will indicate the number of code blocks, if any, and then the rest of the response."
|
|
140
140
|
)));
|
|
141
141
|
content.push(( localize(
|
|
142
|
-
|
|
142
|
+
4730,
|
|
143
143
|
"To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.",
|
|
144
144
|
"<keybinding:workbench.action.chat.nextCodeBlock>"
|
|
145
145
|
)));
|
|
146
146
|
content.push(( localize(
|
|
147
|
-
|
|
147
|
+
4731,
|
|
148
148
|
"To navigate to the next user prompt in the conversation, invoke the Next User Prompt command{0}.",
|
|
149
149
|
"<keybinding:workbench.action.chat.nextUserPrompt>"
|
|
150
150
|
)));
|
|
151
151
|
content.push(( localize(
|
|
152
|
-
|
|
152
|
+
4732,
|
|
153
153
|
"To navigate to the previous user prompt in the conversation, invoke the Previous User Prompt command{0}.",
|
|
154
154
|
"<keybinding:workbench.action.chat.previousUserPrompt>"
|
|
155
155
|
)));
|
|
156
156
|
content.push(( localize(
|
|
157
|
-
|
|
157
|
+
4733,
|
|
158
158
|
"To focus pending chat confirmation dialogs, invoke the Focus Chat Confirmation Status command{0}.",
|
|
159
159
|
"<keybinding:workbench.action.chat.focusConfirmation>"
|
|
160
160
|
)));
|
|
161
161
|
content.push(( localize(
|
|
162
|
-
|
|
162
|
+
4734,
|
|
163
163
|
"If there are any hidden chat terminals, you can view them by invoking the View Hidden Chat Terminals command{0}.",
|
|
164
164
|
"<keybinding:workbench.action.terminal.chat.viewHiddenChatTerminals>"
|
|
165
165
|
)));
|
|
166
166
|
content.push(( localize(
|
|
167
|
-
|
|
167
|
+
4735,
|
|
168
168
|
"To focus the last chat terminal that ran a tool, invoke the Focus Most Recent Chat Terminal command{0}.",
|
|
169
169
|
`<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminal}>`
|
|
170
170
|
)));
|
|
171
171
|
content.push(( localize(
|
|
172
|
-
|
|
172
|
+
4736,
|
|
173
173
|
"To focus the output from the last chat terminal tool, invoke the Focus Most Recent Chat Terminal Output command{0}.",
|
|
174
174
|
`<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminalOutput}>`
|
|
175
175
|
)));
|
|
176
176
|
content.push(( localize(
|
|
177
|
-
|
|
177
|
+
4737,
|
|
178
178
|
"When a chat question appears, toggle focus between the question and the chat input{0}.",
|
|
179
179
|
"<keybinding:workbench.action.chat.focusQuestionCarousel>"
|
|
180
180
|
)));
|
|
181
181
|
content.push(( localize(
|
|
182
|
-
|
|
182
|
+
4738,
|
|
183
183
|
"When a chat question is focused, move to the previous question{0}.",
|
|
184
184
|
"<keybinding:workbench.action.chat.previousQuestion>"
|
|
185
185
|
)));
|
|
186
186
|
content.push(( localize(
|
|
187
|
-
|
|
187
|
+
4739,
|
|
188
188
|
"When a chat question is focused, move to the next question{0}.",
|
|
189
189
|
"<keybinding:workbench.action.chat.nextQuestion>"
|
|
190
190
|
)));
|
|
191
191
|
content.push(( localize(
|
|
192
|
-
|
|
192
|
+
4740,
|
|
193
193
|
"When a tip appears, toggle focus between the tip and the chat input{0}.",
|
|
194
194
|
"<keybinding:workbench.action.chat.focusTip>"
|
|
195
195
|
)));
|
|
@@ -197,99 +197,99 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
197
197
|
if (type === "editsView" || type === "agentView") {
|
|
198
198
|
if (type === "agentView") {
|
|
199
199
|
content.push(( localize(
|
|
200
|
-
|
|
200
|
+
4741,
|
|
201
201
|
"The chat agent view is used to apply edits across files in your workspace, enable running commands in the terminal, and more."
|
|
202
202
|
)));
|
|
203
203
|
} else {
|
|
204
|
-
content.push(( localize(
|
|
204
|
+
content.push(( localize(4742, "The chat editing view is used to apply edits across files.")));
|
|
205
205
|
}
|
|
206
206
|
content.push(( localize(
|
|
207
|
-
|
|
207
|
+
4743,
|
|
208
208
|
"It is comprised of an input box and a file working set (Shift+Tab)."
|
|
209
209
|
)));
|
|
210
210
|
content.push(( localize(
|
|
211
|
-
|
|
211
|
+
4744,
|
|
212
212
|
"When a request is made, a progress indicator will play while the edits are being applied."
|
|
213
213
|
)));
|
|
214
214
|
content.push(( localize(
|
|
215
|
-
|
|
215
|
+
4745,
|
|
216
216
|
"Once the edits are applied, a sound will play to indicate the document has been opened and is ready for review. The sound can be disabled with accessibility.signals.chatEditModifiedFile."
|
|
217
217
|
)));
|
|
218
218
|
content.push(( localize(
|
|
219
|
-
|
|
219
|
+
4746,
|
|
220
220
|
"Navigate between edits in the editor with navigate previous{0} and next{1}",
|
|
221
221
|
"<keybinding:chatEditor.action.navigatePrevious>",
|
|
222
222
|
"<keybinding:chatEditor.action.navigateNext>"
|
|
223
223
|
)));
|
|
224
224
|
content.push(( localize(
|
|
225
|
-
|
|
225
|
+
4747,
|
|
226
226
|
"In the editor, Keep{0}, Undo{1}, or Toggle the Diff{2} for the current Change.",
|
|
227
227
|
"<keybinding:chatEditor.action.acceptHunk>",
|
|
228
228
|
"<keybinding:chatEditor.action.undoHunk>",
|
|
229
229
|
"<keybinding:chatEditor.action.toggleDiff>"
|
|
230
230
|
)));
|
|
231
231
|
content.push(( localize(
|
|
232
|
-
|
|
232
|
+
4748,
|
|
233
233
|
"Sounds will play when a change is accepted or undone. The sounds can be disabled with accessibility.signals.editsKept and accessibility.signals.editsUndone."
|
|
234
234
|
)));
|
|
235
235
|
if (type === "agentView") {
|
|
236
236
|
content.push(( localize(
|
|
237
|
-
|
|
237
|
+
4749,
|
|
238
238
|
"An alert will indicate when user action is required. For example, if the agent wants to run something in the terminal, you will hear Action Required: Run Command in Terminal."
|
|
239
239
|
)));
|
|
240
240
|
content.push(( localize(
|
|
241
|
-
|
|
241
|
+
4750,
|
|
242
242
|
"To take the action, use the accept tool command{0}.",
|
|
243
243
|
"<keybinding:workbench.action.chat.acceptTool>"
|
|
244
244
|
)));
|
|
245
245
|
content.push(( localize(
|
|
246
|
-
|
|
246
|
+
4751,
|
|
247
247
|
"To automatically approve tool actions without manual confirmation, set {0} to {1} in your settings.",
|
|
248
248
|
ChatConfiguration.GlobalAutoApprove,
|
|
249
249
|
"true"
|
|
250
250
|
)));
|
|
251
251
|
content.push(( localize(
|
|
252
|
-
|
|
252
|
+
4752,
|
|
253
253
|
"To accept a tool action, use the Accept Tool Confirmation command{0}.",
|
|
254
254
|
"<keybinding:workbench.action.chat.acceptTool>"
|
|
255
255
|
)));
|
|
256
256
|
content.push(( localize(
|
|
257
|
-
|
|
257
|
+
4753,
|
|
258
258
|
"By default, when edits are made to files, they will be opened. To change this behavior, set accessibility.openChatEditedFiles to false in your settings."
|
|
259
259
|
)));
|
|
260
260
|
content.push(( localize(
|
|
261
|
-
|
|
261
|
+
4754,
|
|
262
262
|
"To toggle focus between the Agent TODOs view and the chat input, use Agent TODOs: Toggle Focus{0}.",
|
|
263
263
|
"<keybinding:workbench.action.chat.focusTodosView>"
|
|
264
264
|
)));
|
|
265
265
|
}
|
|
266
|
-
content.push(( localize(
|
|
267
|
-
content.push(( localize(
|
|
266
|
+
content.push(( localize(4755, "Some helpful commands include:")));
|
|
267
|
+
content.push(( localize(4756, "- Undo Edits{0}.", "<keybinding:workbench.action.chat.undoEdits>")));
|
|
268
268
|
content.push(( localize(
|
|
269
|
-
|
|
269
|
+
4757,
|
|
270
270
|
"- Restore to Last Checkpoint{0}.",
|
|
271
271
|
"<keybinding:workbench.action.chat.restoreLastCheckpoint>"
|
|
272
272
|
)));
|
|
273
273
|
content.push(( localize(
|
|
274
|
-
|
|
274
|
+
4758,
|
|
275
275
|
"- Attach Files{0}.",
|
|
276
276
|
"<keybinding:workbench.action.chat.editing.attachFiles>"
|
|
277
277
|
)));
|
|
278
278
|
content.push(( localize(
|
|
279
|
-
|
|
279
|
+
4759,
|
|
280
280
|
"- Remove File from Working Set{0}.",
|
|
281
281
|
"<keybinding:chatEditing.removeFileFromWorkingSet>"
|
|
282
282
|
)));
|
|
283
283
|
content.push(( localize(
|
|
284
|
-
|
|
284
|
+
4760,
|
|
285
285
|
"- Keep{0} and Undo File{1}.",
|
|
286
286
|
"<keybinding:chatEditing.acceptFile>",
|
|
287
287
|
"<keybinding:chatEditing.discardFile>"
|
|
288
288
|
)));
|
|
289
|
-
content.push(( localize(
|
|
290
|
-
content.push(( localize(
|
|
291
|
-
content.push(( localize(
|
|
292
|
-
content.push(( localize(
|
|
289
|
+
content.push(( localize(4761, "- Save All Files{0}.", "<keybinding:chatEditing.saveAllFiles>")));
|
|
290
|
+
content.push(( localize(4762, "- Keep All Edits{0}.", "<keybinding:chatEditing.acceptAllFiles>")));
|
|
291
|
+
content.push(( localize(4763, "- Undo All Edits{0}.", "<keybinding:chatEditing.discardAllFiles>")));
|
|
292
|
+
content.push(( localize(4764, "- Open File in Diff{0}.", "<keybinding:chatEditing.openFileInDiff>")));
|
|
293
293
|
content.push(
|
|
294
294
|
`- ${ChatEditingShowChangesAction.LABEL}<keybinding:chatEditing.viewChanges>`
|
|
295
295
|
);
|
|
@@ -298,45 +298,45 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
298
298
|
);
|
|
299
299
|
} else {
|
|
300
300
|
content.push(( localize(
|
|
301
|
-
|
|
301
|
+
4765,
|
|
302
302
|
"Inline chat occurs within a code editor and takes into account the current selection. It is useful for making changes to the current editor. For example, fixing diagnostics, documenting or refactoring code. Keep in mind that AI generated code may be incorrect."
|
|
303
303
|
)));
|
|
304
304
|
content.push(( localize(
|
|
305
|
-
|
|
305
|
+
4766,
|
|
306
306
|
"It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
|
|
307
307
|
"<keybinding:inlineChat.start>"
|
|
308
308
|
)));
|
|
309
309
|
content.push(( localize(
|
|
310
|
-
|
|
310
|
+
4767,
|
|
311
311
|
"In the input box, use Show Previous{0} and Show Next{1} to navigate your request history. Edit input and use enter or the submit button to run a new request.",
|
|
312
312
|
"<keybinding:history.showPrevious>",
|
|
313
313
|
"<keybinding:history.showNext>"
|
|
314
314
|
)));
|
|
315
315
|
content.push(( localize(
|
|
316
|
-
|
|
316
|
+
4768,
|
|
317
317
|
"In the input box, inspect the response in the accessible view{0}.",
|
|
318
318
|
"<keybinding:editor.action.accessibleView>"
|
|
319
319
|
)));
|
|
320
320
|
content.push(( localize(
|
|
321
|
-
|
|
321
|
+
4769,
|
|
322
322
|
"Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
|
|
323
323
|
)));
|
|
324
324
|
content.push(( localize(
|
|
325
|
-
|
|
325
|
+
4770,
|
|
326
326
|
"If a fix action is invoked, a response will indicate the problem with the current code. A diff editor will be rendered and can be reached by tabbing."
|
|
327
327
|
)));
|
|
328
328
|
content.push(( localize(
|
|
329
|
-
|
|
329
|
+
4771,
|
|
330
330
|
"Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
|
|
331
331
|
AccessibleDiffViewerNext.id
|
|
332
332
|
)));
|
|
333
333
|
content.push(( localize(
|
|
334
|
-
|
|
334
|
+
4772,
|
|
335
335
|
"Use tab to reach conditional parts like commands, status, message responses and more."
|
|
336
336
|
)));
|
|
337
337
|
}
|
|
338
338
|
content.push(( localize(
|
|
339
|
-
|
|
339
|
+
4773,
|
|
340
340
|
"Accessibility Signals can be changed via settings with a prefix of signals.chat. By default, if a request takes more than 4 seconds, you will hear a sound indicating that progress is still occurring."
|
|
341
341
|
)));
|
|
342
342
|
return content.join("\n");
|
package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js
CHANGED
|
@@ -58,7 +58,7 @@ let ChatAgentRecommendation = class ChatAgentRecommendation extends Disposable {
|
|
|
58
58
|
const availabilityContextId = `${INSTALL_CONTEXT_PREFIX}.${extensionKey}`;
|
|
59
59
|
const availabilityContext = ( new RawContextKey(availabilityContextId, false)).bindTo(this.contextKeyService);
|
|
60
60
|
this.availabilityContextKeys.set(extensionKey, availabilityContext);
|
|
61
|
-
const title = ( localize2(
|
|
61
|
+
const title = ( localize2(4833, "New {0}", recommendation.displayName));
|
|
62
62
|
this._register(registerAction2(class extends Action2 {
|
|
63
63
|
constructor() {
|
|
64
64
|
super({
|
|
@@ -79,7 +79,7 @@ let CodeBlockActionRendering = class CodeBlockActionRendering extends Disposable
|
|
|
79
79
|
const label = labelService.getUriLabel(context.codemapperUri, {
|
|
80
80
|
relative: true
|
|
81
81
|
});
|
|
82
|
-
return localize(
|
|
82
|
+
return localize(4834, "Apply to {0}", label);
|
|
83
83
|
}
|
|
84
84
|
return super.getTooltip();
|
|
85
85
|
}
|
|
@@ -98,7 +98,7 @@ function registerChatCodeBlockActions() {
|
|
|
98
98
|
constructor() {
|
|
99
99
|
super({
|
|
100
100
|
id: "workbench.action.chat.copyCodeBlock",
|
|
101
|
-
title: ( localize2(
|
|
101
|
+
title: ( localize2(4835, "Copy")),
|
|
102
102
|
f1: false,
|
|
103
103
|
category: CHAT_CATEGORY,
|
|
104
104
|
icon: Codicon.copy,
|
|
@@ -221,7 +221,7 @@ function registerChatCodeBlockActions() {
|
|
|
221
221
|
constructor() {
|
|
222
222
|
super({
|
|
223
223
|
id: APPLY_IN_EDITOR_ID,
|
|
224
|
-
title: ( localize2(
|
|
224
|
+
title: ( localize2(4836, "Apply in Editor")),
|
|
225
225
|
precondition: ChatContextKeys.enabled,
|
|
226
226
|
f1: false,
|
|
227
227
|
category: CHAT_CATEGORY,
|
|
@@ -256,7 +256,7 @@ function registerChatCodeBlockActions() {
|
|
|
256
256
|
constructor() {
|
|
257
257
|
super({
|
|
258
258
|
id: "workbench.action.chat.insertCodeBlock",
|
|
259
|
-
title: ( localize2(
|
|
259
|
+
title: ( localize2(4837, "Insert At Cursor")),
|
|
260
260
|
precondition: ChatContextKeys.enabled,
|
|
261
261
|
f1: true,
|
|
262
262
|
category: CHAT_CATEGORY,
|
|
@@ -292,7 +292,7 @@ function registerChatCodeBlockActions() {
|
|
|
292
292
|
constructor() {
|
|
293
293
|
super({
|
|
294
294
|
id: "workbench.action.chat.insertIntoNewFile",
|
|
295
|
-
title: ( localize2(
|
|
295
|
+
title: ( localize2(4838, "Insert into New File")),
|
|
296
296
|
precondition: ChatContextKeys.enabled,
|
|
297
297
|
f1: true,
|
|
298
298
|
category: CHAT_CATEGORY,
|
|
@@ -356,7 +356,7 @@ function registerChatCodeBlockActions() {
|
|
|
356
356
|
constructor() {
|
|
357
357
|
super({
|
|
358
358
|
id: "workbench.action.chat.runInTerminal",
|
|
359
|
-
title: ( localize2(
|
|
359
|
+
title: ( localize2(4839, "Insert into Terminal")),
|
|
360
360
|
precondition: ChatContextKeys.enabled,
|
|
361
361
|
f1: true,
|
|
362
362
|
category: CHAT_CATEGORY,
|
|
@@ -452,7 +452,7 @@ function registerChatCodeBlockActions() {
|
|
|
452
452
|
constructor() {
|
|
453
453
|
super({
|
|
454
454
|
id: "workbench.action.chat.nextCodeBlock",
|
|
455
|
-
title: ( localize2(
|
|
455
|
+
title: ( localize2(4840, "Next Code Block")),
|
|
456
456
|
keybinding: {
|
|
457
457
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown,
|
|
458
458
|
mac: {
|
|
@@ -474,7 +474,7 @@ function registerChatCodeBlockActions() {
|
|
|
474
474
|
constructor() {
|
|
475
475
|
super({
|
|
476
476
|
id: "workbench.action.chat.previousCodeBlock",
|
|
477
|
-
title: ( localize2(
|
|
477
|
+
title: ( localize2(4841, "Previous Code Block")),
|
|
478
478
|
keybinding: {
|
|
479
479
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp,
|
|
480
480
|
mac: {
|
|
@@ -535,7 +535,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
535
535
|
constructor() {
|
|
536
536
|
super({
|
|
537
537
|
id: "workbench.action.chat.applyCompareEdits",
|
|
538
|
-
title: ( localize2(
|
|
538
|
+
title: ( localize2(4842, "Apply Edits")),
|
|
539
539
|
f1: false,
|
|
540
540
|
category: CHAT_CATEGORY,
|
|
541
541
|
icon: Codicon.gitPullRequestGoToChanges,
|
|
@@ -580,7 +580,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
580
580
|
constructor() {
|
|
581
581
|
super({
|
|
582
582
|
id: "workbench.action.chat.discardCompareEdits",
|
|
583
|
-
title: ( localize2(
|
|
583
|
+
title: ( localize2(4843, "Discard Edits")),
|
|
584
584
|
f1: false,
|
|
585
585
|
category: CHAT_CATEGORY,
|
|
586
586
|
icon: Codicon.trash,
|
|
@@ -603,7 +603,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
603
603
|
constructor() {
|
|
604
604
|
super({
|
|
605
605
|
id: "workbench.action.chat.toggleCompareBlockDiffViewMode",
|
|
606
|
-
title: ( localize2(
|
|
606
|
+
title: ( localize2(4844, "Toggle Inline/Side-by-Side Diff")),
|
|
607
607
|
f1: false,
|
|
608
608
|
category: CHAT_CATEGORY,
|
|
609
609
|
icon: Codicon.diffSingle,
|
|
@@ -626,7 +626,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
626
626
|
constructor() {
|
|
627
627
|
super({
|
|
628
628
|
id: "workbench.action.chat.openCompareBlockInDiffEditor",
|
|
629
|
-
title: ( localize2(
|
|
629
|
+
title: ( localize2(4845, "Open in Diff Editor")),
|
|
630
630
|
f1: false,
|
|
631
631
|
category: CHAT_CATEGORY,
|
|
632
632
|
icon: Codicon.goToFile,
|
|
@@ -118,7 +118,7 @@ class AttachFileToChatAction extends AttachResourceAction {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super({
|
|
120
120
|
id: AttachFileToChatAction.ID,
|
|
121
|
-
title: ( localize2(
|
|
121
|
+
title: ( localize2(4855, "Add File to Chat")),
|
|
122
122
|
category: CHAT_CATEGORY,
|
|
123
123
|
icon: Codicon.attach,
|
|
124
124
|
precondition: ChatContextKeys.enabled,
|
|
@@ -180,7 +180,7 @@ class AttachFolderToChatAction extends AttachResourceAction {
|
|
|
180
180
|
constructor() {
|
|
181
181
|
super({
|
|
182
182
|
id: AttachFolderToChatAction.ID,
|
|
183
|
-
title: ( localize2(
|
|
183
|
+
title: ( localize2(4856, "Add Folder to Chat")),
|
|
184
184
|
category: CHAT_CATEGORY,
|
|
185
185
|
f1: false,
|
|
186
186
|
menu: {
|
|
@@ -211,7 +211,7 @@ class AttachPinnedEditorsToChatAction extends Action2 {
|
|
|
211
211
|
constructor() {
|
|
212
212
|
super({
|
|
213
213
|
id: AttachPinnedEditorsToChatAction.ID,
|
|
214
|
-
title: ( localize2(
|
|
214
|
+
title: ( localize2(4857, "Add Pinned Editors to Chat")),
|
|
215
215
|
category: CHAT_CATEGORY,
|
|
216
216
|
precondition: ChatContextKeys.enabled,
|
|
217
217
|
f1: true
|
|
@@ -253,7 +253,7 @@ class AttachSelectionToChatAction extends Action2 {
|
|
|
253
253
|
constructor() {
|
|
254
254
|
super({
|
|
255
255
|
id: AttachSelectionToChatAction.ID,
|
|
256
|
-
title: ( localize2(
|
|
256
|
+
title: ( localize2(4858, "Add Selection to Chat")),
|
|
257
257
|
category: CHAT_CATEGORY,
|
|
258
258
|
icon: Codicon.attach,
|
|
259
259
|
f1: true,
|
|
@@ -333,7 +333,7 @@ class AttachSearchResultAction extends Action2 {
|
|
|
333
333
|
constructor() {
|
|
334
334
|
super({
|
|
335
335
|
id: "workbench.action.chat.insertSearchResults",
|
|
336
|
-
title: ( localize2(
|
|
336
|
+
title: ( localize2(4859, "Add Search Results to Chat")),
|
|
337
337
|
category: CHAT_CATEGORY,
|
|
338
338
|
f1: false,
|
|
339
339
|
menu: [{
|
|
@@ -396,7 +396,7 @@ class AttachContextAction extends Action2 {
|
|
|
396
396
|
constructor() {
|
|
397
397
|
super({
|
|
398
398
|
id: "workbench.action.chat.attachContext",
|
|
399
|
-
title: ( localize2(
|
|
399
|
+
title: ( localize2(4860, "Add Context...")),
|
|
400
400
|
icon: Codicon.add,
|
|
401
401
|
category: CHAT_CATEGORY,
|
|
402
402
|
keybinding: {
|
|
@@ -487,7 +487,7 @@ class AttachContextAction extends Action2 {
|
|
|
487
487
|
SymbolsQuickAccessProvider.PREFIX,
|
|
488
488
|
AbstractGotoSymbolQuickAccessProvider.PREFIX
|
|
489
489
|
],
|
|
490
|
-
placeholder: placeholder ?? ( localize(
|
|
490
|
+
placeholder: placeholder ?? ( localize(4861, "Search attachments")),
|
|
491
491
|
providerOptions
|
|
492
492
|
});
|
|
493
493
|
}
|
|
@@ -560,7 +560,7 @@ class AttachContextAction extends Action2 {
|
|
|
560
560
|
const pickerConfig = item.asPicker(widget);
|
|
561
561
|
const store = ( new DisposableStore());
|
|
562
562
|
const goBackItem = {
|
|
563
|
-
label: ( localize(
|
|
563
|
+
label: ( localize(4862, "Go back ↩")),
|
|
564
564
|
alwaysShow: true
|
|
565
565
|
};
|
|
566
566
|
const configureItem = pickerConfig.configure ? {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import { getActiveWindow, isAncestor, getActiveElement, isHTMLElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
3
|
+
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
3
4
|
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
5
|
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
5
6
|
import { IClipboardService } from '@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.service';
|
|
7
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
8
|
import { katexContainerClassName, katexContainerLatexAttributeName } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/markdown/common/markedKatexExtension';
|
|
7
9
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
|
|
8
10
|
import { isRequestVM, isResponseVM, isChatTreeItem } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
|
|
@@ -14,7 +16,7 @@ function registerChatCopyActions() {
|
|
|
14
16
|
constructor() {
|
|
15
17
|
super({
|
|
16
18
|
id: "workbench.action.chat.copyAll",
|
|
17
|
-
title: ( localize2(
|
|
19
|
+
title: ( localize2(4868, "Copy All")),
|
|
18
20
|
f1: false,
|
|
19
21
|
category: CHAT_CATEGORY,
|
|
20
22
|
menu: {
|
|
@@ -43,14 +45,20 @@ function registerChatCopyActions() {
|
|
|
43
45
|
constructor() {
|
|
44
46
|
super({
|
|
45
47
|
id: "workbench.action.chat.copyItem",
|
|
46
|
-
title: ( localize2(
|
|
48
|
+
title: ( localize2(4869, "Copy")),
|
|
47
49
|
f1: false,
|
|
48
50
|
category: CHAT_CATEGORY,
|
|
49
|
-
|
|
51
|
+
icon: Codicon.copy,
|
|
52
|
+
menu: [{
|
|
50
53
|
id: MenuId.ChatContext,
|
|
51
54
|
when: ( ChatContextKeys.responseIsFiltered.negate()),
|
|
52
55
|
group: "copy"
|
|
53
|
-
}
|
|
56
|
+
}, {
|
|
57
|
+
id: MenuId.ChatMessageFooter,
|
|
58
|
+
group: "navigation",
|
|
59
|
+
order: 1,
|
|
60
|
+
when: ( ContextKeyExpr.and(ChatContextKeys.isResponse, ( ChatContextKeys.responseIsFiltered.negate())))
|
|
61
|
+
}]
|
|
54
62
|
});
|
|
55
63
|
}
|
|
56
64
|
async run(accessor, ...args) {
|
|
@@ -81,7 +89,7 @@ function registerChatCopyActions() {
|
|
|
81
89
|
constructor() {
|
|
82
90
|
super({
|
|
83
91
|
id: "workbench.action.chat.copyKatexMathSource",
|
|
84
|
-
title: ( localize2(
|
|
92
|
+
title: ( localize2(4870, "Copy Math Source")),
|
|
85
93
|
f1: false,
|
|
86
94
|
category: CHAT_CATEGORY,
|
|
87
95
|
menu: {
|
|
@@ -32,7 +32,7 @@ class LogChatInputHistoryAction extends Action2 {
|
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: LogChatInputHistoryAction.ID,
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(4871, "Log Chat Input History")),
|
|
36
36
|
icon: Codicon.attach,
|
|
37
37
|
category: Categories.Developer,
|
|
38
38
|
f1: true,
|
|
@@ -51,7 +51,7 @@ class LogChatIndexAction extends Action2 {
|
|
|
51
51
|
constructor() {
|
|
52
52
|
super({
|
|
53
53
|
id: LogChatIndexAction.ID,
|
|
54
|
-
title: ( localize2(
|
|
54
|
+
title: ( localize2(4872, "Log Chat Index")),
|
|
55
55
|
icon: Codicon.attach,
|
|
56
56
|
category: Categories.Developer,
|
|
57
57
|
f1: true,
|
|
@@ -70,7 +70,7 @@ class InspectChatModelAction extends Action2 {
|
|
|
70
70
|
constructor() {
|
|
71
71
|
super({
|
|
72
72
|
id: InspectChatModelAction.ID,
|
|
73
|
-
title: ( localize2(
|
|
73
|
+
title: ( localize2(4873, "Inspect Chat Model")),
|
|
74
74
|
icon: Codicon.inspect,
|
|
75
75
|
category: Categories.Developer,
|
|
76
76
|
f1: true,
|
|
@@ -114,7 +114,7 @@ class ClearRecentlyUsedLanguageModelsAction extends Action2 {
|
|
|
114
114
|
constructor() {
|
|
115
115
|
super({
|
|
116
116
|
id: ClearRecentlyUsedLanguageModelsAction.ID,
|
|
117
|
-
title: ( localize2(
|
|
117
|
+
title: ( localize2(4874, "Clear Recently Used Language Models")),
|
|
118
118
|
category: Categories.Developer,
|
|
119
119
|
f1: true,
|
|
120
120
|
precondition: ChatContextKeys.enabled
|
|
@@ -13,7 +13,7 @@ function registerChatFileTreeActions() {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: "workbench.action.chat.nextFileTree",
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(4907, "Next File Tree")),
|
|
17
17
|
keybinding: {
|
|
18
18
|
primary: KeyMod.CtrlCmd | KeyCode.F9,
|
|
19
19
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -32,7 +32,7 @@ function registerChatFileTreeActions() {
|
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: "workbench.action.chat.previousFileTree",
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(4908, "Previous File Tree")),
|
|
36
36
|
keybinding: {
|
|
37
37
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.F9,
|
|
38
38
|
weight: KeybindingWeight.WorkbenchContrib,
|