@codingame/monaco-vscode-chat-service-override 23.1.0 → 23.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +41 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +48 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.js +26 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionViewModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +101 -101
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +10 -10
- 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/chatEditing/simpleBrowserEditorOverlay.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +28 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatResponseAccessibleView.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/localChatSessionsProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions.contribution.js +33 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup.js +52 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus.js +65 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputEditorHover.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsConfirmationService.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelToolsService.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/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/tools/toolSetsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatProgressTypes/chatToolInvocation.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionStore.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +26 -26
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +53 -53
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +27 -27
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatCurrentLine.js +8 -8
- 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 +18 -18
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +10 -10
- 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/monitoring/outputMonitor.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +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
|
@@ -126,46 +126,46 @@ import { ChatViewsWelcomeHandler } from './viewsWelcome/chatViewsWelcomeHandler.
|
|
|
126
126
|
const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
127
127
|
configurationRegistry.registerConfiguration({
|
|
128
128
|
id: 'chatSidebar',
|
|
129
|
-
title: ( localize(
|
|
129
|
+
title: ( localize(4850, "Chat")),
|
|
130
130
|
type: 'object',
|
|
131
131
|
properties: {
|
|
132
132
|
'chat.fontSize': {
|
|
133
133
|
type: 'number',
|
|
134
|
-
description: ( localize(
|
|
134
|
+
description: ( localize(4851, "Controls the font size in pixels in chat messages.")),
|
|
135
135
|
default: 13,
|
|
136
136
|
minimum: 6,
|
|
137
137
|
maximum: 100
|
|
138
138
|
},
|
|
139
139
|
'chat.fontFamily': {
|
|
140
140
|
type: 'string',
|
|
141
|
-
description: ( localize(
|
|
141
|
+
description: ( localize(4852, "Controls the font family in chat messages.")),
|
|
142
142
|
default: 'default'
|
|
143
143
|
},
|
|
144
144
|
'chat.editor.fontSize': {
|
|
145
145
|
type: 'number',
|
|
146
|
-
description: ( localize(
|
|
146
|
+
description: ( localize(4853, "Controls the font size in pixels in chat codeblocks.")),
|
|
147
147
|
default: isMacintosh ? 12 : 14,
|
|
148
148
|
},
|
|
149
149
|
'chat.editor.fontFamily': {
|
|
150
150
|
type: 'string',
|
|
151
|
-
description: ( localize(
|
|
151
|
+
description: ( localize(4854, "Controls the font family in chat codeblocks.")),
|
|
152
152
|
default: 'default'
|
|
153
153
|
},
|
|
154
154
|
'chat.editor.fontWeight': {
|
|
155
155
|
type: 'string',
|
|
156
|
-
description: ( localize(
|
|
156
|
+
description: ( localize(4855, "Controls the font weight in chat codeblocks.")),
|
|
157
157
|
default: 'default'
|
|
158
158
|
},
|
|
159
159
|
'chat.editor.wordWrap': {
|
|
160
160
|
type: 'string',
|
|
161
|
-
description: ( localize(
|
|
161
|
+
description: ( localize(4856, "Controls whether lines should wrap in chat codeblocks.")),
|
|
162
162
|
default: 'off',
|
|
163
163
|
enum: ['on', 'off']
|
|
164
164
|
},
|
|
165
165
|
'chat.editor.lineHeight': {
|
|
166
166
|
type: 'number',
|
|
167
167
|
description: ( localize(
|
|
168
|
-
|
|
168
|
+
4857,
|
|
169
169
|
"Controls the line height in pixels in chat codeblocks. Use 0 to compute the line height from the font size."
|
|
170
170
|
)),
|
|
171
171
|
default: 0
|
|
@@ -173,7 +173,7 @@ configurationRegistry.registerConfiguration({
|
|
|
173
173
|
'chat.commandCenter.enabled': {
|
|
174
174
|
type: 'boolean',
|
|
175
175
|
markdownDescription: ( localize(
|
|
176
|
-
|
|
176
|
+
4858,
|
|
177
177
|
"Controls whether the command center shows a menu for actions to control chat (requires {0}).",
|
|
178
178
|
'`#window.commandCenter#`'
|
|
179
179
|
)),
|
|
@@ -183,17 +183,17 @@ configurationRegistry.registerConfiguration({
|
|
|
183
183
|
type: 'object',
|
|
184
184
|
tags: ['experimental'],
|
|
185
185
|
description: ( localize(
|
|
186
|
-
|
|
186
|
+
4859,
|
|
187
187
|
"Enables automatically using the active editor as chat context for specified chat locations."
|
|
188
188
|
)),
|
|
189
189
|
additionalProperties: {
|
|
190
190
|
type: 'string',
|
|
191
191
|
enum: ['never', 'first', 'always'],
|
|
192
|
-
description: ( localize(
|
|
192
|
+
description: ( localize(4860, "The value for the implicit context.")),
|
|
193
193
|
enumDescriptions: [
|
|
194
|
-
( localize(
|
|
195
|
-
( localize(
|
|
196
|
-
( localize(
|
|
194
|
+
( localize(4861, "Implicit context is never enabled.")),
|
|
195
|
+
( localize(4862, "Implicit context is enabled for the first interaction.")),
|
|
196
|
+
( localize(4863, "Implicit context is always enabled."))
|
|
197
197
|
]
|
|
198
198
|
},
|
|
199
199
|
default: {
|
|
@@ -204,7 +204,7 @@ configurationRegistry.registerConfiguration({
|
|
|
204
204
|
type: 'boolean',
|
|
205
205
|
tags: ['experimental'],
|
|
206
206
|
markdownDescription: ( localize(
|
|
207
|
-
|
|
207
|
+
4864,
|
|
208
208
|
"Controls whether the new implicit context flow is shown. In Ask and Edit modes, the context will automatically be included. When using an agent, context will be suggested as an attachment. Selections are always included as context."
|
|
209
209
|
)),
|
|
210
210
|
default: true,
|
|
@@ -212,7 +212,7 @@ configurationRegistry.registerConfiguration({
|
|
|
212
212
|
'chat.editing.autoAcceptDelay': {
|
|
213
213
|
type: 'number',
|
|
214
214
|
markdownDescription: ( localize(
|
|
215
|
-
|
|
215
|
+
4865,
|
|
216
216
|
"Delay after which changes made by chat are automatically accepted. Values are in seconds, `0` means disabled and `100` seconds is the maximum."
|
|
217
217
|
)),
|
|
218
218
|
default: 0,
|
|
@@ -223,7 +223,7 @@ configurationRegistry.registerConfiguration({
|
|
|
223
223
|
type: 'boolean',
|
|
224
224
|
scope: ConfigurationScope.APPLICATION,
|
|
225
225
|
markdownDescription: ( localize(
|
|
226
|
-
|
|
226
|
+
4866,
|
|
227
227
|
"Whether to show a confirmation before removing a request and its associated edits."
|
|
228
228
|
)),
|
|
229
229
|
default: true,
|
|
@@ -232,7 +232,7 @@ configurationRegistry.registerConfiguration({
|
|
|
232
232
|
type: 'boolean',
|
|
233
233
|
scope: ConfigurationScope.APPLICATION,
|
|
234
234
|
markdownDescription: ( localize(
|
|
235
|
-
|
|
235
|
+
4867,
|
|
236
236
|
"Whether to show a confirmation before retrying a request and its associated edits."
|
|
237
237
|
)),
|
|
238
238
|
default: true,
|
|
@@ -240,21 +240,21 @@ configurationRegistry.registerConfiguration({
|
|
|
240
240
|
'chat.experimental.detectParticipant.enabled': {
|
|
241
241
|
type: 'boolean',
|
|
242
242
|
deprecationMessage: ( localize(
|
|
243
|
-
|
|
243
|
+
4868,
|
|
244
244
|
"This setting is deprecated. Please use `chat.detectParticipant.enabled` instead."
|
|
245
245
|
)),
|
|
246
|
-
description: ( localize(
|
|
246
|
+
description: ( localize(4869, "Enables chat participant autodetection for panel chat.")),
|
|
247
247
|
default: null
|
|
248
248
|
},
|
|
249
249
|
'chat.detectParticipant.enabled': {
|
|
250
250
|
type: 'boolean',
|
|
251
|
-
description: ( localize(
|
|
251
|
+
description: ( localize(4870, "Enables chat participant autodetection for panel chat.")),
|
|
252
252
|
default: true
|
|
253
253
|
},
|
|
254
254
|
'chat.renderRelatedFiles': {
|
|
255
255
|
type: 'boolean',
|
|
256
256
|
description: ( localize(
|
|
257
|
-
|
|
257
|
+
4871,
|
|
258
258
|
"Controls whether related files should be rendered in the chat input."
|
|
259
259
|
)),
|
|
260
260
|
default: false
|
|
@@ -262,7 +262,7 @@ configurationRegistry.registerConfiguration({
|
|
|
262
262
|
'chat.notifyWindowOnConfirmation': {
|
|
263
263
|
type: 'boolean',
|
|
264
264
|
description: ( localize(
|
|
265
|
-
|
|
265
|
+
4872,
|
|
266
266
|
"Controls whether a chat session should present the user with an OS notification when a confirmation is needed while the window is not in focus. This includes a window badge as well as notification toast."
|
|
267
267
|
)),
|
|
268
268
|
default: true,
|
|
@@ -282,7 +282,7 @@ configurationRegistry.registerConfiguration({
|
|
|
282
282
|
description: {
|
|
283
283
|
key: 'autoApprove2.description',
|
|
284
284
|
value: ( localize(
|
|
285
|
-
|
|
285
|
+
4873,
|
|
286
286
|
'Global auto approve also known as "YOLO mode" disables manual approval completely for all tools in all workspaces, allowing the agent to act fully autonomously. This is extremely dangerous and is *never* recommended, even containerized environments like Codespaces and Dev Containers have user keys forwarded into the container that could be compromised.\n\nThis feature disables critical security protections and makes it much easier for an attacker to compromise the machine.'
|
|
287
287
|
))
|
|
288
288
|
}
|
|
@@ -298,7 +298,7 @@ configurationRegistry.registerConfiguration({
|
|
|
298
298
|
'**/*.{code-workspace,csproj,fsproj,vbproj,vcxproj,proj,targets,props}': false,
|
|
299
299
|
},
|
|
300
300
|
markdownDescription: ( localize(
|
|
301
|
-
|
|
301
|
+
4874,
|
|
302
302
|
"Controls whether edits made by chat are automatically approved. The default is to approve all edits except those made to certain files which have the potential to cause immediate unintended side-effects, such as `**/.vscode/*.json`.\n\nSet to `true` to automatically approve edits to matching files, `false` to always require explicit approval. The last pattern matching a given file will determine whether the edit is automatically approved."
|
|
303
303
|
)),
|
|
304
304
|
type: 'object',
|
|
@@ -309,7 +309,7 @@ configurationRegistry.registerConfiguration({
|
|
|
309
309
|
[ChatConfiguration.EligibleForAutoApproval]: {
|
|
310
310
|
default: {},
|
|
311
311
|
markdownDescription: ( localize(
|
|
312
|
-
|
|
312
|
+
4875,
|
|
313
313
|
'Controls which tools are eligible for automatic approval. Tools set to \'false\' will always present a confirmation and will never offer the option to auto-approve. The default behavior (or setting a tool to \'true\') may result in the tool offering auto-approval options.'
|
|
314
314
|
)),
|
|
315
315
|
type: 'object',
|
|
@@ -331,7 +331,7 @@ configurationRegistry.registerConfiguration({
|
|
|
331
331
|
description: {
|
|
332
332
|
key: 'chat.tools.eligibleForAutoApproval',
|
|
333
333
|
value: ( localize(
|
|
334
|
-
|
|
334
|
+
4875,
|
|
335
335
|
'Controls which tools are eligible for automatic approval. Tools set to \'false\' will always present a confirmation and will never offer the option to auto-approve. The default behavior (or setting a tool to \'true\') may result in the tool offering auto-approval options.'
|
|
336
336
|
))
|
|
337
337
|
}
|
|
@@ -341,7 +341,7 @@ configurationRegistry.registerConfiguration({
|
|
|
341
341
|
'chat.sendElementsToChat.enabled': {
|
|
342
342
|
default: true,
|
|
343
343
|
description: ( localize(
|
|
344
|
-
|
|
344
|
+
4876,
|
|
345
345
|
"Controls whether elements can be sent to chat from the Simple Browser."
|
|
346
346
|
)),
|
|
347
347
|
type: 'boolean',
|
|
@@ -350,7 +350,7 @@ configurationRegistry.registerConfiguration({
|
|
|
350
350
|
'chat.sendElementsToChat.attachCSS': {
|
|
351
351
|
default: true,
|
|
352
352
|
markdownDescription: ( localize(
|
|
353
|
-
|
|
353
|
+
4877,
|
|
354
354
|
"Controls whether CSS of the selected element will be added to the chat. {0} must be enabled.",
|
|
355
355
|
'`#chat.sendElementsToChat.enabled#`'
|
|
356
356
|
)),
|
|
@@ -360,7 +360,7 @@ configurationRegistry.registerConfiguration({
|
|
|
360
360
|
'chat.sendElementsToChat.attachImages': {
|
|
361
361
|
default: true,
|
|
362
362
|
markdownDescription: ( localize(
|
|
363
|
-
|
|
363
|
+
4878,
|
|
364
364
|
"Controls whether a screenshot of the selected element will be added to the chat. {0} must be enabled.",
|
|
365
365
|
'`#chat.sendElementsToChat.enabled#`'
|
|
366
366
|
)),
|
|
@@ -370,7 +370,7 @@ configurationRegistry.registerConfiguration({
|
|
|
370
370
|
'chat.undoRequests.restoreInput': {
|
|
371
371
|
default: true,
|
|
372
372
|
markdownDescription: ( localize(
|
|
373
|
-
|
|
373
|
+
4879,
|
|
374
374
|
"Controls whether the input of the chat should be restored when an undo request is made. The input will be filled with the text of the request that was restored."
|
|
375
375
|
)),
|
|
376
376
|
type: 'boolean',
|
|
@@ -378,7 +378,7 @@ configurationRegistry.registerConfiguration({
|
|
|
378
378
|
},
|
|
379
379
|
'chat.editRequests': {
|
|
380
380
|
markdownDescription: ( localize(
|
|
381
|
-
|
|
381
|
+
4880,
|
|
382
382
|
"Enables editing of requests in the chat. This allows you to change the request content and resubmit it to the model."
|
|
383
383
|
)),
|
|
384
384
|
type: 'string',
|
|
@@ -388,14 +388,14 @@ configurationRegistry.registerConfiguration({
|
|
|
388
388
|
[ChatConfiguration.EmptyStateHistoryEnabled]: {
|
|
389
389
|
type: 'boolean',
|
|
390
390
|
default: product.quality === 'insiders',
|
|
391
|
-
description: ( localize(
|
|
391
|
+
description: ( localize(4881, "Show recent chat history on the empty chat state.")),
|
|
392
392
|
tags: ['experimental']
|
|
393
393
|
},
|
|
394
394
|
[ChatConfiguration.NotifyWindowOnResponseReceived]: {
|
|
395
395
|
type: 'boolean',
|
|
396
396
|
default: true,
|
|
397
397
|
description: ( localize(
|
|
398
|
-
|
|
398
|
+
4882,
|
|
399
399
|
"Controls whether a chat session should present the user with an OS notification when a response is received while the window is not in focus. This includes a window badge as well as notification toast."
|
|
400
400
|
)),
|
|
401
401
|
},
|
|
@@ -403,30 +403,30 @@ configurationRegistry.registerConfiguration({
|
|
|
403
403
|
type: 'boolean',
|
|
404
404
|
default: true,
|
|
405
405
|
description: ( localize(
|
|
406
|
-
|
|
406
|
+
4883,
|
|
407
407
|
"Enables checkpoints in chat. Checkpoints allow you to restore the chat to a previous state."
|
|
408
408
|
)),
|
|
409
409
|
},
|
|
410
410
|
'chat.checkpoints.showFileChanges': {
|
|
411
411
|
type: 'boolean',
|
|
412
|
-
description: ( localize(
|
|
412
|
+
description: ( localize(4884, "Controls whether to show chat checkpoint file changes.")),
|
|
413
413
|
default: false
|
|
414
414
|
},
|
|
415
415
|
[mcpAccessConfig]: {
|
|
416
416
|
type: 'string',
|
|
417
|
-
description: ( localize(
|
|
417
|
+
description: ( localize(4885, "Controls access to installed Model Context Protocol servers.")),
|
|
418
418
|
enum: [
|
|
419
419
|
McpAccessValue.None,
|
|
420
420
|
McpAccessValue.Registry,
|
|
421
421
|
McpAccessValue.All
|
|
422
422
|
],
|
|
423
423
|
enumDescriptions: [
|
|
424
|
-
( localize(
|
|
424
|
+
( localize(4886, "No access to MCP servers.")),
|
|
425
425
|
( localize(
|
|
426
|
-
|
|
426
|
+
4887,
|
|
427
427
|
"Allows access to MCP servers installed from the registry that VS Code is connected to."
|
|
428
428
|
)),
|
|
429
|
-
( localize(
|
|
429
|
+
( localize(4888, "Allow access to any installed MCP server."))
|
|
430
430
|
],
|
|
431
431
|
default: McpAccessValue.All,
|
|
432
432
|
policy: {
|
|
@@ -445,20 +445,20 @@ configurationRegistry.registerConfiguration({
|
|
|
445
445
|
localization: {
|
|
446
446
|
description: {
|
|
447
447
|
key: 'chat.mcp.access',
|
|
448
|
-
value: ( localize(
|
|
448
|
+
value: ( localize(4885, "Controls access to installed Model Context Protocol servers."))
|
|
449
449
|
},
|
|
450
450
|
enumDescriptions: [
|
|
451
451
|
{
|
|
452
|
-
key: 'chat.mcp.access.none', value: ( localize(
|
|
452
|
+
key: 'chat.mcp.access.none', value: ( localize(4886, "No access to MCP servers.")),
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
key: 'chat.mcp.access.registry', value: ( localize(
|
|
456
|
-
|
|
456
|
+
4887,
|
|
457
457
|
"Allows access to MCP servers installed from the registry that VS Code is connected to."
|
|
458
458
|
)),
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
|
-
key: 'chat.mcp.access.any', value: ( localize(
|
|
461
|
+
key: 'chat.mcp.access.any', value: ( localize(4888, "Allow access to any installed MCP server."))
|
|
462
462
|
}
|
|
463
463
|
]
|
|
464
464
|
},
|
|
@@ -467,7 +467,7 @@ configurationRegistry.registerConfiguration({
|
|
|
467
467
|
[mcpAutoStartConfig]: {
|
|
468
468
|
type: 'string',
|
|
469
469
|
description: ( localize(
|
|
470
|
-
|
|
470
|
+
4889,
|
|
471
471
|
"Controls whether MCP servers should be automatically started when the chat messages are submitted."
|
|
472
472
|
)),
|
|
473
473
|
default: McpAutoStartValue.NewAndOutdated,
|
|
@@ -477,10 +477,10 @@ configurationRegistry.registerConfiguration({
|
|
|
477
477
|
McpAutoStartValue.NewAndOutdated
|
|
478
478
|
],
|
|
479
479
|
enumDescriptions: [
|
|
480
|
-
( localize(
|
|
481
|
-
( localize(
|
|
480
|
+
( localize(4890, "Never automatically start MCP servers.")),
|
|
481
|
+
( localize(4891, "Only automatically start new MCP servers that have never been run.")),
|
|
482
482
|
( localize(
|
|
483
|
-
|
|
483
|
+
4892,
|
|
484
484
|
"Automatically start new and outdated MCP servers that are not yet running."
|
|
485
485
|
))
|
|
486
486
|
],
|
|
@@ -489,9 +489,9 @@ configurationRegistry.registerConfiguration({
|
|
|
489
489
|
[mcpServerSamplingSection]: {
|
|
490
490
|
type: 'object',
|
|
491
491
|
description: ( localize(
|
|
492
|
-
|
|
492
|
+
4893,
|
|
493
493
|
"Configures which models are exposed to MCP servers for sampling (making model requests in the background). This setting can be edited in a graphical way under the `{0}` command.",
|
|
494
|
-
'MCP: ' + ( localize(
|
|
494
|
+
'MCP: ' + ( localize(4894, 'List Servers'))
|
|
495
495
|
)),
|
|
496
496
|
scope: ConfigurationScope.RESOURCE,
|
|
497
497
|
additionalProperties: {
|
|
@@ -500,7 +500,7 @@ configurationRegistry.registerConfiguration({
|
|
|
500
500
|
allowedDuringChat: {
|
|
501
501
|
type: 'boolean',
|
|
502
502
|
description: ( localize(
|
|
503
|
-
|
|
503
|
+
4895,
|
|
504
504
|
"Whether this server is make sampling requests during its tool calls in a chat session."
|
|
505
505
|
)),
|
|
506
506
|
default: true,
|
|
@@ -508,7 +508,7 @@ configurationRegistry.registerConfiguration({
|
|
|
508
508
|
allowedOutsideChat: {
|
|
509
509
|
type: 'boolean',
|
|
510
510
|
description: ( localize(
|
|
511
|
-
|
|
511
|
+
4896,
|
|
512
512
|
"Whether this server is allowed to make sampling requests outside of a chat session."
|
|
513
513
|
)),
|
|
514
514
|
default: false,
|
|
@@ -517,7 +517,7 @@ configurationRegistry.registerConfiguration({
|
|
|
517
517
|
type: 'array',
|
|
518
518
|
items: {
|
|
519
519
|
type: 'string',
|
|
520
|
-
description: ( localize(
|
|
520
|
+
description: ( localize(4897, "A model the MCP server has access to.")),
|
|
521
521
|
},
|
|
522
522
|
}
|
|
523
523
|
}
|
|
@@ -526,7 +526,7 @@ configurationRegistry.registerConfiguration({
|
|
|
526
526
|
[AssistedTypes[AddConfigurationType.NuGetPackage].enabledConfigKey]: {
|
|
527
527
|
type: 'boolean',
|
|
528
528
|
description: ( localize(
|
|
529
|
-
|
|
529
|
+
4898,
|
|
530
530
|
"Enables NuGet packages for AI-assisted MCP server installation. Used to install MCP servers by name from the central registry for .NET packages (NuGet.org)."
|
|
531
531
|
)),
|
|
532
532
|
default: false,
|
|
@@ -538,14 +538,14 @@ configurationRegistry.registerConfiguration({
|
|
|
538
538
|
[ChatConfiguration.Edits2Enabled]: {
|
|
539
539
|
type: 'boolean',
|
|
540
540
|
description: ( localize(
|
|
541
|
-
|
|
541
|
+
4899,
|
|
542
542
|
"Enable the new Edits mode that is based on tool-calling. When this is enabled, models that don't support tool-calling are unavailable for Edits mode."
|
|
543
543
|
)),
|
|
544
544
|
default: false,
|
|
545
545
|
},
|
|
546
546
|
[ChatConfiguration.ExtensionToolsEnabled]: {
|
|
547
547
|
type: 'boolean',
|
|
548
|
-
description: ( localize(
|
|
548
|
+
description: ( localize(4900, "Enable using tools contributed by third-party extensions.")),
|
|
549
549
|
default: true,
|
|
550
550
|
policy: {
|
|
551
551
|
name: 'ChatAgentExtensionTools',
|
|
@@ -554,7 +554,7 @@ configurationRegistry.registerConfiguration({
|
|
|
554
554
|
localization: {
|
|
555
555
|
description: {
|
|
556
556
|
key: 'chat.extensionToolsEnabled',
|
|
557
|
-
value: ( localize(
|
|
557
|
+
value: ( localize(4900, "Enable using tools contributed by third-party extensions."))
|
|
558
558
|
}
|
|
559
559
|
},
|
|
560
560
|
}
|
|
@@ -562,7 +562,7 @@ configurationRegistry.registerConfiguration({
|
|
|
562
562
|
[ChatConfiguration.AgentEnabled]: {
|
|
563
563
|
type: 'boolean',
|
|
564
564
|
description: ( localize(
|
|
565
|
-
|
|
565
|
+
4901,
|
|
566
566
|
"Enable agent mode for chat. When this is enabled, agent mode can be activated via the dropdown in the view."
|
|
567
567
|
)),
|
|
568
568
|
default: true,
|
|
@@ -575,7 +575,7 @@ configurationRegistry.registerConfiguration({
|
|
|
575
575
|
description: {
|
|
576
576
|
key: 'chat.agent.enabled.description',
|
|
577
577
|
value: ( localize(
|
|
578
|
-
|
|
578
|
+
4901,
|
|
579
579
|
"Enable agent mode for chat. When this is enabled, agent mode can be activated via the dropdown in the view."
|
|
580
580
|
)),
|
|
581
581
|
}
|
|
@@ -584,14 +584,14 @@ configurationRegistry.registerConfiguration({
|
|
|
584
584
|
},
|
|
585
585
|
[ChatConfiguration.EnableMath]: {
|
|
586
586
|
type: 'boolean',
|
|
587
|
-
description: ( localize(
|
|
587
|
+
description: ( localize(4902, "Enable math rendering in chat responses using KaTeX.")),
|
|
588
588
|
default: true,
|
|
589
589
|
tags: ['preview'],
|
|
590
590
|
},
|
|
591
591
|
[ChatConfiguration.AgentSessionsViewLocation]: {
|
|
592
592
|
type: 'string',
|
|
593
593
|
enum: ['disabled', 'view', 'single-view'],
|
|
594
|
-
description: ( localize(
|
|
594
|
+
description: ( localize(4903, "Controls where to show the agent sessions menu.")),
|
|
595
595
|
default: 'view',
|
|
596
596
|
tags: ['experimental'],
|
|
597
597
|
experiment: {
|
|
@@ -606,7 +606,7 @@ configurationRegistry.registerConfiguration({
|
|
|
606
606
|
additionalProperties: false,
|
|
607
607
|
default: Object.fromEntries(( allDiscoverySources.map(k => [k, false]))),
|
|
608
608
|
markdownDescription: ( localize(
|
|
609
|
-
|
|
609
|
+
4904,
|
|
610
610
|
"Configures discovery of Model Context Protocol servers from configuration from various other applications."
|
|
611
611
|
)),
|
|
612
612
|
},
|
|
@@ -615,14 +615,14 @@ configurationRegistry.registerConfiguration({
|
|
|
615
615
|
default: false,
|
|
616
616
|
tags: ['preview'],
|
|
617
617
|
description: ( localize(
|
|
618
|
-
|
|
618
|
+
4905,
|
|
619
619
|
"Enables the default Marketplace for Model Context Protocol (MCP) servers."
|
|
620
620
|
)),
|
|
621
621
|
included: product.quality === 'stable'
|
|
622
622
|
},
|
|
623
623
|
[mcpGalleryServiceUrlConfig]: {
|
|
624
624
|
type: 'string',
|
|
625
|
-
description: ( localize(
|
|
625
|
+
description: ( localize(4906, "Configure the MCP Gallery service URL to connect to")),
|
|
626
626
|
default: '',
|
|
627
627
|
scope: ConfigurationScope.APPLICATION,
|
|
628
628
|
tags: ['usesOnlineServices', 'advanced'],
|
|
@@ -635,16 +635,16 @@ configurationRegistry.registerConfiguration({
|
|
|
635
635
|
localization: {
|
|
636
636
|
description: {
|
|
637
637
|
key: 'mcp.gallery.serviceUrl',
|
|
638
|
-
value: ( localize(
|
|
638
|
+
value: ( localize(4906, "Configure the MCP Gallery service URL to connect to")),
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
},
|
|
642
642
|
},
|
|
643
643
|
[PromptsConfig.INSTRUCTIONS_LOCATION_KEY]: {
|
|
644
644
|
type: 'object',
|
|
645
|
-
title: ( localize(
|
|
645
|
+
title: ( localize(4907, "Instructions File Locations")),
|
|
646
646
|
markdownDescription: ( localize(
|
|
647
|
-
|
|
647
|
+
4908,
|
|
648
648
|
"Specify location(s) of instructions files (`*{0}`) that can be attached in Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
|
|
649
649
|
INSTRUCTION_FILE_EXTENSION,
|
|
650
650
|
INSTRUCTIONS_DOCUMENTATION_URL
|
|
@@ -667,9 +667,9 @@ configurationRegistry.registerConfiguration({
|
|
|
667
667
|
},
|
|
668
668
|
[PromptsConfig.PROMPT_LOCATIONS_KEY]: {
|
|
669
669
|
type: 'object',
|
|
670
|
-
title: ( localize(
|
|
670
|
+
title: ( localize(4909, "Prompt File Locations")),
|
|
671
671
|
markdownDescription: ( localize(
|
|
672
|
-
|
|
672
|
+
4910,
|
|
673
673
|
"Specify location(s) of reusable prompt files (`*{0}`) that can be run in Chat sessions. [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
|
|
674
674
|
PROMPT_FILE_EXTENSION,
|
|
675
675
|
PROMPT_DOCUMENTATION_URL
|
|
@@ -693,9 +693,9 @@ configurationRegistry.registerConfiguration({
|
|
|
693
693
|
},
|
|
694
694
|
[PromptsConfig.MODE_LOCATION_KEY]: {
|
|
695
695
|
type: 'object',
|
|
696
|
-
title: ( localize(
|
|
696
|
+
title: ( localize(4911, "Mode File Locations")),
|
|
697
697
|
markdownDescription: ( localize(
|
|
698
|
-
|
|
698
|
+
4912,
|
|
699
699
|
"Specify location(s) of custom chat mode files (`*{0}`). [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
|
|
700
700
|
LEGACY_MODE_FILE_EXTENSION,
|
|
701
701
|
AGENT_DOCUMENTATION_URL
|
|
@@ -704,7 +704,7 @@ configurationRegistry.registerConfiguration({
|
|
|
704
704
|
[LEGACY_MODE_DEFAULT_SOURCE_FOLDER]: true,
|
|
705
705
|
},
|
|
706
706
|
deprecationMessage: ( localize(
|
|
707
|
-
|
|
707
|
+
4913,
|
|
708
708
|
"This setting is deprecated and will be removed in future releases. Chat modes are now called custom agents and are located in `.github/agents`"
|
|
709
709
|
)),
|
|
710
710
|
additionalProperties: { type: 'boolean' },
|
|
@@ -723,9 +723,9 @@ configurationRegistry.registerConfiguration({
|
|
|
723
723
|
},
|
|
724
724
|
[PromptsConfig.USE_AGENT_MD]: {
|
|
725
725
|
type: 'boolean',
|
|
726
|
-
title: ( localize(
|
|
726
|
+
title: ( localize(4914, "Use AGENTS.MD file")),
|
|
727
727
|
markdownDescription: ( localize(
|
|
728
|
-
|
|
728
|
+
4915,
|
|
729
729
|
"Controls whether instructions from `AGENTS.MD` file found in a workspace roots are added to all chat requests."
|
|
730
730
|
)),
|
|
731
731
|
default: true,
|
|
@@ -735,9 +735,9 @@ configurationRegistry.registerConfiguration({
|
|
|
735
735
|
},
|
|
736
736
|
[PromptsConfig.USE_NESTED_AGENT_MD]: {
|
|
737
737
|
type: 'boolean',
|
|
738
|
-
title: ( localize(
|
|
738
|
+
title: ( localize(4916, "Use nested AGENTS.MD files")),
|
|
739
739
|
markdownDescription: ( localize(
|
|
740
|
-
|
|
740
|
+
4917,
|
|
741
741
|
"Controls whether instructions `AGENTS.MD` files found in the workspace are listed in all chat requests."
|
|
742
742
|
)),
|
|
743
743
|
default: false,
|
|
@@ -748,9 +748,9 @@ configurationRegistry.registerConfiguration({
|
|
|
748
748
|
[PromptsConfig.PROMPT_FILES_SUGGEST_KEY]: {
|
|
749
749
|
type: 'object',
|
|
750
750
|
scope: ConfigurationScope.RESOURCE,
|
|
751
|
-
title: ( localize(
|
|
751
|
+
title: ( localize(4918, "Prompt File Recommendations")),
|
|
752
752
|
markdownDescription: ( localize(
|
|
753
|
-
|
|
753
|
+
4919,
|
|
754
754
|
"Configure which prompt files to recommend in the chat welcome view. Each key is a prompt file name, and the value can be `true` to always recommend, `false` to never recommend, or a [when clause](https://aka.ms/vscode-when-clause) expression like `resourceExtname == .js` or `resourceLangId == markdown`."
|
|
755
755
|
)),
|
|
756
756
|
default: {},
|
|
@@ -773,7 +773,7 @@ configurationRegistry.registerConfiguration({
|
|
|
773
773
|
type: 'boolean',
|
|
774
774
|
default: true,
|
|
775
775
|
description: ( localize(
|
|
776
|
-
|
|
776
|
+
4920,
|
|
777
777
|
"Controls whether to show the todo list widget above the chat input. When enabled, the widget displays todo items created by the agent and updates as progress is made."
|
|
778
778
|
)),
|
|
779
779
|
tags: ['experimental'],
|
|
@@ -785,7 +785,7 @@ configurationRegistry.registerConfiguration({
|
|
|
785
785
|
type: 'boolean',
|
|
786
786
|
default: false,
|
|
787
787
|
description: ( localize(
|
|
788
|
-
|
|
788
|
+
4921,
|
|
789
789
|
"When enabled, the todo tool operates in write-only mode, requiring the agent to remember todos in context."
|
|
790
790
|
)),
|
|
791
791
|
tags: ['experimental'],
|
|
@@ -797,7 +797,7 @@ configurationRegistry.registerConfiguration({
|
|
|
797
797
|
type: 'boolean',
|
|
798
798
|
default: true,
|
|
799
799
|
description: ( localize(
|
|
800
|
-
|
|
800
|
+
4922,
|
|
801
801
|
"When enabled, todo items include detailed descriptions for implementation context. This provides more information but uses additional tokens and may slow down responses."
|
|
802
802
|
)),
|
|
803
803
|
tags: ['experimental'],
|
|
@@ -810,17 +810,17 @@ configurationRegistry.registerConfiguration({
|
|
|
810
810
|
default: 'fixedScrolling',
|
|
811
811
|
enum: ['collapsed', 'collapsedPreview', 'fixedScrolling'],
|
|
812
812
|
enumDescriptions: [
|
|
813
|
-
( localize(
|
|
813
|
+
( localize(4923, "Thinking parts will be collapsed by default.")),
|
|
814
814
|
( localize(
|
|
815
|
-
|
|
815
|
+
4924,
|
|
816
816
|
"Thinking parts will be expanded first, then collapse once we reach a part that is not thinking."
|
|
817
817
|
)),
|
|
818
818
|
( localize(
|
|
819
|
-
|
|
819
|
+
4925,
|
|
820
820
|
"Show thinking in a fixed-height streaming panel that auto-scrolls; click header to expand to full height."
|
|
821
821
|
)),
|
|
822
822
|
],
|
|
823
|
-
description: ( localize(
|
|
823
|
+
description: ( localize(4926, "Controls how thinking is rendered.")),
|
|
824
824
|
tags: ['experimental'],
|
|
825
825
|
},
|
|
826
826
|
'chat.agent.thinking.collapsedTools': {
|
|
@@ -828,15 +828,15 @@ configurationRegistry.registerConfiguration({
|
|
|
828
828
|
default: 'readOnly',
|
|
829
829
|
enum: ['none', 'all', 'readOnly'],
|
|
830
830
|
enumDescriptions: [
|
|
831
|
-
( localize(
|
|
832
|
-
( localize(
|
|
831
|
+
( localize(4927, "No tool calls are added into the collapsible thinking section.")),
|
|
832
|
+
( localize(4928, "All tool calls are added into the collapsible thinking section.")),
|
|
833
833
|
( localize(
|
|
834
|
-
|
|
834
|
+
4929,
|
|
835
835
|
"Only read-only tool calls are added into the collapsible thinking section."
|
|
836
836
|
)),
|
|
837
837
|
],
|
|
838
838
|
markdownDescription: ( localize(
|
|
839
|
-
|
|
839
|
+
4930,
|
|
840
840
|
"When enabled, tool calls are added into the collapsible thinking section according to the selected mode."
|
|
841
841
|
)),
|
|
842
842
|
tags: ['experimental'],
|
|
@@ -844,7 +844,7 @@ configurationRegistry.registerConfiguration({
|
|
|
844
844
|
'chat.disableAIFeatures': {
|
|
845
845
|
type: 'boolean',
|
|
846
846
|
description: ( localize(
|
|
847
|
-
|
|
847
|
+
4931,
|
|
848
848
|
"Disable and hide built-in AI features provided by GitHub Copilot, including chat and inline suggestions."
|
|
849
849
|
)),
|
|
850
850
|
default: false,
|
|
@@ -852,21 +852,21 @@ configurationRegistry.registerConfiguration({
|
|
|
852
852
|
},
|
|
853
853
|
[ChatConfiguration.UseCloudButtonV2]: {
|
|
854
854
|
type: 'boolean',
|
|
855
|
-
description: ( localize(
|
|
855
|
+
description: ( localize(4932, "Experimental implementation of 'cloud button'")),
|
|
856
856
|
default: true,
|
|
857
857
|
tags: ['experimental'],
|
|
858
858
|
},
|
|
859
859
|
[ChatConfiguration.ShowAgentSessionsViewDescription]: {
|
|
860
860
|
type: 'boolean',
|
|
861
861
|
description: ( localize(
|
|
862
|
-
|
|
862
|
+
4933,
|
|
863
863
|
"Controls whether session descriptions are displayed on a second row in the Chat Sessions view."
|
|
864
864
|
)),
|
|
865
865
|
default: true,
|
|
866
866
|
},
|
|
867
867
|
'chat.allowAnonymousAccess': {
|
|
868
868
|
type: 'boolean',
|
|
869
|
-
description: ( localize(
|
|
869
|
+
description: ( localize(4934, "Controls whether anonymous access is allowed in chat.")),
|
|
870
870
|
default: false,
|
|
871
871
|
tags: ['experimental'],
|
|
872
872
|
experiment: {
|
|
@@ -875,7 +875,7 @@ configurationRegistry.registerConfiguration({
|
|
|
875
875
|
},
|
|
876
876
|
'chat.signInWithAlternateScopes': {
|
|
877
877
|
type: 'boolean',
|
|
878
|
-
description: ( localize(
|
|
878
|
+
description: ( localize(4935, "Controls whether sign-in with alternate scopes is used.")),
|
|
879
879
|
default: false,
|
|
880
880
|
tags: ['experimental'],
|
|
881
881
|
experiment: {
|
|
@@ -885,7 +885,7 @@ configurationRegistry.registerConfiguration({
|
|
|
885
885
|
'chat.extensionUnification.enabled': {
|
|
886
886
|
type: 'boolean',
|
|
887
887
|
description: ( localize(
|
|
888
|
-
|
|
888
|
+
4936,
|
|
889
889
|
"Enables the unification of GitHub Copilot extensions. When enabled, all GitHub Copilot functionality is served from the GitHub Copilot Chat extension. When disabled, the GitHub Copilot and GitHub Copilot Chat extensions operate independently."
|
|
890
890
|
)),
|
|
891
891
|
default: false,
|
|
@@ -897,7 +897,7 @@ configurationRegistry.registerConfiguration({
|
|
|
897
897
|
[ChatConfiguration.SubagentToolCustomAgents]: {
|
|
898
898
|
type: 'boolean',
|
|
899
899
|
description: ( localize(
|
|
900
|
-
|
|
900
|
+
4937,
|
|
901
901
|
"Whether the runSubagent tool is able to use custom agents. When enabled, the tool can take the name of a custom agent, but it must be given the exact name of the agent."
|
|
902
902
|
)),
|
|
903
903
|
default: false,
|
|
@@ -905,7 +905,7 @@ configurationRegistry.registerConfiguration({
|
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
});
|
|
908
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(
|
|
908
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(4938, "Chat"))), [
|
|
909
909
|
( new SyncDescriptor(ChatEditorInput))
|
|
910
910
|
]);
|
|
911
911
|
( Registry.as(Extensions$1.ConfigurationMigration)).registerConfigurationMigrations([
|
|
@@ -950,7 +950,7 @@ let ChatResolverContribution = class ChatResolverContribution extends Disposable
|
|
|
950
950
|
_registerEditor(scheme) {
|
|
951
951
|
this._editorRegistrations.set(scheme, this.editorResolverService.registerEditor(`${scheme}:**/**`, {
|
|
952
952
|
id: ChatEditorInput.EditorID,
|
|
953
|
-
label: ( localize(
|
|
953
|
+
label: ( localize(4938, "Chat")),
|
|
954
954
|
priority: RegisteredEditorPriority.builtin
|
|
955
955
|
}, {
|
|
956
956
|
singlePerResource: true,
|
|
@@ -988,13 +988,13 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
988
988
|
const defaultValue = value ?? (this.entitlementService.entitlement === ChatEntitlement.Free ? 25 : 25);
|
|
989
989
|
const node = {
|
|
990
990
|
id: 'chatSidebar',
|
|
991
|
-
title: ( localize(
|
|
991
|
+
title: ( localize(4850, "Chat")),
|
|
992
992
|
type: 'object',
|
|
993
993
|
properties: {
|
|
994
994
|
'chat.agent.maxRequests': {
|
|
995
995
|
type: 'number',
|
|
996
996
|
markdownDescription: ( localize(
|
|
997
|
-
|
|
997
|
+
4939,
|
|
998
998
|
"The maximum number of requests to allow per-turn when using an agent. When the limit is reached, will ask to confirm to continue."
|
|
999
999
|
)),
|
|
1000
1000
|
default: defaultValue,
|
|
@@ -1024,7 +1024,7 @@ let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommand
|
|
|
1024
1024
|
super();
|
|
1025
1025
|
this._store.add(slashCommandService.registerSlashCommand({
|
|
1026
1026
|
command: 'clear',
|
|
1027
|
-
detail: ( localize(
|
|
1027
|
+
detail: ( localize(4940, "Start a new chat")),
|
|
1028
1028
|
sortText: 'z2_clear',
|
|
1029
1029
|
executeImmediately: true,
|
|
1030
1030
|
locations: [ChatAgentLocation.Chat]
|