@codingame/monaco-vscode-chat-service-override 37.0.0 → 37.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +26 -5
- package/package.json +5 -5
- package/vscode/src/vs/platform/agentHost/browser/agentHostEnablementService.js +1 -1
- package/vscode/src/vs/platform/agentHost/browser/agentHostProtocolClient.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +74 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +90 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSlashCommand.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostSlashCommand.js +16 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +53 -53
- package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostWorkingDirectories.js +14 -0
- package/vscode/src/vs/platform/agentHost/common/agentMerge.js +7 -7
- package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.d.ts +24 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.js +13 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelNotices.d.ts +22 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelNotices.js +21 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelPricing.d.ts +114 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelPricing.js +56 -0
- package/vscode/src/vs/platform/agentHost/common/changesetUri.js +15 -1
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.d.ts +73 -0
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +141 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.js +42 -1
- package/vscode/src/vs/platform/agentHost/common/meta/agentCustomizationMeta.d.ts +27 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentCustomizationMeta.js +14 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentEphemeralSessionMeta.d.ts +14 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentEphemeralSessionMeta.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +13 -13
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +4 -1
- package/vscode/src/vs/platform/agentHost/common/toolSearchConstants.d.ts +4 -0
- package/vscode/src/vs/platform/agentHost/common/toolSearchConstants.js +6 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.d.ts +104 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +827 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatCodeMapper.d.ts +15 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatCodeMapper.js +71 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatContext.d.ts +16 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatContext.js +95 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.d.ts +22 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.js +286 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatInputNotification.d.ts +10 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatInputNotification.js +38 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatQuota.d.ts +9 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatQuota.js +22 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.d.ts +130 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +907 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatStatus.d.ts +10 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatStatus.js +28 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModelTools.d.ts +27 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModelTools.js +167 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.d.ts +46 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +356 -0
- package/vscode/src/vs/workbench/browser/chatChangesPill.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +28 -28
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +18 -18
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +4 -4
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +3 -3
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +6 -6
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +11 -11
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +11 -11
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +9 -9
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +5 -5
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +28 -28
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +93 -93
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +16 -16
- 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 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginItems.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.js +229 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +460 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationSyncProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +92 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.d.ts +142 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.js +746 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +77 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +474 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostConfigEditor.d.ts +169 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostConfigEditor.js +261 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +90 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress.js +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostExistingSessionHarnessPickerEnablement.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostExistingSessionHarnessPickerEnablement.js +61 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.d.ts +112 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.js +192 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +137 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +301 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +84 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.js +96 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +884 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +5870 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +129 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +221 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +125 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +345 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +68 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.d.ts +62 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.js +163 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.d.ts +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +219 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.js +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +132 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.d.ts +79 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +161 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.js +13 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.js +71 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +205 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +51 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.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.d.ts +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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +23 -23
- 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/externalSessionsFilterMenu.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +126 -126
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +44 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +138 -138
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationPresentation.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +37 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCardList.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationCreatorService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigration.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.js +146 -146
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationDashboard.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +40 -40
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedExtensionToolsDetail.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/galleryItemRenderer.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +76 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +116 -116
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/toolsListWidget.js +50 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +356 -356
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +38 -38
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +124 -124
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.d.ts +1 -1
- 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/chatDebugEnablement.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +8 -8
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +36 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +40 -40
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +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 +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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingModifiedNotebookSnapshot.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPills.js +3 -3
- 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.js +63 -63
- 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/chatPetAchievements.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +35 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +62 -62
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +10 -10
- 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 +7 -7
- 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/enablementStatusWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationConfig.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/expNotification/chatExpNotificationContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +2 -2
- 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/promptTimeline/promptTimeline.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/sessionChatPillOptions.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/sessionPullRequestPill.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +26 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.js +1 -1
- 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/voiceInputMode/voiceInputMode.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +12 -12
- 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 +13 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputReferenceDecorations.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugEvents.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.d.ts +253 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugService.js +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.d.ts +300 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationHarnessService.js +272 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.js +178 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/fileBackedInstalledPluginsStore.js +195 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.d.ts +67 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/marketplaceReference.js +294 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.d.ts +212 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.js +955 -0
- 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/plugins/workspacePluginSettingsService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +65 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +698 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookClaudeCompat.js +78 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.d.ts +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCompatibility.js +120 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/hookCopilotCliCompat.js +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +12 -12
- 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.js +154 -154
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.d.ts +92 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/extensionPromptFileService.js +335 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +235 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +1673 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +202 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +872 -0
- package/vscode/src/vs/workbench/contrib/chat/common/sessionChatPills.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +239 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/editFileTool.js +143 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +298 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +177 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +73 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +577 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +90 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +130 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/taskCompleteTool.js +53 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/tools.js +91 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +518 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsParametersSchema.js +231 -0
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +10 -10
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
- 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/inlineChatEditReviewSession.js +1 -1
- 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 +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +9 -9
- 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/terminalChat.js +10 -10
- 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/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 +4 -4
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +4 -4
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +74 -74
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +11 -11
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCache.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalOutputCompressor.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +4 -4
- package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +3 -3
- package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.d.ts +0 -30
- package/vscode/src/vs/platform/agentHost/common/state/legacyProtocolCompatibility.js +0 -87
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.d.ts +0 -205
- package/vscode/src/vs/workbench/services/accounts/browser/defaultAccount.js +0 -1580
package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js
CHANGED
|
@@ -122,7 +122,7 @@ function createEditorOpenSubagentAction(action, chatWidgetService, notificationS
|
|
|
122
122
|
const context = asOpenSubagentChatContext(rawContext);
|
|
123
123
|
const resource = context && getSubagentEditorResource(context);
|
|
124
124
|
if (!resource) {
|
|
125
|
-
notificationService.error(( localize(
|
|
125
|
+
notificationService.error(( localize(9573, "The subagent chat could not be opened.")));
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
128
|
await chatWidgetService.openSession(resource, ACTIVE_GROUP, {
|
|
@@ -140,7 +140,7 @@ class OpenSubagentChatAction extends Action2 {
|
|
|
140
140
|
constructor() {
|
|
141
141
|
super({
|
|
142
142
|
id: CHAT_OPEN_AGENT_HOST_CHAT_COMMAND_ID,
|
|
143
|
-
title: ( localize2(
|
|
143
|
+
title: ( localize2(9574, "Open Subagent")),
|
|
144
144
|
icon: Codicon.commentDiscussion,
|
|
145
145
|
f1: false,
|
|
146
146
|
menu: {
|
|
@@ -161,7 +161,7 @@ class OpenSubagentChatAction extends Action2 {
|
|
|
161
161
|
}
|
|
162
162
|
const resource = getSubagentEditorResource(context);
|
|
163
163
|
if (!resource) {
|
|
164
|
-
notificationService.error(( localize(
|
|
164
|
+
notificationService.error(( localize(9573, "The subagent chat could not be opened.")));
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
167
167
|
await chatWidgetService.openSession(resource, ACTIVE_GROUP, {
|
|
@@ -345,7 +345,7 @@ let OpenSubagentChatActionViewItem = class OpenSubagentChatActionViewItem extend
|
|
|
345
345
|
this._updateDuration(context);
|
|
346
346
|
const showActivity = context?.isActive === true && (context.confirmationCount ?? 0) === 0;
|
|
347
347
|
const activeToolLabel = showActivity ? context.activeToolLabel : undefined;
|
|
348
|
-
this._setActiveTool(showActivity ? activeToolLabel ?? ( localize(
|
|
348
|
+
this._setActiveTool(showActivity ? activeToolLabel ?? ( localize(9575, "Working on it...")) : undefined, showActivity ? context.activeToolIcon ?? (activeToolLabel ? undefined : Codicon.comment) : undefined, showActivity ? context.activeToolCallId : undefined, !!activeToolLabel);
|
|
349
349
|
this.updateTooltip();
|
|
350
350
|
this.updateEnabled();
|
|
351
351
|
this.updateAriaLabel();
|
|
@@ -445,7 +445,7 @@ let OpenSubagentChatActionViewItem = class OpenSubagentChatActionViewItem extend
|
|
|
445
445
|
}
|
|
446
446
|
const update = () => {
|
|
447
447
|
const duration = formatCompactSubagentDuration(startedAt, durationValue);
|
|
448
|
-
this._durationElement.textContent = this._showElapsedOnly ? duration : durationValue === undefined ? ( localize(
|
|
448
|
+
this._durationElement.textContent = this._showElapsedOnly ? duration : durationValue === undefined ? ( localize(9576, "Working for {0}", duration)) : ( localize(9577, "Worked for {0}", duration));
|
|
449
449
|
this.updateAriaLabel();
|
|
450
450
|
};
|
|
451
451
|
update();
|
|
@@ -624,27 +624,27 @@ let OpenSubagentChatActionViewItem = class OpenSubagentChatActionViewItem extend
|
|
|
624
624
|
getTooltip() {
|
|
625
625
|
const details = [];
|
|
626
626
|
if (!this._action.enabled) {
|
|
627
|
-
details.push(( localize(
|
|
627
|
+
details.push(( localize(9578, "Subagent chat is not available yet.")));
|
|
628
628
|
} else if (this._confirmationCount > 0) {
|
|
629
|
-
details.push(this._confirmationCount === 1 ? ( localize(
|
|
630
|
-
|
|
629
|
+
details.push(this._confirmationCount === 1 ? ( localize(9579, "Open subagent chat (1 confirmation needed)")) : ( localize(
|
|
630
|
+
9580,
|
|
631
631
|
"Open subagent chat ({0} confirmations needed)",
|
|
632
632
|
this._confirmationCount
|
|
633
633
|
)));
|
|
634
634
|
} else {
|
|
635
|
-
details.push(this._resolvedTitle ? ( localize(
|
|
635
|
+
details.push(this._resolvedTitle ? ( localize(9581, "Open subagent chat: {0}", this._resolvedTitle)) : this._action.label);
|
|
636
636
|
}
|
|
637
637
|
if (this._reportedAgentType) {
|
|
638
|
-
details.push(( localize(
|
|
638
|
+
details.push(( localize(9582, "Subagent type: {0}", this._reportedAgentType)));
|
|
639
639
|
}
|
|
640
640
|
if (this._reportedModelName) {
|
|
641
|
-
details.push(( localize(
|
|
641
|
+
details.push(( localize(9583, "Model: {0}", this._reportedModelName)));
|
|
642
642
|
}
|
|
643
643
|
if (this._reportedCredits !== undefined && this._showCreditUsage) {
|
|
644
644
|
details.push(formatCopilotCreditsLabel(this._reportedCredits));
|
|
645
645
|
}
|
|
646
646
|
if (this._displayedToolAccessibleLabel && this._displayedActivityIsTool) {
|
|
647
|
-
details.push(( localize(
|
|
647
|
+
details.push(( localize(9584, "Active tool: {0}", this._displayedToolAccessibleLabel)));
|
|
648
648
|
}
|
|
649
649
|
return details.join("\n");
|
|
650
650
|
}
|
|
@@ -666,11 +666,11 @@ let OpenSubagentChatActionViewItem = class OpenSubagentChatActionViewItem extend
|
|
|
666
666
|
if (!this.element) {
|
|
667
667
|
return;
|
|
668
668
|
}
|
|
669
|
-
const label = this._resolvedTitle ? this._action.enabled ? ( localize(
|
|
670
|
-
const status = this._renderedStatus === "running" ? ( localize(
|
|
671
|
-
const agentType = this._reportedAgentType ? ( localize(
|
|
672
|
-
const model = this._reportedModelName ? ( localize(
|
|
673
|
-
const activeTool = this._displayedToolAccessibleLabel && this._displayedActivityIsTool ? ( localize(
|
|
669
|
+
const label = this._resolvedTitle ? this._action.enabled ? ( localize(9581, "Open subagent chat: {0}", this._resolvedTitle)) : ( localize(9585, "Subagent: {0}", this._resolvedTitle)) : this._action.label;
|
|
670
|
+
const status = this._renderedStatus === "running" ? ( localize(9586, "Subagent is working")) : this._renderedStatus === "waiting" ? ( localize(9587, "Subagent is waiting for input")) : this._renderedStatus === "completed" ? ( localize(9588, "Subagent completed")) : undefined;
|
|
671
|
+
const agentType = this._reportedAgentType ? ( localize(9589, "Subagent type {0}", this._reportedAgentType)) : undefined;
|
|
672
|
+
const model = this._reportedModelName ? ( localize(9590, "Model {0}", this._reportedModelName)) : undefined;
|
|
673
|
+
const activeTool = this._displayedToolAccessibleLabel && this._displayedActivityIsTool ? ( localize(9591, "Active tool {0}", this._displayedToolAccessibleLabel)) : undefined;
|
|
674
674
|
const duration = this._durationElement?.textContent;
|
|
675
675
|
const credits = this._creditsElement?.textContent;
|
|
676
676
|
this.element.setAttribute(
|
package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js
CHANGED
|
@@ -33,42 +33,42 @@ class ChatFindAccessibilityHelpProvider extends Disposable {
|
|
|
33
33
|
}
|
|
34
34
|
provideContent() {
|
|
35
35
|
const content = [];
|
|
36
|
-
content.push(( localize(
|
|
36
|
+
content.push(( localize(9826, "Accessibility Help: Chat Transcript Find")));
|
|
37
37
|
content.push(( localize(
|
|
38
|
-
|
|
38
|
+
9827,
|
|
39
39
|
"You are in the Find input for the chat transcript. It searches the whole conversation, including turns that are scrolled out of view, not only what is on screen. Matches are ordered newest first, starting from the turn you are looking at and working back through earlier ones."
|
|
40
40
|
)));
|
|
41
41
|
content.push("");
|
|
42
|
-
content.push(( localize(
|
|
43
|
-
content.push(( localize(
|
|
44
|
-
content.push(( localize(
|
|
42
|
+
content.push(( localize(9828, "Keyboard Navigation Summary:")));
|
|
43
|
+
content.push(( localize(9829, "- Enter: Move to the next match.")));
|
|
44
|
+
content.push(( localize(9830, "- Shift+Enter: Move to the previous match.")));
|
|
45
45
|
content.push(( localize(
|
|
46
|
-
|
|
46
|
+
9831,
|
|
47
47
|
"- F3 / Shift+F3: Move to the next / previous match from anywhere in the chat."
|
|
48
48
|
)));
|
|
49
49
|
content.push(( localize(
|
|
50
|
-
|
|
50
|
+
9832,
|
|
51
51
|
"- Escape: Close Find and return focus to where it was before Find was opened."
|
|
52
52
|
)));
|
|
53
53
|
content.push("");
|
|
54
|
-
content.push(( localize(
|
|
55
|
-
content.push(( localize(
|
|
56
|
-
content.push(( localize(
|
|
57
|
-
content.push(( localize(
|
|
54
|
+
content.push(( localize(9833, "Find Options:")));
|
|
55
|
+
content.push(( localize(9834, "- Match Case: Only exact case matches are included.")));
|
|
56
|
+
content.push(( localize(9835, "- Whole Word: Only full words are matched.")));
|
|
57
|
+
content.push(( localize(9836, "- Regular Expression: Use pattern matching for advanced searches.")));
|
|
58
58
|
content.push("");
|
|
59
|
-
content.push(( localize(
|
|
59
|
+
content.push(( localize(9837, "Navigating to a Match:")));
|
|
60
60
|
content.push(( localize(
|
|
61
|
-
|
|
61
|
+
9838,
|
|
62
62
|
"Moving to a match scrolls the transcript to it, expanding the completed-work disclosure when the match is inside it."
|
|
63
63
|
)));
|
|
64
64
|
content.push("");
|
|
65
65
|
content.push(( localize(
|
|
66
|
-
|
|
66
|
+
9839,
|
|
67
67
|
"Settings You Can Adjust ({0} opens Settings):",
|
|
68
68
|
"<keybinding:workbench.action.openSettings>"
|
|
69
69
|
)));
|
|
70
70
|
content.push(( localize(
|
|
71
|
-
|
|
71
|
+
9840,
|
|
72
72
|
"- `accessibility.verbosity.find`: Controls whether Chat Find announces the Accessibility Help hint."
|
|
73
73
|
)));
|
|
74
74
|
return content.join("\n");
|
package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js
CHANGED
|
@@ -48,7 +48,7 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
48
48
|
this.chatSideChatService = chatSideChatService;
|
|
49
49
|
this._altKeyPressed = false;
|
|
50
50
|
const isSteerDefault = this._isSteerDefault();
|
|
51
|
-
this._primaryActionAction = this._register(( new Action("chat.queuePickerPrimary", isSteerDefault ? ( localize(
|
|
51
|
+
this._primaryActionAction = this._register(( new Action("chat.queuePickerPrimary", isSteerDefault ? ( localize(9980, "Steer with Message")) : ( localize(9981, "Add to Queue")), ThemeIcon.asClassName(isSteerDefault ? Codicon.newLine : Codicon.add), !!this.contextKeyService.getContextKeyValue(ChatContextKeys.inputHasText.key), () => this._runDefaultAction())));
|
|
52
52
|
this._primaryAction = this._register(( new ActionViewItem(undefined, this._primaryActionAction, {
|
|
53
53
|
icon: true,
|
|
54
54
|
label: false
|
|
@@ -56,7 +56,7 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
56
56
|
this._register(this.contextKeyService.onDidChangeContext(e => {
|
|
57
57
|
this._primaryActionAction.enabled = !!this.contextKeyService.getContextKeyValue(ChatContextKeys.inputHasText.key);
|
|
58
58
|
}));
|
|
59
|
-
const dropdownAction = this._register(( new Action("chat.queuePickerDropdown", ( localize(
|
|
59
|
+
const dropdownAction = this._register(( new Action("chat.queuePickerDropdown", ( localize(9982, "More Actions...")))));
|
|
60
60
|
this._dropdown = this._register(( new ChevronActionWidgetDropdown(dropdownAction, {
|
|
61
61
|
actionProvider: {
|
|
62
62
|
getActions: () => this._getDropdownActions()
|
|
@@ -84,7 +84,7 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
84
84
|
}
|
|
85
85
|
_updatePrimaryAction() {
|
|
86
86
|
const isSteer = this._isEffectiveSteer();
|
|
87
|
-
this._primaryActionAction.label = isSteer ? ( localize(
|
|
87
|
+
this._primaryActionAction.label = isSteer ? ( localize(9980, "Steer with Message")) : ( localize(9981, "Add to Queue"));
|
|
88
88
|
this._primaryActionAction.class = ThemeIcon.asClassName(isSteer ? Codicon.newLine : Codicon.add);
|
|
89
89
|
}
|
|
90
90
|
_runDefaultAction() {
|
|
@@ -141,7 +141,7 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
141
141
|
const steerKeybinding = this.keybindingService.lookupKeybinding(ChatSteerWithMessageAction.ID, lookupContext, true);
|
|
142
142
|
const queueAction = {
|
|
143
143
|
id: ChatQueueMessageAction.ID,
|
|
144
|
-
label: ( localize(
|
|
144
|
+
label: ( localize(9981, "Add to Queue")),
|
|
145
145
|
tooltip: "",
|
|
146
146
|
enabled: true,
|
|
147
147
|
checked: !isSteerDefault,
|
|
@@ -150,7 +150,7 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
150
150
|
keybinding: queueKeybinding,
|
|
151
151
|
hover: {
|
|
152
152
|
content: ( localize(
|
|
153
|
-
|
|
153
|
+
9983,
|
|
154
154
|
"Queue this message to send after the current request completes. The current response will finish uninterrupted before the queued message is sent."
|
|
155
155
|
))
|
|
156
156
|
},
|
|
@@ -160,7 +160,7 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
160
160
|
};
|
|
161
161
|
const steerAction = {
|
|
162
162
|
id: ChatSteerWithMessageAction.ID,
|
|
163
|
-
label: ( localize(
|
|
163
|
+
label: ( localize(9980, "Steer with Message")),
|
|
164
164
|
tooltip: "",
|
|
165
165
|
enabled: true,
|
|
166
166
|
checked: isSteerDefault,
|
|
@@ -169,7 +169,7 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
169
169
|
keybinding: steerKeybinding,
|
|
170
170
|
hover: {
|
|
171
171
|
content: ( localize(
|
|
172
|
-
|
|
172
|
+
9984,
|
|
173
173
|
"Send this message at the next opportunity, signaling the current request to yield. The current response will stop and the new message will be sent immediately."
|
|
174
174
|
))
|
|
175
175
|
},
|
|
@@ -179,13 +179,13 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
179
179
|
};
|
|
180
180
|
const sendAction = {
|
|
181
181
|
id: "_" + ChatSubmitAction.ID,
|
|
182
|
-
label: ( localize(
|
|
182
|
+
label: ( localize(9985, "Stop and Send")),
|
|
183
183
|
tooltip: "",
|
|
184
184
|
enabled: true,
|
|
185
185
|
icon: Codicon.arrowRight,
|
|
186
186
|
class: undefined,
|
|
187
187
|
hover: {
|
|
188
|
-
content: ( localize(
|
|
188
|
+
content: ( localize(9986, "Cancel the current request and send this message immediately."))
|
|
189
189
|
},
|
|
190
190
|
run: () => {
|
|
191
191
|
this.commandService.executeCommand(ChatSubmitAction.ID, {
|
|
@@ -197,14 +197,14 @@ let ChatQueuePickerActionItem = class ChatQueuePickerActionItem extends BaseActi
|
|
|
197
197
|
};
|
|
198
198
|
const askInSideChatAction = this._canAskInSideChat() ? {
|
|
199
199
|
id: ChatAskInSideChatAction.ID,
|
|
200
|
-
label: ( localize(
|
|
200
|
+
label: ( localize(9987, "Ask in Side Chat")),
|
|
201
201
|
tooltip: "",
|
|
202
202
|
enabled: true,
|
|
203
203
|
icon: Codicon.commentDiscussion,
|
|
204
204
|
class: undefined,
|
|
205
205
|
hover: {
|
|
206
206
|
content: ( localize(
|
|
207
|
-
|
|
207
|
+
9988,
|
|
208
208
|
"Ask this question in a side chat. The current response continues uninterrupted and the question is answered alongside it, without being added to this conversation."
|
|
209
209
|
))
|
|
210
210
|
},
|
|
@@ -17,7 +17,7 @@ import { getCompletionAction } from '../../../../../../../platform/agentHost/com
|
|
|
17
17
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
18
18
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
19
19
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
20
|
-
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-
|
|
20
|
+
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
|
|
21
21
|
import { isAgentHostTarget } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
|
|
22
22
|
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
23
23
|
import { getChatSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
|
|
@@ -235,7 +235,7 @@ let AgentHostInputCompletions = class AgentHostInputCompletions extends AgentHos
|
|
|
235
235
|
return {
|
|
236
236
|
label: {
|
|
237
237
|
label,
|
|
238
|
-
description: ( localize(
|
|
238
|
+
description: ( localize(10014, "Chat"))
|
|
239
239
|
},
|
|
240
240
|
insertText: item.insertText,
|
|
241
241
|
filterText: item.insertText,
|
|
@@ -6,7 +6,7 @@ import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core
|
|
|
6
6
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
7
7
|
import { getCommandArgumentHint } from '../../../../../../../platform/agentHost/common/meta/agentCompletionAttachmentMeta.js';
|
|
8
8
|
import { getAgentHostCompletionReferenceKindFromValue, AgentHostCompletionReferenceKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
|
|
9
|
-
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-
|
|
9
|
+
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
|
|
10
10
|
import { ChatWidget } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatWidget';
|
|
11
11
|
import { getInputPlaceholderColor, getRangeForPlaceholder } from './chatInputPlaceholderDecoration.js';
|
|
12
12
|
|
package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js
CHANGED
|
@@ -46,7 +46,7 @@ import { IChatAgentService, IChatAgentNameService } from '@codingame/monaco-vsco
|
|
|
46
46
|
import { getAttachableImageExtension } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel';
|
|
47
47
|
import { ChatRequestAgentPart, chatSubcommandLeader, chatAgentLeader, ChatRequestAgentSubcommandPart, ChatRequestSlashPromptPart, ChatRequestTextPart, chatVariableLeader, ChatRequestToolPart, ChatRequestToolSetPart } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
|
|
48
48
|
import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatSlashCommands.service';
|
|
49
|
-
import { toAttachedContextDynamicVariable } from '@codingame/monaco-vscode-
|
|
49
|
+
import { toAttachedContextDynamicVariable } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/attachments/chatVariables';
|
|
50
50
|
import { ChatModeKind, ChatAgentLocation, isSupportedChatFileScheme } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
51
51
|
import { isToolSet } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
|
|
52
52
|
import { isAgentHostTarget } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
|
|
@@ -56,7 +56,7 @@ import { matchesSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workb
|
|
|
56
56
|
import { ChatSubmitAction } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
|
|
57
57
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
58
58
|
import { resizeImage } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatImageUtils';
|
|
59
|
-
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-
|
|
59
|
+
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
|
|
60
60
|
import { IChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service';
|
|
61
61
|
import { getChatSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
|
|
62
62
|
import { computeCompletionRanges, isEmptyUpToCompletionWord, escapeForCharClass, getCompletionRangeWord, getAttachedContextCompletionMatch, getAttachedContextCompletionSortText, attachedContextCompletionAdditionalTriggerCharacters } from './chatInputCompletionUtils.js';
|
|
@@ -572,7 +572,7 @@ let AgentCompletions = class AgentCompletions extends Disposable {
|
|
|
572
572
|
if (!isEmptyUpToCompletionWord(model, range)) {
|
|
573
573
|
return;
|
|
574
574
|
}
|
|
575
|
-
const label = ( localize(
|
|
575
|
+
const label = ( localize(10015, "Install Chat Extensions..."));
|
|
576
576
|
const item = {
|
|
577
577
|
label,
|
|
578
578
|
insertText: "",
|
|
@@ -720,7 +720,7 @@ class StartParameterizedPromptAction extends Action2 {
|
|
|
720
720
|
messages = await prompt.resolve(args, cts.token);
|
|
721
721
|
} catch (e) {
|
|
722
722
|
if (!cts.token.isCancellationRequested) {
|
|
723
|
-
notificationService.error(( localize(
|
|
723
|
+
notificationService.error(( localize(10016, "Error resolving prompt: {0}", String(e))));
|
|
724
724
|
}
|
|
725
725
|
replaceTextWith("");
|
|
726
726
|
return;
|
|
@@ -748,15 +748,15 @@ class StartParameterizedPromptAction extends Action2 {
|
|
|
748
748
|
id: generateUuid(),
|
|
749
749
|
kind: "generic",
|
|
750
750
|
value: contents,
|
|
751
|
-
name: ( localize(
|
|
751
|
+
name: ( localize(10017, "Prompt Resource"))
|
|
752
752
|
});
|
|
753
753
|
}
|
|
754
754
|
} else if (mimeType && getAttachableImageExtension(mimeType)) {
|
|
755
755
|
const resized = await resizeImage(contents).catch(() => decodeBase64(contents).buffer);
|
|
756
756
|
chatWidget.attachmentModel.addContext({
|
|
757
757
|
id: generateUuid(),
|
|
758
|
-
name: ( localize(
|
|
759
|
-
fullName: ( localize(
|
|
758
|
+
name: ( localize(10018, "Prompt Image")),
|
|
759
|
+
fullName: ( localize(10018, "Prompt Image")),
|
|
760
760
|
value: resized,
|
|
761
761
|
kind: "image",
|
|
762
762
|
references: validURI && [{
|
|
@@ -894,7 +894,7 @@ let BuiltinDynamicCompletions = class BuiltinDynamicCompletions extends Disposab
|
|
|
894
894
|
return {
|
|
895
895
|
label: {
|
|
896
896
|
label: attachment.name,
|
|
897
|
-
description: ( localize(
|
|
897
|
+
description: ( localize(10019, "Attached context"))
|
|
898
898
|
},
|
|
899
899
|
filterText: match.filterText,
|
|
900
900
|
insertText: range.varWord?.endColumn === range.replace.endColumn ? `${text} ` : text,
|
|
@@ -1099,7 +1099,7 @@ let BuiltinDynamicCompletions = class BuiltinDynamicCompletions extends Disposab
|
|
|
1099
1099
|
result.suggestions.push({
|
|
1100
1100
|
label: {
|
|
1101
1101
|
label: sessionPrefix,
|
|
1102
|
-
description: ( localize(
|
|
1102
|
+
description: ( localize(10020, "Attach a chat session"))
|
|
1103
1103
|
},
|
|
1104
1104
|
filterText: sessionPrefix,
|
|
1105
1105
|
insertText: `${sessionPrefix}:`,
|
|
@@ -1187,7 +1187,7 @@ let BuiltinDynamicCompletions = class BuiltinDynamicCompletions extends Disposab
|
|
|
1187
1187
|
const uriLabel = this.labelService.getUriLabel(resource, {
|
|
1188
1188
|
relative: true
|
|
1189
1189
|
});
|
|
1190
|
-
const labelDescription = description ? ( localize(
|
|
1190
|
+
const labelDescription = description ? ( localize(10021, "{0} ({1})", uriLabel, description)) : uriLabel;
|
|
1191
1191
|
const sortText = boostPriority ? " " : "!";
|
|
1192
1192
|
return {
|
|
1193
1193
|
label: {
|
|
@@ -1239,7 +1239,7 @@ let BuiltinDynamicCompletions = class BuiltinDynamicCompletions extends Disposab
|
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
1241
|
seen.add(resource);
|
|
1242
|
-
const newLen = result.suggestions.push(makeCompletionItem(resource, FileKind.FILE, i === 0 ? ( localize(
|
|
1242
|
+
const newLen = result.suggestions.push(makeCompletionItem(resource, FileKind.FILE, i === 0 ? ( localize(10022, "Active file")) : undefined, i === 0));
|
|
1243
1243
|
if (newLen - len >= 5) {
|
|
1244
1244
|
break;
|
|
1245
1245
|
}
|
|
@@ -1429,7 +1429,7 @@ let ToolCompletions = class ToolCompletions extends Disposable {
|
|
|
1429
1429
|
name = item.referenceName;
|
|
1430
1430
|
} else {
|
|
1431
1431
|
const source = item.source;
|
|
1432
|
-
detail = ( localize(
|
|
1432
|
+
detail = ( localize(10023, "{0}: {1}", source.label, item.displayName));
|
|
1433
1433
|
name = item.toolReferenceName ?? item.displayName;
|
|
1434
1434
|
documentation = item.userDescription ?? item.modelDescription;
|
|
1435
1435
|
}
|
package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js
CHANGED
|
@@ -17,7 +17,7 @@ import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbe
|
|
|
17
17
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
18
18
|
import { chatSlashCommandBackground, chatSlashCommandForeground } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/chatColors';
|
|
19
19
|
import { ChatRequestTextPart, ChatRequestSlashPromptPart, ChatRequestAgentPart, ChatRequestAgentSubcommandPart, ChatRequestSlashCommandPart, ChatRequestToolPart, ChatRequestToolSetPart, ChatRequestDynamicVariablePart, chatAgentLeader, chatSubcommandLeader } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
|
|
20
|
-
import { slashReg, agentReg, variableReg } from '@codingame/monaco-vscode-
|
|
20
|
+
import { slashReg, agentReg, variableReg } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/requestParser/chatRequestParser';
|
|
21
21
|
import { ChatWidget } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatWidget';
|
|
22
22
|
import { registerChatInputReferenceDecorationType } from './chatInputReferenceDecorations.js';
|
|
23
23
|
import { NativeEditContextRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/controller/editContext/native/nativeEditContextRegistry';
|
|
@@ -352,7 +352,7 @@ let InputEditorDecorations = class InputEditorDecorations extends Disposable {
|
|
|
352
352
|
promptHoverMessage.appendText("\n");
|
|
353
353
|
}
|
|
354
354
|
promptHoverMessage.appendText(( localize(
|
|
355
|
-
|
|
355
|
+
10024,
|
|
356
356
|
"Click to open {0}",
|
|
357
357
|
this.labelService.getUriLabel(promptSlashCommand.uri, {
|
|
358
358
|
relative: true
|
package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js
CHANGED
|
@@ -11,9 +11,17 @@ import { ChatEditorHoverWrapper } from './editorHoverWrapper.js';
|
|
|
11
11
|
import { extractAgentAndCommand, ChatRequestDynamicVariablePart } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/requestParser/chatParserTypes';
|
|
12
12
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
13
13
|
import { isImageVariableEntry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/attachments/chatVariableEntries';
|
|
14
|
-
import
|
|
15
|
-
import
|
|
14
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/lazy';
|
|
15
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
16
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
|
|
16
17
|
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
18
|
+
import '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
|
|
19
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatViewModel';
|
|
20
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel';
|
|
21
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService';
|
|
22
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService';
|
|
23
|
+
import { coerceImageBuffer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatImageBuffer';
|
|
24
|
+
import { createImageHoverContent } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgets';
|
|
17
25
|
|
|
18
26
|
let ChatAgentHoverParticipant = class ChatAgentHoverParticipant {
|
|
19
27
|
constructor(editor, instantiationService, chatWidgetService, commandService) {
|
|
@@ -66,7 +74,7 @@ let ChatAgentHoverParticipant = class ChatAgentHoverParticipant {
|
|
|
66
74
|
return ( new RenderedHoverParts([renderedHoverPart]));
|
|
67
75
|
}
|
|
68
76
|
getAccessibleContent(hoverPart) {
|
|
69
|
-
return localize(
|
|
77
|
+
return localize(10025, "There is a chat agent hover part here.");
|
|
70
78
|
}
|
|
71
79
|
};
|
|
72
80
|
ChatAgentHoverParticipant = ( __decorate([( __param(1, IInstantiationService)), ( __param(2, IChatWidgetService)), ( __param(3, ICommandService))], ChatAgentHoverParticipant));
|
|
@@ -121,7 +129,7 @@ let ChatAttachmentReferenceHoverParticipant = class ChatAttachmentReferenceHover
|
|
|
121
129
|
hoverPart.attachment.id,
|
|
122
130
|
() => context.onContentsChanged()
|
|
123
131
|
);
|
|
124
|
-
hover.element.setAttribute("aria-label", ( localize(
|
|
132
|
+
hover.element.setAttribute("aria-label", ( localize(10026, "Image attachment reference, {0}", hoverPart.attachment.name)));
|
|
125
133
|
context.fragment.appendChild(hover.element);
|
|
126
134
|
return ( new RenderedHoverParts([{
|
|
127
135
|
hoverPart,
|
|
@@ -130,7 +138,7 @@ let ChatAttachmentReferenceHoverParticipant = class ChatAttachmentReferenceHover
|
|
|
130
138
|
}]));
|
|
131
139
|
}
|
|
132
140
|
getAccessibleContent(hoverPart) {
|
|
133
|
-
return localize(
|
|
141
|
+
return localize(10027, "Image attachment reference, {0}", hoverPart.attachment.name);
|
|
134
142
|
}
|
|
135
143
|
};
|
|
136
144
|
ChatAttachmentReferenceHoverParticipant = ( __decorate([( __param(1, IChatWidgetService))], ChatAttachmentReferenceHoverParticipant));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { themeColorFromId } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
3
3
|
import { TrackedRangeStickiness } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model';
|
|
4
|
-
import { dynamicVariableDecorationType } from '@codingame/monaco-vscode-
|
|
4
|
+
import { dynamicVariableDecorationType } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
|
|
5
5
|
import { chatSlashCommandBackground, chatSlashCommandForeground } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/chatColors';
|
|
6
6
|
|
|
7
7
|
function registerChatInputReferenceDecorationType(codeEditorService, decorationType = dynamicVariableDecorationType) {
|
|
@@ -253,7 +253,7 @@ let QuickChat = class QuickChat extends Disposable {
|
|
|
253
253
|
disclaimerElement.classList.toggle("hidden", !showDisclaimer);
|
|
254
254
|
if (showDisclaimer) {
|
|
255
255
|
const renderedMarkdown = disposables.add(this.markdownRendererService.render(( new MarkdownString(( localize(
|
|
256
|
-
|
|
256
|
+
10194,
|
|
257
257
|
"By continuing with {0} Copilot, you agree to {1}'s [Terms]({2}) and [Privacy Statement]({3})",
|
|
258
258
|
product.defaultChatAgent?.provider?.default?.name ?? "",
|
|
259
259
|
product.defaultChatAgent?.provider?.default?.name ?? "",
|
|
@@ -195,7 +195,7 @@ let ChatEditor = class ChatEditor extends AbstractEditorWithViewState {
|
|
|
195
195
|
let isContributedChatSession = false;
|
|
196
196
|
const chatSessionType = input.getSessionType();
|
|
197
197
|
if (chatSessionType !== localChatSessionType) {
|
|
198
|
-
const loadingMessage = ( localize(
|
|
198
|
+
const loadingMessage = ( localize(10195, "Loading..."));
|
|
199
199
|
this.showLoadingInChatWidget(loadingMessage);
|
|
200
200
|
}
|
|
201
201
|
await super.setInput(input, options, context, token);
|
|
@@ -35,7 +35,7 @@ import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workb
|
|
|
35
35
|
import { IActivityService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/activity/common/activity.service";
|
|
36
36
|
import { IAgentSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service";
|
|
37
37
|
import { IAgentHostEnablementService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostEnablementService.service";
|
|
38
|
-
import { IAgentSession } from "@codingame/monaco-vscode-
|
|
38
|
+
import { IAgentSession } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel";
|
|
39
39
|
import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
|
|
40
40
|
import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
|
|
41
41
|
import { IMicCaptureService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service";
|
|
@@ -592,19 +592,19 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
592
592
|
const hint = $("span.partial");
|
|
593
593
|
switch (simVersion) {
|
|
594
594
|
case "handsFree":
|
|
595
|
-
hint.textContent = ( localize(
|
|
595
|
+
hint.textContent = ( localize(10217, "Hands-free — just start talking"));
|
|
596
596
|
break;
|
|
597
597
|
case "keyboardHold":
|
|
598
598
|
{
|
|
599
599
|
const kbLabel = this.keybindingService.lookupKeybinding("workbench.action.chat.voiceInputMode.holdToTalk")?.getLabel();
|
|
600
|
-
hint.textContent = kbLabel ? ( localize(
|
|
600
|
+
hint.textContent = kbLabel ? ( localize(10218, "Hold {0} to talk", kbLabel)) : ( localize(10219, "Hold Space to talk"));
|
|
601
601
|
break;
|
|
602
602
|
}
|
|
603
603
|
case "buttonHold":
|
|
604
|
-
hint.textContent = ( localize(
|
|
604
|
+
hint.textContent = ( localize(10220, "Hold the button to talk, tap to turn off"));
|
|
605
605
|
break;
|
|
606
606
|
case "clickToggle":
|
|
607
|
-
hint.textContent = ( localize(
|
|
607
|
+
hint.textContent = ( localize(10221, "Tap the button to start listening"));
|
|
608
608
|
break;
|
|
609
609
|
}
|
|
610
610
|
transcriptOverlay.append(hint);
|
|
@@ -677,7 +677,7 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
677
677
|
transcriptOverlayNode.classList.remove("has-transcript");
|
|
678
678
|
transcriptOverlay.replaceChildren();
|
|
679
679
|
const listening = $("span.listening");
|
|
680
|
-
listening.textContent = this.voiceSessionController.isMuted.read(reader) ? ( localize(
|
|
680
|
+
listening.textContent = this.voiceSessionController.isMuted.read(reader) ? ( localize(10222, "Unmute to speak...")) : ( localize(10223, "Listening..."));
|
|
681
681
|
transcriptOverlay.append(listening);
|
|
682
682
|
transcriptScrollable.scanDomNode();
|
|
683
683
|
} else if (!showTranscript && voiceState === "speaking") {
|
|
@@ -687,7 +687,7 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
687
687
|
const hint = $("span.partial");
|
|
688
688
|
const kb = this.keybindingService.lookupKeybinding("workbench.action.chat.voiceInputMode.holdToTalk") ?? this.keybindingService.lookupKeybinding("agentsVoice.pushToTalk");
|
|
689
689
|
const kbLabel = kb?.getLabel();
|
|
690
|
-
hint.textContent = kbLabel ? ( localize(
|
|
690
|
+
hint.textContent = kbLabel ? ( localize(10224, "Speak or use {0}", kbLabel)) : ( localize(10225, "Speak to barge in"));
|
|
691
691
|
transcriptOverlay.append(hint);
|
|
692
692
|
transcriptScrollable.scanDomNode();
|
|
693
693
|
} else if (voiceState === "idle" && visible.length === 0 && showTranscript && !handsFree) {
|
|
@@ -697,7 +697,7 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
697
697
|
const hint = $("span.partial");
|
|
698
698
|
const kb = this.keybindingService.lookupKeybinding("agentsVoice.pushToTalk");
|
|
699
699
|
const kbLabel = kb?.getLabel();
|
|
700
|
-
hint.textContent = kbLabel ? ( localize(
|
|
700
|
+
hint.textContent = kbLabel ? ( localize(10226, "Press {0} to talk or barge in", kbLabel)) : ( localize(10227, "Click voice mode to talk or barge in"));
|
|
701
701
|
transcriptOverlay.append(hint);
|
|
702
702
|
transcriptScrollable.scanDomNode();
|
|
703
703
|
} else {
|
|
@@ -765,7 +765,7 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
765
765
|
const sessionsContainer = this.sessionsContainer = parent.appendChild($(".agent-sessions-container"));
|
|
766
766
|
const sessionsTitleContainer = this.sessionsTitleContainer = append(sessionsContainer, $(".agent-sessions-title-container"));
|
|
767
767
|
const sessionsTitle = this.sessionsTitle = append(sessionsTitleContainer, $("span.agent-sessions-title"));
|
|
768
|
-
sessionsTitle.textContent = ( localize(
|
|
768
|
+
sessionsTitle.textContent = ( localize(10228, "Sessions"));
|
|
769
769
|
this._register(addDisposableListener(sessionsTitle, EventType.CLICK, () => {
|
|
770
770
|
this.sessionsControl?.scrollToTop();
|
|
771
771
|
this.sessionsControl?.focus();
|
|
@@ -793,7 +793,7 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
793
793
|
...defaultButtonStyles,
|
|
794
794
|
secondary: true
|
|
795
795
|
})));
|
|
796
|
-
newSessionButton.label = ( localize(
|
|
796
|
+
newSessionButton.label = ( localize(10229, "New Session"));
|
|
797
797
|
const createNewChat = () => this.commandService.executeCommand(ACTION_ID_NEW_CHAT, this.getActionsContext());
|
|
798
798
|
this._register(newSessionButton.onDidClick(createNewChat));
|
|
799
799
|
this.sessionsControlContainer = append(sessionsContainer, $(".agent-sessions-control-container"));
|
|
@@ -1058,7 +1058,7 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
1058
1058
|
progressBadgeDisposables.value.add(autorun(reader => {
|
|
1059
1059
|
if (model.requestInProgress.read(reader)) {
|
|
1060
1060
|
this.activityBadge.value = this.activityService.showViewActivity(this.id, {
|
|
1061
|
-
badge: ( new ProgressBadge(() => ( localize(
|
|
1061
|
+
badge: ( new ProgressBadge(() => ( localize(10230, "Agent Session in Progress"))))
|
|
1062
1062
|
});
|
|
1063
1063
|
} else {
|
|
1064
1064
|
this.activityBadge.clear();
|
|
@@ -1372,7 +1372,7 @@ let ChatViewPane = class ChatViewPane extends ViewPane {
|
|
|
1372
1372
|
return undefined;
|
|
1373
1373
|
}
|
|
1374
1374
|
this.logService.error(`Failed to load chat session '${( sessionResource.toString())}'`, err);
|
|
1375
|
-
this.notificationService.error(( localize(
|
|
1375
|
+
this.notificationService.error(( localize(10231, "Failed to open chat session: {0}", toErrorMessage(err))));
|
|
1376
1376
|
const localFallbackSelectionReason = getLocalFallbackSessionTypeSelectionReason(getChatSessionType(sessionResource), didAcquireSession);
|
|
1377
1377
|
const result = await this.showModel(
|
|
1378
1378
|
token,
|
package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js
CHANGED
|
@@ -23,7 +23,7 @@ let ChatViewTitleControl = class ChatViewTitleControl extends Disposable {
|
|
|
23
23
|
ChatViewTitleControl_1 = this;
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.DEFAULT_TITLE = ( localize(
|
|
26
|
+
this.DEFAULT_TITLE = ( localize(10232, "Chat"));
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
29
29
|
this.PICK_AGENT_SESSION_ACTION_ID = "workbench.action.chat.pickAgentSession";
|
|
@@ -64,7 +64,7 @@ let ChatViewTitleControl = class ChatViewTitleControl extends Disposable {
|
|
|
64
64
|
constructor() {
|
|
65
65
|
super({
|
|
66
66
|
id: ChatViewTitleControl_1.PICK_AGENT_SESSION_ACTION_ID,
|
|
67
|
-
title: ( localize(
|
|
67
|
+
title: ( localize(10233, "Pick Agent Session")),
|
|
68
68
|
f1: false,
|
|
69
69
|
menu: [{
|
|
70
70
|
id: MenuId.ChatViewSessionTitleNavigationToolbar,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IChatDebugEvent } from "
|
|
1
|
+
import { IChatDebugEvent } from "./chatDebugService.js";
|
|
2
2
|
/**
|
|
3
3
|
* Checks whether a debug event matches a single text search term.
|
|
4
4
|
* Used by both the debug panel filter and the listDebugEvents tool.
|