@codingame/monaco-vscode-chat-service-override 32.0.0 → 32.0.2
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 +1 -0
- package/package.json +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +637 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +53 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.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/aiCustomization/aiCustomizationIcons.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +97 -97
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +43 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +58 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedAgentPluginDetail.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/embeddedMcpServerDetail.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +50 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +51 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +229 -229
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.view.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.view.contribution.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +99 -99
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +33 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +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 +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +43 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +30 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +16 -16
- 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 +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +57 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +13 -13
- 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 +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +4 -4
- 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 +3 -3
- 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 +5 -5
- 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 +150 -150
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.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/inlineChatSessionServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.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/runInTerminalConfirmationTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
|
@@ -34,7 +34,7 @@ const TIP_CATALOG = [{
|
|
|
34
34
|
priority: 0,
|
|
35
35
|
buildMessage(_ctx) {
|
|
36
36
|
return (new MarkdownString(localize(
|
|
37
|
-
|
|
37
|
+
6693,
|
|
38
38
|
"Using GPT-4.1? Try switching to [Auto](command:workbench.action.chat.openModelPicker \"Open Model Picker\") in the model picker for better coding performance."
|
|
39
39
|
)));
|
|
40
40
|
},
|
|
@@ -46,7 +46,7 @@ const TIP_CATALOG = [{
|
|
|
46
46
|
buildMessage(ctx) {
|
|
47
47
|
const kb = formatKeybinding(ctx, GENERATE_AGENT_INSTRUCTIONS_COMMAND_ID);
|
|
48
48
|
return (new MarkdownString(localize(
|
|
49
|
-
|
|
49
|
+
6694,
|
|
50
50
|
"Use [{0}](command:{1} \"Run /init\"){2} to generate or update a workspace instructions file for AI coding agents.",
|
|
51
51
|
"/init",
|
|
52
52
|
GENERATE_AGENT_INSTRUCTIONS_COMMAND_ID,
|
|
@@ -64,7 +64,7 @@ const TIP_CATALOG = [{
|
|
|
64
64
|
buildMessage(ctx) {
|
|
65
65
|
const kb = formatKeybinding(ctx, GENERATE_PROMPT_COMMAND_ID);
|
|
66
66
|
return (new MarkdownString(localize(
|
|
67
|
-
|
|
67
|
+
6695,
|
|
68
68
|
"Use [{0}](command:{1} \"Run /create-prompt\"){2} to generate a reusable prompt file with the agent.",
|
|
69
69
|
"/create-prompt",
|
|
70
70
|
GENERATE_PROMPT_COMMAND_ID,
|
|
@@ -80,7 +80,7 @@ const TIP_CATALOG = [{
|
|
|
80
80
|
buildMessage(ctx) {
|
|
81
81
|
const kb = formatKeybinding(ctx, GENERATE_AGENT_COMMAND_ID);
|
|
82
82
|
return (new MarkdownString(localize(
|
|
83
|
-
|
|
83
|
+
6696,
|
|
84
84
|
"Use [{0}](command:{1} \"Run /create-agent\"){2} to scaffold a custom agent for your workflow.",
|
|
85
85
|
"/create-agent",
|
|
86
86
|
GENERATE_AGENT_COMMAND_ID,
|
|
@@ -96,7 +96,7 @@ const TIP_CATALOG = [{
|
|
|
96
96
|
buildMessage(ctx) {
|
|
97
97
|
const kb = formatKeybinding(ctx, GENERATE_SKILL_COMMAND_ID);
|
|
98
98
|
return (new MarkdownString(localize(
|
|
99
|
-
|
|
99
|
+
6697,
|
|
100
100
|
"Use [{0}](command:{1} \"Run /create-skill\"){2} to create a skill the agent can load when relevant.",
|
|
101
101
|
"/create-skill",
|
|
102
102
|
GENERATE_SKILL_COMMAND_ID,
|
|
@@ -112,7 +112,7 @@ const TIP_CATALOG = [{
|
|
|
112
112
|
buildMessage(ctx) {
|
|
113
113
|
const kb = formatKeybinding(ctx, "workbench.action.chat.openPlan");
|
|
114
114
|
return (new MarkdownString(localize(
|
|
115
|
-
|
|
115
|
+
6698,
|
|
116
116
|
"Try the [{0}](command:workbench.action.chat.openPlan \"Start Plan Mode\"){1} to research and plan before implementing changes.",
|
|
117
117
|
"Plan agent",
|
|
118
118
|
kb
|
|
@@ -126,7 +126,7 @@ const TIP_CATALOG = [{
|
|
|
126
126
|
tier: ChatTipTier.Qol,
|
|
127
127
|
buildMessage() {
|
|
128
128
|
return (new MarkdownString(localize(
|
|
129
|
-
|
|
129
|
+
6699,
|
|
130
130
|
"Reference files or folders with # to give the agent more context about the task."
|
|
131
131
|
)));
|
|
132
132
|
},
|
|
@@ -142,7 +142,7 @@ const TIP_CATALOG = [{
|
|
|
142
142
|
tier: ChatTipTier.Qol,
|
|
143
143
|
buildMessage() {
|
|
144
144
|
return (new MarkdownString(localize(
|
|
145
|
-
|
|
145
|
+
6700,
|
|
146
146
|
"Select a code block in the editor and right-click to access more AI actions."
|
|
147
147
|
)));
|
|
148
148
|
},
|
|
@@ -152,7 +152,7 @@ const TIP_CATALOG = [{
|
|
|
152
152
|
tier: ChatTipTier.Qol,
|
|
153
153
|
buildMessage() {
|
|
154
154
|
return (new MarkdownString(localize(
|
|
155
|
-
|
|
155
|
+
6701,
|
|
156
156
|
"Hover a previous request and select \"Restore Checkpoint\" to undo changes after that point in the chat conversation."
|
|
157
157
|
)));
|
|
158
158
|
},
|
|
@@ -166,7 +166,7 @@ const TIP_CATALOG = [{
|
|
|
166
166
|
tier: ChatTipTier.Qol,
|
|
167
167
|
buildMessage() {
|
|
168
168
|
return (new MarkdownString(localize(
|
|
169
|
-
|
|
169
|
+
6702,
|
|
170
170
|
"Steer the agent mid-task by sending follow-up messages. They queue and apply in order."
|
|
171
171
|
)));
|
|
172
172
|
},
|
|
@@ -181,7 +181,7 @@ const TIP_CATALOG = [{
|
|
|
181
181
|
buildMessage(ctx) {
|
|
182
182
|
const kb = formatKeybinding(ctx, INSERT_FORK_CONVERSATION_COMMAND_ID);
|
|
183
183
|
return (new MarkdownString(localize(
|
|
184
|
-
|
|
184
|
+
6703,
|
|
185
185
|
"Use [{0}](command:{1} \"Run /fork\"){2} to branch the conversation. Explore a different approach without losing the original context.",
|
|
186
186
|
"/fork",
|
|
187
187
|
INSERT_FORK_CONVERSATION_COMMAND_ID,
|
|
@@ -198,7 +198,7 @@ const TIP_CATALOG = [{
|
|
|
198
198
|
tier: ChatTipTier.Qol,
|
|
199
199
|
buildMessage() {
|
|
200
200
|
return (new MarkdownString(localize(
|
|
201
|
-
|
|
201
|
+
6704,
|
|
202
202
|
"Enable [{0}](command:workbench.action.openSettings?%5B%22workbench.browser.enableChatTools%22%5D \"Open Settings\") to let the agent open and interact with pages in the Integrated Browser.",
|
|
203
203
|
"agentic browser integration"
|
|
204
204
|
)));
|
|
@@ -211,7 +211,7 @@ const TIP_CATALOG = [{
|
|
|
211
211
|
tier: ChatTipTier.Qol,
|
|
212
212
|
buildMessage() {
|
|
213
213
|
return (new MarkdownString(localize(
|
|
214
|
-
|
|
214
|
+
6705,
|
|
215
215
|
"Ask the agent to draw an architectural diagram or flow chart. It can render Mermaid diagrams directly in chat."
|
|
216
216
|
)));
|
|
217
217
|
},
|
|
@@ -222,7 +222,7 @@ const TIP_CATALOG = [{
|
|
|
222
222
|
tier: ChatTipTier.Qol,
|
|
223
223
|
buildMessage() {
|
|
224
224
|
return (new MarkdownString(localize(
|
|
225
|
-
|
|
225
|
+
6706,
|
|
226
226
|
"Have another task to work on? Start a new session to run multiple agents at once."
|
|
227
227
|
)));
|
|
228
228
|
},
|
|
@@ -233,7 +233,7 @@ const TIP_CATALOG = [{
|
|
|
233
233
|
tier: ChatTipTier.Qol,
|
|
234
234
|
buildMessage() {
|
|
235
235
|
return (new MarkdownString(localize(
|
|
236
|
-
|
|
236
|
+
6707,
|
|
237
237
|
"Customize the loading messages shown while the agent works with [{0}](command:workbench.action.openSettings?%5B%22{1}%22%5D \"Open Settings\").",
|
|
238
238
|
"thinking phrases",
|
|
239
239
|
ChatConfiguration.ThinkingPhrases
|
|
@@ -247,7 +247,7 @@ const TIP_CATALOG = [{
|
|
|
247
247
|
tier: ChatTipTier.Qol,
|
|
248
248
|
buildMessage() {
|
|
249
249
|
return (new MarkdownString(localize(
|
|
250
|
-
|
|
250
|
+
6708,
|
|
251
251
|
"Configure [{0}](command:workbench.action.openSettings?%5B%22chat.editing.autoAcceptDelay%22%5D \"Open Settings\") to automatically accept changes from the agent after a short countdown.",
|
|
252
252
|
"auto-accept delay"
|
|
253
253
|
)));
|
|
@@ -261,7 +261,7 @@ const TIP_CATALOG = [{
|
|
|
261
261
|
buildMessage(ctx) {
|
|
262
262
|
const kb = formatKeybinding(ctx, INSERT_TROUBLESHOOT_COMMAND_ID);
|
|
263
263
|
return (new MarkdownString(localize(
|
|
264
|
-
|
|
264
|
+
6709,
|
|
265
265
|
"Something not working? Type [{0}](command:{1} \"Run /troubleshoot\"){2} <question> to diagnose issues from debug logs.",
|
|
266
266
|
"/troubleshoot",
|
|
267
267
|
INSERT_TROUBLESHOOT_COMMAND_ID,
|
|
@@ -275,7 +275,7 @@ const TIP_CATALOG = [{
|
|
|
275
275
|
tier: ChatTipTier.Qol,
|
|
276
276
|
buildMessage() {
|
|
277
277
|
return (new MarkdownString(localize(
|
|
278
|
-
|
|
278
|
+
6710,
|
|
279
279
|
"Run agents in parallel with [Copilot CLI](command:workbench.action.chat.openNewChatSessionInPlace.copilotcli?%5B%22sidebar%22%5D \"Switch to Copilot CLI\")."
|
|
280
280
|
)));
|
|
281
281
|
},
|
|
@@ -286,7 +286,7 @@ const TIP_CATALOG = [{
|
|
|
286
286
|
tier: ChatTipTier.Qol,
|
|
287
287
|
buildMessage() {
|
|
288
288
|
return (new MarkdownString(localize(
|
|
289
|
-
|
|
289
|
+
6711,
|
|
290
290
|
"Configure [{0}](command:workbench.action.openSettings?%5B%22{1}%22%5D \"Open Settings\") to start new sessions in Bypass Approvals or Autopilot mode.",
|
|
291
291
|
"default permissions",
|
|
292
292
|
ChatConfiguration.DefaultPermissionLevel
|
|
@@ -613,7 +613,7 @@ let ChatTipService = class ChatTipService extends Disposable {
|
|
|
613
613
|
keybindingService: this._keybindingService
|
|
614
614
|
};
|
|
615
615
|
const rawMessage = tipDef.buildMessage(ctx);
|
|
616
|
-
const prefixedMessage = ( localize(
|
|
616
|
+
const prefixedMessage = ( localize(6712, "**Tip:** {0}", rawMessage.value));
|
|
617
617
|
const enabledCommands = extractCommandIds(prefixedMessage);
|
|
618
618
|
const markdown = ( new MarkdownString(prefixedMessage, {
|
|
619
619
|
isTrusted: enabledCommands.length > 0 ? {
|
|
@@ -77,12 +77,12 @@ let ChatWindowNotifier = class ChatWindowNotifier extends Disposable {
|
|
|
77
77
|
mode: FocusMode.Notify
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
const notificationTitle = info.title ? ( localize(
|
|
80
|
+
const notificationTitle = info.title ? ( localize(6713, "Session: {0}", info.title)) : ( localize(6714, "Untitled Session"));
|
|
81
81
|
const cts = ( new CancellationTokenSource());
|
|
82
82
|
this._activeNotifications.set(sessionResource, toDisposable(() => cts.dispose(true)));
|
|
83
83
|
const isQuestionCarousel = this._isQuestionCarouselPending(sessionResource);
|
|
84
84
|
try {
|
|
85
|
-
const actionLabel = isQuestionCarousel ? ( localize(
|
|
85
|
+
const actionLabel = isQuestionCarousel ? ( localize(6715, "Open Session")) : ( localize(6716, "Allow"));
|
|
86
86
|
const result = await this._hostService.showToast({
|
|
87
87
|
title: this._sanitizeOSToastText(notificationTitle),
|
|
88
88
|
body: this._getNotificationBody(sessionResource, info, isQuestionCarousel),
|
|
@@ -121,7 +121,7 @@ let ChatWindowNotifier = class ChatWindowNotifier extends Disposable {
|
|
|
121
121
|
}
|
|
122
122
|
_getNotificationBody(sessionResource, info, isQuestionCarousel) {
|
|
123
123
|
if (isQuestionCarousel) {
|
|
124
|
-
return localize(
|
|
124
|
+
return localize(6717, "Questions need your input.");
|
|
125
125
|
}
|
|
126
126
|
const terminalCommand = this._getPendingTerminalCommand(sessionResource);
|
|
127
127
|
if (terminalCommand) {
|
|
@@ -130,7 +130,7 @@ let ChatWindowNotifier = class ChatWindowNotifier extends Disposable {
|
|
|
130
130
|
if (info.detail) {
|
|
131
131
|
return this._sanitizeOSToastText(info.detail);
|
|
132
132
|
}
|
|
133
|
-
return localize(
|
|
133
|
+
return localize(6718, "Approval needed to continue.");
|
|
134
134
|
}
|
|
135
135
|
_getPendingTerminalCommand(sessionResource) {
|
|
136
136
|
const model = this._chatService.getSession(sessionResource);
|
|
@@ -51,8 +51,8 @@ let AgentPluginRecommendations = class AgentPluginRecommendations extends Dispos
|
|
|
51
51
|
if (uninstalledCount === 0) {
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
this._notificationService.prompt(Severity.Info, uninstalledCount === 1 ? ( localize(
|
|
55
|
-
label: ( localize(
|
|
54
|
+
this._notificationService.prompt(Severity.Info, uninstalledCount === 1 ? ( localize(6719, "This workspace recommends 1 agent plugin.")) : ( localize(6720, "This workspace recommends {0} agent plugins.", uninstalledCount)), [{
|
|
55
|
+
label: ( localize(6721, "Show Plugins")),
|
|
56
56
|
run: () => {
|
|
57
57
|
this._extensionsWorkbenchService.openSearch("@agentPlugins @recommended");
|
|
58
58
|
}
|
|
@@ -13,8 +13,8 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
|
13
13
|
function createDefaultModelArrays() {
|
|
14
14
|
return {
|
|
15
15
|
modelIds: [""],
|
|
16
|
-
modelLabels: [( localize(
|
|
17
|
-
modelDescriptions: [( localize(
|
|
16
|
+
modelLabels: [( localize(6722, "Auto (Vendor Default)"))],
|
|
17
|
+
modelDescriptions: [( localize(6723, "Use the vendor's default model"))]
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
let DefaultModelContribution = class DefaultModelContribution extends Disposable {
|
|
@@ -46,8 +46,8 @@ let DefaultModelContribution = class DefaultModelContribution extends Disposable
|
|
|
46
46
|
modelLabels.length = 0;
|
|
47
47
|
modelDescriptions.length = 0;
|
|
48
48
|
modelIds.push("");
|
|
49
|
-
modelLabels.push(( localize(
|
|
50
|
-
modelDescriptions.push(( localize(
|
|
49
|
+
modelLabels.push(( localize(6722, "Auto (Vendor Default)")));
|
|
50
|
+
modelDescriptions.push(( localize(6723, "Use the vendor's default model")));
|
|
51
51
|
const models = [];
|
|
52
52
|
const allModelIds = this._languageModelsService.getLanguageModelIds();
|
|
53
53
|
for (const modelId of allModelIds) {
|
|
@@ -5,16 +5,16 @@ import { WorkbenchState } from '@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
5
5
|
import { ContributionEnablementState, isContributionDisabled } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/enablement';
|
|
6
6
|
|
|
7
7
|
function createEnablementActions(key, enablementModel, idPrefix) {
|
|
8
|
-
return [( new Action(`${idPrefix}.enable`, ( localize(
|
|
8
|
+
return [( new Action(`${idPrefix}.enable`, ( localize(6724, "Enable")), undefined, true, () => {
|
|
9
9
|
enablementModel.setEnabled(key, ContributionEnablementState.EnabledProfile);
|
|
10
10
|
return Promise.resolve();
|
|
11
|
-
})), ( new Action(`${idPrefix}.enableForWorkspace`, ( localize(
|
|
11
|
+
})), ( new Action(`${idPrefix}.enableForWorkspace`, ( localize(6725, "Enable (Workspace)")), undefined, true, () => {
|
|
12
12
|
enablementModel.setEnabled(key, ContributionEnablementState.EnabledWorkspace);
|
|
13
13
|
return Promise.resolve();
|
|
14
|
-
})), ( new Action(`${idPrefix}.disable`, ( localize(
|
|
14
|
+
})), ( new Action(`${idPrefix}.disable`, ( localize(6726, "Disable")), undefined, true, () => {
|
|
15
15
|
enablementModel.setEnabled(key, ContributionEnablementState.DisabledProfile);
|
|
16
16
|
return Promise.resolve();
|
|
17
|
-
})), ( new Action(`${idPrefix}.disableForWorkspace`, ( localize(
|
|
17
|
+
})), ( new Action(`${idPrefix}.disableForWorkspace`, ( localize(6727, "Disable (Workspace)")), undefined, true, () => {
|
|
18
18
|
enablementModel.setEnabled(key, ContributionEnablementState.DisabledWorkspace);
|
|
19
19
|
return Promise.resolve();
|
|
20
20
|
}))];
|
|
@@ -46,8 +46,8 @@ let EnablementStatusWidget = class EnablementStatusWidget extends Disposable {
|
|
|
46
46
|
};
|
|
47
47
|
EnablementStatusWidget = ( __decorate([( __param(3, IMarkdownRendererService))], EnablementStatusWidget));
|
|
48
48
|
const pluginEnablementLabels = {
|
|
49
|
-
disabledProfile: ( localize(
|
|
50
|
-
disabledWorkspace: ( localize(
|
|
49
|
+
disabledProfile: ( localize(6728, "This plugin is disabled.")),
|
|
50
|
+
disabledWorkspace: ( localize(6729, "This plugin is disabled for this workspace."))
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
export { EnablementStatusWidget, pluginEnablementLabels };
|
|
@@ -340,7 +340,7 @@ let ChatLanguageModelsDataContribution = class ChatLanguageModelsDataContributio
|
|
|
340
340
|
},
|
|
341
341
|
settings: {
|
|
342
342
|
type: "object",
|
|
343
|
-
description: ( localize(
|
|
343
|
+
description: ( localize(6730, "Per-model settings"))
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
346
|
allOf: [...( vendors.map(vendor => ({
|
|
@@ -34,7 +34,7 @@ class NavigatePlanReviewFeedbackAction extends Action2 {
|
|
|
34
34
|
constructor(_next) {
|
|
35
35
|
super({
|
|
36
36
|
id: _next ? navigateNextPlanReviewFeedbackActionId : navigatePreviousPlanReviewFeedbackActionId,
|
|
37
|
-
title: _next ? ( localize2(
|
|
37
|
+
title: _next ? ( localize2(6731, "Go to Next Feedback Comment")) : ( localize2(6732, "Go to Previous Feedback Comment")),
|
|
38
38
|
icon: _next ? Codicon.arrowDown : Codicon.arrowUp,
|
|
39
39
|
category: CHAT_CATEGORY,
|
|
40
40
|
f1: true,
|
|
@@ -73,8 +73,8 @@ class ClearAllPlanReviewFeedbackAction extends Action2 {
|
|
|
73
73
|
constructor() {
|
|
74
74
|
super({
|
|
75
75
|
id: clearAllPlanReviewFeedbackActionId,
|
|
76
|
-
title: ( localize2(
|
|
77
|
-
tooltip: ( localize2(
|
|
76
|
+
title: ( localize2(6733, "Clear")),
|
|
77
|
+
tooltip: ( localize2(6734, "Clear All Feedback")),
|
|
78
78
|
icon: Codicon.clearAll,
|
|
79
79
|
category: CHAT_CATEGORY,
|
|
80
80
|
f1: true,
|
|
@@ -111,7 +111,7 @@ function registerPlanReviewFeedbackEditorActions() {
|
|
|
111
111
|
MenuRegistry.appendMenuItem(PlanReviewFeedbackMenuId, {
|
|
112
112
|
command: {
|
|
113
113
|
id: navigationBearingFakeActionId,
|
|
114
|
-
title: ( localize(
|
|
114
|
+
title: ( localize(6735, "Navigation Status")),
|
|
115
115
|
precondition: ( ContextKeyExpr.false())
|
|
116
116
|
},
|
|
117
117
|
group: "navigate",
|
|
@@ -52,7 +52,7 @@ class PlanReviewFeedbackInputWidget {
|
|
|
52
52
|
this._domNode.style.display = "none";
|
|
53
53
|
this._inputElement = createElement("textarea");
|
|
54
54
|
this._inputElement.rows = 1;
|
|
55
|
-
this._inputElement.placeholder = ( localize(
|
|
55
|
+
this._inputElement.placeholder = ( localize(6736, "Add Feedback"));
|
|
56
56
|
this._domNode.appendChild(this._inputElement);
|
|
57
57
|
this._measureElement = createElement("span");
|
|
58
58
|
this._measureElement.classList.add("plan-review-feedback-input-measure");
|
|
@@ -60,7 +60,7 @@ class PlanReviewFeedbackInputWidget {
|
|
|
60
60
|
const actionsContainer = createElement("div");
|
|
61
61
|
actionsContainer.classList.add("plan-review-feedback-input-actions");
|
|
62
62
|
this._domNode.appendChild(actionsContainer);
|
|
63
|
-
this._addAction = ( new Action("planReviewFeedback.add", ( localize(
|
|
63
|
+
this._addAction = ( new Action("planReviewFeedback.add", ( localize(6737, "Add Feedback (Enter)")), ThemeIcon.asClassName(Codicon.plus), false, () => {
|
|
64
64
|
this._onDidTriggerAdd.fire();
|
|
65
65
|
return Promise.resolve();
|
|
66
66
|
}));
|
|
@@ -68,7 +68,7 @@ class PlanReviewFeedbackInputWidget {
|
|
|
68
68
|
this._actionBar.push(this._addAction, {
|
|
69
69
|
icon: true,
|
|
70
70
|
label: false,
|
|
71
|
-
keybinding: ( localize(
|
|
71
|
+
keybinding: ( localize(6738, "Enter"))
|
|
72
72
|
});
|
|
73
73
|
this._inputElement.style.lineHeight = `${this._lineHeight}px`;
|
|
74
74
|
}
|
|
@@ -197,9 +197,9 @@ class PlanReviewFeedbackOverlayWidget {
|
|
|
197
197
|
} = that._navigationBearings.read(r);
|
|
198
198
|
if (totalCount > 0) {
|
|
199
199
|
const current = activeIdx === -1 ? 1 : activeIdx + 1;
|
|
200
|
-
this.label.innerText = ( localize(
|
|
200
|
+
this.label.innerText = ( localize(6739, "{0}/{1}", current, totalCount));
|
|
201
201
|
} else {
|
|
202
|
-
this.label.innerText = ( localize(
|
|
202
|
+
this.label.innerText = ( localize(6740, "0/0"));
|
|
203
203
|
}
|
|
204
204
|
}));
|
|
205
205
|
}
|
|
@@ -75,7 +75,7 @@ let BrowserPluginGitCommandService = class BrowserPluginGitCommandService {
|
|
|
75
75
|
}
|
|
76
76
|
if (lastErr instanceof GitHubAuthRequiredError) {
|
|
77
77
|
throw ( new Error(( localize(
|
|
78
|
-
|
|
78
|
+
6741,
|
|
79
79
|
"GitHub authentication is required to install '{0}'. Sign in with an account that has access to this repository, then try again.",
|
|
80
80
|
`${repo.owner}/${repo.repo}`
|
|
81
81
|
))));
|
|
@@ -181,7 +181,7 @@ let BrowserPluginGitCommandService = class BrowserPluginGitCommandService {
|
|
|
181
181
|
const parsed = parseGitHubCloneUrl(cloneUrl);
|
|
182
182
|
if (!parsed) {
|
|
183
183
|
throw ( new Error(( localize(
|
|
184
|
-
|
|
184
|
+
6742,
|
|
185
185
|
"Agent plugins in the browser can only be installed from GitHub HTTPS URLs. To install '{0}', use the desktop application or connect to a remote agent host.",
|
|
186
186
|
cloneUrl
|
|
187
187
|
))));
|
|
@@ -232,7 +232,7 @@ let BrowserPluginGitCommandService = class BrowserPluginGitCommandService {
|
|
|
232
232
|
} catch (err) {
|
|
233
233
|
this._logService.trace("[BrowserPluginGitCommandService] GitHub session request failed:", err);
|
|
234
234
|
throw ( new Error(( localize(
|
|
235
|
-
|
|
235
|
+
6743,
|
|
236
236
|
"Sign in to GitHub with an account that has access to '{0}' to install this plugin.",
|
|
237
237
|
`${repo.owner}/${repo.repo}`
|
|
238
238
|
))));
|
|
@@ -65,7 +65,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
65
65
|
this._notificationService.notify({
|
|
66
66
|
severity: Severity.Error,
|
|
67
67
|
message: ( localize(
|
|
68
|
-
|
|
68
|
+
6744,
|
|
69
69
|
"'{0}' is not a valid plugin source. Enter a GitHub repository (owner/repo) or a git clone URL.",
|
|
70
70
|
source
|
|
71
71
|
))
|
|
@@ -76,7 +76,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
76
76
|
this._notificationService.notify({
|
|
77
77
|
severity: Severity.Error,
|
|
78
78
|
message: ( localize(
|
|
79
|
-
|
|
79
|
+
6745,
|
|
80
80
|
"Local file paths are not supported. Enter a GitHub repository (owner/repo) or a git clone URL."
|
|
81
81
|
))
|
|
82
82
|
});
|
|
@@ -94,14 +94,14 @@ let PluginInstallService = class PluginInstallService {
|
|
|
94
94
|
const reference = parseMarketplaceReference(source);
|
|
95
95
|
if (!reference) {
|
|
96
96
|
return localize(
|
|
97
|
-
|
|
97
|
+
6744,
|
|
98
98
|
"'{0}' is not a valid plugin source. Enter a GitHub repository (owner/repo) or a git clone URL.",
|
|
99
99
|
source
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
102
|
if (reference.kind === MarketplaceReferenceKind.LocalFileUri) {
|
|
103
103
|
return localize(
|
|
104
|
-
|
|
104
|
+
6745,
|
|
105
105
|
"Local file paths are not supported. Enter a GitHub repository (owner/repo) or a git clone URL."
|
|
106
106
|
);
|
|
107
107
|
}
|
|
@@ -113,7 +113,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
113
113
|
return {
|
|
114
114
|
success: false,
|
|
115
115
|
message: ( localize(
|
|
116
|
-
|
|
116
|
+
6744,
|
|
117
117
|
"'{0}' is not a valid plugin source. Enter a GitHub repository (owner/repo) or a git clone URL.",
|
|
118
118
|
source
|
|
119
119
|
))
|
|
@@ -123,7 +123,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
123
123
|
return {
|
|
124
124
|
success: false,
|
|
125
125
|
message: ( localize(
|
|
126
|
-
|
|
126
|
+
6745,
|
|
127
127
|
"Local file paths are not supported. Enter a GitHub repository (owner/repo) or a git clone URL."
|
|
128
128
|
))
|
|
129
129
|
};
|
|
@@ -156,7 +156,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
156
156
|
let repoDir;
|
|
157
157
|
try {
|
|
158
158
|
repoDir = await this._pluginRepositoryService.ensurePluginSource(tempPlugin, {
|
|
159
|
-
progressTitle: ( localize(
|
|
159
|
+
progressTitle: ( localize(6746, "Cloning plugin source '{0}'...", reference.displayLabel)),
|
|
160
160
|
failureLabel: reference.displayLabel,
|
|
161
161
|
marketplaceType: MarketplaceType.OpenPlugin
|
|
162
162
|
});
|
|
@@ -165,7 +165,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
165
165
|
return {
|
|
166
166
|
success: false,
|
|
167
167
|
message: ( localize(
|
|
168
|
-
|
|
168
|
+
6747,
|
|
169
169
|
"Failed to clone plugin source '{0}': {1}",
|
|
170
170
|
reference.displayLabel,
|
|
171
171
|
detail
|
|
@@ -176,7 +176,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
176
176
|
if (!repoExists) {
|
|
177
177
|
return {
|
|
178
178
|
success: false,
|
|
179
|
-
message: ( localize(
|
|
179
|
+
message: ( localize(6748, "Failed to clone plugin source '{0}'.", reference.displayLabel))
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
const discoveredPlugins = await this._pluginMarketplaceService.readPluginsFromDirectory(repoDir, reference);
|
|
@@ -187,7 +187,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
187
187
|
return {
|
|
188
188
|
success: false,
|
|
189
189
|
message: ( localize(
|
|
190
|
-
|
|
190
|
+
6749,
|
|
191
191
|
"Plugin '{0}' not found in '{1}'.",
|
|
192
192
|
options.plugin,
|
|
193
193
|
reference.displayLabel
|
|
@@ -206,7 +206,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
206
206
|
return {
|
|
207
207
|
success: false,
|
|
208
208
|
message: ( localize(
|
|
209
|
-
|
|
209
|
+
6750,
|
|
210
210
|
"No plugins found in '{0}'. This does not appear to be a valid plugin marketplace.",
|
|
211
211
|
reference.displayLabel
|
|
212
212
|
))
|
|
@@ -218,7 +218,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
218
218
|
return {
|
|
219
219
|
success: false,
|
|
220
220
|
message: ( localize(
|
|
221
|
-
|
|
221
|
+
6749,
|
|
222
222
|
"Plugin '{0}' not found in '{1}'.",
|
|
223
223
|
options.plugin,
|
|
224
224
|
reference.displayLabel
|
|
@@ -245,7 +245,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
245
245
|
plugin: p
|
|
246
246
|
})));
|
|
247
247
|
const selected = await this._quickInputService.pick(picks, {
|
|
248
|
-
placeHolder: ( localize(
|
|
248
|
+
placeHolder: ( localize(6751, "Select a plugin to install from '{0}'", reference.displayLabel)),
|
|
249
249
|
canPickMany: false
|
|
250
250
|
});
|
|
251
251
|
if (!selected) {
|
|
@@ -403,15 +403,15 @@ let PluginInstallService = class PluginInstallService {
|
|
|
403
403
|
} else {
|
|
404
404
|
await this._progressService.withProgress({
|
|
405
405
|
location: ProgressLocation.Notification,
|
|
406
|
-
title: ( localize(
|
|
406
|
+
title: ( localize(6752, "Updating plugins..."))
|
|
407
407
|
}, doUpdate);
|
|
408
408
|
}
|
|
409
409
|
if (failedNames.length > 0) {
|
|
410
410
|
this._notificationService.notify({
|
|
411
411
|
severity: Severity.Error,
|
|
412
|
-
message: ( localize(
|
|
412
|
+
message: ( localize(6753, "Failed to update: {0}", failedNames.join(", "))),
|
|
413
413
|
actions: {
|
|
414
|
-
primary: [( new Action("showGitOutput", ( localize(
|
|
414
|
+
primary: [( new Action("showGitOutput", ( localize(6754, "Show Output")), undefined, true, () => {
|
|
415
415
|
this._commandService.executeCommand("git.showOutput");
|
|
416
416
|
}))]
|
|
417
417
|
}
|
|
@@ -420,7 +420,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
420
420
|
this._pluginMarketplaceService.clearUpdatesAvailable();
|
|
421
421
|
this._notificationService.notify({
|
|
422
422
|
severity: Severity.Info,
|
|
423
|
-
message: ( localize(
|
|
423
|
+
message: ( localize(6755, "Updated plugins: {0}", updatedNames.join(", ")))
|
|
424
424
|
});
|
|
425
425
|
} else if (!token.isCancellationRequested) {
|
|
426
426
|
this._pluginMarketplaceService.clearUpdatesAvailable();
|
|
@@ -445,16 +445,16 @@ let PluginInstallService = class PluginInstallService {
|
|
|
445
445
|
} = await this._dialogService.confirm({
|
|
446
446
|
type: "question",
|
|
447
447
|
message: ( localize(
|
|
448
|
-
|
|
448
|
+
6756,
|
|
449
449
|
"Trust Plugins from '{0}'?",
|
|
450
450
|
plugin.marketplaceReference.displayLabel
|
|
451
451
|
)),
|
|
452
452
|
detail: ( localize(
|
|
453
|
-
|
|
453
|
+
6757,
|
|
454
454
|
"Plugins can run code on your machine. Only install plugins from sources you trust.\n\nSource: {0}",
|
|
455
455
|
plugin.marketplaceReference.rawValue
|
|
456
456
|
)),
|
|
457
|
-
primaryButton: ( localize(
|
|
457
|
+
primaryButton: ( localize(6758, "&&Trust")),
|
|
458
458
|
custom: {
|
|
459
459
|
icon: Codicon.shield
|
|
460
460
|
}
|
|
@@ -468,7 +468,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
468
468
|
async _installRelativePathPlugin(plugin) {
|
|
469
469
|
try {
|
|
470
470
|
await this._pluginRepositoryService.ensureRepository(plugin.marketplaceReference, {
|
|
471
|
-
progressTitle: ( localize(
|
|
471
|
+
progressTitle: ( localize(6759, "Installing plugin '{0}'...", plugin.name)),
|
|
472
472
|
failureLabel: plugin.name,
|
|
473
473
|
marketplaceType: plugin.marketplaceType
|
|
474
474
|
});
|
|
@@ -482,7 +482,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
482
482
|
this._notificationService.notify({
|
|
483
483
|
severity: Severity.Error,
|
|
484
484
|
message: ( localize(
|
|
485
|
-
|
|
485
|
+
6760,
|
|
486
486
|
"Plugin source directory '{0}' is invalid for repository '{1}'.",
|
|
487
487
|
plugin.source,
|
|
488
488
|
plugin.marketplace
|
|
@@ -495,7 +495,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
495
495
|
this._notificationService.notify({
|
|
496
496
|
severity: Severity.Error,
|
|
497
497
|
message: ( localize(
|
|
498
|
-
|
|
498
|
+
6761,
|
|
499
499
|
"Plugin source directory '{0}' not found in repository '{1}'.",
|
|
500
500
|
plugin.source,
|
|
501
501
|
plugin.marketplace
|
|
@@ -510,7 +510,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
510
510
|
let pluginDir;
|
|
511
511
|
try {
|
|
512
512
|
pluginDir = await this._pluginRepositoryService.ensurePluginSource(plugin, {
|
|
513
|
-
progressTitle: ( localize(
|
|
513
|
+
progressTitle: ( localize(6759, "Installing plugin '{0}'...", plugin.name)),
|
|
514
514
|
failureLabel: plugin.name,
|
|
515
515
|
marketplaceType: plugin.marketplaceType
|
|
516
516
|
});
|
|
@@ -522,7 +522,7 @@ let PluginInstallService = class PluginInstallService {
|
|
|
522
522
|
this._notificationService.notify({
|
|
523
523
|
severity: Severity.Error,
|
|
524
524
|
message: ( localize(
|
|
525
|
-
|
|
525
|
+
6762,
|
|
526
526
|
"Plugin source '{0}' not found after cloning.",
|
|
527
527
|
repo.getLabel(plugin.sourceDescriptor)
|
|
528
528
|
))
|