@codingame/monaco-vscode-chat-service-override 30.0.0 → 31.0.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 +21 -3
- package/package.json +5 -5
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.d.ts +125 -0
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostProtocolClient.js +393 -0
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +65 -0
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +453 -0
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +28 -0
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +81 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.d.ts +75 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemProvider.js +180 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.d.ts +202 -51
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.d.ts +182 -0
- package/vscode/src/vs/platform/agentHost/common/state/agentSubscription.js +282 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.d.ts +303 -32
- package/vscode/src/vs/platform/agentHost/common/state/protocol/commands.js +14 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/state/protocol/errors.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/reducers.d.ts +30 -0
- package/vscode/src/vs/platform/agentHost/common/state/protocol/reducers.js +662 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.d.ts +12 -5
- package/vscode/src/vs/platform/agentHost/common/state/sessionActions.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionCapabilities.d.ts +17 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionCapabilities.js +5 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.d.ts +5 -5
- package/vscode/src/vs/platform/agentHost/common/state/sessionProtocol.js +14 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.d.ts +42 -0
- package/vscode/src/vs/platform/agentHost/common/state/sessionTransport.js +7 -0
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.d.ts +118 -0
- package/vscode/src/vs/platform/agentPlugins/common/pluginParsers.js +551 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +22 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +83 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +59 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +17 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +113 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +81 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatForkActions.js +47 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +15 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +13 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +15 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.d.ts +5 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +58 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +24 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +29 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.js +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +65 -55
- 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 +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +28 -28
- 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/aiCustomizationDebugPanel.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationDebugPanel.js +80 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.d.ts +20 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationIcons.js +30 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.d.ts +131 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemSource.js +363 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.d.ts +31 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.js +374 -764
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidgetUtils.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidgetUtils.js +11 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +222 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.d.ts +20 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditor.js +269 -123
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagementEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePage.js +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWelcomePagePromptLaunchers.js +249 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js +5 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.d.ts +14 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.js +113 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css +202 -68
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationWelcomePromptLaunchers.css +246 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.js +162 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/promptsServiceCustomizationItemProvider.js +306 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +581 -257
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +245 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +25 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.js +3 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +19 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +103 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowLayout.js +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.d.ts +11 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +80 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.d.ts +20 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +128 -65
- 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 +28 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/media/chatDebug.css +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +11 -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 +6 -5
- 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 +10 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.d.ts +4 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +4 -310
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +3 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +61 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatManagementEditor.css +0 -110
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +31 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +46 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +17 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +96 -82
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +21 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatus.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +15 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +315 -263
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/media/chatStatus.css +196 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +56 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipEligibilityTracker.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +8 -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/pluginGitCommandService.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +26 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +48 -57
- 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 +26 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/hookUtils.d.ts +2 -2
- 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.d.ts +11 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +226 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/telemetry/chatModelCountTelemetry.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/telemetry/chatModelCountTelemetry.js +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +108 -56
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +7 -7
- 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/chatStatusWidget.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatStatusWidget.js +9 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +21 -80
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +26 -59
- 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 +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +46 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugEvents.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugEvents.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.d.ts +32 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatDebugServiceImpl.js +152 -26
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +5 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +265 -261
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +28 -2
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.js +75 -7
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +9 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -5
- package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/objectMutationLog.js +32 -4
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginService.d.ts +10 -25
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +7 -52
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +58 -466
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.js +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +36 -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.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +168 -182
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +49 -29
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +491 -462
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +16 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +18 -12
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.d.ts +24 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.js +145 -68
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatHistoryService.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatHistoryService.js +19 -17
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatNotebook.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.d.ts +5 -17
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +77 -157
- 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 +17 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibleView.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +29 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +12 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +49 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +9 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +13 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.d.ts +53 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +319 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +15 -15
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +2 -2
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.d.ts +21 -0
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +35 -0
- package/vscode/src/vs/platform/agentHost/common/agentService.service.d.ts +0 -94
- package/vscode/src/vs/platform/agentHost/common/state/protocol/action-origin.generated.d.ts +0 -16
- package/vscode/src/vs/platform/agentHost/common/state/protocol/actions.d.ts +0 -578
- package/vscode/src/vs/platform/agentHost/common/state/protocol/messages.d.ts +0 -206
- package/vscode/src/vs/platform/agentHost/common/state/protocol/notifications.d.ts +0 -114
- package/vscode/src/vs/platform/agentHost/common/state/protocol/state.d.ts +0 -860
- package/vscode/src/vs/platform/agentHost/common/state/sessionState.d.ts +0 -27
- package/vscode/src/vs/platform/browserElements/common/browserElements.d.ts +0 -58
- package/vscode/src/vs/platform/browserElements/common/browserElements.js +0 -16
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.d.ts +0 -18
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.js +0 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/media/simpleBrowserOverlay.css +0 -85
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/simpleBrowserEditorOverlay.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/simpleBrowserEditorOverlay.js +0 -443
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +0 -132
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/media/chatUsageWidget.css +0 -69
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetup.js +0 -66
- package/vscode/src/vs/workbench/contrib/chat/common/chatArtifactExtraction.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatArtifactExtraction.js +0 -158
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.js +0 -41
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/commandFileWriteParser.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.d.ts +0 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/commandParsers/sedFileWriteParser.js +0 -142
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +0 -45
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +0 -164
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.js +0 -163
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.d.ts +0 -27
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +0 -142
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.d.ts +0 -29
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +0 -137
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +0 -174
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/outputHelpers.js +0 -39
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +0 -32
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +0 -249
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +0 -92
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +0 -209
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/awaitTerminalTool.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/awaitTerminalTool.js +0 -106
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.d.ts +0 -31
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.js +0 -392
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.d.ts +0 -45
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +0 -243
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +0 -52
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.js +0 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +0 -310
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +0 -168
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineSandboxAnalyzer.js +0 -25
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/commandLinePresenter.d.ts +0 -41
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/nodeCommandLinePresenter.js +0 -37
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/pythonCommandLinePresenter.js +0 -37
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.d.ts +0 -19
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/rubyCommandLinePresenter.js +0 -44
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLinePresenter/sandboxedCommandLinePresenter.js +0 -21
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineCdPrefixRewriter.js +0 -27
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.d.ts +0 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.js +0 -29
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePwshChainOperatorRewriter.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePwshChainOperatorRewriter.js +0 -33
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineRewriter.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +0 -28
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +0 -118
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +0 -1019
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.d.ts +0 -49
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/types.js +0 -23
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/outputAnalyzer.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +0 -150
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +0 -1619
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +0 -41
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.js +0 -118
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/toolIds.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/toolIds.js +0 -17
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +0 -25
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.js +0 -130
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +0 -122
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +0 -482
|
@@ -6,6 +6,10 @@ import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/netw
|
|
|
6
6
|
import { isMacintosh } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
7
7
|
import { PolicyCategory } from '@codingame/monaco-vscode-api/vscode/vs/base/common/policy';
|
|
8
8
|
import { AgentHostIpcLoggingSettingId, AgentHostEnabledSettingId } from '../../../../platform/agentHost/common/agentService.js';
|
|
9
|
+
import '../../../../platform/networkFilter/common/networkFilterService.js';
|
|
10
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
|
+
import { AgentNetworkDomainSettingId } from '@codingame/monaco-vscode-katex-common/vscode/vs/platform/networkFilter/common/settings';
|
|
12
|
+
import { AgentSandboxSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/sandbox/common/settings';
|
|
9
13
|
import { registerEditorFeature } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorFeatures';
|
|
10
14
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
11
15
|
import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
|
|
@@ -13,13 +17,13 @@ import { registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform
|
|
|
13
17
|
import { Extensions as Extensions$1, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
14
18
|
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
15
19
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
16
|
-
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
17
20
|
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
18
21
|
import { mcpGalleryServiceUrlConfig, mcpGalleryServiceEnablementConfig, mcpAppsEnabledConfig, mcpAutoStartConfig, McpAutoStartValue, mcpAccessConfig, McpAccessValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpManagement';
|
|
19
22
|
import product from '@codingame/monaco-vscode-api/vscode/vs/platform/product/common/product';
|
|
20
23
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
21
24
|
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/editor';
|
|
22
25
|
import { Extensions as Extensions$2 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
|
|
26
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
23
27
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
24
28
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
25
29
|
import { IWorkbenchAssignmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/assignment/common/assignmentService.service';
|
|
@@ -44,7 +48,7 @@ import '../common/tools/chatArtifactsService.js';
|
|
|
44
48
|
import '../common/tools/chatTodoListService.js';
|
|
45
49
|
import '../common/model/chatTransferService.js';
|
|
46
50
|
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService';
|
|
47
|
-
import { ChatConfiguration, ChatNotificationMode, ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
51
|
+
import { ChatConfiguration, ChatPermissionLevel, ChatNotificationMode, ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
48
52
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
49
53
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelStats';
|
|
50
54
|
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service';
|
|
@@ -59,6 +63,7 @@ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
59
63
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
60
64
|
import '../common/promptSyntax/service/promptsServiceImpl.js';
|
|
61
65
|
import { LanguageModelToolsExtensionPointHandler } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution';
|
|
66
|
+
import './telemetry/chatModelCountTelemetry.js';
|
|
62
67
|
import { BuiltinToolsContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/builtinTools/tools';
|
|
63
68
|
import { RenameToolContribution } from './tools/renameTool.js';
|
|
64
69
|
import { UsagesToolContribution } from './tools/usagesTool.js';
|
|
@@ -69,7 +74,7 @@ import { ModeOpenChatGlobalAction, registerChatActions } from '@codingame/monaco
|
|
|
69
74
|
import { CodeBlockActionRendering, registerChatCodeBlockActions, registerChatCodeCompareBlockActions } from './actions/chatCodeblockActions.js';
|
|
70
75
|
import { ChatContextContributions } from '@codingame/monaco-vscode-xterm-addons-common/vscode/vs/workbench/contrib/chat/browser/actions/chatContext';
|
|
71
76
|
import { registerChatContextActions } from './actions/chatContextActions.js';
|
|
72
|
-
import { registerChatCopyActions } from './actions/chatCopyActions.js';
|
|
77
|
+
import { ChatCopyActionRendering, registerChatCopyActions } from './actions/chatCopyActions.js';
|
|
73
78
|
import { registerChatDeveloperActions } from './actions/chatDeveloperActions.js';
|
|
74
79
|
import { registerChatExecuteActions } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/actions/chatExecuteActions';
|
|
75
80
|
import { registerChatFileTreeActions } from './actions/chatFileTreeActions.js';
|
|
@@ -113,14 +118,15 @@ import { ChatEditingEditorContextKeys } from '@codingame/monaco-vscode-api/vscod
|
|
|
113
118
|
import { ChatEditingEditorOverlay } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay';
|
|
114
119
|
import './chatEditing/chatEditingServiceImpl.js';
|
|
115
120
|
import { ChatEditingNotebookFileSystemProviderContrib } from './chatEditing/notebook/chatEditingNotebookFileSystemProvider.js';
|
|
116
|
-
import { SimpleBrowserOverlay } from './attachments/simpleBrowserEditorOverlay.js';
|
|
117
121
|
import { ChatEditor } from './widgetHosts/editor/chatEditor.js';
|
|
118
122
|
import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput';
|
|
119
123
|
import './widget/chatLayoutService.js';
|
|
120
124
|
import { ChatLanguageModelsDataContribution } from './languageModelsConfigurationService.js';
|
|
121
125
|
import './chatManagement/chatManagement.contribution.js';
|
|
122
126
|
import './aiCustomization/aiCustomizationWorkspaceService.js';
|
|
123
|
-
import '
|
|
127
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/customizationHarnessService';
|
|
128
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService';
|
|
129
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
124
130
|
import './aiCustomization/aiCustomizationManagement.contribution.js';
|
|
125
131
|
import './chatOutputItemRenderer.js';
|
|
126
132
|
import { ChatExtensionPointHandler, ChatCompatibilityNotifier } from './chatParticipant.contribution.js';
|
|
@@ -173,13 +179,13 @@ jsonContributionRegistry.registerSchema(HOOK_SCHEMA_URI, hookFileSchema);
|
|
|
173
179
|
const configurationRegistry = ( Registry.as(Extensions$1.Configuration));
|
|
174
180
|
configurationRegistry.registerConfiguration({
|
|
175
181
|
id: "chatSidebar",
|
|
176
|
-
title: ( localize(
|
|
182
|
+
title: ( localize(5633, "Chat")),
|
|
177
183
|
type: "object",
|
|
178
184
|
properties: {
|
|
179
185
|
"chat.experimentalSessionsWindowOverride": {
|
|
180
186
|
type: "boolean",
|
|
181
187
|
description: ( localize(
|
|
182
|
-
|
|
188
|
+
5634,
|
|
183
189
|
"When true, enables sessions-window-specific behavior for extensions."
|
|
184
190
|
)),
|
|
185
191
|
default: false,
|
|
@@ -187,41 +193,41 @@ configurationRegistry.registerConfiguration({
|
|
|
187
193
|
},
|
|
188
194
|
"chat.fontSize": {
|
|
189
195
|
type: "number",
|
|
190
|
-
description: ( localize(
|
|
196
|
+
description: ( localize(5635, "Controls the font size in pixels in chat messages.")),
|
|
191
197
|
default: 13,
|
|
192
198
|
minimum: 6,
|
|
193
199
|
maximum: 100
|
|
194
200
|
},
|
|
195
201
|
"chat.fontFamily": {
|
|
196
202
|
type: "string",
|
|
197
|
-
description: ( localize(
|
|
203
|
+
description: ( localize(5636, "Controls the font family in chat messages.")),
|
|
198
204
|
default: "default"
|
|
199
205
|
},
|
|
200
206
|
"chat.editor.fontSize": {
|
|
201
207
|
type: "number",
|
|
202
|
-
description: ( localize(
|
|
208
|
+
description: ( localize(5637, "Controls the font size in pixels in chat codeblocks.")),
|
|
203
209
|
default: isMacintosh ? 12 : 14
|
|
204
210
|
},
|
|
205
211
|
"chat.editor.fontFamily": {
|
|
206
212
|
type: "string",
|
|
207
|
-
description: ( localize(
|
|
213
|
+
description: ( localize(5638, "Controls the font family in chat codeblocks.")),
|
|
208
214
|
default: "default"
|
|
209
215
|
},
|
|
210
216
|
"chat.editor.fontWeight": {
|
|
211
217
|
type: "string",
|
|
212
|
-
description: ( localize(
|
|
218
|
+
description: ( localize(5639, "Controls the font weight in chat codeblocks.")),
|
|
213
219
|
default: "default"
|
|
214
220
|
},
|
|
215
221
|
"chat.editor.wordWrap": {
|
|
216
222
|
type: "string",
|
|
217
|
-
description: ( localize(
|
|
223
|
+
description: ( localize(5640, "Controls whether lines should wrap in chat codeblocks.")),
|
|
218
224
|
default: "off",
|
|
219
225
|
enum: ["on", "off"]
|
|
220
226
|
},
|
|
221
227
|
"chat.editor.lineHeight": {
|
|
222
228
|
type: "number",
|
|
223
229
|
description: ( localize(
|
|
224
|
-
|
|
230
|
+
5641,
|
|
225
231
|
"Controls the line height in pixels in chat codeblocks. Use 0 to compute the line height from the font size."
|
|
226
232
|
)),
|
|
227
233
|
default: 0
|
|
@@ -229,12 +235,12 @@ configurationRegistry.registerConfiguration({
|
|
|
229
235
|
[ChatConfiguration.AgentStatusEnabled]: {
|
|
230
236
|
type: "string",
|
|
231
237
|
enum: ["hidden", "badge", "compact"],
|
|
232
|
-
enumDescriptions: [( localize(
|
|
233
|
-
|
|
238
|
+
enumDescriptions: [( localize(5642, "The agent status indicator is hidden from the title bar.")), ( localize(5643, "Shows the agent status as a badge next to the command center.")), ( localize(
|
|
239
|
+
5644,
|
|
234
240
|
"Replaces the command center search box with a compact agent status indicator and unified chat widget."
|
|
235
241
|
))],
|
|
236
242
|
markdownDescription: ( localize(
|
|
237
|
-
|
|
243
|
+
5645,
|
|
238
244
|
"Controls how the 'Agent Status' indicator appears in the title bar command center. When set to `hidden`, the indicator is not shown. Other values show the indicator and automatically enable {0}. The unread and in-progress session indicators require {1} to be enabled.",
|
|
239
245
|
"`#window.commandCenter#`",
|
|
240
246
|
"`#chat.viewSessions.enabled#`"
|
|
@@ -245,7 +251,7 @@ configurationRegistry.registerConfiguration({
|
|
|
245
251
|
[ChatConfiguration.UnifiedAgentsBar]: {
|
|
246
252
|
type: "boolean",
|
|
247
253
|
markdownDescription: ( localize(
|
|
248
|
-
|
|
254
|
+
5646,
|
|
249
255
|
"Replaces the command center search box with a unified chat and search widget."
|
|
250
256
|
)),
|
|
251
257
|
default: false,
|
|
@@ -254,7 +260,7 @@ configurationRegistry.registerConfiguration({
|
|
|
254
260
|
[ChatConfiguration.AgentSessionProjectionEnabled]: {
|
|
255
261
|
type: "boolean",
|
|
256
262
|
markdownDescription: ( localize(
|
|
257
|
-
|
|
263
|
+
5647,
|
|
258
264
|
"Controls whether Agent Session Projection mode is enabled for reviewing agent sessions in a focused workspace."
|
|
259
265
|
)),
|
|
260
266
|
default: false,
|
|
@@ -263,14 +269,14 @@ configurationRegistry.registerConfiguration({
|
|
|
263
269
|
"chat.implicitContext.enabled": {
|
|
264
270
|
type: "object",
|
|
265
271
|
description: ( localize(
|
|
266
|
-
|
|
272
|
+
5648,
|
|
267
273
|
"Enables automatically using the active editor as chat context for specified chat locations."
|
|
268
274
|
)),
|
|
269
275
|
additionalProperties: {
|
|
270
276
|
type: "string",
|
|
271
277
|
enum: ["never", "first", "always"],
|
|
272
|
-
description: ( localize(
|
|
273
|
-
enumDescriptions: [( localize(
|
|
278
|
+
description: ( localize(5649, "The value for the implicit context.")),
|
|
279
|
+
enumDescriptions: [( localize(5650, "Implicit context is never enabled.")), ( localize(5651, "Implicit context is enabled for the first interaction.")), ( localize(5652, "Implicit context is always enabled."))]
|
|
274
280
|
},
|
|
275
281
|
default: {
|
|
276
282
|
"panel": "always"
|
|
@@ -283,7 +289,7 @@ configurationRegistry.registerConfiguration({
|
|
|
283
289
|
"chat.implicitContext.suggestedContext": {
|
|
284
290
|
type: "boolean",
|
|
285
291
|
markdownDescription: ( localize(
|
|
286
|
-
|
|
292
|
+
5653,
|
|
287
293
|
"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."
|
|
288
294
|
)),
|
|
289
295
|
default: true
|
|
@@ -291,7 +297,7 @@ configurationRegistry.registerConfiguration({
|
|
|
291
297
|
"chat.editing.autoAcceptDelay": {
|
|
292
298
|
type: "number",
|
|
293
299
|
markdownDescription: ( localize(
|
|
294
|
-
|
|
300
|
+
5654,
|
|
295
301
|
"Delay after which changes made by chat are automatically accepted. Values are in seconds, `0` means disabled and `100` seconds is the maximum."
|
|
296
302
|
)),
|
|
297
303
|
default: 0,
|
|
@@ -302,7 +308,7 @@ configurationRegistry.registerConfiguration({
|
|
|
302
308
|
type: "boolean",
|
|
303
309
|
scope: ConfigurationScope.APPLICATION,
|
|
304
310
|
markdownDescription: ( localize(
|
|
305
|
-
|
|
311
|
+
5655,
|
|
306
312
|
"Whether to show a confirmation before removing a request and its associated edits."
|
|
307
313
|
)),
|
|
308
314
|
default: true
|
|
@@ -311,7 +317,7 @@ configurationRegistry.registerConfiguration({
|
|
|
311
317
|
type: "boolean",
|
|
312
318
|
scope: ConfigurationScope.APPLICATION,
|
|
313
319
|
markdownDescription: ( localize(
|
|
314
|
-
|
|
320
|
+
5656,
|
|
315
321
|
"Whether to show a confirmation before retrying a request and its associated edits."
|
|
316
322
|
)),
|
|
317
323
|
default: true
|
|
@@ -319,7 +325,7 @@ configurationRegistry.registerConfiguration({
|
|
|
319
325
|
"chat.editing.explainChanges.enabled": {
|
|
320
326
|
type: "boolean",
|
|
321
327
|
markdownDescription: ( localize(
|
|
322
|
-
|
|
328
|
+
5657,
|
|
323
329
|
"Controls whether the Explain button in the Chat panel and the Explain Changes context menu in the SCM view are shown. This is an experimental feature."
|
|
324
330
|
)),
|
|
325
331
|
default: false,
|
|
@@ -331,7 +337,7 @@ configurationRegistry.registerConfiguration({
|
|
|
331
337
|
[ChatConfiguration.RevealNextChangeOnResolve]: {
|
|
332
338
|
type: "boolean",
|
|
333
339
|
markdownDescription: ( localize(
|
|
334
|
-
|
|
340
|
+
5658,
|
|
335
341
|
"Controls whether the editor automatically reveals the next change after keeping or undoing a chat edit."
|
|
336
342
|
)),
|
|
337
343
|
default: true
|
|
@@ -340,7 +346,7 @@ configurationRegistry.registerConfiguration({
|
|
|
340
346
|
type: "boolean",
|
|
341
347
|
scope: ConfigurationScope.APPLICATION,
|
|
342
348
|
description: ( localize(
|
|
343
|
-
|
|
349
|
+
5659,
|
|
344
350
|
"Controls whether tips are shown above user messages in chat. New tips are added frequently, so this is a helpful way to stay up to date with the latest features."
|
|
345
351
|
)),
|
|
346
352
|
default: true
|
|
@@ -348,9 +354,9 @@ configurationRegistry.registerConfiguration({
|
|
|
348
354
|
"chat.upvoteAnimation": {
|
|
349
355
|
type: "string",
|
|
350
356
|
enum: ["off", "confetti", "floatingThumbs", "pulseWave", "radiantLines"],
|
|
351
|
-
enumDescriptions: [( localize(
|
|
357
|
+
enumDescriptions: [( localize(5660, "No animation is shown.")), ( localize(5661, "Shows a confetti burst animation around the thumbs up button.")), ( localize(5662, "Shows floating thumbs up icons rising from the button.")), ( localize(5663, "Shows expanding pulse rings from the button.")), ( localize(5664, "Shows radiant lines emanating from the button."))],
|
|
352
358
|
description: ( localize(
|
|
353
|
-
|
|
359
|
+
5665,
|
|
354
360
|
"Controls whether an animation is shown when clicking the thumbs up button on a chat response."
|
|
355
361
|
)),
|
|
356
362
|
default: "floatingThumbs"
|
|
@@ -358,26 +364,54 @@ configurationRegistry.registerConfiguration({
|
|
|
358
364
|
"chat.experimental.detectParticipant.enabled": {
|
|
359
365
|
type: "boolean",
|
|
360
366
|
deprecationMessage: ( localize(
|
|
361
|
-
|
|
367
|
+
5666,
|
|
362
368
|
"This setting is deprecated. Please use `chat.detectParticipant.enabled` instead."
|
|
363
369
|
)),
|
|
364
|
-
description: ( localize(
|
|
370
|
+
description: ( localize(5667, "Enables chat participant autodetection for panel chat.")),
|
|
365
371
|
default: null
|
|
366
372
|
},
|
|
373
|
+
[ChatConfiguration.IncrementalRendering]: {
|
|
374
|
+
type: "boolean",
|
|
375
|
+
description: ( localize(
|
|
376
|
+
5668,
|
|
377
|
+
"Enables incremental rendering with optional block-level animation when streaming chat responses."
|
|
378
|
+
)),
|
|
379
|
+
default: false,
|
|
380
|
+
tags: ["experimental"]
|
|
381
|
+
},
|
|
382
|
+
[ChatConfiguration.IncrementalRenderingStyle]: {
|
|
383
|
+
type: "string",
|
|
384
|
+
enum: ["none", "fade", "rise", "blur", "scale", "slide", "reveal"],
|
|
385
|
+
enumDescriptions: [( localize(5669, "No animation. Content appears instantly.")), ( localize(5670, "Simple opacity fade from 0 to 1.")), ( localize(5671, "Content fades in while rising upward.")), ( localize(5672, "Content fades in from a blurred state.")), ( localize(5673, "Content scales up from slightly smaller.")), ( localize(5674, "Content slides in from the left.")), ( localize(5675, "Content reveals top-to-bottom with a soft gradient edge."))],
|
|
386
|
+
description: ( localize(5676, "Controls the animation style for incremental rendering.")),
|
|
387
|
+
default: "fade",
|
|
388
|
+
tags: ["experimental"]
|
|
389
|
+
},
|
|
390
|
+
[ChatConfiguration.IncrementalRenderingBuffering]: {
|
|
391
|
+
type: "string",
|
|
392
|
+
enum: ["off", "word", "paragraph"],
|
|
393
|
+
enumDescriptions: [( localize(5677, "Renders content immediately as tokens arrive.")), ( localize(5678, "Reveals content word by word.")), ( localize(5679, "Buffers content until a paragraph break before rendering."))],
|
|
394
|
+
description: ( localize(
|
|
395
|
+
5680,
|
|
396
|
+
"Controls how content is buffered before rendering during incremental rendering. Lower buffering levels render faster but may show incomplete sentences or partially formed markdown."
|
|
397
|
+
)),
|
|
398
|
+
default: "word",
|
|
399
|
+
tags: ["experimental"]
|
|
400
|
+
},
|
|
367
401
|
"chat.detectParticipant.enabled": {
|
|
368
402
|
type: "boolean",
|
|
369
|
-
description: ( localize(
|
|
403
|
+
description: ( localize(5681, "Enables chat participant autodetection for panel chat.")),
|
|
370
404
|
default: true
|
|
371
405
|
},
|
|
372
406
|
[ChatConfiguration.InlineReferencesStyle]: {
|
|
373
407
|
type: "string",
|
|
374
408
|
enum: ["box", "link"],
|
|
375
|
-
enumDescriptions: [( localize(
|
|
376
|
-
|
|
409
|
+
enumDescriptions: [( localize(5682, "Display file and symbol references as boxed widgets with icons.")), ( localize(
|
|
410
|
+
5683,
|
|
377
411
|
"Display file and symbol references as simple blue links without icons."
|
|
378
412
|
))],
|
|
379
413
|
description: ( localize(
|
|
380
|
-
|
|
414
|
+
5684,
|
|
381
415
|
"Controls how file and symbol references are displayed in chat messages."
|
|
382
416
|
)),
|
|
383
417
|
default: "box"
|
|
@@ -385,7 +419,7 @@ configurationRegistry.registerConfiguration({
|
|
|
385
419
|
[ChatConfiguration.EditorAssociations]: {
|
|
386
420
|
type: "object",
|
|
387
421
|
markdownDescription: ( localize(
|
|
388
|
-
|
|
422
|
+
5685,
|
|
389
423
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors for opening files from chat (for example `\"*.md\": \"vscode.markdown.preview.editor\"`)."
|
|
390
424
|
)),
|
|
391
425
|
additionalProperties: {
|
|
@@ -396,15 +430,15 @@ configurationRegistry.registerConfiguration({
|
|
|
396
430
|
[ChatConfiguration.NotifyWindowOnConfirmation]: {
|
|
397
431
|
type: "string",
|
|
398
432
|
enum: ["off", "windowNotFocused", "always"],
|
|
399
|
-
enumDescriptions: [( localize(
|
|
400
|
-
|
|
433
|
+
enumDescriptions: [( localize(5686, "Never show OS notifications for confirmations.")), ( localize(
|
|
434
|
+
5687,
|
|
401
435
|
"Show OS notifications for confirmations when the window is not focused."
|
|
402
436
|
)), ( localize(
|
|
403
|
-
|
|
437
|
+
5688,
|
|
404
438
|
"Always show OS notifications for confirmations, even when the window is focused."
|
|
405
439
|
))],
|
|
406
440
|
description: ( localize(
|
|
407
|
-
|
|
441
|
+
5689,
|
|
408
442
|
"Controls whether a chat session should present the user with an OS notification when a confirmation or question needs input. This includes a window badge as well as notification toast."
|
|
409
443
|
)),
|
|
410
444
|
default: "windowNotFocused"
|
|
@@ -412,7 +446,7 @@ configurationRegistry.registerConfiguration({
|
|
|
412
446
|
[ChatConfiguration.AutoReply]: {
|
|
413
447
|
default: false,
|
|
414
448
|
markdownDescription: ( localize(
|
|
415
|
-
|
|
449
|
+
5690,
|
|
416
450
|
"Automatically skip question carousels by telling the agent that the user is not available and to use its best judgment. This is an advanced setting and can lead to unintended choices or actions based on incomplete context."
|
|
417
451
|
)),
|
|
418
452
|
type: "boolean",
|
|
@@ -422,12 +456,28 @@ configurationRegistry.registerConfiguration({
|
|
|
422
456
|
[ChatConfiguration.AutopilotEnabled]: {
|
|
423
457
|
type: "boolean",
|
|
424
458
|
markdownDescription: ( localize(
|
|
425
|
-
|
|
459
|
+
5691,
|
|
426
460
|
"Controls whether the Autopilot mode is available in the permissions picker. When enabled, Autopilot auto-approves all tool calls and continues until the task is done."
|
|
427
461
|
)),
|
|
428
462
|
default: true,
|
|
429
463
|
tags: ["experimental"]
|
|
430
464
|
},
|
|
465
|
+
[ChatConfiguration.DefaultPermissionLevel]: {
|
|
466
|
+
type: "string",
|
|
467
|
+
enum: [
|
|
468
|
+
ChatPermissionLevel.Default,
|
|
469
|
+
ChatPermissionLevel.AutoApprove,
|
|
470
|
+
ChatPermissionLevel.Autopilot
|
|
471
|
+
],
|
|
472
|
+
enumItemLabels: [( localize(5692, "Default Approvals")), ( localize(5693, "Bypass Approvals")), ( localize(5694, "Autopilot (Preview)"))],
|
|
473
|
+
enumDescriptions: [( localize(5695, "Start new chat sessions with Default Approvals.")), ( localize(5696, "Start new chat sessions in Bypass Approvals mode.")), ( localize(5697, "Start new chat sessions in Autopilot mode."))],
|
|
474
|
+
description: ( localize(
|
|
475
|
+
5698,
|
|
476
|
+
"Controls the default permissions picker mode for new chat sessions. You can still change the permission mode per session, and each session remembers the permission mode that was used. If enterprise policy disables auto approval, new sessions use Default Approvals."
|
|
477
|
+
)),
|
|
478
|
+
default: ChatPermissionLevel.Default,
|
|
479
|
+
tags: ["experimental"]
|
|
480
|
+
},
|
|
431
481
|
[ChatConfiguration.GlobalAutoApprove]: {
|
|
432
482
|
default: false,
|
|
433
483
|
markdownDescription: globalAutoApproveDescription.value,
|
|
@@ -443,7 +493,7 @@ configurationRegistry.registerConfiguration({
|
|
|
443
493
|
description: {
|
|
444
494
|
key: "autoApprove3.description",
|
|
445
495
|
value: ( localize(
|
|
446
|
-
|
|
496
|
+
5699,
|
|
447
497
|
"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.\n\nNote: This setting only controls tool approval and does not prevent the agent from asking questions. To automatically answer agent questions, use the `#chat.autoReply#` setting."
|
|
448
498
|
))
|
|
449
499
|
}
|
|
@@ -461,7 +511,7 @@ configurationRegistry.registerConfiguration({
|
|
|
461
511
|
"**/*-lock.{yaml,json}": false
|
|
462
512
|
},
|
|
463
513
|
markdownDescription: ( localize(
|
|
464
|
-
|
|
514
|
+
5700,
|
|
465
515
|
"Controls whether edits made by the agent 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."
|
|
466
516
|
)),
|
|
467
517
|
type: "object",
|
|
@@ -475,7 +525,7 @@ configurationRegistry.registerConfiguration({
|
|
|
475
525
|
"https://github.com/microsoft/vscode/wiki/*": true
|
|
476
526
|
},
|
|
477
527
|
markdownDescription: ( localize(
|
|
478
|
-
|
|
528
|
+
5701,
|
|
479
529
|
"Controls which URLs are automatically approved when requested by chat tools. Keys are URL patterns and values can be `true` to approve both requests and responses, `false` to deny, or an object with `approveRequest` and `approveResponse` properties for granular control.\n\nExamples:\n- `\"https://example.com\": true` - Approve all requests to example.com\n- `\"https://*.example.com\": true` - Approve all requests to any subdomain of example.com\n- `\"https://example.com/api/*\": { \"approveRequest\": true, \"approveResponse\": false }` - Approve requests but not responses for example.com/api paths"
|
|
480
530
|
)),
|
|
481
531
|
type: "object",
|
|
@@ -498,7 +548,7 @@ configurationRegistry.registerConfiguration({
|
|
|
498
548
|
[ChatConfiguration.EligibleForAutoApproval]: {
|
|
499
549
|
default: {},
|
|
500
550
|
markdownDescription: ( localize(
|
|
501
|
-
|
|
551
|
+
5702,
|
|
502
552
|
"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."
|
|
503
553
|
)),
|
|
504
554
|
type: "object",
|
|
@@ -521,28 +571,18 @@ configurationRegistry.registerConfiguration({
|
|
|
521
571
|
description: {
|
|
522
572
|
key: "chat.tools.eligibleForAutoApproval",
|
|
523
573
|
value: ( localize(
|
|
524
|
-
|
|
574
|
+
5702,
|
|
525
575
|
"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."
|
|
526
576
|
))
|
|
527
577
|
}
|
|
528
578
|
}
|
|
529
579
|
}
|
|
530
580
|
},
|
|
531
|
-
"chat.sendElementsToChat.enabled": {
|
|
532
|
-
default: true,
|
|
533
|
-
description: ( localize(
|
|
534
|
-
5631,
|
|
535
|
-
"Controls whether elements can be sent to chat from the Simple Browser."
|
|
536
|
-
)),
|
|
537
|
-
type: "boolean",
|
|
538
|
-
tags: ["preview"]
|
|
539
|
-
},
|
|
540
581
|
"chat.sendElementsToChat.attachCSS": {
|
|
541
582
|
default: true,
|
|
542
583
|
markdownDescription: ( localize(
|
|
543
|
-
|
|
544
|
-
"Controls whether CSS of the selected element will be added to the chat.
|
|
545
|
-
"`#chat.sendElementsToChat.enabled#`"
|
|
584
|
+
5703,
|
|
585
|
+
"Controls whether CSS of the selected element will be added to the chat."
|
|
546
586
|
)),
|
|
547
587
|
type: "boolean",
|
|
548
588
|
tags: ["preview"]
|
|
@@ -550,29 +590,18 @@ configurationRegistry.registerConfiguration({
|
|
|
550
590
|
"chat.sendElementsToChat.attachImages": {
|
|
551
591
|
default: true,
|
|
552
592
|
markdownDescription: ( localize(
|
|
553
|
-
|
|
554
|
-
"Controls whether a screenshot of the selected element will be added to the chat.
|
|
555
|
-
"`#chat.sendElementsToChat.enabled#`"
|
|
593
|
+
5704,
|
|
594
|
+
"Controls whether a screenshot of the selected element will be added to the chat."
|
|
556
595
|
)),
|
|
557
596
|
type: "boolean",
|
|
558
597
|
tags: ["experimental"]
|
|
559
598
|
},
|
|
560
599
|
[ChatConfiguration.ArtifactsEnabled]: {
|
|
561
600
|
default: false,
|
|
562
|
-
description: ( localize(
|
|
601
|
+
description: ( localize(5705, "Controls whether the artifacts view is available in chat.")),
|
|
563
602
|
type: "boolean",
|
|
564
603
|
tags: ["experimental"]
|
|
565
604
|
},
|
|
566
|
-
[ChatConfiguration.ArtifactsMode]: {
|
|
567
|
-
default: "rules",
|
|
568
|
-
description: ( localize(
|
|
569
|
-
5635,
|
|
570
|
-
"Controls how artifacts are populated. 'rules' extracts artifacts deterministically from the conversation. 'tool' lets the model set artifacts via a tool call."
|
|
571
|
-
)),
|
|
572
|
-
type: "string",
|
|
573
|
-
enum: ["rules", "tool"],
|
|
574
|
-
tags: ["experimental"]
|
|
575
|
-
},
|
|
576
605
|
[ChatConfiguration.ArtifactsRulesByMimeType]: {
|
|
577
606
|
default: {
|
|
578
607
|
"image/*": {
|
|
@@ -581,7 +610,7 @@ configurationRegistry.registerConfiguration({
|
|
|
581
610
|
}
|
|
582
611
|
},
|
|
583
612
|
description: ( localize(
|
|
584
|
-
|
|
613
|
+
5706,
|
|
585
614
|
"Rules for extracting artifacts from tool results by MIME type. Maps MIME type patterns (e.g. 'image/*') to group configuration."
|
|
586
615
|
)),
|
|
587
616
|
type: "object",
|
|
@@ -590,11 +619,11 @@ configurationRegistry.registerConfiguration({
|
|
|
590
619
|
properties: {
|
|
591
620
|
groupName: {
|
|
592
621
|
type: "string",
|
|
593
|
-
description: ( localize(
|
|
622
|
+
description: ( localize(5707, "Display name for the artifact group."))
|
|
594
623
|
},
|
|
595
624
|
onlyShowGroup: {
|
|
596
625
|
type: "boolean",
|
|
597
|
-
description: ( localize(
|
|
626
|
+
description: ( localize(5708, "When true, show only the group header instead of individual items."))
|
|
598
627
|
}
|
|
599
628
|
},
|
|
600
629
|
required: ["groupName"]
|
|
@@ -608,7 +637,7 @@ configurationRegistry.registerConfiguration({
|
|
|
608
637
|
}
|
|
609
638
|
},
|
|
610
639
|
description: ( localize(
|
|
611
|
-
|
|
640
|
+
5709,
|
|
612
641
|
"Rules for extracting artifacts from written files by file path pattern. Maps glob patterns to group configuration."
|
|
613
642
|
)),
|
|
614
643
|
type: "object",
|
|
@@ -617,11 +646,38 @@ configurationRegistry.registerConfiguration({
|
|
|
617
646
|
properties: {
|
|
618
647
|
groupName: {
|
|
619
648
|
type: "string",
|
|
620
|
-
description: ( localize(
|
|
649
|
+
description: ( localize(5710, "Display name for the artifact group."))
|
|
650
|
+
},
|
|
651
|
+
onlyShowGroup: {
|
|
652
|
+
type: "boolean",
|
|
653
|
+
description: ( localize(5711, "When true, show only the group header instead of individual items."))
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
required: ["groupName"]
|
|
657
|
+
},
|
|
658
|
+
tags: ["experimental"]
|
|
659
|
+
},
|
|
660
|
+
[ChatConfiguration.ArtifactsRulesByMemoryFilePath]: {
|
|
661
|
+
default: {
|
|
662
|
+
"**/*plan*.md": {
|
|
663
|
+
groupName: "Plans"
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
description: ( localize(
|
|
667
|
+
5712,
|
|
668
|
+
"Rules for extracting artifacts from memory tool calls by memory file path pattern. Maps glob patterns to group configuration."
|
|
669
|
+
)),
|
|
670
|
+
type: "object",
|
|
671
|
+
additionalProperties: {
|
|
672
|
+
type: "object",
|
|
673
|
+
properties: {
|
|
674
|
+
groupName: {
|
|
675
|
+
type: "string",
|
|
676
|
+
description: ( localize(5713, "Display name for the artifact group."))
|
|
621
677
|
},
|
|
622
678
|
onlyShowGroup: {
|
|
623
679
|
type: "boolean",
|
|
624
|
-
description: ( localize(
|
|
680
|
+
description: ( localize(5714, "When true, show only the group header instead of individual items."))
|
|
625
681
|
}
|
|
626
682
|
},
|
|
627
683
|
required: ["groupName"]
|
|
@@ -631,14 +687,14 @@ configurationRegistry.registerConfiguration({
|
|
|
631
687
|
"chat.undoRequests.restoreInput": {
|
|
632
688
|
default: true,
|
|
633
689
|
markdownDescription: ( localize(
|
|
634
|
-
|
|
690
|
+
5715,
|
|
635
691
|
"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."
|
|
636
692
|
)),
|
|
637
693
|
type: "boolean"
|
|
638
694
|
},
|
|
639
695
|
"chat.editRequests": {
|
|
640
696
|
markdownDescription: ( localize(
|
|
641
|
-
|
|
697
|
+
5716,
|
|
642
698
|
"Enables editing of requests in the chat. This allows you to change the request content and resubmit it to the model."
|
|
643
699
|
)),
|
|
644
700
|
type: "string",
|
|
@@ -649,7 +705,7 @@ configurationRegistry.registerConfiguration({
|
|
|
649
705
|
type: "boolean",
|
|
650
706
|
default: true,
|
|
651
707
|
description: ( localize(
|
|
652
|
-
|
|
708
|
+
5717,
|
|
653
709
|
"Show chat agent sessions when chat is empty or to the side when chat view is wide enough."
|
|
654
710
|
))
|
|
655
711
|
},
|
|
@@ -657,15 +713,15 @@ configurationRegistry.registerConfiguration({
|
|
|
657
713
|
type: "string",
|
|
658
714
|
enum: ["stacked", "sideBySide"],
|
|
659
715
|
enumDescriptions: [( localize(
|
|
660
|
-
|
|
716
|
+
5718,
|
|
661
717
|
"Display chat sessions vertically stacked above the chat input unless a chat session is visible."
|
|
662
718
|
)), ( localize(
|
|
663
|
-
|
|
719
|
+
5719,
|
|
664
720
|
"Display chat sessions side by side if space is sufficient, otherwise fallback to stacked above the chat input unless a chat session is visible."
|
|
665
721
|
))],
|
|
666
722
|
default: "sideBySide",
|
|
667
723
|
description: ( localize(
|
|
668
|
-
|
|
724
|
+
5720,
|
|
669
725
|
"Controls the orientation of the chat agent sessions view when it is shown alongside the chat."
|
|
670
726
|
))
|
|
671
727
|
},
|
|
@@ -673,28 +729,33 @@ configurationRegistry.registerConfiguration({
|
|
|
673
729
|
type: "boolean",
|
|
674
730
|
default: false,
|
|
675
731
|
description: ( localize(
|
|
676
|
-
|
|
732
|
+
5721,
|
|
677
733
|
"Show a progress badge on the chat view when an agent session is in progress that is opened in that view."
|
|
678
734
|
))
|
|
679
735
|
},
|
|
680
736
|
[ChatConfiguration.ChatContextUsageEnabled]: {
|
|
681
737
|
type: "boolean",
|
|
682
738
|
default: true,
|
|
683
|
-
description: ( localize(
|
|
739
|
+
description: ( localize(5722, "Show the context window usage indicator in the chat input."))
|
|
740
|
+
},
|
|
741
|
+
[ChatConfiguration.ChatPersistentProgressEnabled]: {
|
|
742
|
+
type: "boolean",
|
|
743
|
+
default: product.quality !== "stable",
|
|
744
|
+
description: ( localize(5723, "Show elapsed time and token usage in chat response progress."))
|
|
684
745
|
},
|
|
685
746
|
[ChatConfiguration.NotifyWindowOnResponseReceived]: {
|
|
686
747
|
type: "string",
|
|
687
748
|
enum: ["off", "windowNotFocused", "always"],
|
|
688
|
-
enumDescriptions: [( localize(
|
|
689
|
-
|
|
749
|
+
enumDescriptions: [( localize(5724, "Never show OS notifications for responses.")), ( localize(
|
|
750
|
+
5725,
|
|
690
751
|
"Show OS notifications for responses when the window is not focused."
|
|
691
752
|
)), ( localize(
|
|
692
|
-
|
|
753
|
+
5726,
|
|
693
754
|
"Always show OS notifications for responses, even when the window is focused."
|
|
694
755
|
))],
|
|
695
756
|
default: "windowNotFocused",
|
|
696
757
|
description: ( localize(
|
|
697
|
-
|
|
758
|
+
5727,
|
|
698
759
|
"Controls whether a chat session should present the user with an OS notification when a response is received. This includes a window badge as well as notification toast."
|
|
699
760
|
))
|
|
700
761
|
},
|
|
@@ -702,23 +763,23 @@ configurationRegistry.registerConfiguration({
|
|
|
702
763
|
type: "boolean",
|
|
703
764
|
default: true,
|
|
704
765
|
description: ( localize(
|
|
705
|
-
|
|
766
|
+
5728,
|
|
706
767
|
"Enables checkpoints in chat. Checkpoints allow you to restore the chat to a previous state."
|
|
707
768
|
))
|
|
708
769
|
},
|
|
709
770
|
"chat.checkpoints.showFileChanges": {
|
|
710
771
|
type: "boolean",
|
|
711
|
-
description: ( localize(
|
|
772
|
+
description: ( localize(5729, "Controls whether to show chat checkpoint file changes.")),
|
|
712
773
|
default: false
|
|
713
774
|
},
|
|
714
775
|
[mcpAccessConfig]: {
|
|
715
776
|
type: "string",
|
|
716
|
-
description: ( localize(
|
|
777
|
+
description: ( localize(5730, "Controls access to installed Model Context Protocol servers.")),
|
|
717
778
|
enum: [McpAccessValue.None, McpAccessValue.Registry, McpAccessValue.All],
|
|
718
|
-
enumDescriptions: [( localize(
|
|
719
|
-
|
|
779
|
+
enumDescriptions: [( localize(5731, "No access to MCP servers.")), ( localize(
|
|
780
|
+
5732,
|
|
720
781
|
"Allows access to MCP servers installed from the registry that VS Code is connected to."
|
|
721
|
-
)), ( localize(
|
|
782
|
+
)), ( localize(5733, "Allow access to any installed MCP server."))],
|
|
722
783
|
default: McpAccessValue.All,
|
|
723
784
|
policy: {
|
|
724
785
|
name: "ChatMCP",
|
|
@@ -736,20 +797,20 @@ configurationRegistry.registerConfiguration({
|
|
|
736
797
|
localization: {
|
|
737
798
|
description: {
|
|
738
799
|
key: "chat.mcp.access",
|
|
739
|
-
value: ( localize(
|
|
800
|
+
value: ( localize(5730, "Controls access to installed Model Context Protocol servers."))
|
|
740
801
|
},
|
|
741
802
|
enumDescriptions: [{
|
|
742
803
|
key: "chat.mcp.access.none",
|
|
743
|
-
value: ( localize(
|
|
804
|
+
value: ( localize(5731, "No access to MCP servers."))
|
|
744
805
|
}, {
|
|
745
806
|
key: "chat.mcp.access.registry",
|
|
746
807
|
value: ( localize(
|
|
747
|
-
|
|
808
|
+
5732,
|
|
748
809
|
"Allows access to MCP servers installed from the registry that VS Code is connected to."
|
|
749
810
|
))
|
|
750
811
|
}, {
|
|
751
812
|
key: "chat.mcp.access.any",
|
|
752
|
-
value: ( localize(
|
|
813
|
+
value: ( localize(5733, "Allow access to any installed MCP server."))
|
|
753
814
|
}]
|
|
754
815
|
}
|
|
755
816
|
}
|
|
@@ -757,7 +818,7 @@ configurationRegistry.registerConfiguration({
|
|
|
757
818
|
[mcpAutoStartConfig]: {
|
|
758
819
|
type: "string",
|
|
759
820
|
description: ( localize(
|
|
760
|
-
|
|
821
|
+
5734,
|
|
761
822
|
"Controls whether MCP servers should be automatically started when the chat messages are submitted."
|
|
762
823
|
)),
|
|
763
824
|
default: McpAutoStartValue.NewAndOutdated,
|
|
@@ -766,8 +827,8 @@ configurationRegistry.registerConfiguration({
|
|
|
766
827
|
McpAutoStartValue.OnlyNew,
|
|
767
828
|
McpAutoStartValue.NewAndOutdated
|
|
768
829
|
],
|
|
769
|
-
enumDescriptions: [( localize(
|
|
770
|
-
|
|
830
|
+
enumDescriptions: [( localize(5735, "Never automatically start MCP servers.")), ( localize(5736, "Only automatically start new MCP servers that have never been run.")), ( localize(
|
|
831
|
+
5737,
|
|
771
832
|
"Automatically start new and outdated MCP servers that are not yet running."
|
|
772
833
|
))],
|
|
773
834
|
tags: ["experimental"]
|
|
@@ -775,7 +836,7 @@ configurationRegistry.registerConfiguration({
|
|
|
775
836
|
[mcpAppsEnabledConfig]: {
|
|
776
837
|
type: "boolean",
|
|
777
838
|
description: ( localize(
|
|
778
|
-
|
|
839
|
+
5738,
|
|
779
840
|
"Controls whether MCP servers can provide custom UI for tool invocations."
|
|
780
841
|
)),
|
|
781
842
|
default: true,
|
|
@@ -784,9 +845,9 @@ configurationRegistry.registerConfiguration({
|
|
|
784
845
|
[mcpServerSamplingSection]: {
|
|
785
846
|
type: "object",
|
|
786
847
|
description: ( localize(
|
|
787
|
-
|
|
848
|
+
5739,
|
|
788
849
|
"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.",
|
|
789
|
-
"MCP: " + ( localize(
|
|
850
|
+
"MCP: " + ( localize(5740, "List Servers"))
|
|
790
851
|
)),
|
|
791
852
|
scope: ConfigurationScope.RESOURCE,
|
|
792
853
|
additionalProperties: {
|
|
@@ -795,7 +856,7 @@ configurationRegistry.registerConfiguration({
|
|
|
795
856
|
allowedDuringChat: {
|
|
796
857
|
type: "boolean",
|
|
797
858
|
description: ( localize(
|
|
798
|
-
|
|
859
|
+
5741,
|
|
799
860
|
"Whether this server is make sampling requests during its tool calls in a chat session."
|
|
800
861
|
)),
|
|
801
862
|
default: true
|
|
@@ -803,7 +864,7 @@ configurationRegistry.registerConfiguration({
|
|
|
803
864
|
allowedOutsideChat: {
|
|
804
865
|
type: "boolean",
|
|
805
866
|
description: ( localize(
|
|
806
|
-
|
|
867
|
+
5742,
|
|
807
868
|
"Whether this server is allowed to make sampling requests outside of a chat session."
|
|
808
869
|
)),
|
|
809
870
|
default: false
|
|
@@ -812,7 +873,7 @@ configurationRegistry.registerConfiguration({
|
|
|
812
873
|
type: "array",
|
|
813
874
|
items: {
|
|
814
875
|
type: "string",
|
|
815
|
-
description: ( localize(
|
|
876
|
+
description: ( localize(5743, "A model the MCP server has access to."))
|
|
816
877
|
}
|
|
817
878
|
}
|
|
818
879
|
}
|
|
@@ -821,7 +882,7 @@ configurationRegistry.registerConfiguration({
|
|
|
821
882
|
[AssistedTypes[AddConfigurationType.NuGetPackage].enabledConfigKey]: {
|
|
822
883
|
type: "boolean",
|
|
823
884
|
description: ( localize(
|
|
824
|
-
|
|
885
|
+
5744,
|
|
825
886
|
"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)."
|
|
826
887
|
)),
|
|
827
888
|
default: false,
|
|
@@ -832,7 +893,7 @@ configurationRegistry.registerConfiguration({
|
|
|
832
893
|
},
|
|
833
894
|
[ChatConfiguration.ExtensionToolsEnabled]: {
|
|
834
895
|
type: "boolean",
|
|
835
|
-
description: ( localize(
|
|
896
|
+
description: ( localize(5745, "Enable using tools contributed by third-party extensions.")),
|
|
836
897
|
default: true,
|
|
837
898
|
policy: {
|
|
838
899
|
name: "ChatAgentExtensionTools",
|
|
@@ -841,16 +902,27 @@ configurationRegistry.registerConfiguration({
|
|
|
841
902
|
localization: {
|
|
842
903
|
description: {
|
|
843
904
|
key: "chat.extensionToolsEnabled",
|
|
844
|
-
value: ( localize(
|
|
905
|
+
value: ( localize(5745, "Enable using tools contributed by third-party extensions."))
|
|
845
906
|
}
|
|
846
907
|
}
|
|
847
908
|
}
|
|
848
909
|
},
|
|
849
910
|
[ChatConfiguration.PluginsEnabled]: {
|
|
850
911
|
type: "boolean",
|
|
851
|
-
description: ( localize(
|
|
912
|
+
description: ( localize(5746, "Enable agent plugin integration in chat.")),
|
|
852
913
|
default: true,
|
|
853
|
-
tags: ["preview"]
|
|
914
|
+
tags: ["preview"],
|
|
915
|
+
policy: {
|
|
916
|
+
name: "ChatPluginsEnabled",
|
|
917
|
+
category: PolicyCategory.InteractiveSession,
|
|
918
|
+
minimumVersion: "1.116",
|
|
919
|
+
localization: {
|
|
920
|
+
description: {
|
|
921
|
+
key: "chat.plugins.enabled",
|
|
922
|
+
value: ( localize(5746, "Enable agent plugin integration in chat."))
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
}
|
|
854
926
|
},
|
|
855
927
|
[ChatConfiguration.PluginLocations]: {
|
|
856
928
|
type: "object",
|
|
@@ -859,7 +931,7 @@ configurationRegistry.registerConfiguration({
|
|
|
859
931
|
},
|
|
860
932
|
restricted: true,
|
|
861
933
|
markdownDescription: ( localize(
|
|
862
|
-
|
|
934
|
+
5747,
|
|
863
935
|
"Plugin directories to discover. Each key is a path that points directly to a plugin folder, and the value enables (`true`) or disables (`false`) it. Paths can be absolute, relative to the workspace root, or start with `~/` for the user's home directory."
|
|
864
936
|
)),
|
|
865
937
|
scope: ConfigurationScope.MACHINE,
|
|
@@ -871,7 +943,7 @@ configurationRegistry.registerConfiguration({
|
|
|
871
943
|
type: "string"
|
|
872
944
|
},
|
|
873
945
|
markdownDescription: ( localize(
|
|
874
|
-
|
|
946
|
+
5748,
|
|
875
947
|
"Plugin marketplaces to query. Entries may be GitHub shorthand (`owner/repo`), direct Git repository URIs (`https://...git`, `ssh://...git`, or `git@host:path.git`), or local repository URIs (`file:///...`). Equivalent GitHub shorthand and URI entries are deduplicated."
|
|
876
948
|
)),
|
|
877
949
|
default: ["github/copilot-plugins", "github/awesome-copilot"],
|
|
@@ -881,7 +953,7 @@ configurationRegistry.registerConfiguration({
|
|
|
881
953
|
[ChatConfiguration.AgentEnabled]: {
|
|
882
954
|
type: "boolean",
|
|
883
955
|
description: ( localize(
|
|
884
|
-
|
|
956
|
+
5749,
|
|
885
957
|
"When enabled, agent mode can be activated from chat and tools in agentic contexts with side effects can be used."
|
|
886
958
|
)),
|
|
887
959
|
default: true,
|
|
@@ -895,16 +967,169 @@ configurationRegistry.registerConfiguration({
|
|
|
895
967
|
description: {
|
|
896
968
|
key: "chat.agent.enabled.description",
|
|
897
969
|
value: ( localize(
|
|
898
|
-
|
|
970
|
+
5749,
|
|
899
971
|
"When enabled, agent mode can be activated from chat and tools in agentic contexts with side effects can be used."
|
|
900
972
|
))
|
|
901
973
|
}
|
|
902
974
|
}
|
|
903
975
|
}
|
|
904
976
|
},
|
|
977
|
+
[AgentNetworkDomainSettingId.NetworkFilter]: {
|
|
978
|
+
markdownDescription: ( localize(
|
|
979
|
+
5750,
|
|
980
|
+
"When enabled, network access by agent tools (fetch tool, integrated browser) is restricted according to {0} and {1}. Domain filtering is also applied to those tools when {2} is enabled.",
|
|
981
|
+
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``,
|
|
982
|
+
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``,
|
|
983
|
+
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
984
|
+
)),
|
|
985
|
+
type: "boolean",
|
|
986
|
+
default: false,
|
|
987
|
+
restricted: true,
|
|
988
|
+
policy: {
|
|
989
|
+
name: "ChatAgentNetworkFilter",
|
|
990
|
+
category: PolicyCategory.InteractiveSession,
|
|
991
|
+
minimumVersion: "1.116",
|
|
992
|
+
localization: {
|
|
993
|
+
description: {
|
|
994
|
+
key: "chat.agent.networkFilter",
|
|
995
|
+
value: ( localize(
|
|
996
|
+
5750,
|
|
997
|
+
"When enabled, network access by agent tools (fetch tool, integrated browser) is restricted according to {0} and {1}. Domain filtering is also applied to those tools when {2} is enabled.",
|
|
998
|
+
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``,
|
|
999
|
+
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``,
|
|
1000
|
+
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``
|
|
1001
|
+
))
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
[AgentNetworkDomainSettingId.AllowedNetworkDomains]: {
|
|
1007
|
+
markdownDescription: ( localize(
|
|
1008
|
+
5751,
|
|
1009
|
+
"Allowed domains for network access by agent tools (fetch tool, integrated browser). Applies when {0} or {1} is enabled. When {1} is enabled, this also configures terminal sandbox networking. Supports wildcards like {2}. When both allowed and denied lists are empty, all domains are blocked. Denied domains (see {3}) take precedence.",
|
|
1010
|
+
`\`#${AgentNetworkDomainSettingId.NetworkFilter}#\``,
|
|
1011
|
+
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``,
|
|
1012
|
+
"`*.example.com`",
|
|
1013
|
+
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``
|
|
1014
|
+
)),
|
|
1015
|
+
type: "array",
|
|
1016
|
+
items: {
|
|
1017
|
+
type: "string"
|
|
1018
|
+
},
|
|
1019
|
+
default: [],
|
|
1020
|
+
restricted: true,
|
|
1021
|
+
policy: {
|
|
1022
|
+
name: "ChatAgentAllowedNetworkDomains",
|
|
1023
|
+
category: PolicyCategory.InteractiveSession,
|
|
1024
|
+
minimumVersion: "1.116",
|
|
1025
|
+
localization: {
|
|
1026
|
+
description: {
|
|
1027
|
+
key: "chat.agent.allowedNetworkDomains",
|
|
1028
|
+
value: ( localize(
|
|
1029
|
+
5751,
|
|
1030
|
+
"Allowed domains for network access by agent tools (fetch tool, integrated browser). Applies when {0} or {1} is enabled. When {1} is enabled, this also configures terminal sandbox networking. Supports wildcards like {2}. When both allowed and denied lists are empty, all domains are blocked. Denied domains (see {3}) take precedence.",
|
|
1031
|
+
`\`#${AgentNetworkDomainSettingId.NetworkFilter}#\``,
|
|
1032
|
+
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``,
|
|
1033
|
+
"`*.example.com`",
|
|
1034
|
+
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``
|
|
1035
|
+
))
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
[AgentNetworkDomainSettingId.DeniedNetworkDomains]: {
|
|
1041
|
+
markdownDescription: ( localize(
|
|
1042
|
+
5752,
|
|
1043
|
+
"Denied domains for network access by agent tools (fetch tool, integrated browser). Applies when {0} or {1} is enabled. When {1} is enabled, this also configures terminal sandbox networking. Takes precedence over {2}. Supports wildcards like {3}.",
|
|
1044
|
+
`\`#${AgentNetworkDomainSettingId.NetworkFilter}#\``,
|
|
1045
|
+
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``,
|
|
1046
|
+
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``,
|
|
1047
|
+
"`*.example.com`"
|
|
1048
|
+
)),
|
|
1049
|
+
type: "array",
|
|
1050
|
+
items: {
|
|
1051
|
+
type: "string"
|
|
1052
|
+
},
|
|
1053
|
+
default: [],
|
|
1054
|
+
restricted: true,
|
|
1055
|
+
policy: {
|
|
1056
|
+
name: "ChatAgentDeniedNetworkDomains",
|
|
1057
|
+
category: PolicyCategory.InteractiveSession,
|
|
1058
|
+
minimumVersion: "1.116",
|
|
1059
|
+
localization: {
|
|
1060
|
+
description: {
|
|
1061
|
+
key: "chat.agent.deniedNetworkDomains",
|
|
1062
|
+
value: ( localize(
|
|
1063
|
+
5752,
|
|
1064
|
+
"Denied domains for network access by agent tools (fetch tool, integrated browser). Applies when {0} or {1} is enabled. When {1} is enabled, this also configures terminal sandbox networking. Takes precedence over {2}. Supports wildcards like {3}.",
|
|
1065
|
+
`\`#${AgentNetworkDomainSettingId.NetworkFilter}#\``,
|
|
1066
|
+
`\`#${AgentSandboxSettingId.AgentSandboxEnabled}#\``,
|
|
1067
|
+
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``,
|
|
1068
|
+
"`*.example.com`"
|
|
1069
|
+
))
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
[AgentNetworkDomainSettingId.DeprecatedOldAllowedNetworkDomains]: {
|
|
1075
|
+
type: "array",
|
|
1076
|
+
items: {
|
|
1077
|
+
type: "string"
|
|
1078
|
+
},
|
|
1079
|
+
deprecated: true,
|
|
1080
|
+
markdownDeprecationMessage: ( localize(
|
|
1081
|
+
5753,
|
|
1082
|
+
"Use {0} instead",
|
|
1083
|
+
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``
|
|
1084
|
+
))
|
|
1085
|
+
},
|
|
1086
|
+
[AgentNetworkDomainSettingId.DeprecatedOldDeniedNetworkDomains]: {
|
|
1087
|
+
type: "array",
|
|
1088
|
+
items: {
|
|
1089
|
+
type: "string"
|
|
1090
|
+
},
|
|
1091
|
+
deprecated: true,
|
|
1092
|
+
markdownDeprecationMessage: ( localize(
|
|
1093
|
+
5754,
|
|
1094
|
+
"Use {0} instead",
|
|
1095
|
+
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``
|
|
1096
|
+
))
|
|
1097
|
+
},
|
|
1098
|
+
[AgentNetworkDomainSettingId.DeprecatedSandboxAllowedNetworkDomains]: {
|
|
1099
|
+
type: "array",
|
|
1100
|
+
items: {
|
|
1101
|
+
type: "string"
|
|
1102
|
+
},
|
|
1103
|
+
deprecated: true,
|
|
1104
|
+
markdownDeprecationMessage: ( localize(
|
|
1105
|
+
5755,
|
|
1106
|
+
"Use {0} instead",
|
|
1107
|
+
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``
|
|
1108
|
+
))
|
|
1109
|
+
},
|
|
1110
|
+
[AgentNetworkDomainSettingId.DeprecatedSandboxDeniedNetworkDomains]: {
|
|
1111
|
+
type: "array",
|
|
1112
|
+
items: {
|
|
1113
|
+
type: "string"
|
|
1114
|
+
},
|
|
1115
|
+
deprecated: true,
|
|
1116
|
+
markdownDeprecationMessage: ( localize(
|
|
1117
|
+
5756,
|
|
1118
|
+
"Use {0} instead",
|
|
1119
|
+
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``
|
|
1120
|
+
))
|
|
1121
|
+
},
|
|
1122
|
+
[ChatConfiguration.DefaultNewSessionMode]: {
|
|
1123
|
+
type: "string",
|
|
1124
|
+
description: ( localize(
|
|
1125
|
+
5757,
|
|
1126
|
+
"The default mode for new chat sessions. When empty, the chat view's default mode is used."
|
|
1127
|
+
)),
|
|
1128
|
+
default: ""
|
|
1129
|
+
},
|
|
905
1130
|
[AgentHostEnabledSettingId]: {
|
|
906
1131
|
type: "boolean",
|
|
907
|
-
description: ( localize(
|
|
1132
|
+
description: ( localize(5758, "When enabled, some agents run in a separate agent host process.")),
|
|
908
1133
|
default: false,
|
|
909
1134
|
tags: ["experimental", "advanced"],
|
|
910
1135
|
included: product.quality !== "stable"
|
|
@@ -912,17 +1137,39 @@ configurationRegistry.registerConfiguration({
|
|
|
912
1137
|
[AgentHostIpcLoggingSettingId]: {
|
|
913
1138
|
type: "boolean",
|
|
914
1139
|
description: ( localize(
|
|
915
|
-
|
|
1140
|
+
5759,
|
|
916
1141
|
"When enabled, logs all IPC traffic for each agent host to a dedicated output channel."
|
|
917
1142
|
)),
|
|
918
|
-
default:
|
|
1143
|
+
default: product.quality !== "stable",
|
|
919
1144
|
tags: ["experimental", "advanced"],
|
|
920
1145
|
included: product.quality !== "stable"
|
|
921
1146
|
},
|
|
1147
|
+
[ChatConfiguration.AgentHostClientTools]: {
|
|
1148
|
+
type: "array",
|
|
1149
|
+
items: {
|
|
1150
|
+
type: "string"
|
|
1151
|
+
},
|
|
1152
|
+
description: ( localize(
|
|
1153
|
+
5760,
|
|
1154
|
+
"Tool reference names to expose as client-provided tools in agent host sessions."
|
|
1155
|
+
)),
|
|
1156
|
+
default: ["runTask", "getTaskOutput", "problems", "runTests"],
|
|
1157
|
+
tags: ["experimental", "advanced"],
|
|
1158
|
+
included: product.quality !== "stable"
|
|
1159
|
+
},
|
|
1160
|
+
[ChatConfiguration.ToolConfirmationCarousel]: {
|
|
1161
|
+
type: "boolean",
|
|
1162
|
+
description: ( localize(
|
|
1163
|
+
5761,
|
|
1164
|
+
"When enabled, multiple tool confirmations are batched into a carousel above the input."
|
|
1165
|
+
)),
|
|
1166
|
+
default: product.quality !== "stable",
|
|
1167
|
+
tags: ["experimental"]
|
|
1168
|
+
},
|
|
922
1169
|
[ChatConfiguration.PlanAgentDefaultModel]: {
|
|
923
1170
|
type: "string",
|
|
924
1171
|
description: ( localize(
|
|
925
|
-
|
|
1172
|
+
5762,
|
|
926
1173
|
"Select the default language model to use for the Plan agent from the available providers."
|
|
927
1174
|
)),
|
|
928
1175
|
default: "",
|
|
@@ -933,7 +1180,7 @@ configurationRegistry.registerConfiguration({
|
|
|
933
1180
|
[ChatConfiguration.ExploreAgentDefaultModel]: {
|
|
934
1181
|
type: "string",
|
|
935
1182
|
description: ( localize(
|
|
936
|
-
|
|
1183
|
+
5763,
|
|
937
1184
|
"Select the default language model to use for the Explore subagent from the available providers."
|
|
938
1185
|
)),
|
|
939
1186
|
default: "",
|
|
@@ -944,19 +1191,19 @@ configurationRegistry.registerConfiguration({
|
|
|
944
1191
|
[ChatConfiguration.RequestQueueingDefaultAction]: {
|
|
945
1192
|
type: "string",
|
|
946
1193
|
enum: ["queue", "steer"],
|
|
947
|
-
enumDescriptions: [( localize(
|
|
948
|
-
|
|
1194
|
+
enumDescriptions: [( localize(5764, "Queue the message to send after the current request completes.")), ( localize(
|
|
1195
|
+
5765,
|
|
949
1196
|
"Steer the current request by sending the message immediately, signaling the current request to yield."
|
|
950
1197
|
))],
|
|
951
1198
|
description: ( localize(
|
|
952
|
-
|
|
1199
|
+
5766,
|
|
953
1200
|
"Controls which action is the default for the queue button when a request is in progress."
|
|
954
1201
|
)),
|
|
955
1202
|
default: "steer"
|
|
956
1203
|
},
|
|
957
1204
|
[ChatConfiguration.EditModeHidden]: {
|
|
958
1205
|
type: "boolean",
|
|
959
|
-
description: ( localize(
|
|
1206
|
+
description: ( localize(5767, "When enabled, hides the Edit mode from the chat mode picker.")),
|
|
960
1207
|
default: true,
|
|
961
1208
|
tags: ["experimental"],
|
|
962
1209
|
experiment: {
|
|
@@ -969,37 +1216,25 @@ configurationRegistry.registerConfiguration({
|
|
|
969
1216
|
localization: {
|
|
970
1217
|
description: {
|
|
971
1218
|
key: "chat.editMode.hidden",
|
|
972
|
-
value: ( localize(
|
|
1219
|
+
value: ( localize(5767, "When enabled, hides the Edit mode from the chat mode picker."))
|
|
973
1220
|
}
|
|
974
1221
|
}
|
|
975
1222
|
}
|
|
976
1223
|
},
|
|
977
1224
|
[ChatConfiguration.EnableMath]: {
|
|
978
1225
|
type: "boolean",
|
|
979
|
-
description: ( localize(
|
|
1226
|
+
description: ( localize(5768, "Enable math rendering in chat responses using KaTeX.")),
|
|
980
1227
|
default: true
|
|
981
1228
|
},
|
|
982
1229
|
[ChatConfiguration.ShowCodeBlockProgressAnimation]: {
|
|
983
1230
|
type: "boolean",
|
|
984
1231
|
description: ( localize(
|
|
985
|
-
|
|
1232
|
+
5769,
|
|
986
1233
|
"When applying edits, show a progress animation in the code block pill. If disabled, shows the progress percentage instead."
|
|
987
1234
|
)),
|
|
988
1235
|
default: true,
|
|
989
1236
|
tags: ["experimental"]
|
|
990
1237
|
},
|
|
991
|
-
["chat.statusWidget.anonymous"]: {
|
|
992
|
-
type: "boolean",
|
|
993
|
-
description: ( localize(
|
|
994
|
-
5686,
|
|
995
|
-
"Controls whether anonymous users see the status widget in new chat sessions when rate limited."
|
|
996
|
-
)),
|
|
997
|
-
default: false,
|
|
998
|
-
tags: ["experimental", "advanced"],
|
|
999
|
-
experiment: {
|
|
1000
|
-
mode: "auto"
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
1238
|
[mcpDiscoverySection]: {
|
|
1004
1239
|
type: "object",
|
|
1005
1240
|
properties: Object.fromEntries(( allDiscoverySources.map(k => [k, {
|
|
@@ -1009,7 +1244,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1009
1244
|
additionalProperties: false,
|
|
1010
1245
|
default: Object.fromEntries(( allDiscoverySources.map(k => [k, false]))),
|
|
1011
1246
|
markdownDescription: ( localize(
|
|
1012
|
-
|
|
1247
|
+
5770,
|
|
1013
1248
|
"Configures discovery of Model Context Protocol servers from configuration from various other applications."
|
|
1014
1249
|
))
|
|
1015
1250
|
},
|
|
@@ -1018,14 +1253,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1018
1253
|
default: false,
|
|
1019
1254
|
tags: ["preview"],
|
|
1020
1255
|
description: ( localize(
|
|
1021
|
-
|
|
1256
|
+
5771,
|
|
1022
1257
|
"Enables the default Marketplace for Model Context Protocol (MCP) servers."
|
|
1023
1258
|
)),
|
|
1024
1259
|
included: product.quality === "stable"
|
|
1025
1260
|
},
|
|
1026
1261
|
[mcpGalleryServiceUrlConfig]: {
|
|
1027
1262
|
type: "string",
|
|
1028
|
-
description: ( localize(
|
|
1263
|
+
description: ( localize(5772, "Configure the MCP Gallery service URL to connect to")),
|
|
1029
1264
|
default: "",
|
|
1030
1265
|
scope: ConfigurationScope.APPLICATION,
|
|
1031
1266
|
tags: ["usesOnlineServices", "advanced"],
|
|
@@ -1038,16 +1273,16 @@ configurationRegistry.registerConfiguration({
|
|
|
1038
1273
|
localization: {
|
|
1039
1274
|
description: {
|
|
1040
1275
|
key: "mcp.gallery.serviceUrl",
|
|
1041
|
-
value: ( localize(
|
|
1276
|
+
value: ( localize(5772, "Configure the MCP Gallery service URL to connect to"))
|
|
1042
1277
|
}
|
|
1043
1278
|
}
|
|
1044
1279
|
}
|
|
1045
1280
|
},
|
|
1046
1281
|
[PromptsConfig.INSTRUCTIONS_LOCATION_KEY]: {
|
|
1047
1282
|
type: "object",
|
|
1048
|
-
title: ( localize(
|
|
1283
|
+
title: ( localize(5773, "Instructions File Locations")),
|
|
1049
1284
|
markdownDescription: ( localize(
|
|
1050
|
-
|
|
1285
|
+
5774,
|
|
1051
1286
|
"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.",
|
|
1052
1287
|
INSTRUCTION_FILE_EXTENSION,
|
|
1053
1288
|
INSTRUCTIONS_DOCUMENTATION_URL
|
|
@@ -1066,7 +1301,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1066
1301
|
propertyNames: {
|
|
1067
1302
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
1068
1303
|
patternErrorMessage: ( localize(
|
|
1069
|
-
|
|
1304
|
+
5775,
|
|
1070
1305
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported. Glob patterns are deprecated and will be removed in future versions."
|
|
1071
1306
|
))
|
|
1072
1307
|
},
|
|
@@ -1081,9 +1316,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1081
1316
|
},
|
|
1082
1317
|
[PromptsConfig.PROMPT_LOCATIONS_KEY]: {
|
|
1083
1318
|
type: "object",
|
|
1084
|
-
title: ( localize(
|
|
1319
|
+
title: ( localize(5776, "Prompt File Locations")),
|
|
1085
1320
|
markdownDescription: ( localize(
|
|
1086
|
-
|
|
1321
|
+
5777,
|
|
1087
1322
|
"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.",
|
|
1088
1323
|
PROMPT_FILE_EXTENSION,
|
|
1089
1324
|
PROMPT_DOCUMENTATION_URL
|
|
@@ -1100,7 +1335,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1100
1335
|
propertyNames: {
|
|
1101
1336
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
1102
1337
|
patternErrorMessage: ( localize(
|
|
1103
|
-
|
|
1338
|
+
5778,
|
|
1104
1339
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported. Glob patterns are deprecated and will be removed in future versions."
|
|
1105
1340
|
))
|
|
1106
1341
|
},
|
|
@@ -1115,9 +1350,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1115
1350
|
},
|
|
1116
1351
|
[PromptsConfig.MODE_LOCATION_KEY]: {
|
|
1117
1352
|
type: "object",
|
|
1118
|
-
title: ( localize(
|
|
1353
|
+
title: ( localize(5779, "Mode File Locations")),
|
|
1119
1354
|
markdownDescription: ( localize(
|
|
1120
|
-
|
|
1355
|
+
5780,
|
|
1121
1356
|
"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.",
|
|
1122
1357
|
LEGACY_MODE_FILE_EXTENSION,
|
|
1123
1358
|
AGENT_DOCUMENTATION_URL
|
|
@@ -1126,7 +1361,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1126
1361
|
[LEGACY_MODE_DEFAULT_SOURCE_FOLDER]: true
|
|
1127
1362
|
},
|
|
1128
1363
|
deprecationMessage: ( localize(
|
|
1129
|
-
|
|
1364
|
+
5781,
|
|
1130
1365
|
"This setting is deprecated and will be removed in future releases. Chat modes are now called custom agents and are located in `.github/agents`"
|
|
1131
1366
|
)),
|
|
1132
1367
|
additionalProperties: {
|
|
@@ -1152,9 +1387,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1152
1387
|
},
|
|
1153
1388
|
[PromptsConfig.AGENTS_LOCATION_KEY]: {
|
|
1154
1389
|
type: "object",
|
|
1155
|
-
title: ( localize(
|
|
1390
|
+
title: ( localize(5782, "Agent File Locations")),
|
|
1156
1391
|
markdownDescription: ( localize(
|
|
1157
|
-
|
|
1392
|
+
5783,
|
|
1158
1393
|
"Specify location(s) of custom agent files (`*{0}`). [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.",
|
|
1159
1394
|
AGENT_FILE_EXTENSION,
|
|
1160
1395
|
AGENT_DOCUMENTATION_URL
|
|
@@ -1170,7 +1405,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1170
1405
|
propertyNames: {
|
|
1171
1406
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
1172
1407
|
patternErrorMessage: ( localize(
|
|
1173
|
-
|
|
1408
|
+
5784,
|
|
1174
1409
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported."
|
|
1175
1410
|
))
|
|
1176
1411
|
},
|
|
@@ -1187,9 +1422,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1187
1422
|
},
|
|
1188
1423
|
[PromptsConfig.USE_AGENT_MD]: {
|
|
1189
1424
|
type: "boolean",
|
|
1190
|
-
title: ( localize(
|
|
1425
|
+
title: ( localize(5785, "Use AGENTS.md file")),
|
|
1191
1426
|
markdownDescription: ( localize(
|
|
1192
|
-
|
|
1427
|
+
5786,
|
|
1193
1428
|
"Controls whether instructions from `AGENTS.md` file found in a workspace roots are attached to all chat requests."
|
|
1194
1429
|
)),
|
|
1195
1430
|
default: true,
|
|
@@ -1199,9 +1434,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1199
1434
|
},
|
|
1200
1435
|
[PromptsConfig.USE_NESTED_AGENT_MD]: {
|
|
1201
1436
|
type: "boolean",
|
|
1202
|
-
title: ( localize(
|
|
1437
|
+
title: ( localize(5787, "Use nested AGENTS.md files")),
|
|
1203
1438
|
markdownDescription: ( localize(
|
|
1204
|
-
|
|
1439
|
+
5788,
|
|
1205
1440
|
"Controls whether instructions from nested `AGENTS.md` files found in the workspace are listed in all chat requests. The language model can load these skills on-demand if the `read` tool is available."
|
|
1206
1441
|
)),
|
|
1207
1442
|
default: false,
|
|
@@ -1217,9 +1452,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1217
1452
|
},
|
|
1218
1453
|
[PromptsConfig.USE_CLAUDE_MD]: {
|
|
1219
1454
|
type: "boolean",
|
|
1220
|
-
title: ( localize(
|
|
1455
|
+
title: ( localize(5789, "Use CLAUDE.md file")),
|
|
1221
1456
|
markdownDescription: ( localize(
|
|
1222
|
-
|
|
1457
|
+
5790,
|
|
1223
1458
|
"Controls whether instructions from `CLAUDE.md` file found in workspace roots, .claude and ~/.claude folder are attached to all chat requests."
|
|
1224
1459
|
)),
|
|
1225
1460
|
default: true,
|
|
@@ -1229,9 +1464,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1229
1464
|
},
|
|
1230
1465
|
[PromptsConfig.USE_AGENT_SKILLS]: {
|
|
1231
1466
|
type: "boolean",
|
|
1232
|
-
title: ( localize(
|
|
1467
|
+
title: ( localize(5791, "Use Agent skills")),
|
|
1233
1468
|
markdownDescription: ( localize(
|
|
1234
|
-
|
|
1469
|
+
5792,
|
|
1235
1470
|
"Controls whether skills are provided as specialized capabilities to the chat requests. Skills are loaded from the folders configured in `#chat.agentSkillsLocations#`. The language model can load these skills on-demand if the `read` tool is available. Learn more about [Agent Skills](https://aka.ms/vscode-agent-skills)."
|
|
1236
1471
|
)),
|
|
1237
1472
|
default: true,
|
|
@@ -1241,9 +1476,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1241
1476
|
},
|
|
1242
1477
|
[PromptsConfig.USE_SKILL_ADHERENCE_PROMPT]: {
|
|
1243
1478
|
type: "boolean",
|
|
1244
|
-
title: ( localize(
|
|
1479
|
+
title: ( localize(5793, "Use Skill Adherence Prompt")),
|
|
1245
1480
|
markdownDescription: ( localize(
|
|
1246
|
-
|
|
1481
|
+
5794,
|
|
1247
1482
|
"Controls whether a stronger skill adherence prompt is used that encourages the model to immediately invoke skills when relevant rather than just announcing them."
|
|
1248
1483
|
)),
|
|
1249
1484
|
default: false,
|
|
@@ -1262,9 +1497,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1262
1497
|
},
|
|
1263
1498
|
[PromptsConfig.INCLUDE_APPLYING_INSTRUCTIONS]: {
|
|
1264
1499
|
type: "boolean",
|
|
1265
|
-
title: ( localize(
|
|
1500
|
+
title: ( localize(5795, "Include Applying Instructions")),
|
|
1266
1501
|
markdownDescription: ( localize(
|
|
1267
|
-
|
|
1502
|
+
5796,
|
|
1268
1503
|
"Controls whether instructions with a matching 'applyTo' attribute are automatically included in chat requests."
|
|
1269
1504
|
)),
|
|
1270
1505
|
default: true,
|
|
@@ -1274,9 +1509,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1274
1509
|
},
|
|
1275
1510
|
[PromptsConfig.INCLUDE_REFERENCED_INSTRUCTIONS]: {
|
|
1276
1511
|
type: "boolean",
|
|
1277
|
-
title: ( localize(
|
|
1512
|
+
title: ( localize(5797, "Include Referenced Instructions")),
|
|
1278
1513
|
markdownDescription: ( localize(
|
|
1279
|
-
|
|
1514
|
+
5798,
|
|
1280
1515
|
"Controls whether referenced instructions are automatically included in chat requests."
|
|
1281
1516
|
)),
|
|
1282
1517
|
default: false,
|
|
@@ -1286,9 +1521,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1286
1521
|
},
|
|
1287
1522
|
[PromptsConfig.USE_CUSTOMIZATIONS_IN_PARENT_REPOS]: {
|
|
1288
1523
|
type: "boolean",
|
|
1289
|
-
title: ( localize(
|
|
1524
|
+
title: ( localize(5799, "Use Customizations in Parent Repositories")),
|
|
1290
1525
|
markdownDescription: ( localize(
|
|
1291
|
-
|
|
1526
|
+
5800,
|
|
1292
1527
|
"Controls whether to use chat customization files in parent repositories."
|
|
1293
1528
|
)),
|
|
1294
1529
|
default: false,
|
|
@@ -1298,9 +1533,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1298
1533
|
},
|
|
1299
1534
|
[PromptsConfig.SKILLS_LOCATION_KEY]: {
|
|
1300
1535
|
type: "object",
|
|
1301
|
-
title: ( localize(
|
|
1536
|
+
title: ( localize(5801, "Agent Skills Locations")),
|
|
1302
1537
|
markdownDescription: ( localize(
|
|
1303
|
-
|
|
1538
|
+
5802,
|
|
1304
1539
|
"Specify location(s) of agent skills (`{0}`) that can be used in Chat Sessions. [Learn More]({1}).\n\nEach path should contain skill subfolders with SKILL.md files (e.g., add `my-skills` if you have `my-skills/skillA/SKILL.md`). Relative paths are resolved from the root folder(s) of your workspace.",
|
|
1305
1540
|
SKILL_FILENAME,
|
|
1306
1541
|
SKILL_DOCUMENTATION_URL
|
|
@@ -1319,7 +1554,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1319
1554
|
propertyNames: {
|
|
1320
1555
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
1321
1556
|
patternErrorMessage: ( localize(
|
|
1322
|
-
|
|
1557
|
+
5803,
|
|
1323
1558
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported."
|
|
1324
1559
|
))
|
|
1325
1560
|
},
|
|
@@ -1336,9 +1571,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1336
1571
|
},
|
|
1337
1572
|
[PromptsConfig.HOOKS_LOCATION_KEY]: {
|
|
1338
1573
|
type: "object",
|
|
1339
|
-
title: ( localize(
|
|
1574
|
+
title: ( localize(5804, "Hook File Locations")),
|
|
1340
1575
|
markdownDescription: ( localize(
|
|
1341
|
-
|
|
1576
|
+
5805,
|
|
1342
1577
|
"Specify paths to hook configuration files that define custom shell commands to execute at strategic points in an agent's workflow. [Learn More]({0}).\n\nRelative paths are resolved from the root folder(s) of your workspace. Supports Copilot hooks (`*.json`) and Claude Code hooks (`settings.json`, `settings.local.json`).",
|
|
1343
1578
|
HOOK_DOCUMENTATION_URL
|
|
1344
1579
|
)),
|
|
@@ -1356,7 +1591,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1356
1591
|
propertyNames: {
|
|
1357
1592
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
1358
1593
|
patternErrorMessage: ( localize(
|
|
1359
|
-
|
|
1594
|
+
5806,
|
|
1360
1595
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported."
|
|
1361
1596
|
))
|
|
1362
1597
|
},
|
|
@@ -1371,9 +1606,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1371
1606
|
},
|
|
1372
1607
|
[PromptsConfig.USE_CHAT_HOOKS]: {
|
|
1373
1608
|
type: "boolean",
|
|
1374
|
-
title: ( localize(
|
|
1609
|
+
title: ( localize(5807, "Use Chat Hooks")),
|
|
1375
1610
|
markdownDescription: ( localize(
|
|
1376
|
-
|
|
1611
|
+
5808,
|
|
1377
1612
|
"Controls whether chat hooks are executed at strategic points during an agent's workflow. Hooks are loaded from the files configured in `#chat.hookFilesLocations#`."
|
|
1378
1613
|
)),
|
|
1379
1614
|
default: true,
|
|
@@ -1389,7 +1624,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1389
1624
|
description: {
|
|
1390
1625
|
key: "chat.useHooks.description",
|
|
1391
1626
|
value: ( localize(
|
|
1392
|
-
|
|
1627
|
+
5808,
|
|
1393
1628
|
"Controls whether chat hooks are executed at strategic points during an agent's workflow. Hooks are loaded from the files configured in `#chat.hookFilesLocations#`."
|
|
1394
1629
|
))
|
|
1395
1630
|
}
|
|
@@ -1398,9 +1633,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1398
1633
|
},
|
|
1399
1634
|
[PromptsConfig.USE_CLAUDE_HOOKS]: {
|
|
1400
1635
|
type: "boolean",
|
|
1401
|
-
title: ( localize(
|
|
1636
|
+
title: ( localize(5809, "Use Claude Hooks")),
|
|
1402
1637
|
markdownDescription: ( localize(
|
|
1403
|
-
|
|
1638
|
+
5810,
|
|
1404
1639
|
"Controls whether hooks from Claude configuration files can execute. When disabled, only Copilot-format hooks are used. Hooks are loaded from the files configured in `#chat.hookFilesLocations#`."
|
|
1405
1640
|
)),
|
|
1406
1641
|
default: false,
|
|
@@ -1410,9 +1645,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1410
1645
|
},
|
|
1411
1646
|
[PromptsConfig.USE_CUSTOM_AGENT_HOOKS]: {
|
|
1412
1647
|
type: "boolean",
|
|
1413
|
-
title: ( localize(
|
|
1648
|
+
title: ( localize(5811, "Use Custom Agent Hooks")),
|
|
1414
1649
|
markdownDescription: ( localize(
|
|
1415
|
-
|
|
1650
|
+
5812,
|
|
1416
1651
|
"Controls whether hooks defined in custom agent frontmatter are parsed and executed. When disabled, hooks from agent files are ignored."
|
|
1417
1652
|
)),
|
|
1418
1653
|
default: false,
|
|
@@ -1423,9 +1658,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1423
1658
|
[PromptsConfig.PROMPT_FILES_SUGGEST_KEY]: {
|
|
1424
1659
|
type: "object",
|
|
1425
1660
|
scope: ConfigurationScope.RESOURCE,
|
|
1426
|
-
title: ( localize(
|
|
1661
|
+
title: ( localize(5813, "Prompt File Recommendations")),
|
|
1427
1662
|
markdownDescription: ( localize(
|
|
1428
|
-
|
|
1663
|
+
5814,
|
|
1429
1664
|
"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`."
|
|
1430
1665
|
)),
|
|
1431
1666
|
default: {},
|
|
@@ -1447,7 +1682,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1447
1682
|
type: "boolean",
|
|
1448
1683
|
default: true,
|
|
1449
1684
|
description: ( localize(
|
|
1450
|
-
|
|
1685
|
+
5815,
|
|
1451
1686
|
"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."
|
|
1452
1687
|
))
|
|
1453
1688
|
},
|
|
@@ -1455,21 +1690,21 @@ configurationRegistry.registerConfiguration({
|
|
|
1455
1690
|
type: "string",
|
|
1456
1691
|
default: "fixedScrolling",
|
|
1457
1692
|
enum: ["collapsed", "collapsedPreview", "fixedScrolling"],
|
|
1458
|
-
enumDescriptions: [( localize(
|
|
1459
|
-
|
|
1693
|
+
enumDescriptions: [( localize(5816, "Thinking parts will be collapsed by default.")), ( localize(
|
|
1694
|
+
5817,
|
|
1460
1695
|
"Thinking parts will be expanded first, then collapse once we reach a part that is not thinking."
|
|
1461
1696
|
)), ( localize(
|
|
1462
|
-
|
|
1697
|
+
5818,
|
|
1463
1698
|
"Show thinking in a fixed-height streaming panel that auto-scrolls; click header to expand to full height."
|
|
1464
1699
|
))],
|
|
1465
|
-
description: ( localize(
|
|
1700
|
+
description: ( localize(5819, "Controls how thinking is rendered.")),
|
|
1466
1701
|
tags: ["experimental"]
|
|
1467
1702
|
},
|
|
1468
1703
|
[ChatConfiguration.ThinkingGenerateTitles]: {
|
|
1469
1704
|
type: "boolean",
|
|
1470
1705
|
default: true,
|
|
1471
1706
|
description: ( localize(
|
|
1472
|
-
|
|
1707
|
+
5820,
|
|
1473
1708
|
"Controls whether to use an LLM to generate summary titles for thinking sections."
|
|
1474
1709
|
)),
|
|
1475
1710
|
tags: ["experimental"]
|
|
@@ -1478,12 +1713,12 @@ configurationRegistry.registerConfiguration({
|
|
|
1478
1713
|
type: "string",
|
|
1479
1714
|
default: "always",
|
|
1480
1715
|
enum: ["off", "withThinking", "always"],
|
|
1481
|
-
enumDescriptions: [( localize(
|
|
1482
|
-
|
|
1716
|
+
enumDescriptions: [( localize(5821, "Tool calls are shown separately, not collapsed into thinking.")), ( localize(
|
|
1717
|
+
5822,
|
|
1483
1718
|
"Tool calls are collapsed into thinking sections when thinking is present."
|
|
1484
|
-
)), ( localize(
|
|
1719
|
+
)), ( localize(5823, "Tool calls are always collapsed, even without thinking."))],
|
|
1485
1720
|
markdownDescription: ( localize(
|
|
1486
|
-
|
|
1721
|
+
5824,
|
|
1487
1722
|
"Controls how tool calls are displayed in relation to thinking sections."
|
|
1488
1723
|
)),
|
|
1489
1724
|
tags: ["experimental"]
|
|
@@ -1492,7 +1727,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1492
1727
|
type: "boolean",
|
|
1493
1728
|
default: true,
|
|
1494
1729
|
markdownDescription: ( localize(
|
|
1495
|
-
|
|
1730
|
+
5825,
|
|
1496
1731
|
"When enabled, terminal tool calls are displayed inside the thinking dropdown with a simplified view."
|
|
1497
1732
|
)),
|
|
1498
1733
|
tags: ["experimental"]
|
|
@@ -1501,7 +1736,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1501
1736
|
type: "boolean",
|
|
1502
1737
|
default: true,
|
|
1503
1738
|
markdownDescription: ( localize(
|
|
1504
|
-
|
|
1739
|
+
5826,
|
|
1505
1740
|
"When enabled, terminal tool calls are always displayed in a collapsible container with a simplified view."
|
|
1506
1741
|
)),
|
|
1507
1742
|
tags: ["experimental"]
|
|
@@ -1510,7 +1745,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1510
1745
|
type: "boolean",
|
|
1511
1746
|
default: true,
|
|
1512
1747
|
markdownDescription: ( localize(
|
|
1513
|
-
|
|
1748
|
+
5827,
|
|
1514
1749
|
"Controls whether the usages tool is available for finding references, definitions, and implementations of code symbols."
|
|
1515
1750
|
)),
|
|
1516
1751
|
tags: ["preview"],
|
|
@@ -1522,7 +1757,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1522
1757
|
type: "boolean",
|
|
1523
1758
|
default: true,
|
|
1524
1759
|
markdownDescription: ( localize(
|
|
1525
|
-
|
|
1760
|
+
5828,
|
|
1526
1761
|
"Controls whether the rename tool is available for renaming code symbols across the workspace."
|
|
1527
1762
|
)),
|
|
1528
1763
|
tags: ["preview"],
|
|
@@ -1542,7 +1777,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1542
1777
|
enum: ["replace", "append"],
|
|
1543
1778
|
default: "append",
|
|
1544
1779
|
description: ( localize(
|
|
1545
|
-
|
|
1780
|
+
5829,
|
|
1546
1781
|
"'replace' replaces all default phrases entirely; 'append' adds your phrases to all default categories."
|
|
1547
1782
|
))
|
|
1548
1783
|
},
|
|
@@ -1553,14 +1788,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1553
1788
|
},
|
|
1554
1789
|
default: [],
|
|
1555
1790
|
description: ( localize(
|
|
1556
|
-
|
|
1791
|
+
5830,
|
|
1557
1792
|
"Custom loading messages to show during thinking, working progress, terminal, and tool operations."
|
|
1558
1793
|
))
|
|
1559
1794
|
}
|
|
1560
1795
|
},
|
|
1561
1796
|
additionalProperties: false,
|
|
1562
1797
|
markdownDescription: ( localize(
|
|
1563
|
-
|
|
1798
|
+
5831,
|
|
1564
1799
|
"Customize the loading messages shown during agent thinking and progress indicators. Use `\"mode\": \"replace\"` to use only your phrases, or `\"mode\": \"append\"` to add them to the defaults."
|
|
1565
1800
|
)),
|
|
1566
1801
|
tags: ["experimental"]
|
|
@@ -1569,14 +1804,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1569
1804
|
type: "boolean",
|
|
1570
1805
|
default: true,
|
|
1571
1806
|
markdownDescription: ( localize(
|
|
1572
|
-
|
|
1807
|
+
5832,
|
|
1573
1808
|
"When enabled, tool failures are automatically expanded in the chat UI to show error details."
|
|
1574
1809
|
))
|
|
1575
1810
|
},
|
|
1576
1811
|
[ChatConfiguration.AIDisabled]: {
|
|
1577
1812
|
type: "boolean",
|
|
1578
1813
|
description: ( localize(
|
|
1579
|
-
|
|
1814
|
+
5833,
|
|
1580
1815
|
"Disable and hide built-in AI features provided by GitHub Copilot, including chat and inline suggestions."
|
|
1581
1816
|
)),
|
|
1582
1817
|
default: false,
|
|
@@ -1589,7 +1824,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1589
1824
|
description: {
|
|
1590
1825
|
key: "chat.disableAIFeatures",
|
|
1591
1826
|
value: ( localize(
|
|
1592
|
-
|
|
1827
|
+
5833,
|
|
1593
1828
|
"Disable and hide built-in AI features provided by GitHub Copilot, including chat and inline suggestions."
|
|
1594
1829
|
))
|
|
1595
1830
|
}
|
|
@@ -1598,7 +1833,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1598
1833
|
},
|
|
1599
1834
|
"chat.allowAnonymousAccess": {
|
|
1600
1835
|
type: "boolean",
|
|
1601
|
-
description: ( localize(
|
|
1836
|
+
description: ( localize(5834, "Controls whether anonymous access is allowed in chat.")),
|
|
1602
1837
|
default: false,
|
|
1603
1838
|
tags: ["experimental"],
|
|
1604
1839
|
experiment: {
|
|
@@ -1608,7 +1843,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1608
1843
|
[ChatConfiguration.GrowthNotificationEnabled]: {
|
|
1609
1844
|
type: "boolean",
|
|
1610
1845
|
description: ( localize(
|
|
1611
|
-
|
|
1846
|
+
5835,
|
|
1612
1847
|
"Controls whether to show a growth notification in the agent sessions view to encourage new users to try Copilot."
|
|
1613
1848
|
)),
|
|
1614
1849
|
default: false,
|
|
@@ -1620,7 +1855,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1620
1855
|
[ChatConfiguration.SignInTitleBarEnabled]: {
|
|
1621
1856
|
type: "boolean",
|
|
1622
1857
|
description: ( localize(
|
|
1623
|
-
|
|
1858
|
+
5836,
|
|
1624
1859
|
"Controls whether to show a sign-in button in the title bar for users who are not signed in."
|
|
1625
1860
|
)),
|
|
1626
1861
|
default: false,
|
|
@@ -1632,7 +1867,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1632
1867
|
[ChatConfiguration.RestoreLastPanelSession]: {
|
|
1633
1868
|
type: "boolean",
|
|
1634
1869
|
description: ( localize(
|
|
1635
|
-
|
|
1870
|
+
5837,
|
|
1636
1871
|
"Controls whether the last session is restored in panel after restart."
|
|
1637
1872
|
)),
|
|
1638
1873
|
default: false
|
|
@@ -1640,7 +1875,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1640
1875
|
[ChatConfiguration.ExitAfterDelegation]: {
|
|
1641
1876
|
type: "boolean",
|
|
1642
1877
|
description: ( localize(
|
|
1643
|
-
|
|
1878
|
+
5838,
|
|
1644
1879
|
"Controls whether the chat panel automatically exits after delegating a request to another session."
|
|
1645
1880
|
)),
|
|
1646
1881
|
default: false,
|
|
@@ -1649,7 +1884,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1649
1884
|
"chat.extensionUnification.enabled": {
|
|
1650
1885
|
type: "boolean",
|
|
1651
1886
|
description: ( localize(
|
|
1652
|
-
|
|
1887
|
+
5839,
|
|
1653
1888
|
"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."
|
|
1654
1889
|
)),
|
|
1655
1890
|
default: true,
|
|
@@ -1658,22 +1893,23 @@ configurationRegistry.registerConfiguration({
|
|
|
1658
1893
|
mode: "auto"
|
|
1659
1894
|
}
|
|
1660
1895
|
},
|
|
1661
|
-
[ChatConfiguration.
|
|
1896
|
+
[ChatConfiguration.GeneralPurposeAgentEnabled]: {
|
|
1662
1897
|
type: "boolean",
|
|
1663
1898
|
description: ( localize(
|
|
1664
|
-
|
|
1665
|
-
"
|
|
1899
|
+
5840,
|
|
1900
|
+
"Controls whether the built-in General Purpose agent is available as a subagent."
|
|
1666
1901
|
)),
|
|
1667
|
-
default:
|
|
1902
|
+
default: false,
|
|
1903
|
+
tags: ["experimental", "advanced"],
|
|
1668
1904
|
experiment: {
|
|
1669
1905
|
mode: "auto"
|
|
1670
1906
|
}
|
|
1671
1907
|
},
|
|
1672
1908
|
[ChatConfiguration.SubagentsAllowInvocationsFromSubagents]: {
|
|
1673
1909
|
type: "boolean",
|
|
1674
|
-
description: ( localize(
|
|
1910
|
+
description: ( localize(5841, "Allow subagents to invoke subagents.")),
|
|
1675
1911
|
markdownDescription: ( localize(
|
|
1676
|
-
|
|
1912
|
+
5842,
|
|
1677
1913
|
"Controls whether subagents can invoke other subagents. When enabled, nesting is limited to a maximum depth of 5."
|
|
1678
1914
|
)),
|
|
1679
1915
|
default: false,
|
|
@@ -1681,45 +1917,27 @@ configurationRegistry.registerConfiguration({
|
|
|
1681
1917
|
mode: "auto"
|
|
1682
1918
|
}
|
|
1683
1919
|
},
|
|
1684
|
-
[ChatConfiguration.ChatCustomizationMenuEnabled]: {
|
|
1685
|
-
type: "boolean",
|
|
1686
|
-
tags: ["preview"],
|
|
1687
|
-
description: ( localize(
|
|
1688
|
-
5760,
|
|
1689
|
-
"Controls whether the Chat Customizations editor is enabled. When enabled, the gear icon in the Chat view opens the Customizations editor directly and additional actions are moved to the overflow menu. When disabled, the gear icon shows the legacy configuration dropdown."
|
|
1690
|
-
)),
|
|
1691
|
-
default: true
|
|
1692
|
-
},
|
|
1693
1920
|
[ChatConfiguration.ChatCustomizationHarnessSelectorEnabled]: {
|
|
1694
1921
|
type: "boolean",
|
|
1695
1922
|
tags: ["preview"],
|
|
1696
1923
|
description: ( localize(
|
|
1697
|
-
|
|
1698
|
-
"Controls whether the harness selector
|
|
1924
|
+
5843,
|
|
1925
|
+
"Controls whether the harness selector is shown in the Chat Customizations editor sidebar. When disabled, the editor always shows all customizations without filtering."
|
|
1699
1926
|
)),
|
|
1700
1927
|
default: true
|
|
1701
|
-
},
|
|
1702
|
-
[ChatConfiguration.CustomizationsProviderApi]: {
|
|
1703
|
-
type: "boolean",
|
|
1704
|
-
description: ( localize(
|
|
1705
|
-
5762,
|
|
1706
|
-
"When enabled, the Customizations management UI reads items from the session type's customizations provider instead of built-in discovery."
|
|
1707
|
-
)),
|
|
1708
|
-
default: false,
|
|
1709
|
-
tags: ["experimental"]
|
|
1710
1928
|
}
|
|
1711
1929
|
}
|
|
1712
1930
|
});
|
|
1713
1931
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
1714
|
-
EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(
|
|
1932
|
+
EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(5844, "Chat"))),
|
|
1715
1933
|
[( new SyncDescriptor(ChatEditorInput))]
|
|
1716
1934
|
);
|
|
1717
1935
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
1718
|
-
EditorPaneDescriptor.create(ChatDebugEditor, ChatDebugEditorInput.ID, ( localize(
|
|
1936
|
+
EditorPaneDescriptor.create(ChatDebugEditor, ChatDebugEditorInput.ID, ( localize(5845, "Debug View"))),
|
|
1719
1937
|
[( new SyncDescriptor(ChatDebugEditorInput))]
|
|
1720
1938
|
);
|
|
1721
1939
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
1722
|
-
EditorPaneDescriptor.create(AgentPluginEditor, AgentPluginEditor.ID, ( localize(
|
|
1940
|
+
EditorPaneDescriptor.create(AgentPluginEditor, AgentPluginEditor.ID, ( localize(5846, "Agent Plugin"))),
|
|
1723
1941
|
[( new SyncDescriptor(AgentPluginEditorInput))]
|
|
1724
1942
|
);
|
|
1725
1943
|
( Registry.as(Extensions$2.ConfigurationMigration)).registerConfigurationMigrations([{
|
|
@@ -1783,6 +2001,62 @@ configurationRegistry.registerConfiguration({
|
|
|
1783
2001
|
}], [ChatConfiguration.PluginLocations, {
|
|
1784
2002
|
value
|
|
1785
2003
|
}]])
|
|
2004
|
+
}, {
|
|
2005
|
+
key: AgentNetworkDomainSettingId.DeprecatedSandboxAllowedNetworkDomains,
|
|
2006
|
+
migrateFn: (value, accessor) => {
|
|
2007
|
+
const pairs = [];
|
|
2008
|
+
pairs.push([AgentNetworkDomainSettingId.DeprecatedSandboxAllowedNetworkDomains, {
|
|
2009
|
+
value: undefined
|
|
2010
|
+
}]);
|
|
2011
|
+
if (value !== undefined && accessor(AgentNetworkDomainSettingId.AllowedNetworkDomains) === undefined) {
|
|
2012
|
+
pairs.push([AgentNetworkDomainSettingId.AllowedNetworkDomains, {
|
|
2013
|
+
value
|
|
2014
|
+
}]);
|
|
2015
|
+
}
|
|
2016
|
+
return pairs;
|
|
2017
|
+
}
|
|
2018
|
+
}, {
|
|
2019
|
+
key: AgentNetworkDomainSettingId.DeprecatedSandboxDeniedNetworkDomains,
|
|
2020
|
+
migrateFn: (value, accessor) => {
|
|
2021
|
+
const pairs = [];
|
|
2022
|
+
pairs.push([AgentNetworkDomainSettingId.DeprecatedSandboxDeniedNetworkDomains, {
|
|
2023
|
+
value: undefined
|
|
2024
|
+
}]);
|
|
2025
|
+
if (value !== undefined && accessor(AgentNetworkDomainSettingId.DeniedNetworkDomains) === undefined) {
|
|
2026
|
+
pairs.push([AgentNetworkDomainSettingId.DeniedNetworkDomains, {
|
|
2027
|
+
value
|
|
2028
|
+
}]);
|
|
2029
|
+
}
|
|
2030
|
+
return pairs;
|
|
2031
|
+
}
|
|
2032
|
+
}, {
|
|
2033
|
+
key: AgentNetworkDomainSettingId.DeprecatedOldAllowedNetworkDomains,
|
|
2034
|
+
migrateFn: (value, accessor) => {
|
|
2035
|
+
const pairs = [];
|
|
2036
|
+
pairs.push([AgentNetworkDomainSettingId.DeprecatedOldAllowedNetworkDomains, {
|
|
2037
|
+
value: undefined
|
|
2038
|
+
}]);
|
|
2039
|
+
if (value !== undefined && accessor(AgentNetworkDomainSettingId.AllowedNetworkDomains) === undefined) {
|
|
2040
|
+
pairs.push([AgentNetworkDomainSettingId.AllowedNetworkDomains, {
|
|
2041
|
+
value
|
|
2042
|
+
}]);
|
|
2043
|
+
}
|
|
2044
|
+
return pairs;
|
|
2045
|
+
}
|
|
2046
|
+
}, {
|
|
2047
|
+
key: AgentNetworkDomainSettingId.DeprecatedOldDeniedNetworkDomains,
|
|
2048
|
+
migrateFn: (value, accessor) => {
|
|
2049
|
+
const pairs = [];
|
|
2050
|
+
pairs.push([AgentNetworkDomainSettingId.DeprecatedOldDeniedNetworkDomains, {
|
|
2051
|
+
value: undefined
|
|
2052
|
+
}]);
|
|
2053
|
+
if (value !== undefined && accessor(AgentNetworkDomainSettingId.DeniedNetworkDomains) === undefined) {
|
|
2054
|
+
pairs.push([AgentNetworkDomainSettingId.DeniedNetworkDomains, {
|
|
2055
|
+
value
|
|
2056
|
+
}]);
|
|
2057
|
+
}
|
|
2058
|
+
return pairs;
|
|
2059
|
+
}
|
|
1786
2060
|
}]);
|
|
1787
2061
|
let ChatResolverContribution = class ChatResolverContribution extends Disposable {
|
|
1788
2062
|
static {
|
|
@@ -1810,7 +2084,7 @@ let ChatResolverContribution = class ChatResolverContribution extends Disposable
|
|
|
1810
2084
|
_registerEditor(scheme) {
|
|
1811
2085
|
this._editorRegistrations.set(scheme, this.editorResolverService.registerEditor(`${scheme}:**/**`, {
|
|
1812
2086
|
id: ChatEditorInput.EditorID,
|
|
1813
|
-
label: ( localize(
|
|
2087
|
+
label: ( localize(5844, "Chat")),
|
|
1814
2088
|
priority: RegisteredEditorPriority.builtin
|
|
1815
2089
|
}, {
|
|
1816
2090
|
singlePerResource: true,
|
|
@@ -1831,6 +2105,27 @@ let ChatResolverContribution = class ChatResolverContribution extends Disposable
|
|
|
1831
2105
|
}
|
|
1832
2106
|
};
|
|
1833
2107
|
ChatResolverContribution = ( __decorate([( __param(0, IChatSessionsService)), ( __param(1, IEditorResolverService)), ( __param(2, IInstantiationService))], ChatResolverContribution));
|
|
2108
|
+
let CopilotTelemetryContribution = class CopilotTelemetryContribution extends Disposable {
|
|
2109
|
+
static {
|
|
2110
|
+
this.ID = "workbench.contrib.copilotTelemetry";
|
|
2111
|
+
}
|
|
2112
|
+
constructor(telemetryService, chatEntitlementService) {
|
|
2113
|
+
super();
|
|
2114
|
+
this.telemetryService = telemetryService;
|
|
2115
|
+
this.chatEntitlementService = chatEntitlementService;
|
|
2116
|
+
this.updateCopilotTrackingId();
|
|
2117
|
+
this._register(this.chatEntitlementService.onDidChangeEntitlement(() => {
|
|
2118
|
+
this.updateCopilotTrackingId();
|
|
2119
|
+
}));
|
|
2120
|
+
}
|
|
2121
|
+
updateCopilotTrackingId() {
|
|
2122
|
+
const copilotTrackingId = this.chatEntitlementService.copilotTrackingId;
|
|
2123
|
+
if (copilotTrackingId) {
|
|
2124
|
+
this.telemetryService.setCommonProperty("common.copilotTrackingId", copilotTrackingId);
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
};
|
|
2128
|
+
CopilotTelemetryContribution = ( __decorate([( __param(0, ITelemetryService)), ( __param(1, IChatEntitlementService))], CopilotTelemetryContribution));
|
|
1834
2129
|
let ChatDebugResolverContribution = class ChatDebugResolverContribution {
|
|
1835
2130
|
static {
|
|
1836
2131
|
this.ID = "workbench.contrib.chatDebugResolver";
|
|
@@ -1838,7 +2133,7 @@ let ChatDebugResolverContribution = class ChatDebugResolverContribution {
|
|
|
1838
2133
|
constructor(editorResolverService) {
|
|
1839
2134
|
editorResolverService.registerEditor(`${ChatDebugEditorInput.RESOURCE.scheme}:**/**`, {
|
|
1840
2135
|
id: ChatDebugEditorInput.ID,
|
|
1841
|
-
label: ( localize(
|
|
2136
|
+
label: ( localize(5845, "Debug View")),
|
|
1842
2137
|
priority: RegisteredEditorPriority.exclusive
|
|
1843
2138
|
}, {
|
|
1844
2139
|
singlePerResource: true,
|
|
@@ -1868,6 +2163,7 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
1868
2163
|
this.newChatButtonExperimentIcon = ChatContextKeys.newChatButtonExperimentIcon.bindTo(this.contextKeyService);
|
|
1869
2164
|
this.registerMaxRequestsSetting();
|
|
1870
2165
|
this.registerNewChatButtonIcon();
|
|
2166
|
+
this.registerDefaultModeSetting();
|
|
1871
2167
|
}
|
|
1872
2168
|
registerMaxRequestsSetting() {
|
|
1873
2169
|
let lastNode;
|
|
@@ -1876,13 +2172,13 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
1876
2172
|
this.experimentService.getTreatment(treatmentId).then(value => {
|
|
1877
2173
|
const node = {
|
|
1878
2174
|
id: "chatSidebar",
|
|
1879
|
-
title: ( localize(
|
|
2175
|
+
title: ( localize(5633, "Chat")),
|
|
1880
2176
|
type: "object",
|
|
1881
2177
|
properties: {
|
|
1882
2178
|
"chat.agent.maxRequests": {
|
|
1883
2179
|
type: "number",
|
|
1884
2180
|
markdownDescription: ( localize(
|
|
1885
|
-
|
|
2181
|
+
5847,
|
|
1886
2182
|
"The maximum number of requests to allow per-turn when using an agent. When the limit is reached, will ask to confirm to continue."
|
|
1887
2183
|
)),
|
|
1888
2184
|
default: value ?? 50,
|
|
@@ -1912,6 +2208,29 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
1912
2208
|
}
|
|
1913
2209
|
});
|
|
1914
2210
|
}
|
|
2211
|
+
registerDefaultModeSetting() {
|
|
2212
|
+
this.experimentService.getTreatment("chatDefaultNewSessionMode").then(value => {
|
|
2213
|
+
const node = {
|
|
2214
|
+
id: "chatSidebar",
|
|
2215
|
+
title: ( localize(5633, "Chat")),
|
|
2216
|
+
type: "object",
|
|
2217
|
+
properties: {
|
|
2218
|
+
[ChatConfiguration.DefaultNewSessionMode]: {
|
|
2219
|
+
type: "string",
|
|
2220
|
+
description: ( localize(
|
|
2221
|
+
5757,
|
|
2222
|
+
"The default mode for new chat sessions. When empty, the chat view's default mode is used."
|
|
2223
|
+
)),
|
|
2224
|
+
default: typeof value === "string" ? value : ""
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
};
|
|
2228
|
+
configurationRegistry.updateConfigurations({
|
|
2229
|
+
add: [node],
|
|
2230
|
+
remove: []
|
|
2231
|
+
});
|
|
2232
|
+
});
|
|
2233
|
+
}
|
|
1915
2234
|
};
|
|
1916
2235
|
ChatAgentSettingContribution = ( __decorate([( __param(0, IWorkbenchAssignmentService)), ( __param(1, IChatEntitlementService)), ( __param(2, IContextKeyService))], ChatAgentSettingContribution));
|
|
1917
2236
|
let ChatForegroundSessionCountContribution = class ChatForegroundSessionCountContribution extends Disposable {
|
|
@@ -2072,7 +2391,7 @@ let ToolReferenceNamesContribution = class ToolReferenceNamesContribution extend
|
|
|
2072
2391
|
for (const tool of tools) {
|
|
2073
2392
|
toolReferenceNameEnumValues.push(tool.toolReferenceName);
|
|
2074
2393
|
toolReferenceNameEnumDescriptions.push(( localize(
|
|
2075
|
-
|
|
2394
|
+
5848,
|
|
2076
2395
|
"{0} - {1}",
|
|
2077
2396
|
tool.toolReferenceName,
|
|
2078
2397
|
tool.userDescription || tool.displayName
|
|
@@ -2096,6 +2415,11 @@ AccessibleViewRegistry.register(( new AgentChatAccessibilityHelp()));
|
|
|
2096
2415
|
registerEditorFeature(ChatInputBoxContentProvider);
|
|
2097
2416
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(ChatEditorInput.TypeID, ChatEditorInputSerializer);
|
|
2098
2417
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(ChatDebugEditorInput.ID, ChatDebugEditorInputSerializer);
|
|
2418
|
+
registerWorkbenchContribution2(
|
|
2419
|
+
CopilotTelemetryContribution.ID,
|
|
2420
|
+
CopilotTelemetryContribution,
|
|
2421
|
+
WorkbenchPhase.BlockRestore
|
|
2422
|
+
);
|
|
2099
2423
|
registerWorkbenchContribution2(
|
|
2100
2424
|
ChatResolverContribution.ID,
|
|
2101
2425
|
ChatResolverContribution,
|
|
@@ -2146,6 +2470,11 @@ registerWorkbenchContribution2(
|
|
|
2146
2470
|
CodeBlockActionRendering,
|
|
2147
2471
|
WorkbenchPhase.BlockRestore
|
|
2148
2472
|
);
|
|
2473
|
+
registerWorkbenchContribution2(
|
|
2474
|
+
ChatCopyActionRendering.ID,
|
|
2475
|
+
ChatCopyActionRendering,
|
|
2476
|
+
WorkbenchPhase.BlockRestore
|
|
2477
|
+
);
|
|
2149
2478
|
registerWorkbenchContribution2(
|
|
2150
2479
|
ChatImplicitContextContribution.ID,
|
|
2151
2480
|
ChatImplicitContextContribution,
|
|
@@ -2232,11 +2561,6 @@ registerWorkbenchContribution2(
|
|
|
2232
2561
|
ChatEditingEditorOverlay,
|
|
2233
2562
|
WorkbenchPhase.AfterRestored
|
|
2234
2563
|
);
|
|
2235
|
-
registerWorkbenchContribution2(
|
|
2236
|
-
SimpleBrowserOverlay.ID,
|
|
2237
|
-
SimpleBrowserOverlay,
|
|
2238
|
-
WorkbenchPhase.AfterRestored
|
|
2239
|
-
);
|
|
2240
2564
|
registerWorkbenchContribution2(
|
|
2241
2565
|
ChatEditingEditorContextKeys.ID,
|
|
2242
2566
|
ChatEditingEditorContextKeys,
|