@codingame/monaco-vscode-chat-service-override 34.1.3 → 35.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 +38 -0
- package/package.json +5 -5
- package/vscode/src/vs/platform/agentHost/browser/agentHost.config.contribution.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHost.config.contribution.js +40 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +27 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +91 -0
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.d.ts +20 -4
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.js +148 -15
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +9 -1
- package/vscode/src/vs/platform/agentHost/common/agentHost.config.contribution.js +57 -3
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.d.ts +10 -14
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.js +29 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.d.ts +109 -2
- package/vscode/src/vs/platform/agentHost/common/agentHostSchema.js +207 -21
- package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +362 -37
- package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +698 -91
- package/vscode/src/vs/platform/agentHost/common/agentService.js +46 -3
- package/vscode/src/vs/platform/agentHost/common/customAgents.js +1 -0
- package/vscode/src/vs/platform/agentHost/common/resourceReadLogging.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/resourceReadLogging.js +26 -0
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +5 -5
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +17 -17
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.d.ts +96 -12
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +226 -19
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/reducer.d.ts +18 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-annotations/reducer.js +89 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-changeset/reducer.js +10 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.js +400 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/channels-session/reducer.js +129 -446
- package/vscode/src/vs/platform/agentHost/common/state/protocol/common/reducer-helpers.d.ts +2 -2
- 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 +35 -25
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +7 -1
- package/vscode/src/vs/{workbench/contrib → platform}/browserView/common/browserChatToolReferenceNames.d.ts +4 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +1 -1
- package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.js +1 -0
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxCommandRules.d.ts +0 -6
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxCommandRules.js +5 -18
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.d.ts +52 -3
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.js +212 -34
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.js +3 -4
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxRuntimeConfigurationPerOperation.js +11 -10
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +13 -6
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.js +6 -1
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +399 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +85 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.d.ts +177 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +898 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +204 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.js +338 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +57 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +98 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +149 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +116 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.d.ts +32 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +226 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +138 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.js +25 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/transcriptComponent.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/transcriptComponent.js +108 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +63 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +178 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +322 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoice.js +15 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/agentsVoiceColors.js +26 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.d.ts +132 -0
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +237 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +32 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +71 -60
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +15 -15
- 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 +19 -24
- 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 +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +14 -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 +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +66 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +15 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +19 -19
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +128 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/openCopilotCliStateFileAction.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/reviewEdits.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +10 -10
- 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.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +58 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +15 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +64 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.d.ts +45 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +25 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +143 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +7 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostNewSessionFolderService.js +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.d.ts +47 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.js +163 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +26 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +106 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +16 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +44 -14
- 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 +70 -59
- 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.js +22 -22
- 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/localAgentDisabledInputTipContribution.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentDisabledInputTipContribution.js +152 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +11 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDebugPanel.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDebugPanel.js +9 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +17 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +143 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.js +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.js +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +1 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +107 -126
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +46 -46
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +19 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +244 -190
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +13 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.js +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +47 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +4 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/automationsListWidget.d.ts +87 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/automationsListWidget.js +772 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.d.ts +24 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.js +3 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js +1 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.js +130 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.js +94 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +421 -201
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +1424 -97
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +107 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.js +331 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.d.ts +120 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.js +898 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +581 -336
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +123 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +567 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheDiff.js +168 -84
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.d.ts +183 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +897 -251
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.d.ts +213 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +720 -0
- 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/chatDebug/media/chatDebug.css +354 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +9 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.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 +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +11 -4
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.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.d.ts +9 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +55 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +8 -8
- 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 +18 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +192 -87
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatModelsWidget.css +37 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.d.ts +40 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +230 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.d.ts +30 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.js +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +23 -25
- 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 +35 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +26 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +56 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +109 -68
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.d.ts +38 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +175 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css +4 -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 +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
- 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/languageModelsConfigurationService.js +1 -1
- 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 +4 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginAutoUpdate.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +32 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +183 -84
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +20 -9
- 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/promptToolSetsCodeLensProvider.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +109 -0
- 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/clientToolSetsContribution.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +117 -0
- 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 +40 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +169 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.d.ts +125 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.js +399 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.js +198 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.d.ts +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.js +504 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.d.ts +321 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.js +2117 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.js +367 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +16 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +68 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +11 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +2 -2
- 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.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +13 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +23 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +320 -40
- 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 +80 -4
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automation.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationDialogService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationRunner.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/automationsEnabled.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/automations/schedule.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +226 -88
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +8 -3
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +13 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +12 -8
- package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.js +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +177 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +2 -18
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +78 -136
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +1 -16
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +1 -17
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +16 -5
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.d.ts +31 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/strictKnownMarketplaces.js +122 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +24 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +113 -10
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +227 -152
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.js +98 -0
- package/vscode/src/vs/workbench/contrib/chat/common/workingDirectory.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/workingDirectory.js +7 -6
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +11 -12
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +10 -10
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +7 -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 +32 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.d.ts +23 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.js +37 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +7 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +7 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +7 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/largeOutputFileWriter.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/largeOutputFileWriter.js +71 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.js +29 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +7 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +2 -1
- 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 +10 -8
- 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 +4 -4
- 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.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +26 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +32 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +416 -252
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +3 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
- 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/sandboxSettingsReader.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +25 -8
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +8 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.js +0 -77
- package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.d.ts +0 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/copilotCliEventsUri.js +0 -82
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.d.ts +0 -38
- package/vscode/src/vs/workbench/contrib/chat/common/chatSelectedModel.js +0 -47
- /package/vscode/src/vs/{workbench/contrib → platform}/browserView/common/browserChatToolReferenceNames.js +0 -0
|
@@ -67,134 +67,145 @@ class AgentChatAccessibilityHelp {
|
|
|
67
67
|
}
|
|
68
68
|
function getAccessibilityHelpText(type, keybindingService) {
|
|
69
69
|
const content = [];
|
|
70
|
+
if (type === "panelChat" || type === "quickChat" || type === "editsView" || type === "agentView") {
|
|
71
|
+
content.push(( localize(
|
|
72
|
+
5070,
|
|
73
|
+
"File change summaries show the total files, additions, and deletions. Focus the disclosure and press Enter or Space to show or hide the individual files."
|
|
74
|
+
)));
|
|
75
|
+
}
|
|
70
76
|
if (type === "panelChat" || type === "quickChat" || type === "agentView") {
|
|
71
77
|
if (type === "quickChat") {
|
|
72
78
|
content.push(( localize(
|
|
73
|
-
|
|
79
|
+
5071,
|
|
74
80
|
"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
81
|
)));
|
|
76
82
|
content.push(( localize(
|
|
77
|
-
|
|
83
|
+
5072,
|
|
78
84
|
"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
85
|
)));
|
|
80
86
|
} else {
|
|
81
87
|
content.push(( localize(
|
|
82
|
-
|
|
88
|
+
5073,
|
|
83
89
|
"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
90
|
)));
|
|
85
91
|
content.push(( localize(
|
|
86
|
-
|
|
92
|
+
5074,
|
|
87
93
|
"To create a new chat session, invoke the New Chat command{0}.",
|
|
88
94
|
"<keybinding:workbench.action.chat.newChat>"
|
|
89
95
|
)));
|
|
90
96
|
content.push(( localize(
|
|
91
|
-
|
|
97
|
+
5075,
|
|
92
98
|
"To view all chat sessions, invoke the Show Chats command{0}.",
|
|
93
99
|
"<keybinding:workbench.action.chat.history>"
|
|
94
100
|
)));
|
|
95
101
|
content.push(( localize(
|
|
96
|
-
|
|
102
|
+
5076,
|
|
97
103
|
"You can focus the agent sessions list by invoking the Focus Agent Sessions command{0}.",
|
|
98
104
|
`<keybinding:${FocusAgentSessionsAction.id}>`
|
|
99
105
|
)));
|
|
100
106
|
content.push(( localize(
|
|
101
|
-
|
|
107
|
+
5077,
|
|
102
108
|
"To open the Agents Window, invoke the Open Agents Window command{0}. In screen reader mode, this keybinding includes Alt to avoid conflicts with screen reader shortcuts.",
|
|
103
109
|
"<keybinding:workbench.action.openAgentsWindow>"
|
|
104
110
|
)));
|
|
111
|
+
content.push(( localize(
|
|
112
|
+
5078,
|
|
113
|
+
"When starting an agent session in a multi-root workspace, you can choose which root folder it runs in by invoking the Folder command{0}, then selecting a folder from the list.",
|
|
114
|
+
"<keybinding:workbench.action.chat.openAgentHostFolderPicker>"
|
|
115
|
+
)));
|
|
105
116
|
}
|
|
106
117
|
content.push(( localize(
|
|
107
|
-
|
|
118
|
+
5079,
|
|
108
119
|
"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."
|
|
109
120
|
)));
|
|
110
121
|
content.push(( localize(
|
|
111
|
-
|
|
122
|
+
5080,
|
|
112
123
|
"To remove attached contexts, focus an attachment and press Delete or Backspace."
|
|
113
124
|
)));
|
|
114
125
|
content.push(( localize(
|
|
115
|
-
|
|
126
|
+
5081,
|
|
116
127
|
"In the input box, inspect the last response in the accessible view{0}. Thinking content is included in order by default.",
|
|
117
128
|
"<keybinding:editor.action.accessibleView>"
|
|
118
129
|
)));
|
|
119
130
|
content.push(( localize(
|
|
120
|
-
|
|
131
|
+
5082,
|
|
121
132
|
"To include or exclude thinking content in the accessible view, run the Toggle Thinking Content in Accessible View command from the Command Palette."
|
|
122
133
|
)));
|
|
123
134
|
content.push(( localize(
|
|
124
|
-
|
|
135
|
+
5083,
|
|
125
136
|
"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.",
|
|
126
137
|
getChatFocusKeybindingLabel(keybindingService, type, "last")
|
|
127
138
|
)));
|
|
128
139
|
content.push(( localize(
|
|
129
|
-
|
|
140
|
+
5084,
|
|
130
141
|
"To return to the last chat response you focused, invoke the Focus Last Focused Chat Response command{0}.",
|
|
131
142
|
getChatFocusKeybindingLabel(keybindingService, type, "lastFocused")
|
|
132
143
|
)));
|
|
133
144
|
content.push(( localize(
|
|
134
|
-
|
|
145
|
+
5085,
|
|
135
146
|
"To focus the input box for chat requests, invoke the Focus Chat Input command{0}.",
|
|
136
147
|
getChatFocusKeybindingLabel(keybindingService, type, "input")
|
|
137
148
|
)));
|
|
138
149
|
content.push(( localize(
|
|
139
|
-
|
|
150
|
+
5086,
|
|
140
151
|
"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."
|
|
141
152
|
)));
|
|
142
153
|
content.push(( localize(
|
|
143
|
-
|
|
154
|
+
5087,
|
|
144
155
|
"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."
|
|
145
156
|
)));
|
|
146
157
|
content.push(( localize(
|
|
147
|
-
|
|
158
|
+
5088,
|
|
148
159
|
"To focus the next code block within a response, invoke the Chat: Next Code Block command{0}.",
|
|
149
160
|
"<keybinding:workbench.action.chat.nextCodeBlock>"
|
|
150
161
|
)));
|
|
151
162
|
content.push(( localize(
|
|
152
|
-
|
|
163
|
+
5089,
|
|
153
164
|
"To navigate to the next user prompt in the conversation, invoke the Next User Prompt command{0}.",
|
|
154
165
|
"<keybinding:workbench.action.chat.nextUserPrompt>"
|
|
155
166
|
)));
|
|
156
167
|
content.push(( localize(
|
|
157
|
-
|
|
168
|
+
5090,
|
|
158
169
|
"To navigate to the previous user prompt in the conversation, invoke the Previous User Prompt command{0}.",
|
|
159
170
|
"<keybinding:workbench.action.chat.previousUserPrompt>"
|
|
160
171
|
)));
|
|
161
172
|
content.push(( localize(
|
|
162
|
-
|
|
173
|
+
5091,
|
|
163
174
|
"To focus pending chat confirmation dialogs, invoke the Focus Chat Confirmation Status command{0}.",
|
|
164
175
|
"<keybinding:workbench.action.chat.focusConfirmation>"
|
|
165
176
|
)));
|
|
166
177
|
content.push(( localize(
|
|
167
|
-
|
|
178
|
+
5092,
|
|
168
179
|
"If there are any hidden chat terminals, you can view them by invoking the View Hidden Chat Terminals command{0}.",
|
|
169
180
|
"<keybinding:workbench.action.terminal.chat.viewHiddenChatTerminals>"
|
|
170
181
|
)));
|
|
171
182
|
content.push(( localize(
|
|
172
|
-
|
|
183
|
+
5093,
|
|
173
184
|
"To focus the last chat terminal that ran a tool, invoke the Focus Most Recent Chat Terminal command{0}.",
|
|
174
185
|
`<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminal}>`
|
|
175
186
|
)));
|
|
176
187
|
content.push(( localize(
|
|
177
|
-
|
|
188
|
+
5094,
|
|
178
189
|
"To focus the output from the last chat terminal tool, invoke the Focus Most Recent Chat Terminal Output command{0}.",
|
|
179
190
|
`<keybinding:${TerminalContribCommandId.FocusMostRecentChatTerminalOutput}>`
|
|
180
191
|
)));
|
|
181
192
|
content.push(( localize(
|
|
182
|
-
|
|
193
|
+
5095,
|
|
183
194
|
"When a chat question appears, toggle focus between the question and the chat input{0}.",
|
|
184
195
|
"<keybinding:workbench.action.chat.focusQuestionCarousel>"
|
|
185
196
|
)));
|
|
186
197
|
content.push(( localize(
|
|
187
|
-
|
|
198
|
+
5096,
|
|
188
199
|
"When a chat question is focused, move to the previous question{0}.",
|
|
189
200
|
"<keybinding:workbench.action.chat.previousQuestion>"
|
|
190
201
|
)));
|
|
191
202
|
content.push(( localize(
|
|
192
|
-
|
|
203
|
+
5097,
|
|
193
204
|
"When a chat question is focused, move to the next question{0}.",
|
|
194
205
|
"<keybinding:workbench.action.chat.nextQuestion>"
|
|
195
206
|
)));
|
|
196
207
|
content.push(( localize(
|
|
197
|
-
|
|
208
|
+
5098,
|
|
198
209
|
"When a tip appears, toggle focus between the tip and the chat input{0}.",
|
|
199
210
|
"<keybinding:workbench.action.chat.focusTip>"
|
|
200
211
|
)));
|
|
@@ -202,99 +213,99 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
202
213
|
if (type === "editsView" || type === "agentView") {
|
|
203
214
|
if (type === "agentView") {
|
|
204
215
|
content.push(( localize(
|
|
205
|
-
|
|
216
|
+
5099,
|
|
206
217
|
"The chat agent view is used to apply edits across files in your workspace, enable running commands in the terminal, and more."
|
|
207
218
|
)));
|
|
208
219
|
} else {
|
|
209
|
-
content.push(( localize(
|
|
220
|
+
content.push(( localize(5100, "The chat editing view is used to apply edits across files.")));
|
|
210
221
|
}
|
|
211
222
|
content.push(( localize(
|
|
212
|
-
|
|
223
|
+
5101,
|
|
213
224
|
"It is comprised of an input box and a file working set (Shift+Tab)."
|
|
214
225
|
)));
|
|
215
226
|
content.push(( localize(
|
|
216
|
-
|
|
227
|
+
5102,
|
|
217
228
|
"When a request is made, a progress indicator will play while the edits are being applied."
|
|
218
229
|
)));
|
|
219
230
|
content.push(( localize(
|
|
220
|
-
|
|
231
|
+
5103,
|
|
221
232
|
"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."
|
|
222
233
|
)));
|
|
223
234
|
content.push(( localize(
|
|
224
|
-
|
|
235
|
+
5104,
|
|
225
236
|
"Navigate between edits in the editor with navigate previous{0} and next{1}",
|
|
226
237
|
"<keybinding:chatEditor.action.navigatePrevious>",
|
|
227
238
|
"<keybinding:chatEditor.action.navigateNext>"
|
|
228
239
|
)));
|
|
229
240
|
content.push(( localize(
|
|
230
|
-
|
|
241
|
+
5105,
|
|
231
242
|
"In the editor, Keep{0}, Undo{1}, or Toggle the Diff{2} for the current Change.",
|
|
232
243
|
"<keybinding:chatEditor.action.acceptHunk>",
|
|
233
244
|
"<keybinding:chatEditor.action.undoHunk>",
|
|
234
245
|
"<keybinding:chatEditor.action.toggleDiff>"
|
|
235
246
|
)));
|
|
236
247
|
content.push(( localize(
|
|
237
|
-
|
|
248
|
+
5106,
|
|
238
249
|
"Sounds will play when a change is accepted or undone. The sounds can be disabled with accessibility.signals.editsKept and accessibility.signals.editsUndone."
|
|
239
250
|
)));
|
|
240
251
|
if (type === "agentView") {
|
|
241
252
|
content.push(( localize(
|
|
242
|
-
|
|
253
|
+
5107,
|
|
243
254
|
"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."
|
|
244
255
|
)));
|
|
245
256
|
content.push(( localize(
|
|
246
|
-
|
|
257
|
+
5108,
|
|
247
258
|
"To take the action, use the accept tool command{0}.",
|
|
248
259
|
"<keybinding:workbench.action.chat.acceptTool>"
|
|
249
260
|
)));
|
|
250
261
|
content.push(( localize(
|
|
251
|
-
|
|
262
|
+
5109,
|
|
252
263
|
"To automatically approve tool actions without manual confirmation, set {0} to {1} in your settings.",
|
|
253
264
|
ChatConfiguration.GlobalAutoApprove,
|
|
254
265
|
"true"
|
|
255
266
|
)));
|
|
256
267
|
content.push(( localize(
|
|
257
|
-
|
|
268
|
+
5110,
|
|
258
269
|
"To accept a tool action, use the Accept Tool Confirmation command{0}.",
|
|
259
270
|
"<keybinding:workbench.action.chat.acceptTool>"
|
|
260
271
|
)));
|
|
261
272
|
content.push(( localize(
|
|
262
|
-
|
|
273
|
+
5111,
|
|
263
274
|
"By default, when edits are made to files, they will be opened. To change this behavior, set accessibility.openChatEditedFiles to false in your settings."
|
|
264
275
|
)));
|
|
265
276
|
content.push(( localize(
|
|
266
|
-
|
|
277
|
+
5112,
|
|
267
278
|
"To toggle focus between the Agent TODOs view and the chat input, use Agent TODOs: Toggle Focus{0}.",
|
|
268
279
|
"<keybinding:workbench.action.chat.focusTodosView>"
|
|
269
280
|
)));
|
|
270
281
|
}
|
|
271
|
-
content.push(( localize(
|
|
272
|
-
content.push(( localize(
|
|
282
|
+
content.push(( localize(5113, "Some helpful commands include:")));
|
|
283
|
+
content.push(( localize(5114, "- Undo Edits{0}.", "<keybinding:workbench.action.chat.undoEdits>")));
|
|
273
284
|
content.push(( localize(
|
|
274
|
-
|
|
285
|
+
5115,
|
|
275
286
|
"- Restore to Last Checkpoint{0}.",
|
|
276
287
|
"<keybinding:workbench.action.chat.restoreLastCheckpoint>"
|
|
277
288
|
)));
|
|
278
289
|
content.push(( localize(
|
|
279
|
-
|
|
290
|
+
5116,
|
|
280
291
|
"- Attach Files{0}.",
|
|
281
292
|
"<keybinding:workbench.action.chat.editing.attachFiles>"
|
|
282
293
|
)));
|
|
283
294
|
content.push(( localize(
|
|
284
|
-
|
|
295
|
+
5117,
|
|
285
296
|
"- Remove File from Working Set{0}.",
|
|
286
297
|
"<keybinding:chatEditing.removeFileFromWorkingSet>"
|
|
287
298
|
)));
|
|
288
299
|
content.push(( localize(
|
|
289
|
-
|
|
300
|
+
5118,
|
|
290
301
|
"- Keep{0} and Undo File{1}.",
|
|
291
302
|
"<keybinding:chatEditing.acceptFile>",
|
|
292
303
|
"<keybinding:chatEditing.discardFile>"
|
|
293
304
|
)));
|
|
294
|
-
content.push(( localize(
|
|
295
|
-
content.push(( localize(
|
|
296
|
-
content.push(( localize(
|
|
297
|
-
content.push(( localize(
|
|
305
|
+
content.push(( localize(5119, "- Save All Files{0}.", "<keybinding:chatEditing.saveAllFiles>")));
|
|
306
|
+
content.push(( localize(5120, "- Keep All Edits{0}.", "<keybinding:chatEditing.acceptAllFiles>")));
|
|
307
|
+
content.push(( localize(5121, "- Undo All Edits{0}.", "<keybinding:chatEditing.discardAllFiles>")));
|
|
308
|
+
content.push(( localize(5122, "- Open File in Diff{0}.", "<keybinding:chatEditing.openFileInDiff>")));
|
|
298
309
|
content.push(
|
|
299
310
|
`- ${ChatEditingShowChangesAction.LABEL}<keybinding:chatEditing.viewChanges>`
|
|
300
311
|
);
|
|
@@ -303,45 +314,45 @@ function getAccessibilityHelpText(type, keybindingService) {
|
|
|
303
314
|
);
|
|
304
315
|
} else {
|
|
305
316
|
content.push(( localize(
|
|
306
|
-
|
|
317
|
+
5123,
|
|
307
318
|
"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."
|
|
308
319
|
)));
|
|
309
320
|
content.push(( localize(
|
|
310
|
-
|
|
321
|
+
5124,
|
|
311
322
|
"It can be activated via code actions or directly using the command: Inline Chat: Start Inline Chat{0}.",
|
|
312
323
|
"<keybinding:inlineChat.start>"
|
|
313
324
|
)));
|
|
314
325
|
content.push(( localize(
|
|
315
|
-
|
|
326
|
+
5125,
|
|
316
327
|
"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.",
|
|
317
328
|
"<keybinding:history.showPrevious>",
|
|
318
329
|
"<keybinding:history.showNext>"
|
|
319
330
|
)));
|
|
320
331
|
content.push(( localize(
|
|
321
|
-
|
|
332
|
+
5126,
|
|
322
333
|
"In the input box, inspect the response in the accessible view{0}.",
|
|
323
334
|
"<keybinding:editor.action.accessibleView>"
|
|
324
335
|
)));
|
|
325
336
|
content.push(( localize(
|
|
326
|
-
|
|
337
|
+
5127,
|
|
327
338
|
"Context menu actions may run a request prefixed with a /. Type / to discover such ready-made commands."
|
|
328
339
|
)));
|
|
329
340
|
content.push(( localize(
|
|
330
|
-
|
|
341
|
+
5128,
|
|
331
342
|
"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."
|
|
332
343
|
)));
|
|
333
344
|
content.push(( localize(
|
|
334
|
-
|
|
345
|
+
5129,
|
|
335
346
|
"Once in the diff editor, enter review mode with{0}. Use up and down arrows to navigate lines with the proposed changes.",
|
|
336
347
|
AccessibleDiffViewerNext.id
|
|
337
348
|
)));
|
|
338
349
|
content.push(( localize(
|
|
339
|
-
|
|
350
|
+
5130,
|
|
340
351
|
"Use tab to reach conditional parts like commands, status, message responses and more."
|
|
341
352
|
)));
|
|
342
353
|
}
|
|
343
354
|
content.push(( localize(
|
|
344
|
-
|
|
355
|
+
5131,
|
|
345
356
|
"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."
|
|
346
357
|
)));
|
|
347
358
|
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(5195, "New {0}", recommendation.displayName));
|
|
62
62
|
this._register(registerAction2(class extends Action2 {
|
|
63
63
|
constructor() {
|
|
64
64
|
super({
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
3
3
|
import { generateUuid } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uuid';
|
|
4
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
4
5
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
6
|
+
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
7
|
+
import { getDefaultNewChatSessionResource } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
5
8
|
import { ChatEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput';
|
|
6
9
|
|
|
7
10
|
async function clearChatEditor(accessor, chatEditorInput) {
|
|
8
11
|
const editorService = accessor.get(IEditorService);
|
|
12
|
+
const configurationService = accessor.get(IConfigurationService);
|
|
13
|
+
const chatSessionsService = accessor.get(IChatSessionsService);
|
|
9
14
|
if (!chatEditorInput) {
|
|
10
15
|
const editorInput = editorService.activeEditor;
|
|
11
16
|
chatEditorInput = editorInput instanceof ChatEditorInput ? editorInput : undefined;
|
|
@@ -13,7 +18,7 @@ async function clearChatEditor(accessor, chatEditorInput) {
|
|
|
13
18
|
if (chatEditorInput instanceof ChatEditorInput) {
|
|
14
19
|
const resource = chatEditorInput.sessionResource && chatEditorInput.sessionResource.scheme !== Schemas.vscodeLocalChatSession
|
|
15
20
|
? chatEditorInput.sessionResource.with({ path: `/untitled-${generateUuid()}` })
|
|
16
|
-
:
|
|
21
|
+
: getDefaultNewChatSessionResource(configurationService, chatSessionsService);
|
|
17
22
|
const identifier = editorService.findEditors(chatEditorInput.resource)[0];
|
|
18
23
|
await editorService.replaceEditors([{
|
|
19
24
|
editor: chatEditorInput,
|
|
@@ -90,7 +90,7 @@ let CodeBlockActionRendering = class CodeBlockActionRendering extends Disposable
|
|
|
90
90
|
const label = labelService.getUriLabel(context.codemapperUri, {
|
|
91
91
|
relative: true
|
|
92
92
|
});
|
|
93
|
-
return localize(
|
|
93
|
+
return localize(5196, "Apply to {0}", label);
|
|
94
94
|
}
|
|
95
95
|
return super.getTooltip();
|
|
96
96
|
}
|
|
@@ -110,7 +110,7 @@ function registerChatCodeBlockActions() {
|
|
|
110
110
|
constructor() {
|
|
111
111
|
super({
|
|
112
112
|
id: "workbench.action.chat.copyCodeBlock",
|
|
113
|
-
title: ( localize2(
|
|
113
|
+
title: ( localize2(5197, "Copy")),
|
|
114
114
|
f1: false,
|
|
115
115
|
category: CHAT_CATEGORY,
|
|
116
116
|
icon: Codicon.copy,
|
|
@@ -159,7 +159,7 @@ function registerChatCodeBlockActions() {
|
|
|
159
159
|
editDeltaInfo: EditDeltaInfo.fromText(context.code),
|
|
160
160
|
feature: "sideBarChat",
|
|
161
161
|
languageId: context.languageId,
|
|
162
|
-
modeId: context.element.model.request?.modeInfo?.
|
|
162
|
+
modeId: context.element.model.request?.modeInfo?.telemetryModeId,
|
|
163
163
|
modelId: request?.modelId,
|
|
164
164
|
presentation: "codeBlock",
|
|
165
165
|
applyCodeBlockSuggestionId: undefined,
|
|
@@ -217,7 +217,7 @@ function registerChatCodeBlockActions() {
|
|
|
217
217
|
editDeltaInfo: EditDeltaInfo.fromText(copiedText),
|
|
218
218
|
feature: "sideBarChat",
|
|
219
219
|
languageId: context.languageId,
|
|
220
|
-
modeId: element.model.request?.modeInfo?.
|
|
220
|
+
modeId: element.model.request?.modeInfo?.telemetryModeId,
|
|
221
221
|
modelId: request?.modelId,
|
|
222
222
|
presentation: "codeBlock",
|
|
223
223
|
applyCodeBlockSuggestionId: undefined,
|
|
@@ -235,7 +235,7 @@ function registerChatCodeBlockActions() {
|
|
|
235
235
|
constructor() {
|
|
236
236
|
super({
|
|
237
237
|
id: APPLY_IN_EDITOR_ID,
|
|
238
|
-
title: ( localize2(
|
|
238
|
+
title: ( localize2(5198, "Apply in Editor")),
|
|
239
239
|
precondition: ChatContextKeys.enabled,
|
|
240
240
|
f1: false,
|
|
241
241
|
category: CHAT_CATEGORY,
|
|
@@ -270,7 +270,7 @@ function registerChatCodeBlockActions() {
|
|
|
270
270
|
constructor() {
|
|
271
271
|
super({
|
|
272
272
|
id: "workbench.action.chat.insertCodeBlock",
|
|
273
|
-
title: ( localize2(
|
|
273
|
+
title: ( localize2(5199, "Insert At Cursor")),
|
|
274
274
|
precondition: ChatContextKeys.enabled,
|
|
275
275
|
f1: true,
|
|
276
276
|
category: CHAT_CATEGORY,
|
|
@@ -306,7 +306,7 @@ function registerChatCodeBlockActions() {
|
|
|
306
306
|
constructor() {
|
|
307
307
|
super({
|
|
308
308
|
id: "workbench.action.chat.insertIntoNewFile",
|
|
309
|
-
title: ( localize2(
|
|
309
|
+
title: ( localize2(5200, "Insert into New File")),
|
|
310
310
|
precondition: ChatContextKeys.enabled,
|
|
311
311
|
f1: true,
|
|
312
312
|
category: CHAT_CATEGORY,
|
|
@@ -357,7 +357,7 @@ function registerChatCodeBlockActions() {
|
|
|
357
357
|
editDeltaInfo: EditDeltaInfo.fromText(context.code),
|
|
358
358
|
feature: "sideBarChat",
|
|
359
359
|
languageId: context.languageId,
|
|
360
|
-
modeId: context.element.model.request?.modeInfo?.
|
|
360
|
+
modeId: context.element.model.request?.modeInfo?.telemetryModeId,
|
|
361
361
|
modelId: request?.modelId,
|
|
362
362
|
presentation: "codeBlock",
|
|
363
363
|
applyCodeBlockSuggestionId: undefined,
|
|
@@ -371,7 +371,7 @@ function registerChatCodeBlockActions() {
|
|
|
371
371
|
constructor() {
|
|
372
372
|
super({
|
|
373
373
|
id: "workbench.action.chat.runInTerminal",
|
|
374
|
-
title: ( localize2(
|
|
374
|
+
title: ( localize2(5201, "Insert into Terminal")),
|
|
375
375
|
precondition: ChatContextKeys.enabled,
|
|
376
376
|
f1: true,
|
|
377
377
|
category: CHAT_CATEGORY,
|
|
@@ -467,7 +467,7 @@ function registerChatCodeBlockActions() {
|
|
|
467
467
|
constructor() {
|
|
468
468
|
super({
|
|
469
469
|
id: "workbench.action.chat.nextCodeBlock",
|
|
470
|
-
title: ( localize2(
|
|
470
|
+
title: ( localize2(5202, "Next Code Block")),
|
|
471
471
|
keybinding: {
|
|
472
472
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageDown,
|
|
473
473
|
mac: {
|
|
@@ -489,7 +489,7 @@ function registerChatCodeBlockActions() {
|
|
|
489
489
|
constructor() {
|
|
490
490
|
super({
|
|
491
491
|
id: "workbench.action.chat.previousCodeBlock",
|
|
492
|
-
title: ( localize2(
|
|
492
|
+
title: ( localize2(5203, "Previous Code Block")),
|
|
493
493
|
keybinding: {
|
|
494
494
|
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.PageUp,
|
|
495
495
|
mac: {
|
|
@@ -550,7 +550,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
550
550
|
constructor() {
|
|
551
551
|
super({
|
|
552
552
|
id: "workbench.action.chat.applyCompareEdits",
|
|
553
|
-
title: ( localize2(
|
|
553
|
+
title: ( localize2(5204, "Apply Edits")),
|
|
554
554
|
f1: false,
|
|
555
555
|
category: CHAT_CATEGORY,
|
|
556
556
|
icon: Codicon.gitPullRequestGoToChanges,
|
|
@@ -595,7 +595,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
595
595
|
constructor() {
|
|
596
596
|
super({
|
|
597
597
|
id: "workbench.action.chat.discardCompareEdits",
|
|
598
|
-
title: ( localize2(
|
|
598
|
+
title: ( localize2(5205, "Discard Edits")),
|
|
599
599
|
f1: false,
|
|
600
600
|
category: CHAT_CATEGORY,
|
|
601
601
|
icon: Codicon.trash,
|
|
@@ -618,7 +618,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
618
618
|
constructor() {
|
|
619
619
|
super({
|
|
620
620
|
id: "workbench.action.chat.toggleCompareBlockDiffViewMode",
|
|
621
|
-
title: ( localize2(
|
|
621
|
+
title: ( localize2(5206, "Toggle Inline/Side-by-Side Diff")),
|
|
622
622
|
f1: false,
|
|
623
623
|
category: CHAT_CATEGORY,
|
|
624
624
|
icon: Codicon.diffSingle,
|
|
@@ -641,7 +641,7 @@ function registerChatCodeCompareBlockActions() {
|
|
|
641
641
|
constructor() {
|
|
642
642
|
super({
|
|
643
643
|
id: "workbench.action.chat.openCompareBlockInDiffEditor",
|
|
644
|
-
title: ( localize2(
|
|
644
|
+
title: ( localize2(5207, "Open in Diff Editor")),
|
|
645
645
|
f1: false,
|
|
646
646
|
category: CHAT_CATEGORY,
|
|
647
647
|
icon: Codicon.goToFile,
|
|
@@ -123,7 +123,7 @@ class AttachFileToChatAction extends AttachResourceAction {
|
|
|
123
123
|
constructor() {
|
|
124
124
|
super({
|
|
125
125
|
id: AttachFileToChatAction.ID,
|
|
126
|
-
title: ( localize2(
|
|
126
|
+
title: ( localize2(5218, "Add File to Chat")),
|
|
127
127
|
category: CHAT_CATEGORY,
|
|
128
128
|
icon: Codicon.attach,
|
|
129
129
|
precondition: ChatContextKeys.enabled,
|
|
@@ -185,7 +185,7 @@ class AttachFolderToChatAction extends AttachResourceAction {
|
|
|
185
185
|
constructor() {
|
|
186
186
|
super({
|
|
187
187
|
id: AttachFolderToChatAction.ID,
|
|
188
|
-
title: ( localize2(
|
|
188
|
+
title: ( localize2(5219, "Add Folder to Chat")),
|
|
189
189
|
category: CHAT_CATEGORY,
|
|
190
190
|
f1: false,
|
|
191
191
|
menu: {
|
|
@@ -216,7 +216,7 @@ class AttachPinnedEditorsToChatAction extends Action2 {
|
|
|
216
216
|
constructor() {
|
|
217
217
|
super({
|
|
218
218
|
id: AttachPinnedEditorsToChatAction.ID,
|
|
219
|
-
title: ( localize2(
|
|
219
|
+
title: ( localize2(5220, "Add Pinned Editors to Chat")),
|
|
220
220
|
category: CHAT_CATEGORY,
|
|
221
221
|
precondition: ChatContextKeys.enabled,
|
|
222
222
|
f1: true
|
|
@@ -258,7 +258,7 @@ class AttachSelectionToChatAction extends Action2 {
|
|
|
258
258
|
constructor() {
|
|
259
259
|
super({
|
|
260
260
|
id: AttachSelectionToChatAction.ID,
|
|
261
|
-
title: ( localize2(
|
|
261
|
+
title: ( localize2(5221, "Add Selection to Chat")),
|
|
262
262
|
category: CHAT_CATEGORY,
|
|
263
263
|
icon: Codicon.attach,
|
|
264
264
|
f1: true,
|
|
@@ -338,7 +338,7 @@ class AttachSearchResultAction extends Action2 {
|
|
|
338
338
|
constructor() {
|
|
339
339
|
super({
|
|
340
340
|
id: "workbench.action.chat.insertSearchResults",
|
|
341
|
-
title: ( localize2(
|
|
341
|
+
title: ( localize2(5222, "Add Search Results to Chat")),
|
|
342
342
|
category: CHAT_CATEGORY,
|
|
343
343
|
f1: false,
|
|
344
344
|
menu: [{
|
|
@@ -401,7 +401,7 @@ class AttachContextAction extends Action2 {
|
|
|
401
401
|
constructor() {
|
|
402
402
|
super({
|
|
403
403
|
id: "workbench.action.chat.attachContext",
|
|
404
|
-
title: ( localize2(
|
|
404
|
+
title: ( localize2(5223, "Add Context...")),
|
|
405
405
|
icon: Codicon.add,
|
|
406
406
|
category: CHAT_CATEGORY,
|
|
407
407
|
keybinding: {
|
|
@@ -492,7 +492,7 @@ class AttachContextAction extends Action2 {
|
|
|
492
492
|
SymbolsQuickAccessProvider.PREFIX,
|
|
493
493
|
AbstractGotoSymbolQuickAccessProvider.PREFIX
|
|
494
494
|
],
|
|
495
|
-
placeholder: placeholder ?? ( localize(
|
|
495
|
+
placeholder: placeholder ?? ( localize(5224, "Search attachments")),
|
|
496
496
|
providerOptions
|
|
497
497
|
});
|
|
498
498
|
}
|
|
@@ -573,7 +573,7 @@ class AttachContextAction extends Action2 {
|
|
|
573
573
|
const pickerConfig = item.asPicker(widget);
|
|
574
574
|
const store = ( new DisposableStore());
|
|
575
575
|
const goBackItem = {
|
|
576
|
-
label: ( localize(
|
|
576
|
+
label: ( localize(5225, "Go back ↩")),
|
|
577
577
|
alwaysShow: true
|
|
578
578
|
};
|
|
579
579
|
const configureItem = pickerConfig.configure ? {
|
|
@@ -62,10 +62,10 @@ class ChatCopyActionViewItem extends MenuEntryActionViewItem {
|
|
|
62
62
|
this.renderCopiedState();
|
|
63
63
|
}
|
|
64
64
|
getTooltip() {
|
|
65
|
-
return this.copied ? ( localize(
|
|
65
|
+
return this.copied ? ( localize(5234, "Copied")) : super.getTooltip();
|
|
66
66
|
}
|
|
67
67
|
updateAriaLabel() {
|
|
68
|
-
this.element?.setAttribute("aria-label", this.copied ? ( localize(
|
|
68
|
+
this.element?.setAttribute("aria-label", this.copied ? ( localize(5235, "Copied")) : ( localize(5236, "Copy")));
|
|
69
69
|
}
|
|
70
70
|
updateClass() {
|
|
71
71
|
super.updateClass();
|
|
@@ -93,7 +93,7 @@ class ChatCopyActionViewItem extends MenuEntryActionViewItem {
|
|
|
93
93
|
this.copied = false;
|
|
94
94
|
this.renderCopiedState();
|
|
95
95
|
}, copyFeedbackDuration);
|
|
96
|
-
status(( localize(
|
|
96
|
+
status(( localize(5237, "Copied to clipboard")));
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -120,7 +120,7 @@ function registerChatCopyActions() {
|
|
|
120
120
|
constructor() {
|
|
121
121
|
super({
|
|
122
122
|
id: "workbench.action.chat.copyAll",
|
|
123
|
-
title: ( localize2(
|
|
123
|
+
title: ( localize2(5238, "Copy All")),
|
|
124
124
|
f1: false,
|
|
125
125
|
category: CHAT_CATEGORY,
|
|
126
126
|
menu: {
|
|
@@ -149,7 +149,7 @@ function registerChatCopyActions() {
|
|
|
149
149
|
constructor() {
|
|
150
150
|
super({
|
|
151
151
|
id: CopyItemActionId,
|
|
152
|
-
title: ( localize2(
|
|
152
|
+
title: ( localize2(5239, "Copy")),
|
|
153
153
|
f1: false,
|
|
154
154
|
category: CHAT_CATEGORY,
|
|
155
155
|
icon: Codicon.copy,
|
|
@@ -193,7 +193,7 @@ function registerChatCopyActions() {
|
|
|
193
193
|
constructor() {
|
|
194
194
|
super({
|
|
195
195
|
id: "workbench.action.chat.copyFinalResponse",
|
|
196
|
-
title: ( localize2(
|
|
196
|
+
title: ( localize2(5240, "Copy Final Response")),
|
|
197
197
|
f1: false,
|
|
198
198
|
category: CHAT_CATEGORY,
|
|
199
199
|
menu: {
|
|
@@ -227,7 +227,7 @@ function registerChatCopyActions() {
|
|
|
227
227
|
constructor() {
|
|
228
228
|
super({
|
|
229
229
|
id: "workbench.action.chat.copyKatexMathSource",
|
|
230
|
-
title: ( localize2(
|
|
230
|
+
title: ( localize2(5241, "Copy Math Source")),
|
|
231
231
|
f1: false,
|
|
232
232
|
category: CHAT_CATEGORY,
|
|
233
233
|
menu: {
|