@codingame/monaco-vscode-chat-service-override 32.0.0 → 32.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +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
|
@@ -20,7 +20,7 @@ var PhraseTextType;
|
|
|
20
20
|
})(PhraseTextType || (PhraseTextType = {}));
|
|
21
21
|
const VoiceChatInProgress = ( new RawContextKey("voiceChatInProgress", false, {
|
|
22
22
|
type: "boolean",
|
|
23
|
-
description: ( localize(
|
|
23
|
+
description: ( localize(8155, "A speech-to-text session is in progress for chat."))
|
|
24
24
|
}));
|
|
25
25
|
let VoiceChatService = class VoiceChatService extends Disposable {
|
|
26
26
|
static {
|
|
@@ -27,15 +27,15 @@ import { ChatEntitlementContextKeys } from '@codingame/monaco-vscode-api/vscode/
|
|
|
27
27
|
import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
28
28
|
|
|
29
29
|
CommandsRegistry.registerCommandAlias("interactiveEditor.start", "inlineChat.start");
|
|
30
|
-
const START_INLINE_CHAT = registerIcon("start-inline-chat", Codicon.sparkle, ( localize(
|
|
30
|
+
const START_INLINE_CHAT = registerIcon("start-inline-chat", Codicon.sparkle, ( localize(10414, "Icon which spawns the inline chat from the editor toolbar.")));
|
|
31
31
|
const inlineChatNotebooksOldEnabled = ( ContextKeyExpr.or(( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, CTX_INLINE_CHAT_HAS_NOTEBOOK_INLINE))));
|
|
32
32
|
const inlineChatContextKey = ( ContextKeyExpr.and(( ContextKeyExpr.or(inlineChatNotebooksOldEnabled, CTX_INLINE_CHAT_V2_ENABLED)), CTX_INLINE_CHAT_POSSIBLE, EditorContextKeys.writable, ( EditorContextKeys.editorSimpleInput.negate())));
|
|
33
33
|
class StartSessionAction extends Action2 {
|
|
34
34
|
constructor() {
|
|
35
35
|
super({
|
|
36
36
|
id: ACTION_START,
|
|
37
|
-
title: ( localize2(
|
|
38
|
-
shortTitle: ( localize2(
|
|
37
|
+
title: ( localize2(10415, "Open Inline Chat")),
|
|
38
|
+
shortTitle: ( localize2(10416, "Inline Chat")),
|
|
39
39
|
category: AbstractInlineChatAction.category,
|
|
40
40
|
f1: true,
|
|
41
41
|
precondition: ( ContextKeyExpr.and(inlineChatContextKey, ( ContextKeyExpr.or(( CTX_INLINE_CHAT_FILE_BELONGS_TO_CHAT.negate()), ( CTX_ASK_IN_CHAT_ENABLED.negate()))))),
|
|
@@ -104,8 +104,8 @@ MenuRegistry.appendMenuItem(MenuId.InlineChatEditorAffordance, {
|
|
|
104
104
|
)),
|
|
105
105
|
command: {
|
|
106
106
|
id: ACTION_START,
|
|
107
|
-
title: ( localize(
|
|
108
|
-
shortTitle: ( localize(
|
|
107
|
+
title: ( localize(10417, "Ask for Edits")),
|
|
108
|
+
shortTitle: ( localize(10418, "Ask for Edits")),
|
|
109
109
|
icon: Codicon.sparkle
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -113,7 +113,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
113
113
|
constructor() {
|
|
114
114
|
super({
|
|
115
115
|
id: "inlineChat.focus",
|
|
116
|
-
title: ( localize2(
|
|
116
|
+
title: ( localize2(10419, "Focus Input")),
|
|
117
117
|
f1: true,
|
|
118
118
|
category: AbstractInlineChatAction.category,
|
|
119
119
|
precondition: ( ContextKeyExpr.and(EditorContextKeys.editorTextFocus, CTX_INLINE_CHAT_VISIBLE, ( CTX_INLINE_CHAT_FOCUSED.negate()), ( CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate()))),
|
|
@@ -134,7 +134,7 @@ class FocusInlineChat extends EditorAction2 {
|
|
|
134
134
|
}
|
|
135
135
|
class AbstractInlineChatAction extends EditorAction2 {
|
|
136
136
|
static {
|
|
137
|
-
this.category = ( localize2(
|
|
137
|
+
this.category = ( localize2(10420, "Inline Chat"));
|
|
138
138
|
}
|
|
139
139
|
constructor(desc) {
|
|
140
140
|
const massageMenu = menu => {
|
|
@@ -200,7 +200,7 @@ class FixDiagnosticsAction extends AbstractInlineChatAction {
|
|
|
200
200
|
constructor() {
|
|
201
201
|
super({
|
|
202
202
|
id: "inlineChat.fixDiagnostics",
|
|
203
|
-
title: ( localize2(
|
|
203
|
+
title: ( localize2(10421, "Fix")),
|
|
204
204
|
icon: Codicon.editSparkle,
|
|
205
205
|
precondition: ( ContextKeyExpr.and(
|
|
206
206
|
CTX_FIX_DIAGNOSTICS_ENABLED,
|
|
@@ -261,7 +261,7 @@ class KeepSessionAction2 extends KeepOrUndoSessionAction {
|
|
|
261
261
|
constructor() {
|
|
262
262
|
super(true, {
|
|
263
263
|
id: "inlineChat2.keep",
|
|
264
|
-
title: ( localize2(
|
|
264
|
+
title: ( localize2(10422, "Keep")),
|
|
265
265
|
f1: true,
|
|
266
266
|
icon: Codicon.check,
|
|
267
267
|
precondition: ( ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, ( ctxHasRequestInProgress.negate()), ctxHasEditorModification)),
|
|
@@ -286,7 +286,7 @@ class UndoAndCloseSessionAction2 extends KeepOrUndoSessionAction {
|
|
|
286
286
|
constructor() {
|
|
287
287
|
super(false, {
|
|
288
288
|
id: "inlineChat2.close",
|
|
289
|
-
title: ( localize2(
|
|
289
|
+
title: ( localize2(10423, "Close")),
|
|
290
290
|
f1: true,
|
|
291
291
|
icon: Codicon.close,
|
|
292
292
|
precondition: ( ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE)),
|
|
@@ -307,7 +307,7 @@ class CancelSessionAction extends KeepOrUndoSessionAction {
|
|
|
307
307
|
constructor() {
|
|
308
308
|
super(false, {
|
|
309
309
|
id: "inlineChat2.cancel",
|
|
310
|
-
title: ( localize2(
|
|
310
|
+
title: ( localize2(10424, "Cancel")),
|
|
311
311
|
precondition: ( ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, ctxHasRequestInProgress)),
|
|
312
312
|
keybinding: [{
|
|
313
313
|
when: ( ContextKeyExpr.or(EditorContextKeys.focus, ChatContextKeys.inputHasFocus)),
|
|
@@ -322,7 +322,7 @@ class ContinueInlineChatInChatViewAction extends AbstractInlineChatAction {
|
|
|
322
322
|
constructor() {
|
|
323
323
|
super({
|
|
324
324
|
id: "inlineChat2.continueInChat",
|
|
325
|
-
title: ( localize2(
|
|
325
|
+
title: ( localize2(10425, "Ask in Chat")),
|
|
326
326
|
icon: Codicon.chatSparkle,
|
|
327
327
|
precondition: ( ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, CTX_INLINE_CHAT_TERMINATED)),
|
|
328
328
|
menu: [{
|
|
@@ -341,7 +341,7 @@ class RephraseInlineChatSessionAction extends AbstractInlineChatAction {
|
|
|
341
341
|
constructor() {
|
|
342
342
|
super({
|
|
343
343
|
id: "inlineChat2.rephrase",
|
|
344
|
-
title: ( localize2(
|
|
344
|
+
title: ( localize2(10426, "Rephrase")),
|
|
345
345
|
precondition: ( ContextKeyExpr.and(CTX_INLINE_CHAT_VISIBLE, CTX_INLINE_CHAT_TERMINATED)),
|
|
346
346
|
menu: [{
|
|
347
347
|
id: MenuId.ChatEditorInlineExecute,
|
|
@@ -359,7 +359,7 @@ class AskInChatAction extends EditorAction2 {
|
|
|
359
359
|
constructor() {
|
|
360
360
|
super({
|
|
361
361
|
id: ACTION_ASK_IN_CHAT,
|
|
362
|
-
title: ( localize2(
|
|
362
|
+
title: ( localize2(10427, "Ask in Chat")),
|
|
363
363
|
category: AbstractInlineChatAction.category,
|
|
364
364
|
f1: true,
|
|
365
365
|
precondition: ( ContextKeyExpr.and(
|
|
@@ -418,7 +418,7 @@ class DismissEditorAffordanceAction extends EditorAction2 {
|
|
|
418
418
|
constructor() {
|
|
419
419
|
super({
|
|
420
420
|
id: "inlineChat.dismissEditorAffordance",
|
|
421
|
-
title: ( localize2(
|
|
421
|
+
title: ( localize2(10428, "Dismiss Editor Affordance")),
|
|
422
422
|
precondition: ( ContextKeyExpr.and(CTX_INLINE_CHAT_AFFORDANCE_VISIBLE, ( ContextKeyExpr.equals("config.inlineChat.affordance", "editor")))),
|
|
423
423
|
keybinding: {
|
|
424
424
|
when: EditorContextKeys.editorTextFocus,
|
|
@@ -35,14 +35,14 @@ InlineChatDefaultModel = ( __decorate([( __param(0, ILanguageModelsService)), (
|
|
|
35
35
|
( Registry.as(Extensions.Configuration)).registerConfiguration({
|
|
36
36
|
...{
|
|
37
37
|
id: "inlineChat",
|
|
38
|
-
title: ( localize(
|
|
38
|
+
title: ( localize(10434, "Inline Chat")),
|
|
39
39
|
order: 30,
|
|
40
40
|
type: "object"
|
|
41
41
|
},
|
|
42
42
|
properties: {
|
|
43
43
|
[InlineChatConfigKeys.DefaultModel]: {
|
|
44
44
|
description: ( localize(
|
|
45
|
-
|
|
45
|
+
10435,
|
|
46
46
|
"Select the default language model to use for inline chat from the available providers. Model names may include the provider in parentheses, for example 'Claude Haiku 4.5 (copilot)'."
|
|
47
47
|
)),
|
|
48
48
|
type: "string",
|
|
@@ -215,7 +215,7 @@ let InlineChatEscapeToolContribution = class InlineChatEscapeToolContribution ex
|
|
|
215
215
|
source: ToolDataSource.Internal,
|
|
216
216
|
canBeReferencedInPrompt: false,
|
|
217
217
|
alwaysDisplayInputOutput: false,
|
|
218
|
-
displayName: ( localize(
|
|
218
|
+
displayName: ( localize(10436, "Inline Chat to Panel Chat")),
|
|
219
219
|
modelDescription: "Show a short textual response when not being able to make code changes and when not having been asked for code changes. Can also be used to move the request to the richer panel chat which supports edits across files, creating and deleting files, multi-turn conversations between the user and the assistant, and access to more IDE tools, like retrieve problems, interact with source control, run terminal commands etc.",
|
|
220
220
|
inputSchema: {
|
|
221
221
|
type: "object",
|
|
@@ -224,7 +224,7 @@ let InlineChatEscapeToolContribution = class InlineChatEscapeToolContribution ex
|
|
|
224
224
|
response: {
|
|
225
225
|
type: "string",
|
|
226
226
|
description: ( localize(
|
|
227
|
-
|
|
227
|
+
10437,
|
|
228
228
|
"Optional brief response for inline chat. Keep it at 10 words or fewer."
|
|
229
229
|
)),
|
|
230
230
|
maxLength: 200
|
|
@@ -270,11 +270,11 @@ let InlineChatEscapeToolContribution = class InlineChatEscapeToolContribution ex
|
|
|
270
270
|
kind: "text",
|
|
271
271
|
value: "Cancel"
|
|
272
272
|
}],
|
|
273
|
-
toolResultMessage: ( localize(
|
|
273
|
+
toolResultMessage: ( localize(10438, "Cancel"))
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
276
|
const response = typeof invocation.parameters?.response === "string" && invocation.parameters.response.trim().length > 0 ? invocation.parameters.response.trim() : ( localize(
|
|
277
|
-
|
|
277
|
+
10439,
|
|
278
278
|
"Inline chat is designed for making single-file code changes. Continue your request in the Chat view or rephrase it for inline chat."
|
|
279
279
|
));
|
|
280
280
|
session.setTerminationState(response);
|
|
@@ -82,8 +82,8 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
82
82
|
const arg = prompt.arguments[i];
|
|
83
83
|
const restore = backSnapshots.at(i);
|
|
84
84
|
quickPick.step = i + 1;
|
|
85
|
-
quickPick.placeholder = arg.required ? arg.description : `${arg.description || ""} (${( localize(
|
|
86
|
-
quickPick.title = ( localize(
|
|
85
|
+
quickPick.placeholder = arg.required ? arg.description : `${arg.description || ""} (${( localize(11024, "Optional"))})`;
|
|
86
|
+
quickPick.title = ( localize(11025, "Value for: {0}", arg.title || arg.name));
|
|
87
87
|
quickPick.value = restore?.value ?? ((args.hasOwnProperty(arg.name) && args[arg.name]) || "");
|
|
88
88
|
quickPick.items = restore?.items ?? [];
|
|
89
89
|
quickPick.activeItems = restore?.activeItems ?? [];
|
|
@@ -105,7 +105,7 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
quickPick.value = "";
|
|
108
|
-
quickPick.placeholder = ( localize(
|
|
108
|
+
quickPick.placeholder = ( localize(11026, "Loading..."));
|
|
109
109
|
quickPick.busy = true;
|
|
110
110
|
return args;
|
|
111
111
|
}
|
|
@@ -116,13 +116,13 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
116
116
|
const store = ( new DisposableStore());
|
|
117
117
|
const input$ = observableValue(this, quickPick.value);
|
|
118
118
|
const asyncPicks = [{
|
|
119
|
-
name: ( localize(
|
|
119
|
+
name: ( localize(11027, "Suggestions")),
|
|
120
120
|
observer: this._promptCompletions(arg, input$, argsSoFar)
|
|
121
121
|
}, {
|
|
122
|
-
name: ( localize(
|
|
122
|
+
name: ( localize(11028, "Active File")),
|
|
123
123
|
observer: this._activeFileCompletions()
|
|
124
124
|
}, {
|
|
125
|
-
name: ( localize(
|
|
125
|
+
name: ( localize(11029, "Files")),
|
|
126
126
|
observer: this._fileCompletions(input$)
|
|
127
127
|
}];
|
|
128
128
|
store.add(autorun(reader => {
|
|
@@ -133,15 +133,15 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
133
133
|
let items = [];
|
|
134
134
|
items.push({
|
|
135
135
|
id: "insert-text",
|
|
136
|
-
label: ( localize(
|
|
136
|
+
label: ( localize(11030, "Insert as text")),
|
|
137
137
|
iconClass: ThemeIcon.asClassName(Codicon.textSize),
|
|
138
138
|
action: "text",
|
|
139
139
|
alwaysShow: true
|
|
140
140
|
});
|
|
141
141
|
items.push({
|
|
142
142
|
id: "run-command",
|
|
143
|
-
label: ( localize(
|
|
144
|
-
description: ( localize(
|
|
143
|
+
label: ( localize(11031, "Run as Command")),
|
|
144
|
+
description: ( localize(11032, "Inserts the command output as the prompt argument")),
|
|
145
145
|
iconClass: ThemeIcon.asClassName(Codicon.terminal),
|
|
146
146
|
action: "command",
|
|
147
147
|
alwaysShow: true
|
|
@@ -187,7 +187,7 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
187
187
|
store.add(quickPick.onDidAccept(() => {
|
|
188
188
|
const item = quickPick.selectedItems[0];
|
|
189
189
|
if (!quickPick.value && arg.required && (!item || item.action === "text" || item.action === "command")) {
|
|
190
|
-
quickPick.validationMessage = ( localize(
|
|
190
|
+
quickPick.validationMessage = ( localize(11033, "This argument is required"));
|
|
191
191
|
} else if (!item) {
|
|
192
192
|
resolve({
|
|
193
193
|
id: "insert-text",
|
|
@@ -322,7 +322,7 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
322
322
|
const items = [];
|
|
323
323
|
items.push({
|
|
324
324
|
id: "active-file",
|
|
325
|
-
label: ( localize(
|
|
325
|
+
label: ( localize(11034, "Active File")),
|
|
326
326
|
description: this._labelService.getUriLabel(resource),
|
|
327
327
|
iconClasses: getIconClasses(this._modelService, this._languageService, resource),
|
|
328
328
|
uri: resource,
|
|
@@ -332,10 +332,10 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
332
332
|
if (selection && selection.model && selection.range && !selection.range.isEmpty()) {
|
|
333
333
|
const selectedText = selection.model.getValueInRange(selection.range);
|
|
334
334
|
const lineCount = selection.range.endLineNumber - selection.range.startLineNumber + 1;
|
|
335
|
-
const description = lineCount === 1 ? ( localize(
|
|
335
|
+
const description = lineCount === 1 ? ( localize(11035, "line {0}", selection.range.startLineNumber)) : ( localize(11036, "{0} lines", lineCount));
|
|
336
336
|
items.push({
|
|
337
337
|
id: "selected-text",
|
|
338
|
-
label: ( localize(
|
|
338
|
+
label: ( localize(11037, "Selected Text")),
|
|
339
339
|
description,
|
|
340
340
|
selectedText,
|
|
341
341
|
iconClass: ThemeIcon.asClassName(Codicon.selection),
|
|
@@ -369,7 +369,7 @@ let McpPromptArgumentPick = class McpPromptArgumentPick extends Disposable {
|
|
|
369
369
|
async _getTerminalOutput(command, token) {
|
|
370
370
|
const terminal = (this._terminal ??= this._register(await this._terminalService.createTerminal({
|
|
371
371
|
config: {
|
|
372
|
-
name: ( localize(
|
|
372
|
+
name: ( localize(11038, "MCP Terminal")),
|
|
373
373
|
isTransient: true,
|
|
374
374
|
forceShellIntegration: true,
|
|
375
375
|
isFeatureTerminal: true
|
|
@@ -42,12 +42,12 @@ registerAction2(class extends NotebookAction {
|
|
|
42
42
|
super({
|
|
43
43
|
id: "notebook.cell.chat.start",
|
|
44
44
|
title: {
|
|
45
|
-
value: "$(sparkle) " + ( localize(
|
|
45
|
+
value: "$(sparkle) " + ( localize(11551, "Generate")),
|
|
46
46
|
original: "$(sparkle) Generate"
|
|
47
47
|
},
|
|
48
|
-
tooltip: ( localize(
|
|
48
|
+
tooltip: ( localize(11552, "Start Chat to Generate Code")),
|
|
49
49
|
metadata: {
|
|
50
|
-
description: ( localize(
|
|
50
|
+
description: ( localize(11552, "Start Chat to Generate Code")),
|
|
51
51
|
args: [{
|
|
52
52
|
name: "args",
|
|
53
53
|
schema: {
|
|
@@ -128,10 +128,10 @@ registerAction2(class extends NotebookAction {
|
|
|
128
128
|
super({
|
|
129
129
|
id: "notebook.cell.chat.startAtTop",
|
|
130
130
|
title: {
|
|
131
|
-
value: "$(sparkle) " + ( localize(
|
|
131
|
+
value: "$(sparkle) " + ( localize(11551, "Generate")),
|
|
132
132
|
original: "$(sparkle) Generate"
|
|
133
133
|
},
|
|
134
|
-
tooltip: ( localize(
|
|
134
|
+
tooltip: ( localize(11552, "Start Chat to Generate Code")),
|
|
135
135
|
f1: false,
|
|
136
136
|
menu: [{
|
|
137
137
|
id: MenuId.NotebookCellListTop,
|
|
@@ -149,8 +149,8 @@ MenuRegistry.appendMenuItem(MenuId.NotebookToolbar, {
|
|
|
149
149
|
command: {
|
|
150
150
|
id: "notebook.cell.chat.start",
|
|
151
151
|
icon: Codicon.sparkle,
|
|
152
|
-
title: ( localize(
|
|
153
|
-
tooltip: ( localize(
|
|
152
|
+
title: ( localize(11553, "Generate")),
|
|
153
|
+
tooltip: ( localize(11554, "Start Chat to Generate Code"))
|
|
154
154
|
},
|
|
155
155
|
order: -10,
|
|
156
156
|
group: "navigation/add",
|
|
@@ -160,9 +160,9 @@ class AcceptChangesAndRun extends EditorAction2 {
|
|
|
160
160
|
constructor() {
|
|
161
161
|
super({
|
|
162
162
|
id: "notebook.inlineChat.acceptChangesAndRun",
|
|
163
|
-
title: ( localize2(
|
|
164
|
-
shortTitle: ( localize(
|
|
165
|
-
tooltip: ( localize(
|
|
163
|
+
title: ( localize2(11555, "Accept and Run")),
|
|
164
|
+
shortTitle: ( localize(11556, "Accept & Run")),
|
|
165
|
+
tooltip: ( localize(11557, "Accept the changes and run the cell")),
|
|
166
166
|
icon: Codicon.check,
|
|
167
167
|
f1: true,
|
|
168
168
|
precondition: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.isEqualTo(true)), CTX_INLINE_CHAT_VISIBLE)),
|
|
@@ -91,7 +91,7 @@ let NotebookChatContribution = class NotebookChatContribution extends Disposable
|
|
|
91
91
|
result.suggestions.push({
|
|
92
92
|
label: `${chatVariableLeader}${NotebookKernelVariableKey}`,
|
|
93
93
|
insertText: `${chatVariableLeader}${NotebookKernelVariableKey}:`,
|
|
94
|
-
detail: ( localize(
|
|
94
|
+
detail: ( localize(11558, "Pick a variable from the kernel")),
|
|
95
95
|
range,
|
|
96
96
|
kind: CompletionItemKind.Text,
|
|
97
97
|
command: {
|
|
@@ -198,7 +198,7 @@ class SelectAndInsertKernelVariableAction extends Action2 {
|
|
|
198
198
|
detail: variable.type
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
const placeHolder = quickPickItems.length > 0 ? ( localize(
|
|
201
|
+
const placeHolder = quickPickItems.length > 0 ? ( localize(11559, "Select a kernel variable")) : ( localize(11560, "No kernel variables found"));
|
|
202
202
|
const pickedVariable = await quickInputService.pick(quickPickItems, {
|
|
203
203
|
placeHolder
|
|
204
204
|
});
|
|
@@ -248,7 +248,7 @@ let KernelVariableContextPicker = class KernelVariableContextPicker {
|
|
|
248
248
|
this.editorService = editorService;
|
|
249
249
|
this.notebookKernelService = notebookKernelService;
|
|
250
250
|
this.type = "pickerPick";
|
|
251
|
-
this.label = ( localize(
|
|
251
|
+
this.label = ( localize(11561, "Kernel Variable..."));
|
|
252
252
|
this.icon = Codicon.serverEnvironment;
|
|
253
253
|
}
|
|
254
254
|
isEnabled(widget) {
|
|
@@ -287,7 +287,7 @@ let KernelVariableContextPicker = class KernelVariableContextPicker {
|
|
|
287
287
|
return result;
|
|
288
288
|
})();
|
|
289
289
|
return {
|
|
290
|
-
placeholder: ( localize(
|
|
290
|
+
placeholder: ( localize(11562, "Select a kernel variable")),
|
|
291
291
|
picks
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -297,7 +297,7 @@ registerAction2(class AddCellOutputToChatAction extends Action2 {
|
|
|
297
297
|
constructor() {
|
|
298
298
|
super({
|
|
299
299
|
id: "notebook.cellOutput.addToChat",
|
|
300
|
-
title: ( localize(
|
|
300
|
+
title: ( localize(11563, "Add Cell Output to Chat")),
|
|
301
301
|
menu: {
|
|
302
302
|
id: MenuId.NotebookOutputToolbar,
|
|
303
303
|
when: ( ContextKeyExpr.and(NOTEBOOK_CELL_HAS_OUTPUTS, ContextKeyExpr.in(
|
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
3
|
import { RawContextKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
4
4
|
|
|
5
|
-
const CTX_NOTEBOOK_CHAT_HAS_AGENT = ( new RawContextKey("notebookChatAgentRegistered", false, ( localize(
|
|
5
|
+
const CTX_NOTEBOOK_CHAT_HAS_AGENT = ( new RawContextKey("notebookChatAgentRegistered", false, ( localize(11564, "Whether a chat agent for notebook is registered"))));
|
|
6
6
|
|
|
7
7
|
export { CTX_NOTEBOOK_CHAT_HAS_AGENT };
|
|
@@ -13,42 +13,42 @@ import { IRemoteCodingAgentsService } from '@codingame/monaco-vscode-api/vscode/
|
|
|
13
13
|
const extensionPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
14
14
|
extensionPoint: "remoteCodingAgents",
|
|
15
15
|
jsonSchema: {
|
|
16
|
-
description: ( localize(
|
|
16
|
+
description: ( localize(12646, "Contributes remote coding agent integrations to the chat widget.")),
|
|
17
17
|
type: "array",
|
|
18
18
|
items: {
|
|
19
19
|
type: "object",
|
|
20
20
|
properties: {
|
|
21
21
|
id: {
|
|
22
|
-
description: ( localize(
|
|
22
|
+
description: ( localize(12647, "A unique identifier for this item.")),
|
|
23
23
|
type: "string"
|
|
24
24
|
},
|
|
25
25
|
command: {
|
|
26
26
|
description: ( localize(
|
|
27
|
-
|
|
27
|
+
12648,
|
|
28
28
|
"Identifier of the command to execute. The command must be declared in the \"commands\" section."
|
|
29
29
|
)),
|
|
30
30
|
type: "string"
|
|
31
31
|
},
|
|
32
32
|
displayName: {
|
|
33
33
|
description: ( localize(
|
|
34
|
-
|
|
34
|
+
12649,
|
|
35
35
|
"A user-friendly name for this item which is used for display in menus."
|
|
36
36
|
)),
|
|
37
37
|
type: "string"
|
|
38
38
|
},
|
|
39
39
|
description: {
|
|
40
|
-
description: ( localize(
|
|
40
|
+
description: ( localize(12650, "Description of the remote agent for use in menus and tooltips.")),
|
|
41
41
|
type: "string"
|
|
42
42
|
},
|
|
43
43
|
followUpRegex: {
|
|
44
44
|
description: ( localize(
|
|
45
|
-
|
|
45
|
+
12651,
|
|
46
46
|
"The last occurrence of pattern in an existing chat conversation is sent to the contributing extension to facilitate follow-up responses."
|
|
47
47
|
)),
|
|
48
48
|
type: "string"
|
|
49
49
|
},
|
|
50
50
|
when: {
|
|
51
|
-
description: ( localize(
|
|
51
|
+
description: ( localize(12652, "Condition which must be true to show this item.")),
|
|
52
52
|
type: "string"
|
|
53
53
|
}
|
|
54
54
|
},
|
|
@@ -37,68 +37,68 @@ function getAccessibilityHelpText(accessor) {
|
|
|
37
37
|
const focusResponseKeybinding = keybindingService.lookupKeybinding("chat.action.focus")?.getAriaLabel();
|
|
38
38
|
const focusInputKeybinding = keybindingService.lookupKeybinding("workbench.action.chat.focusInput")?.getAriaLabel();
|
|
39
39
|
content.push(( localize(
|
|
40
|
-
|
|
40
|
+
14274,
|
|
41
41
|
"Inline chat occurs within a terminal. It is useful for suggesting terminal commands. Keep in mind that AI generated code may be incorrect."
|
|
42
42
|
)));
|
|
43
43
|
content.push(( localize(
|
|
44
|
-
|
|
44
|
+
14275,
|
|
45
45
|
"It can be activated using the command: Terminal: Start Chat ({0}), which will focus the input box.",
|
|
46
46
|
startChatKeybinding
|
|
47
47
|
)));
|
|
48
48
|
content.push(makeRequestKeybinding ? ( localize(
|
|
49
|
-
|
|
49
|
+
14276,
|
|
50
50
|
"The input box is where the user can type a request and can make the request ({0}). The widget will be closed and all content will be discarded when the Escape key is pressed and the terminal will regain focus.",
|
|
51
51
|
makeRequestKeybinding
|
|
52
52
|
)) : ( localize(
|
|
53
|
-
|
|
53
|
+
14277,
|
|
54
54
|
"The input box is where the user can type a request and can make the request by tabbing to the Make Request button, which is not currently triggerable via keybindings. The widget will be closed and all content will be discarded when the Escape key is pressed and the terminal will regain focus."
|
|
55
55
|
)));
|
|
56
56
|
content.push(openAccessibleViewKeybinding ? ( localize(
|
|
57
|
-
|
|
57
|
+
14278,
|
|
58
58
|
"The response can be inspected in the accessible view ({0}).",
|
|
59
59
|
openAccessibleViewKeybinding
|
|
60
60
|
)) : ( localize(
|
|
61
|
-
|
|
61
|
+
14279,
|
|
62
62
|
"With the input box focused, inspect the response in the accessible view via the Open Accessible View command, which is currently not triggerable by a keybinding."
|
|
63
63
|
)));
|
|
64
64
|
content.push(focusResponseKeybinding ? ( localize(
|
|
65
|
-
|
|
65
|
+
14280,
|
|
66
66
|
"Reach the response from the input box ({0}).",
|
|
67
67
|
focusResponseKeybinding
|
|
68
68
|
)) : ( localize(
|
|
69
|
-
|
|
69
|
+
14281,
|
|
70
70
|
"Reach the response from the input box by tabbing or assigning a keybinding for the command: Focus Terminal Response."
|
|
71
71
|
)));
|
|
72
72
|
content.push(focusInputKeybinding ? ( localize(
|
|
73
|
-
|
|
73
|
+
14282,
|
|
74
74
|
"Reach the input box from the response ({0}).",
|
|
75
75
|
focusInputKeybinding
|
|
76
76
|
)) : ( localize(
|
|
77
|
-
|
|
77
|
+
14283,
|
|
78
78
|
"Reach the response from the input box by shift+tabbing or assigning a keybinding for the command: Focus Terminal Input."
|
|
79
79
|
)));
|
|
80
80
|
content.push(runCommandKeybinding ? ( localize(
|
|
81
|
-
|
|
81
|
+
14284,
|
|
82
82
|
"With focus in the input box or command editor, the Terminal: Run Chat Command ({0}) action.",
|
|
83
83
|
runCommandKeybinding
|
|
84
84
|
)) : ( localize(
|
|
85
|
-
|
|
85
|
+
14285,
|
|
86
86
|
"Run a command by tabbing to the button as the action is currently not triggerable by a keybinding."
|
|
87
87
|
)));
|
|
88
88
|
content.push(insertCommandKeybinding ? ( localize(
|
|
89
|
-
|
|
89
|
+
14286,
|
|
90
90
|
"With focus in the input box command editor, the Terminal: Insert Chat Command ({0}) action.",
|
|
91
91
|
insertCommandKeybinding
|
|
92
92
|
)) : ( localize(
|
|
93
|
-
|
|
93
|
+
14287,
|
|
94
94
|
"Insert a command by tabbing to the button as the action is currently not triggerable by a keybinding."
|
|
95
95
|
)));
|
|
96
96
|
content.push(( localize(
|
|
97
|
-
|
|
97
|
+
14288,
|
|
98
98
|
"Use tab to reach conditional parts like commands, status, message responses and more."
|
|
99
99
|
)));
|
|
100
100
|
content.push(( localize(
|
|
101
|
-
|
|
101
|
+
14289,
|
|
102
102
|
"Accessibility Signals can be changed via settings with a prefix of signals.chat. By default, if a request takes more than 4 seconds, you will hear a sound indicating that progress is still occurring."
|
|
103
103
|
)));
|
|
104
104
|
return content.join("\n");
|