@codingame/monaco-vscode-chat-service-override 37.0.0 → 37.1.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 +11 -0
- package/package.json +5 -5
- 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/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 +3 -3
- 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 +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +14 -14
- 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 +9 -9
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +15 -15
- 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/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/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/agentHostPermissionUiContribution.js +5 -5
- 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 +5868 -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.js +50 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +3 -3
- 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/externalSessionsFilterMenu.js +6 -6
- 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/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 +137 -137
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +3 -3
- 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/customizationMigrationAccessibility.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationCategories.js +145 -145
- 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.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 +75 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +115 -115
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +344 -344
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +37 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostLogSources.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- 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.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.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 +12 -12
- 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 +35 -35
- 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.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +2 -2
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +26 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +16 -16
- 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 +1 -1
- 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/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.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +2 -2
- 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.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 +20 -20
- 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 +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +7 -7
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
- 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/sessionChatPills.js +9 -9
- 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 +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/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 +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +73 -73
- 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/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
|
@@ -265,13 +265,13 @@ class MigrationItemRenderer {
|
|
|
265
265
|
this.onSelectionChange(customization, templateData.checkbox.checked);
|
|
266
266
|
}));
|
|
267
267
|
if (file) {
|
|
268
|
-
templateData.openButton.element.setAttribute("aria-label", ( localize(
|
|
269
|
-
templateData.moreButton.setAttribute("aria-label", ( localize(
|
|
268
|
+
templateData.openButton.element.setAttribute("aria-label", ( localize(6528, "Open {0}, {1}", presentation.name, presentation.pathLabel)));
|
|
269
|
+
templateData.moreButton.setAttribute("aria-label", ( localize(6529, "More actions for {0}", presentation.name)));
|
|
270
270
|
templateData.elementDisposables.add(templateData.openButton.onDidClick(() => this.onOpen(file)));
|
|
271
271
|
templateData.elementDisposables.add(this.hoverService.setupManagedHover(
|
|
272
272
|
getDefaultHoverDelegate("element"),
|
|
273
273
|
templateData.moreButton,
|
|
274
|
-
( localize(
|
|
274
|
+
( localize(6530, "More Actions"))
|
|
275
275
|
));
|
|
276
276
|
templateData.elementDisposables.add(addDisposableListener(templateData.moreButton, "click", event => {
|
|
277
277
|
event.stopPropagation();
|
|
@@ -459,68 +459,68 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
459
459
|
this._register(toDisposable(() => this.disposeBuiltinEditingSessions()));
|
|
460
460
|
const sectionInfo = {
|
|
461
461
|
[AICustomizationManagementSection.Agents]: {
|
|
462
|
-
label: ( localize(
|
|
462
|
+
label: ( localize(6531, "Agents")),
|
|
463
463
|
icon: agentIcon,
|
|
464
464
|
description: ( localize(
|
|
465
|
-
|
|
465
|
+
6532,
|
|
466
466
|
"Define custom agents with specialized personas, tool access, and instructions for specific tasks."
|
|
467
467
|
))
|
|
468
468
|
},
|
|
469
469
|
[AICustomizationManagementSection.Skills]: {
|
|
470
|
-
label: ( localize(
|
|
470
|
+
label: ( localize(6533, "Skills")),
|
|
471
471
|
icon: skillIcon,
|
|
472
472
|
description: ( localize(
|
|
473
|
-
|
|
473
|
+
6534,
|
|
474
474
|
"Create reusable skill files that provide domain-specific knowledge and workflows."
|
|
475
475
|
))
|
|
476
476
|
},
|
|
477
477
|
[AICustomizationManagementSection.Instructions]: {
|
|
478
|
-
label: ( localize(
|
|
478
|
+
label: ( localize(6535, "Instructions")),
|
|
479
479
|
icon: instructionsIcon,
|
|
480
480
|
description: ( localize(
|
|
481
|
-
|
|
481
|
+
6536,
|
|
482
482
|
"Set always-on instructions that guide AI behavior across your workspace or user profile."
|
|
483
483
|
))
|
|
484
484
|
},
|
|
485
485
|
[AICustomizationManagementSection.Prompts]: {
|
|
486
|
-
label: ( localize(
|
|
486
|
+
label: ( localize(6537, "Prompts")),
|
|
487
487
|
icon: promptIcon,
|
|
488
|
-
description: ( localize(
|
|
488
|
+
description: ( localize(6538, "Reusable prompt templates that can be invoked as slash commands."))
|
|
489
489
|
},
|
|
490
490
|
[AICustomizationManagementSection.Hooks]: {
|
|
491
|
-
label: ( localize(
|
|
491
|
+
label: ( localize(6539, "Hooks")),
|
|
492
492
|
icon: hookIcon,
|
|
493
493
|
description: ( localize(
|
|
494
|
-
|
|
494
|
+
6540,
|
|
495
495
|
"Configure automated actions triggered by events like saving files or running tasks."
|
|
496
496
|
))
|
|
497
497
|
},
|
|
498
498
|
[AICustomizationManagementSection.McpServers]: {
|
|
499
|
-
label: ( localize(
|
|
499
|
+
label: ( localize(6541, "MCP Servers")),
|
|
500
500
|
icon: Codicon.server,
|
|
501
501
|
description: ( localize(
|
|
502
|
-
|
|
502
|
+
6542,
|
|
503
503
|
"Connect external tool servers that extend AI capabilities with custom tools and data sources."
|
|
504
504
|
))
|
|
505
505
|
},
|
|
506
506
|
[AICustomizationManagementSection.Plugins]: {
|
|
507
|
-
label: ( localize(
|
|
507
|
+
label: ( localize(6543, "Plugins")),
|
|
508
508
|
icon: pluginIcon,
|
|
509
509
|
description: ( localize(
|
|
510
|
-
|
|
510
|
+
6544,
|
|
511
511
|
"Install and manage agent plugins that add additional tools, skills, and integrations."
|
|
512
512
|
))
|
|
513
513
|
},
|
|
514
514
|
[AICustomizationManagementSection.Models]: {
|
|
515
|
-
label: ( localize(
|
|
515
|
+
label: ( localize(6545, "Models")),
|
|
516
516
|
icon: Codicon.vm,
|
|
517
|
-
description: ( localize(
|
|
517
|
+
description: ( localize(6546, "Configure and manage language models available for use."))
|
|
518
518
|
},
|
|
519
519
|
[AICustomizationManagementSection.Tools]: {
|
|
520
|
-
label: ( localize(
|
|
520
|
+
label: ( localize(6547, "Tools")),
|
|
521
521
|
icon: toolsIcon,
|
|
522
522
|
description: ( localize(
|
|
523
|
-
|
|
523
|
+
6548,
|
|
524
524
|
"Enable or disable groups of language model tools available to chat."
|
|
525
525
|
))
|
|
526
526
|
}
|
|
@@ -652,7 +652,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
652
652
|
}
|
|
653
653
|
getActiveHarnessLabel() {
|
|
654
654
|
const label = this.harnessService.getActiveDescriptor().label;
|
|
655
|
-
return label || (this.workspaceService.isSessionsWindow ? "" : ( localize(
|
|
655
|
+
return label || (this.workspaceService.isSessionsWindow ? "" : ( localize(6549, "Local")));
|
|
656
656
|
}
|
|
657
657
|
updateTargetLabelPresentation() {
|
|
658
658
|
const harnessLabel = this.getActiveHarnessLabel();
|
|
@@ -705,8 +705,8 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
705
705
|
setRowLineHeight: false,
|
|
706
706
|
horizontalScrolling: false,
|
|
707
707
|
accessibilityProvider: {
|
|
708
|
-
getAriaLabel: item => item.count > 0 ? ( localize(
|
|
709
|
-
getWidgetAriaLabel: () => ( localize(
|
|
708
|
+
getAriaLabel: item => item.count > 0 ? ( localize(6550, "{0}, {1} items", item.label, item.count)) : item.label,
|
|
709
|
+
getWidgetAriaLabel: () => ( localize(6551, "Agent Customization Sections"))
|
|
710
710
|
},
|
|
711
711
|
openOnSingleClick: true,
|
|
712
712
|
identityProvider: {
|
|
@@ -772,15 +772,15 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
772
772
|
const headerRow = this.sidebarHeaderContainer = append(sidebarContent, $(".sidebar-header-row"));
|
|
773
773
|
const homeButton = this.homeButton = append(headerRow, $("button.sidebar-home-button"));
|
|
774
774
|
homeButton.classList.add("sidebar-harness-home-button");
|
|
775
|
-
homeButton.setAttribute("aria-label", ( localize(
|
|
775
|
+
homeButton.setAttribute("aria-label", ( localize(6552, "Overview")));
|
|
776
776
|
this.editorDisposables.add(
|
|
777
|
-
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), homeButton, ( localize(
|
|
777
|
+
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), homeButton, ( localize(6553, "Back to overview")))
|
|
778
778
|
);
|
|
779
779
|
const homeIcon = this.homeButtonIcon = append(homeButton, $("span.sidebar-home-icon"));
|
|
780
780
|
homeIcon.classList.add(...ThemeIcon.asClassNameArray(Codicon.home));
|
|
781
781
|
homeIcon.setAttribute("aria-hidden", "true");
|
|
782
782
|
const homeLabel = this.homeButtonLabel = append(homeButton, $("span.sidebar-home-label"));
|
|
783
|
-
homeLabel.textContent = ( localize(
|
|
783
|
+
homeLabel.textContent = ( localize(6554, "Overview"));
|
|
784
784
|
this.editorDisposables.add(addDisposableListener(homeButton, "click", () => {
|
|
785
785
|
this.showWelcomePage();
|
|
786
786
|
}));
|
|
@@ -801,9 +801,9 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
801
801
|
}
|
|
802
802
|
this.homeButtonIcon.className = "sidebar-home-icon";
|
|
803
803
|
this.homeButtonIcon.classList.add(...ThemeIcon.asClassNameArray(Codicon.home));
|
|
804
|
-
this.homeButtonLabel.textContent = ( localize(
|
|
805
|
-
this.homeButton.setAttribute("aria-label", ( localize(
|
|
806
|
-
this.homeButton.title = ( localize(
|
|
804
|
+
this.homeButtonLabel.textContent = ( localize(6554, "Overview"));
|
|
805
|
+
this.homeButton.setAttribute("aria-label", ( localize(6552, "Overview")));
|
|
806
|
+
this.homeButton.title = ( localize(6553, "Back to overview"));
|
|
807
807
|
}
|
|
808
808
|
createSidebarMigrationShortcut(sidebarContent) {
|
|
809
809
|
const container = this.migrationShortcutContainer = append(sidebarContent, $(".sidebar-migration-shortcut"));
|
|
@@ -811,14 +811,14 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
811
811
|
append(container, $("div.sidebar-migration-separator"));
|
|
812
812
|
const button = this.migrationShortcutButton = append(container, $("button.sidebar-migration-button"));
|
|
813
813
|
button.type = "button";
|
|
814
|
-
button.setAttribute("aria-label", ( localize(
|
|
814
|
+
button.setAttribute("aria-label", ( localize(6555, "Migrations")));
|
|
815
815
|
this.editorDisposables.add(
|
|
816
|
-
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), button, ( localize(
|
|
816
|
+
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), button, ( localize(6556, "Review customizations that need migration")))
|
|
817
817
|
);
|
|
818
818
|
const icon = append(button, $("span.sidebar-migration-icon"));
|
|
819
819
|
icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.warning));
|
|
820
820
|
icon.setAttribute("aria-hidden", "true");
|
|
821
|
-
append(button, $("span.sidebar-migration-label")).textContent = ( localize(
|
|
821
|
+
append(button, $("span.sidebar-migration-label")).textContent = ( localize(6557, "Migrations"));
|
|
822
822
|
this.migrationShortcutCount = append(button, $("span.sidebar-migration-count"));
|
|
823
823
|
this.editorDisposables.add(
|
|
824
824
|
addDisposableListener(button, "click", () => this.showCustomizationMigrationDashboard())
|
|
@@ -871,8 +871,8 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
871
871
|
}
|
|
872
872
|
createBackArrowButton(
|
|
873
873
|
onClick,
|
|
874
|
-
ariaLabel = ( localize(
|
|
875
|
-
tooltip = ( localize(
|
|
874
|
+
ariaLabel = ( localize(6558, "Back to overview")),
|
|
875
|
+
tooltip = ( localize(6559, "Back to overview"))
|
|
876
876
|
) {
|
|
877
877
|
const button = $("button.section-back-arrow-button");
|
|
878
878
|
button.type = "button";
|
|
@@ -899,7 +899,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
899
899
|
);
|
|
900
900
|
const header = this.migrationHeader = append(this.migrationContentContainer, $(".section-title-header"));
|
|
901
901
|
const titleRow = append(header, $(".section-title-row"));
|
|
902
|
-
this.migrationBackButton = this.createBackArrowButton(() => this.showCustomizationMigrationDashboard(), ( localize(
|
|
902
|
+
this.migrationBackButton = this.createBackArrowButton(() => this.showCustomizationMigrationDashboard(), ( localize(6560, "Back to customization migrations")), ( localize(6561, "Back to customization migrations")));
|
|
903
903
|
titleRow.appendChild(this.migrationBackButton);
|
|
904
904
|
this.migrationTitleElement = append(titleRow, $("h2.section-title"));
|
|
905
905
|
this.migrationDescriptionElement = append(header, $("p.section-title-description"));
|
|
@@ -938,7 +938,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
938
938
|
const footer = this.migrationFooter = append(this.migrationContentContainer, $(".prompt-migration-footer"));
|
|
939
939
|
this.migrationSelectedCountElement = append(footer, $("span.prompt-migration-selected-count"));
|
|
940
940
|
this.migrationSelectedCountElement.setAttribute("aria-live", "polite");
|
|
941
|
-
const clearSettingsLabel = ( localize(
|
|
941
|
+
const clearSettingsLabel = ( localize(6562, "Clear unused location settings after migration"));
|
|
942
942
|
this.migrationClearSettingsCheckbox = this.editorDisposables.add(( new Checkbox(clearSettingsLabel, true, defaultCheckboxStyles)));
|
|
943
943
|
const actionButtonContainer = append(footer, $(".list-add-button-container"));
|
|
944
944
|
this.migrationMigrateButton = this.editorDisposables.add(( new Button(actionButtonContainer, defaultButtonStyles)));
|
|
@@ -946,7 +946,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
946
946
|
this.editorDisposables.add(this.hoverService.setupManagedHover(
|
|
947
947
|
getDefaultHoverDelegate("element"),
|
|
948
948
|
this.migrationMigrateButton.element,
|
|
949
|
-
() => this.getActiveMigrationCategory()?.migrateButtonTooltip ?? ( localize(
|
|
949
|
+
() => this.getActiveMigrationCategory()?.migrateButtonTooltip ?? ( localize(6563, "Migrate all customizations"))
|
|
950
950
|
));
|
|
951
951
|
this.editorDisposables.add(this.migrationMigrateButton.onDidClick(() => {
|
|
952
952
|
const category = this.getActiveMigrationCategory();
|
|
@@ -1080,11 +1080,11 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1080
1080
|
this.modelsFooterElement = append(this.modelsContentContainer, $(".section-footer"));
|
|
1081
1081
|
const modelsDescription = append(this.modelsFooterElement, $("p.section-footer-description"));
|
|
1082
1082
|
modelsDescription.textContent = ( localize(
|
|
1083
|
-
|
|
1083
|
+
6564,
|
|
1084
1084
|
"Browse and manage language models from different providers. Select models for use in chat, code completion, and other AI features."
|
|
1085
1085
|
));
|
|
1086
1086
|
const modelsLink = append(this.modelsFooterElement, $("a.section-footer-link"));
|
|
1087
|
-
modelsLink.textContent = ( localize(
|
|
1087
|
+
modelsLink.textContent = ( localize(6565, "Learn more about language models"));
|
|
1088
1088
|
modelsLink.href = "https://code.visualstudio.com/docs/agent-customization/language-models?referrer=in-product";
|
|
1089
1089
|
this.editorDisposables.add(addDisposableListener(modelsLink, "click", e => {
|
|
1090
1090
|
e.preventDefault();
|
|
@@ -1426,7 +1426,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1426
1426
|
));
|
|
1427
1427
|
this.migrationShortcutContainer.style.display = enabled ? "" : "none";
|
|
1428
1428
|
this.migrationShortcutCount.textContent = count > 0 ? String(count) : "";
|
|
1429
|
-
this.migrationShortcutButton.setAttribute("aria-label", count === 1 ? ( localize(
|
|
1429
|
+
this.migrationShortcutButton.setAttribute("aria-label", count === 1 ? ( localize(6566, "Migrations, 1 customization needs attention")) : ( localize(6567, "Migrations, {0} customizations need attention", count)));
|
|
1430
1430
|
this.layoutSidebar(this.sidebarWidth, this.sidebarHeight);
|
|
1431
1431
|
}
|
|
1432
1432
|
async migrateSelectedCustomizations(category, customizations) {
|
|
@@ -1506,7 +1506,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1506
1506
|
await this.clearConfiguredLocationSettings(settingsToClear);
|
|
1507
1507
|
} catch (error) {
|
|
1508
1508
|
this.notificationService.error(( localize(
|
|
1509
|
-
|
|
1509
|
+
6568,
|
|
1510
1510
|
"Customizations were migrated, but the custom location settings could not be cleared: {0}",
|
|
1511
1511
|
getErrorMessage(error)
|
|
1512
1512
|
)));
|
|
@@ -1671,7 +1671,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1671
1671
|
this.updateCustomizationMigrationPageHeader(category, candidates);
|
|
1672
1672
|
this.updateCustomizationMigrationActionState();
|
|
1673
1673
|
if (this.customizationMigrationLoading) {
|
|
1674
|
-
this.renderCustomizationMigrationState(( localize(
|
|
1674
|
+
this.renderCustomizationMigrationState(( localize(6569, "Loading customizations...")), ( localize(6570, "Checking the active harness and available destinations.")));
|
|
1675
1675
|
if (this.migrationMigrateButton) {
|
|
1676
1676
|
this.migrationMigrateButton.enabled = false;
|
|
1677
1677
|
}
|
|
@@ -1679,7 +1679,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1679
1679
|
return;
|
|
1680
1680
|
}
|
|
1681
1681
|
if (this.customizationMigrationLoadError) {
|
|
1682
|
-
this.renderCustomizationMigrationState(( localize(
|
|
1682
|
+
this.renderCustomizationMigrationState(( localize(6571, "Customizations could not be loaded")), ( localize(6572, "Check the active agent connection, then try again.")), () => void this.refreshCustomizationMigrationInfo());
|
|
1683
1683
|
if (this.migrationMigrateButton) {
|
|
1684
1684
|
this.migrationMigrateButton.enabled = false;
|
|
1685
1685
|
}
|
|
@@ -1702,12 +1702,12 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1702
1702
|
const count = append(groupHeading, $("span.prompt-migration-group-count"));
|
|
1703
1703
|
count.textContent = "0";
|
|
1704
1704
|
const emptyItems = append(group, $(".prompt-migration-group-items"));
|
|
1705
|
-
append(emptyItems, $(".plugin-inventory-empty.prompt-migration-group-empty")).textContent = ( localize(
|
|
1705
|
+
append(emptyItems, $(".plugin-inventory-empty.prompt-migration-group-empty")).textContent = ( localize(6573, "No customizations are available to migrate from {0}.", groupLabel));
|
|
1706
1706
|
return;
|
|
1707
1707
|
}
|
|
1708
1708
|
const selectedInGroup = customizations.filter(customization => this.isCustomizationSelectedForMigration(customization)).length;
|
|
1709
1709
|
const initialGroupState = selectedInGroup === customizations.length ? true : selectedInGroup === 0 ? false : "mixed";
|
|
1710
|
-
const groupCheckboxAriaLabel = ( localize(
|
|
1710
|
+
const groupCheckboxAriaLabel = ( localize(6574, "Select all customizations in {0}", groupLabel));
|
|
1711
1711
|
const groupCheckbox = this.migrationPageDisposables.add(( new TriStateCheckbox(groupCheckboxAriaLabel, initialGroupState, defaultCheckboxStyles)));
|
|
1712
1712
|
const count = append(groupHeading, $("span.prompt-migration-group-count"));
|
|
1713
1713
|
count.textContent = String(customizations.length);
|
|
@@ -1716,7 +1716,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1716
1716
|
groupCheckboxContainer.replaceChildren(groupCheckbox.domNode);
|
|
1717
1717
|
this.migrationFirstFocusableElement ??= groupCheckbox.domNode;
|
|
1718
1718
|
const selectAllLabel = append(groupControls, $("span.prompt-migration-select-all-label"));
|
|
1719
|
-
selectAllLabel.textContent = ( localize(
|
|
1719
|
+
selectAllLabel.textContent = ( localize(6575, "Select all"));
|
|
1720
1720
|
const setGroupCheckboxState = state => {
|
|
1721
1721
|
groupCheckbox.checked = state;
|
|
1722
1722
|
groupCheckbox.domNode.setAttribute("aria-checked", String(state));
|
|
@@ -1838,7 +1838,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1838
1838
|
);
|
|
1839
1839
|
const groupHeader = append(group, $(".prompt-migration-group-header"));
|
|
1840
1840
|
const groupHeading = append(groupHeader, $(".prompt-migration-group-heading"));
|
|
1841
|
-
const settingsGroupLabel = ( localize(
|
|
1841
|
+
const settingsGroupLabel = ( localize(6576, "Settings"));
|
|
1842
1842
|
append(groupHeading, $("h3.prompt-migration-group-title")).textContent = settingsGroupLabel;
|
|
1843
1843
|
const groupItems = append(group, $(".prompt-migration-group-items"));
|
|
1844
1844
|
const item = this.migrationClearSettingsContainer = append(groupItems, $(".prompt-migration-settings-item"));
|
|
@@ -1846,10 +1846,10 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1846
1846
|
checkboxContainer.replaceChildren(this.migrationClearSettingsCheckbox.domNode);
|
|
1847
1847
|
const itemText = append(item, $("span.prompt-migration-settings-item-text"));
|
|
1848
1848
|
const label = append(itemText, $("span.prompt-migration-settings-item-label"));
|
|
1849
|
-
label.textContent = ( localize(
|
|
1849
|
+
label.textContent = ( localize(6577, "Clear unused location settings"));
|
|
1850
1850
|
const description = append(itemText, $("span.prompt-migration-settings-item-description"));
|
|
1851
1851
|
description.textContent = ( localize(
|
|
1852
|
-
|
|
1852
|
+
6578,
|
|
1853
1853
|
"Remove deprecated settings that are no longer needed after the selected customizations migrate successfully."
|
|
1854
1854
|
));
|
|
1855
1855
|
this.migrationPageDisposables.add(addDisposableListener(itemText, "click", () => {
|
|
@@ -1902,7 +1902,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1902
1902
|
const presentation = category.getCandidatePresentation(customization, uri => this.labelService.getUriLabel(uri, {
|
|
1903
1903
|
relative: true
|
|
1904
1904
|
}));
|
|
1905
|
-
return localize(
|
|
1905
|
+
return localize(6579, "{0}, {1}", presentation.name, presentation.pathLabel);
|
|
1906
1906
|
},
|
|
1907
1907
|
getSetSize: (_element, _index, listLength) => listLength,
|
|
1908
1908
|
getPosInSet: (_element, index) => index + 1
|
|
@@ -1959,7 +1959,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
1959
1959
|
}
|
|
1960
1960
|
showCustomizationMigrationItemActions(customization, anchor) {
|
|
1961
1961
|
const actions = ( new DisposableStore());
|
|
1962
|
-
const deleteAction = actions.add(( new Action("customizationMigration.delete", ( localize(
|
|
1962
|
+
const deleteAction = actions.add(( new Action("customizationMigration.delete", ( localize(6580, "Delete")), ThemeIcon.asClassName(Codicon.trash), true, () => this.deleteCustomizationFile(customization))));
|
|
1963
1963
|
this.contextMenuService.showContextMenu({
|
|
1964
1964
|
getAnchor: () => anchor,
|
|
1965
1965
|
getActions: () => [deleteAction],
|
|
@@ -2011,11 +2011,11 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2011
2011
|
return;
|
|
2012
2012
|
}
|
|
2013
2013
|
if (this.customizationMigrationLoading) {
|
|
2014
|
-
this.migrationDashboard.showLoading(( localize(
|
|
2014
|
+
this.migrationDashboard.showLoading(( localize(6569, "Loading customizations...")), ( localize(6570, "Checking the active harness and available destinations.")));
|
|
2015
2015
|
return;
|
|
2016
2016
|
}
|
|
2017
2017
|
if (this.customizationMigrationLoadError) {
|
|
2018
|
-
this.migrationDashboard.showLoading(( localize(
|
|
2018
|
+
this.migrationDashboard.showLoading(( localize(6571, "Customizations could not be loaded")), ( localize(6572, "Check the active agent connection, then try again.")), () => void this.refreshCustomizationMigrationInfo());
|
|
2019
2019
|
this.migrationListScrollable?.scanDomNode();
|
|
2020
2020
|
return;
|
|
2021
2021
|
}
|
|
@@ -2034,20 +2034,20 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2034
2034
|
return undefined;
|
|
2035
2035
|
}
|
|
2036
2036
|
const overview = this.getCustomizationMigrationDashboardOverview();
|
|
2037
|
-
return [( localize(
|
|
2038
|
-
|
|
2037
|
+
return [( localize(6581, "Your migration checklist")), ...( overview.scopes.map(scope => [scope.label, scope.skipped ? ( localize(6582, "Skipped")) : scope.count === 0 ? ( localize(6583, "No remaining migrations.")) : "", ...(scope.skipped ? [] : ( scope.categories.map(category => ( localize(
|
|
2038
|
+
6584,
|
|
2039
2039
|
"{0}: {1}. {2}{3}",
|
|
2040
2040
|
category.label,
|
|
2041
2041
|
category.countLabel,
|
|
2042
|
-
category.highRisk ? ( localize(
|
|
2042
|
+
category.highRisk ? ( localize(6585, "High risk. ")) : "",
|
|
2043
2043
|
category.description
|
|
2044
2044
|
)))))].filter(Boolean).join("\n"))), ...( overview.activity.map(entry => [( localize(
|
|
2045
|
-
|
|
2045
|
+
6586,
|
|
2046
2046
|
"Migration activity: {0}, {1}",
|
|
2047
2047
|
entry.categoryLabel,
|
|
2048
2048
|
entry.scopeLabel
|
|
2049
2049
|
)), ...( entry.items.map(item => ( localize(
|
|
2050
|
-
|
|
2050
|
+
6587,
|
|
2051
2051
|
"{0}: from {1} to {2}",
|
|
2052
2052
|
item.label,
|
|
2053
2053
|
item.sourceLabel,
|
|
@@ -2087,24 +2087,24 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2087
2087
|
return {
|
|
2088
2088
|
id,
|
|
2089
2089
|
count,
|
|
2090
|
-
label: ( localize(
|
|
2090
|
+
label: ( localize(6588, "Prompts to skills")),
|
|
2091
2091
|
description: ( localize(
|
|
2092
|
-
|
|
2092
|
+
6589,
|
|
2093
2093
|
"Convert reusable prompt files into skills so agents can discover and run them as supported customizations."
|
|
2094
2094
|
)),
|
|
2095
|
-
countLabel: count === 1 ? ( localize(
|
|
2095
|
+
countLabel: count === 1 ? ( localize(6590, "1 prompt")) : ( localize(6591, "{0} prompts", count)),
|
|
2096
2096
|
highRisk: true
|
|
2097
2097
|
};
|
|
2098
2098
|
case CustomizationMigrationCategoryId.McpServers:
|
|
2099
2099
|
return {
|
|
2100
2100
|
id,
|
|
2101
2101
|
count,
|
|
2102
|
-
label: ( localize(
|
|
2102
|
+
label: ( localize(6592, "MCP Servers")),
|
|
2103
2103
|
description: ( localize(
|
|
2104
|
-
|
|
2104
|
+
6593,
|
|
2105
2105
|
"Move supported workspace servers to the root .mcp.json so agents can discover them directly."
|
|
2106
2106
|
)),
|
|
2107
|
-
countLabel: count === 1 ? ( localize(
|
|
2107
|
+
countLabel: count === 1 ? ( localize(6594, "1 server")) : ( localize(6595, "{0} servers", count))
|
|
2108
2108
|
};
|
|
2109
2109
|
case CustomizationMigrationCategoryId.UserData:
|
|
2110
2110
|
{
|
|
@@ -2112,17 +2112,17 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2112
2112
|
const instructions = candidates.filter(candidate => candidate.type === PromptsType.instructions).length;
|
|
2113
2113
|
const counts = [];
|
|
2114
2114
|
if (agents) {
|
|
2115
|
-
counts.push(agents === 1 ? ( localize(
|
|
2115
|
+
counts.push(agents === 1 ? ( localize(6596, "1 agent")) : ( localize(6597, "{0} agents", agents)));
|
|
2116
2116
|
}
|
|
2117
2117
|
if (instructions) {
|
|
2118
|
-
counts.push(instructions === 1 ? ( localize(
|
|
2118
|
+
counts.push(instructions === 1 ? ( localize(6598, "1 instruction")) : ( localize(6599, "{0} instructions", instructions)));
|
|
2119
2119
|
}
|
|
2120
2120
|
return {
|
|
2121
2121
|
id,
|
|
2122
2122
|
count,
|
|
2123
|
-
label: ( localize(
|
|
2123
|
+
label: ( localize(6600, "User Data")),
|
|
2124
2124
|
description: ( localize(
|
|
2125
|
-
|
|
2125
|
+
6601,
|
|
2126
2126
|
"Move agents and instructions to shared locations so they remain available to supported agent experiences."
|
|
2127
2127
|
)),
|
|
2128
2128
|
countLabel: counts.join(" · ")
|
|
@@ -2133,7 +2133,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2133
2133
|
}
|
|
2134
2134
|
}
|
|
2135
2135
|
getMigrationScopeLabel(storage) {
|
|
2136
|
-
return storage === PromptsStorage.user ? ( localize(
|
|
2136
|
+
return storage === PromptsStorage.user ? ( localize(6602, "Your profile")) : this.workspaceService.activeProjectLabel.get() || ( localize(6603, "Workspace"));
|
|
2137
2137
|
}
|
|
2138
2138
|
getMigrationActivityKey(storage) {
|
|
2139
2139
|
const project = this.workspaceService.activeProjectRoot.get();
|
|
@@ -2200,13 +2200,13 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2200
2200
|
const folder = this.selectedCustomizationMigrationTargets.get(key);
|
|
2201
2201
|
const contextLabel = this.getCustomizationMigrationDestinationContextLabel(targetType, customization.storage);
|
|
2202
2202
|
if (!folder) {
|
|
2203
|
-
const label = ( localize(
|
|
2203
|
+
const label = ( localize(6604, "Not configured"));
|
|
2204
2204
|
destinations.set(key, {
|
|
2205
2205
|
targetType,
|
|
2206
2206
|
storage: customization.storage,
|
|
2207
2207
|
contextLabel,
|
|
2208
2208
|
label,
|
|
2209
|
-
ariaLabel: ( localize(
|
|
2209
|
+
ariaLabel: ( localize(6605, "Configure destination for {0}", contextLabel))
|
|
2210
2210
|
});
|
|
2211
2211
|
continue;
|
|
2212
2212
|
}
|
|
@@ -2217,7 +2217,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2217
2217
|
contextLabel,
|
|
2218
2218
|
label: folderLabel,
|
|
2219
2219
|
ariaLabel: ( localize(
|
|
2220
|
-
|
|
2220
|
+
6606,
|
|
2221
2221
|
"Change destination for {0}, currently {1}",
|
|
2222
2222
|
contextLabel,
|
|
2223
2223
|
folderLabel
|
|
@@ -2233,7 +2233,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2233
2233
|
);
|
|
2234
2234
|
if (destinations.length === 0) {
|
|
2235
2235
|
this.notificationService.info(( localize(
|
|
2236
|
-
|
|
2236
|
+
6607,
|
|
2237
2237
|
"There are no file migration destinations to configure. MCP servers migrate to the workspace root .mcp.json."
|
|
2238
2238
|
)));
|
|
2239
2239
|
return;
|
|
@@ -2244,7 +2244,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2244
2244
|
destination
|
|
2245
2245
|
}))), {
|
|
2246
2246
|
canPickMany: false,
|
|
2247
|
-
placeHolder: ( localize(
|
|
2247
|
+
placeHolder: ( localize(6608, "Choose a migration location to customize")),
|
|
2248
2248
|
matchOnDescription: true
|
|
2249
2249
|
});
|
|
2250
2250
|
if (selected && this.isCustomizationMigrationSessionActive(sessionResource)) {
|
|
@@ -2252,14 +2252,14 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2252
2252
|
}
|
|
2253
2253
|
}
|
|
2254
2254
|
getCustomizationMigrationDestinationContextLabel(targetType, storage) {
|
|
2255
|
-
const scope = storage === PromptsStorage.local ? ( localize(
|
|
2255
|
+
const scope = storage === PromptsStorage.local ? ( localize(6609, "Workspace")) : ( localize(6610, "User"));
|
|
2256
2256
|
switch (targetType) {
|
|
2257
2257
|
case PromptsType.skill:
|
|
2258
|
-
return localize(
|
|
2258
|
+
return localize(6611, "{0} skills", scope);
|
|
2259
2259
|
case PromptsType.agent:
|
|
2260
|
-
return localize(
|
|
2260
|
+
return localize(6612, "{0} agents", scope);
|
|
2261
2261
|
default:
|
|
2262
|
-
return localize(
|
|
2262
|
+
return localize(6613, "{0} instructions", scope);
|
|
2263
2263
|
}
|
|
2264
2264
|
}
|
|
2265
2265
|
async chooseCustomizationMigrationDestination(destination) {
|
|
@@ -2274,13 +2274,13 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2274
2274
|
folder
|
|
2275
2275
|
})));
|
|
2276
2276
|
picks.push({
|
|
2277
|
-
label: ( localize(
|
|
2278
|
-
description: ( localize(
|
|
2277
|
+
label: ( localize(6614, "Choose another folder...")),
|
|
2278
|
+
description: ( localize(6615, "Use a custom migration destination")),
|
|
2279
2279
|
chooseAnother: true
|
|
2280
2280
|
});
|
|
2281
2281
|
const selected = await this.quickInputService.pick(picks, {
|
|
2282
2282
|
canPickMany: false,
|
|
2283
|
-
placeHolder: ( localize(
|
|
2283
|
+
placeHolder: ( localize(6616, "Choose a destination for {0}", destination.contextLabel)),
|
|
2284
2284
|
matchOnDescription: true
|
|
2285
2285
|
});
|
|
2286
2286
|
if (!selected || !this.isCustomizationMigrationSessionActive(sessionResource)) {
|
|
@@ -2289,8 +2289,8 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2289
2289
|
let folder = selected.folder;
|
|
2290
2290
|
if (selected.chooseAnother) {
|
|
2291
2291
|
const folders = await this.fileDialogService.showOpenDialog({
|
|
2292
|
-
title: ( localize(
|
|
2293
|
-
openLabel: ( localize(
|
|
2292
|
+
title: ( localize(6617, "Choose a Custom Migration Destination")),
|
|
2293
|
+
openLabel: ( localize(6618, "Select Folder")),
|
|
2294
2294
|
canSelectFiles: false,
|
|
2295
2295
|
canSelectFolders: true,
|
|
2296
2296
|
canSelectMany: false,
|
|
@@ -2326,9 +2326,9 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2326
2326
|
const retryButton = this.migrationPageDisposables.add(( new Button(state, {
|
|
2327
2327
|
...defaultButtonStyles,
|
|
2328
2328
|
secondary: true,
|
|
2329
|
-
ariaLabel: ( localize(
|
|
2329
|
+
ariaLabel: ( localize(6619, "Retry loading customizations"))
|
|
2330
2330
|
})));
|
|
2331
|
-
retryButton.label = ( localize(
|
|
2331
|
+
retryButton.label = ( localize(6620, "Retry"));
|
|
2332
2332
|
this.migrationFirstFocusableElement ??= retryButton.element;
|
|
2333
2333
|
this.migrationPageDisposables.add(retryButton.onDidClick(retry));
|
|
2334
2334
|
}
|
|
@@ -2421,19 +2421,19 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2421
2421
|
this.migrationClearSettingsContainer?.classList.toggle("disabled", !canClearSettings);
|
|
2422
2422
|
if (canClearSettings) {
|
|
2423
2423
|
this.migrationClearSettingsCheckbox.enable();
|
|
2424
|
-
this.migrationClearSettingsCheckbox.setTitle(( localize(
|
|
2424
|
+
this.migrationClearSettingsCheckbox.setTitle(( localize(6562, "Clear unused location settings after migration")));
|
|
2425
2425
|
} else {
|
|
2426
2426
|
this.migrationClearSettingsCheckbox.disable();
|
|
2427
|
-
this.migrationClearSettingsCheckbox.setTitle(( localize(
|
|
2427
|
+
this.migrationClearSettingsCheckbox.setTitle(( localize(6621, "The custom location settings are managed and cannot be cleared")));
|
|
2428
2428
|
}
|
|
2429
2429
|
}
|
|
2430
2430
|
if (this.migrationSelectedCountElement) {
|
|
2431
|
-
this.migrationSelectedCountElement.textContent = selectedCount === 1 ? ( localize(
|
|
2431
|
+
this.migrationSelectedCountElement.textContent = selectedCount === 1 ? ( localize(6622, "1 selected")) : ( localize(6623, "{0} selected", selectedCount));
|
|
2432
2432
|
}
|
|
2433
2433
|
if (category.id === CustomizationMigrationCategoryId.PromptFiles) {
|
|
2434
|
-
this.migrationMigrateButton.label = selectedCount > 0 ? ( localize(
|
|
2434
|
+
this.migrationMigrateButton.label = selectedCount > 0 ? ( localize(6624, "Convert {0} to Skills", selectedCount)) : ( localize(6625, "Convert to Skills"));
|
|
2435
2435
|
} else {
|
|
2436
|
-
this.migrationMigrateButton.label = selectedCount > 0 ? ( localize(
|
|
2436
|
+
this.migrationMigrateButton.label = selectedCount > 0 ? ( localize(6626, "Migrate {0}", selectedCount)) : ( localize(6627, "Migrate"));
|
|
2437
2437
|
}
|
|
2438
2438
|
}
|
|
2439
2439
|
async deleteCustomizationFile(customization) {
|
|
@@ -2442,9 +2442,9 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2442
2442
|
}
|
|
2443
2443
|
const fileName = customization.name ?? basename(customization.uri);
|
|
2444
2444
|
const confirmation = await this.dialogService.confirm({
|
|
2445
|
-
message: ( localize(
|
|
2446
|
-
detail: ( localize(
|
|
2447
|
-
primaryButton: ( localize(
|
|
2445
|
+
message: ( localize(6628, "Are you sure you want to delete '{0}'?", fileName)),
|
|
2446
|
+
detail: ( localize(6629, "This action cannot be undone.")),
|
|
2447
|
+
primaryButton: ( localize(6580, "Delete")),
|
|
2448
2448
|
type: "warning"
|
|
2449
2449
|
});
|
|
2450
2450
|
if (!confirmation.confirmed) {
|
|
@@ -2532,24 +2532,24 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2532
2532
|
if (storage === PromptsStorage.local) {
|
|
2533
2533
|
switch (targetType) {
|
|
2534
2534
|
case PromptsType.skill:
|
|
2535
|
-
return localize(
|
|
2535
|
+
return localize(6630, "No workspace skills folder is configured for the active harness.");
|
|
2536
2536
|
case PromptsType.agent:
|
|
2537
|
-
return localize(
|
|
2537
|
+
return localize(6631, "No workspace agents folder is configured for the active harness.");
|
|
2538
2538
|
default:
|
|
2539
2539
|
return localize(
|
|
2540
|
-
|
|
2540
|
+
6632,
|
|
2541
2541
|
"No workspace instructions folder is configured for the active harness."
|
|
2542
2542
|
);
|
|
2543
2543
|
}
|
|
2544
2544
|
}
|
|
2545
2545
|
switch (targetType) {
|
|
2546
2546
|
case PromptsType.skill:
|
|
2547
|
-
return localize(
|
|
2547
|
+
return localize(6633, "No global skills folder is configured for the active harness.");
|
|
2548
2548
|
case PromptsType.agent:
|
|
2549
|
-
return localize(
|
|
2549
|
+
return localize(6634, "No global agents folder is configured for the active harness.");
|
|
2550
2550
|
default:
|
|
2551
2551
|
return localize(
|
|
2552
|
-
|
|
2552
|
+
6635,
|
|
2553
2553
|
"No global instructions folder is configured for the active harness."
|
|
2554
2554
|
);
|
|
2555
2555
|
}
|
|
@@ -2588,19 +2588,19 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
2588
2588
|
return root === (folder.source === PromptsStorage.local ? ".github" : ".copilot");
|
|
2589
2589
|
}
|
|
2590
2590
|
getCustomizationMigrationFolderPickDescription(folder, description) {
|
|
2591
|
-
return this.isRecommendedCustomizationMigrationFolder(folder) ? ( localize(
|
|
2591
|
+
return this.isRecommendedCustomizationMigrationFolder(folder) ? ( localize(6636, "{0} (Recommended)", description)) : description;
|
|
2592
2592
|
}
|
|
2593
2593
|
getMigrationTargetFolderPlaceholder(targetType, selectsMultipleTypes) {
|
|
2594
2594
|
if (selectsMultipleTypes) {
|
|
2595
|
-
return localize(
|
|
2595
|
+
return localize(6637, "Select a destination for the migrated customizations");
|
|
2596
2596
|
}
|
|
2597
2597
|
switch (targetType) {
|
|
2598
2598
|
case PromptsType.skill:
|
|
2599
|
-
return localize(
|
|
2599
|
+
return localize(6638, "Select a destination folder for migrated skills");
|
|
2600
2600
|
case PromptsType.agent:
|
|
2601
|
-
return localize(
|
|
2601
|
+
return localize(6639, "Select a destination folder for migrated agents");
|
|
2602
2602
|
default:
|
|
2603
|
-
return localize(
|
|
2603
|
+
return localize(6640, "Select a destination folder for migrated instructions");
|
|
2604
2604
|
}
|
|
2605
2605
|
}
|
|
2606
2606
|
getCustomizationMigrationFolderLabel(folder) {
|
|
@@ -3201,11 +3201,11 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3201
3201
|
}
|
|
3202
3202
|
const editorHeader = append(this.editorContentContainer, $(".editor-header"));
|
|
3203
3203
|
this.editorActionButton = append(editorHeader, $("button.editor-back-button"));
|
|
3204
|
-
this.editorActionButton.setAttribute("aria-label", ( localize(
|
|
3204
|
+
this.editorActionButton.setAttribute("aria-label", ( localize(6641, "Back to list")));
|
|
3205
3205
|
this.editorDisposables.add(this.hoverService.setupManagedHover(
|
|
3206
3206
|
getDefaultHoverDelegate("element"),
|
|
3207
3207
|
this.editorActionButton,
|
|
3208
|
-
( localize(
|
|
3208
|
+
( localize(6642, "Back to list"))
|
|
3209
3209
|
));
|
|
3210
3210
|
this.editorActionButtonIcon = append(
|
|
3211
3211
|
this.editorActionButton,
|
|
@@ -3215,7 +3215,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3215
3215
|
this.editorDisposables.add(addDisposableListener(this.editorActionButton, "click", () => {
|
|
3216
3216
|
void this.handleEditorActionButton().catch(error => {
|
|
3217
3217
|
console.error("Failed to handle editor back action:", error);
|
|
3218
|
-
this.notificationService.error(( localize(
|
|
3218
|
+
this.notificationService.error(( localize(6643, "Failed to finish the prompt action.")));
|
|
3219
3219
|
});
|
|
3220
3220
|
}));
|
|
3221
3221
|
const itemInfo = append(editorHeader, $(".editor-item-info"));
|
|
@@ -3236,7 +3236,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3236
3236
|
this.editorPreviewContainer = append(this.editorContentContainer, $(".editor-preview-container"));
|
|
3237
3237
|
this.editorPreviewScrollContainer = append(this.editorPreviewContainer, $(".editor-preview-scroll-container"));
|
|
3238
3238
|
this.editorPreviewScrollContainer.setAttribute("role", "region");
|
|
3239
|
-
this.editorPreviewScrollContainer.setAttribute("aria-label", ( localize(
|
|
3239
|
+
this.editorPreviewScrollContainer.setAttribute("aria-label", ( localize(6644, "Customization preview")));
|
|
3240
3240
|
this.editorPreviewIssuesContainer = append(this.editorPreviewScrollContainer, $(".editor-preview-issues"));
|
|
3241
3241
|
const frontMatterSection = append(
|
|
3242
3242
|
this.editorPreviewScrollContainer,
|
|
@@ -3367,9 +3367,9 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3367
3367
|
this._editorContentChanged = this.workingCopyService.isDirty(uri);
|
|
3368
3368
|
this.editorSaveIndicator.className = "editor-save-indicator visible saved";
|
|
3369
3369
|
this.editorSaveIndicator.classList.add(...ThemeIcon.asClassNameArray(Codicon.check));
|
|
3370
|
-
this.editorSaveIndicator.title = ( localize(
|
|
3371
|
-
this.editorSaveIndicator.setAttribute("aria-label", ( localize(
|
|
3372
|
-
status(( localize(
|
|
3370
|
+
this.editorSaveIndicator.title = ( localize(6645, "Saved"));
|
|
3371
|
+
this.editorSaveIndicator.setAttribute("aria-label", ( localize(6645, "Saved")));
|
|
3372
|
+
status(( localize(6645, "Saved")));
|
|
3373
3373
|
}
|
|
3374
3374
|
}));
|
|
3375
3375
|
} catch (error) {
|
|
@@ -3430,7 +3430,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3430
3430
|
const saveRequest = backgroundSaveRequest;
|
|
3431
3431
|
void this.saveExistingCustomization(saveRequest).catch(error => {
|
|
3432
3432
|
console.error("Failed to save customization changes on exit:", error);
|
|
3433
|
-
this.notificationService.warn(( localize(
|
|
3433
|
+
this.notificationService.warn(( localize(6646, "Could not save changes to {0}.", basename(saveRequest.fileUri))));
|
|
3434
3434
|
});
|
|
3435
3435
|
}
|
|
3436
3436
|
}
|
|
@@ -3530,7 +3530,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3530
3530
|
const workspaceFolder = resolveWorkspaceTargetDirectory(this.workspaceService, promptType);
|
|
3531
3531
|
if (workspaceFolder) {
|
|
3532
3532
|
items.push({
|
|
3533
|
-
label: ( localize(
|
|
3533
|
+
label: ( localize(6647, "Workspace")),
|
|
3534
3534
|
description: this.labelService.getUriLabel(workspaceFolder, {
|
|
3535
3535
|
relative: true
|
|
3536
3536
|
}),
|
|
@@ -3541,7 +3541,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3541
3541
|
const userFolder = await resolveUserTargetDirectory(this.promptsService, promptType);
|
|
3542
3542
|
if (userFolder) {
|
|
3543
3543
|
items.push({
|
|
3544
|
-
label: ( localize(
|
|
3544
|
+
label: ( localize(6648, "User")),
|
|
3545
3545
|
description: this.labelService.getUriLabel(userFolder, {
|
|
3546
3546
|
relative: true
|
|
3547
3547
|
}),
|
|
@@ -3550,12 +3550,12 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3550
3550
|
});
|
|
3551
3551
|
}
|
|
3552
3552
|
items.push({
|
|
3553
|
-
label: ( localize(
|
|
3553
|
+
label: ( localize(6649, "Cancel")),
|
|
3554
3554
|
target: "cancel"
|
|
3555
3555
|
});
|
|
3556
3556
|
return this.quickInputService.pick(items, {
|
|
3557
3557
|
canPickMany: false,
|
|
3558
|
-
placeHolder: ( localize(
|
|
3558
|
+
placeHolder: ( localize(6650, "Select Workspace, User, or Cancel")),
|
|
3559
3559
|
matchOnDescription: true
|
|
3560
3560
|
});
|
|
3561
3561
|
}
|
|
@@ -3588,7 +3588,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3588
3588
|
void this.listWidget?.refresh();
|
|
3589
3589
|
}, error => {
|
|
3590
3590
|
console.error("Failed to save built-in override:", error);
|
|
3591
|
-
this.notificationService.warn(saveRequest.target === "workspace" ? ( localize(
|
|
3591
|
+
this.notificationService.warn(saveRequest.target === "workspace" ? ( localize(6651, "Could not save the override to the workspace.")) : ( localize(6652, "Could not save the override to your user folder.")));
|
|
3592
3592
|
});
|
|
3593
3593
|
}
|
|
3594
3594
|
} finally {
|
|
@@ -3604,8 +3604,8 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3604
3604
|
const shouldShowBuiltinSaveAction = this.shouldShowBuiltinSaveAction();
|
|
3605
3605
|
this.editorActionButtonIcon.className = `codicon codicon-${shouldShowBuiltinSaveAction ? Codicon.save.id : Codicon.arrowLeft.id} editor-action-button-icon`;
|
|
3606
3606
|
this.editorActionButton.disabled = this.editorActionButtonInProgress;
|
|
3607
|
-
this.editorActionButton.setAttribute("aria-label", shouldShowBuiltinSaveAction ? ( localize(
|
|
3608
|
-
this.editorActionButton.title = shouldShowBuiltinSaveAction ? ( localize(
|
|
3607
|
+
this.editorActionButton.setAttribute("aria-label", shouldShowBuiltinSaveAction ? ( localize(6653, "Save override")) : this.editorReturnViewMode === "migration" ? (this.getActiveMigrationCategory()?.backLabel ?? ( localize(6654, "Back to migration"))) : ( localize(6641, "Back to list")));
|
|
3608
|
+
this.editorActionButton.title = shouldShowBuiltinSaveAction ? ( localize(6655, "Save override (choose Workspace, User, or Cancel)")) : this.editorReturnViewMode === "migration" ? (this.getActiveMigrationCategory()?.backLabel ?? ( localize(6654, "Back to migration"))) : ( localize(6641, "Back to list"));
|
|
3609
3609
|
}
|
|
3610
3610
|
shouldShowBuiltinSaveAction() {
|
|
3611
3611
|
return this._editorContentChanged && this.currentEditingSource === AICustomizationSources.builtin && (this.currentEditingPromptType === PromptsType.prompt || this.currentEditingPromptType === PromptsType.skill);
|
|
@@ -3640,7 +3640,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3640
3640
|
return true;
|
|
3641
3641
|
} catch (error) {
|
|
3642
3642
|
console.error("Failed to save built-in override:", error);
|
|
3643
|
-
this.notificationService.warn(target.target === "workspace" ? ( localize(
|
|
3643
|
+
this.notificationService.warn(target.target === "workspace" ? ( localize(6651, "Could not save the override to the workspace.")) : ( localize(6652, "Could not save the override to your user folder.")));
|
|
3644
3644
|
return false;
|
|
3645
3645
|
}
|
|
3646
3646
|
}
|
|
@@ -3722,18 +3722,18 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3722
3722
|
return "";
|
|
3723
3723
|
}
|
|
3724
3724
|
if (this.editorDisplayMode === "raw") {
|
|
3725
|
-
return localize(
|
|
3725
|
+
return localize(6656, "Preview");
|
|
3726
3726
|
}
|
|
3727
|
-
return this.canEditCurrentRaw() ? ( localize(
|
|
3727
|
+
return this.canEditCurrentRaw() ? ( localize(6657, "Edit")) : ( localize(6658, "View Raw"));
|
|
3728
3728
|
}
|
|
3729
3729
|
getEditorModeButtonTooltip() {
|
|
3730
3730
|
if (!this.isStructuredPreviewSupported(this.currentEditingPromptType)) {
|
|
3731
3731
|
return "";
|
|
3732
3732
|
}
|
|
3733
3733
|
if (this.editorDisplayMode === "raw") {
|
|
3734
|
-
return localize(
|
|
3734
|
+
return localize(6659, "Show structured preview");
|
|
3735
3735
|
}
|
|
3736
|
-
return this.canEditCurrentRaw() ? ( localize(
|
|
3736
|
+
return this.canEditCurrentRaw() ? ( localize(6660, "Edit the raw markdown file")) : ( localize(6661, "Show the raw markdown file"));
|
|
3737
3737
|
}
|
|
3738
3738
|
canEditCurrentRaw() {
|
|
3739
3739
|
const promptType = this.currentEditingPromptType;
|
|
@@ -3776,8 +3776,8 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3776
3776
|
return;
|
|
3777
3777
|
}
|
|
3778
3778
|
const issuesContainer = append(this.editorPreviewIssuesContainer, $(".editor-preview-issues-box"));
|
|
3779
|
-
append(issuesContainer, $("div.editor-preview-issues-title")).textContent = ( localize(
|
|
3780
|
-
append(issuesContainer, $("div.editor-preview-issues-description")).textContent = ( localize(
|
|
3779
|
+
append(issuesContainer, $("div.editor-preview-issues-title")).textContent = ( localize(6662, "Header issues detected"));
|
|
3780
|
+
append(issuesContainer, $("div.editor-preview-issues-description")).textContent = ( localize(6663, "Switch to raw view to fix invalid or unsupported metadata entries."));
|
|
3781
3781
|
const list = append(issuesContainer, $("ul.editor-preview-issues-list"));
|
|
3782
3782
|
for (const error of parsedPromptFile.header.errors) {
|
|
3783
3783
|
append(list, $("li.editor-preview-issues-item")).textContent = error.message;
|
|
@@ -3792,7 +3792,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3792
3792
|
append(
|
|
3793
3793
|
this.editorPreviewFrontMatterContainer,
|
|
3794
3794
|
$("div.editor-preview-empty-state")
|
|
3795
|
-
).textContent = ( localize(
|
|
3795
|
+
).textContent = ( localize(6664, "No metadata found in this file."));
|
|
3796
3796
|
return;
|
|
3797
3797
|
}
|
|
3798
3798
|
for (const attribute of attributes) {
|
|
@@ -3808,11 +3808,11 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3808
3808
|
append(header, $("div.editor-preview-row-key")).textContent = attribute.key;
|
|
3809
3809
|
const helpButton = append(header, $("button.editor-preview-row-help"));
|
|
3810
3810
|
helpButton.type = "button";
|
|
3811
|
-
helpButton.setAttribute("aria-label", ( localize(
|
|
3811
|
+
helpButton.setAttribute("aria-label", ( localize(6665, "Show help for '{0}'", attribute.key)));
|
|
3812
3812
|
const helpIcon = append(helpButton, $("span.editor-preview-row-help-icon"));
|
|
3813
3813
|
helpIcon.classList.add(...ThemeIcon.asClassNameArray(Codicon.info));
|
|
3814
3814
|
helpIcon.setAttribute("aria-hidden", "true");
|
|
3815
|
-
const description = getAttributeDefinition(attribute.key, promptType, target)?.description ?? ( localize(
|
|
3815
|
+
const description = getAttributeDefinition(attribute.key, promptType, target)?.description ?? ( localize(6666, "Custom metadata field `{0}`.", attribute.key));
|
|
3816
3816
|
const helpHover = this.editorPreviewDisposables.add(
|
|
3817
3817
|
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), helpButton, {
|
|
3818
3818
|
markdown: ( new MarkdownString(description)),
|
|
@@ -3835,7 +3835,7 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3835
3835
|
}
|
|
3836
3836
|
const bodyContent = parsedPromptFile.body?.getContent() ?? "";
|
|
3837
3837
|
if (!bodyContent.trim()) {
|
|
3838
|
-
append(this.editorPreviewBodyContainer, $("div.editor-preview-empty-state")).textContent = ( localize(
|
|
3838
|
+
append(this.editorPreviewBodyContainer, $("div.editor-preview-empty-state")).textContent = ( localize(6667, "No markdown body found in this file."));
|
|
3839
3839
|
return;
|
|
3840
3840
|
}
|
|
3841
3841
|
const markdown = ( new MarkdownString(bodyContent, {
|
|
@@ -3913,9 +3913,9 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3913
3913
|
const backButton = append(this.embeddedMcpDetail.leadingSlot, $("button.editor-back-button"));
|
|
3914
3914
|
this.mcpDetailBackButton = backButton;
|
|
3915
3915
|
backButton.setAttribute("type", "button");
|
|
3916
|
-
backButton.setAttribute("aria-label", ( localize(
|
|
3916
|
+
backButton.setAttribute("aria-label", ( localize(6668, "Back to MCP servers")));
|
|
3917
3917
|
this.editorDisposables.add(
|
|
3918
|
-
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), backButton, ( localize(
|
|
3918
|
+
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), backButton, ( localize(6669, "Back to MCP servers")))
|
|
3919
3919
|
);
|
|
3920
3920
|
const backIconEl = append(
|
|
3921
3921
|
backButton,
|
|
@@ -3974,9 +3974,9 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
3974
3974
|
}));
|
|
3975
3975
|
const backButton = append(this.embeddedPluginDetail.leadingSlot, $("button.editor-back-button"));
|
|
3976
3976
|
backButton.setAttribute("type", "button");
|
|
3977
|
-
backButton.setAttribute("aria-label", ( localize(
|
|
3977
|
+
backButton.setAttribute("aria-label", ( localize(6670, "Back to plugins")));
|
|
3978
3978
|
this.editorDisposables.add(
|
|
3979
|
-
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), backButton, ( localize(
|
|
3979
|
+
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), backButton, ( localize(6671, "Back to plugins")))
|
|
3980
3980
|
);
|
|
3981
3981
|
const backIconEl = append(backButton, $(`.codicon.codicon-${Codicon.arrowLeft.id}`));
|
|
3982
3982
|
backIconEl.setAttribute("aria-hidden", "true");
|
|
@@ -4089,9 +4089,9 @@ let AICustomizationManagementEditor = class AICustomizationManagementEditor exte
|
|
|
4089
4089
|
);
|
|
4090
4090
|
const backButton = append(this.embeddedToolDetail.leadingSlot, $("button.editor-back-button"));
|
|
4091
4091
|
backButton.setAttribute("type", "button");
|
|
4092
|
-
backButton.setAttribute("aria-label", ( localize(
|
|
4092
|
+
backButton.setAttribute("aria-label", ( localize(6672, "Back to tools")));
|
|
4093
4093
|
this.editorDisposables.add(
|
|
4094
|
-
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), backButton, ( localize(
|
|
4094
|
+
this.hoverService.setupManagedHover(getDefaultHoverDelegate("element"), backButton, ( localize(6673, "Back to tools")))
|
|
4095
4095
|
);
|
|
4096
4096
|
const backIconEl = append(backButton, $(`.codicon.codicon-${Codicon.arrowLeft.id}`));
|
|
4097
4097
|
backIconEl.setAttribute("aria-hidden", "true");
|