@codingame/monaco-vscode-chat-service-override 24.2.0 → 25.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 +35 -35
- package/package.json +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityService.d.ts → accessibility/chatAccessibilityService.d.ts} +10 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAccessibilityService.js → accessibility/chatAccessibilityService.js} +23 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatResponseAccessibleView.d.ts → accessibility/chatResponseAccessibleView.d.ts} +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatResponseAccessibleView.js → accessibility/chatResponseAccessibleView.js} +38 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatTerminalOutputAccessibleView.js → accessibility/chatTerminalOutputAccessibleView.js} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +69 -60
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +2 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +24 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +48 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +16 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolActions.js +35 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatToolPicker.js +22 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTransfer.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +31 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +61 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +482 -125
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.d.ts +16 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl.js +84 -93
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsFilter.js +10 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsOpener.js +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +137 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsQuickAccess.js +92 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.d.ts +81 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsViewer.js +335 -102
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsProvider.js +47 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsviewer.css +80 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentResolveService.d.ts → attachments/chatAttachmentResolveService.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatAttachmentResolveService.js → attachments/chatAttachmentResolveService.js} +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatVariables.d.ts → attachments/chatVariables.d.ts} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatVariables.js → attachments/chatVariables.js} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditing → attachments}/simpleBrowserEditorOverlay.js +21 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +171 -206
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimeline.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingOperations.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +10 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +6 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSessionStorage.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelContentProviders.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookFileSystemProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatModelsWidget.js +41 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatUsageWidget.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +35 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatSessions.contribution.d.ts → chatSessions/chatSessions.contribution.d.ts} +7 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatSessions.contribution.js → chatSessions/chatSessions.contribution.js} +53 -106
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +18 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusDashboard.js +64 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +90 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextService.d.ts → contextContrib/chatContextService.d.ts} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContextService.js → contextContrib/chatContextService.js} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsConfirmationService.d.ts → tools/languageModelToolsConfirmationService.d.ts} +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsConfirmationService.js → tools/languageModelToolsConfirmationService.js} +47 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsService.d.ts → tools/languageModelToolsService.d.ts} +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{languageModelToolsService.js → tools/languageModelToolsService.js} +21 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolSetsContribution.js +16 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownAnchorService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatLayoutService.d.ts → widget/chatLayoutService.d.ts} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidgetService.d.ts → widget/chatWidgetService.d.ts} +6 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatWidgetService.js → widget/chatWidgetService.js} +27 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatStatusWidget.d.ts → widget/input/chatStatusWidget.d.ts} +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatStatusWidget.js → widget/input/chatStatusWidget.js} +17 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorContrib.js +12 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorHover.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorHover.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatQuick.d.ts → widgetHosts/chatQuick.d.ts} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatQuick.js → widgetHosts/chatQuick.js} +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditor.d.ts → widgetHosts/editor/chatEditor.d.ts} +4 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditor.js → widgetHosts/editor/chatEditor.js} +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewPane.d.ts → widgetHosts/viewPane/chatViewPane.d.ts} +46 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewPane.js → widgetHosts/viewPane/chatViewPane.js} +258 -154
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewTitleControl.d.ts → widgetHosts/viewPane/chatViewTitleControl.d.ts} +5 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/{chatViewTitleControl.js → widgetHosts/viewPane/chatViewTitleControl.js} +97 -85
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +176 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css +89 -0
- package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceImpl.d.ts → chatService/chatServiceImpl.d.ts} +16 -20
- package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceImpl.js → chatService/chatServiceImpl.js} +97 -151
- package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceTelemetry.d.ts → chatService/chatServiceTelemetry.d.ts} +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/{chatServiceTelemetry.js → chatService/chatServiceTelemetry.js} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/{chatCodeMapperService.d.ts → editing/chatCodeMapperService.d.ts} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/{chatModelStore.d.ts → model/chatModelStore.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/{chatProgressTypes → model/chatProgressTypes}/chatToolInvocation.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/{chatProgressTypes → model/chatProgressTypes}/chatToolInvocation.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/{chatSessionStore.d.ts → model/chatSessionStore.d.ts} +14 -7
- package/vscode/src/vs/workbench/contrib/chat/common/{chatSessionStore.js → model/chatSessionStore.js} +164 -39
- package/vscode/src/vs/workbench/contrib/chat/common/{chatTransferService.d.ts → model/chatTransferService.d.ts} +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/{chatTransferService.js → model/chatTransferService.js} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/{chatSlashCommands.d.ts → participants/chatSlashCommands.d.ts} +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +25 -49
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +54 -54
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.d.ts +11 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.js +83 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.d.ts +11 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.js +27 -10
- package/vscode/src/vs/workbench/contrib/chat/common/{chatTodoListService.d.ts → tools/chatTodoListService.d.ts} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/{chatTodoListService.js → tools/chatTodoListService.js} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/{chatResponseResourceFileSystemProvider.d.ts → widget/chatResponseResourceFileSystemProvider.d.ts} +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/{chatResponseResourceFileSystemProvider.js → widget/chatResponseResourceFileSystemProvider.js} +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatAccessibilityHelp.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +23 -23
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/common/remoteCodingAgentsService.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +47 -30
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatEnabler.d.ts +1 -1
- 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 +15 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +33 -11
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +6 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/alternativeRecommendation.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +12 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/executeStrategy.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +17 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/richExecuteStrategy.js +12 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +22 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +100 -23
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/taskHelpers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/toolTerminalCreator.js +19 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/{commandLineAutoApprover.d.ts → tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.d.ts} +11 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/{commandLineAutoApprover.js → tools/commandLineAnalyzer/autoApprove/commandLineAutoApprover.js} +83 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +156 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.d.ts +17 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAnalyzer.js +10 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +64 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +16 -8
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLinePreventHistoryRewriter.js +31 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.d.ts +1 -1
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +55 -23
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +85 -46
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +9 -9
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +16 -16
- 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 +9 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/terminalCommandArtifactCollector.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.d.ts +0 -46
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatSessionActions.js +0 -248
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.js +0 -184
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsessionsview.css +0 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.js +0 -229
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.d.ts +0 -102
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsTreeRenderer.js +0 -495
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.d.ts +0 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/view/sessionsViewPane.js +0 -386
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatSessions.css +0 -299
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatViewPane.css +0 -142
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatViewTitleControl.css +0 -39
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatTerminalOutputAccessibleView.d.ts → accessibility/chatTerminalOutputAccessibleView.d.ts} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{media → attachments/media}/simpleBrowserOverlay.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatEditing → attachments}/simpleBrowserEditorOverlay.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{media → chatEditing/media}/chatEditingEditorOverlay.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{media → chatEditing/media}/chatEditorController.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatContentParts → widget/chatContentParts}/chatMarkdownAnchorService.js +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatLayoutService.js → widget/chatLayoutService.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatEdinputInputContentProvider.d.ts → widget/input/editor/chatEditorInputContentProvider.d.ts} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{chatEdinputInputContentProvider.js → widget/input/editor/chatEditorInputContentProvider.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/chatInputEditorContrib.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/editorHoverWrapper.d.ts +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/editorHoverWrapper.js +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{contrib → widget/input/editor}/media/editorHoverWrapper.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/browser/{media → widget/input/media}/chatStatusWidget.css +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/common/{chatCodeMapperService.js → editing/chatCodeMapperService.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/common/{chatModelStore.js → model/chatModelStore.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/chat/common/{chatSlashCommands.js → participants/chatSlashCommands.js} +0 -0
|
@@ -30,23 +30,23 @@ import { RegisteredEditorPriority } from '@codingame/monaco-vscode-api/vscode/vs
|
|
|
30
30
|
import { IEditorResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service';
|
|
31
31
|
import { AssistedTypes, AddConfigurationType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration';
|
|
32
32
|
import { mcpDiscoverySection, allDiscoverySources, discoverySourceSettingsLabel, mcpServerSamplingSection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/common/mcpConfiguration';
|
|
33
|
-
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents';
|
|
34
|
-
import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatAgents.service';
|
|
35
|
-
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/chatColors';
|
|
33
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents';
|
|
34
|
+
import { IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service';
|
|
35
|
+
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/chatColors';
|
|
36
36
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes';
|
|
37
37
|
import { IChatModeService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes.service';
|
|
38
|
-
import { ChatResponseResourceFileSystemProvider } from '../common/chatResponseResourceFileSystemProvider.js';
|
|
39
|
-
import '../common/chatServiceImpl.js';
|
|
38
|
+
import { ChatResponseResourceFileSystemProvider } from '../common/widget/chatResponseResourceFileSystemProvider.js';
|
|
39
|
+
import '../common/chatService/chatServiceImpl.js';
|
|
40
40
|
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
41
|
-
import '../common/chatSlashCommands.js';
|
|
42
|
-
import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSlashCommands.service';
|
|
43
|
-
import '../common/chatTodoListService.js';
|
|
44
|
-
import '../common/chatTransferService.js';
|
|
45
|
-
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/chatWidgetHistoryService';
|
|
41
|
+
import '../common/participants/chatSlashCommands.js';
|
|
42
|
+
import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatSlashCommands.service';
|
|
43
|
+
import '../common/tools/chatTodoListService.js';
|
|
44
|
+
import '../common/model/chatTransferService.js';
|
|
45
|
+
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/common/widget/chatWidgetHistoryService';
|
|
46
46
|
import { ChatConfiguration, ChatAgentLocation, ChatModeKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
47
47
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
48
48
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelStats';
|
|
49
|
-
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelToolsService.service';
|
|
49
|
+
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service';
|
|
50
50
|
import { ChatPromptFilesExtensionPointHandler } from '../common/promptSyntax/chatPromptFilesContribution.js';
|
|
51
51
|
import { PromptsConfig } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/config/config';
|
|
52
52
|
import { LEGACY_MODE_DEFAULT_SOURCE_FOLDER, LEGACY_MODE_FILE_EXTENSION, PROMPT_DEFAULT_SOURCE_FOLDER, PROMPT_FILE_EXTENSION, INSTRUCTIONS_DEFAULT_SOURCE_FOLDER, INSTRUCTION_FILE_EXTENSION } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations';
|
|
@@ -54,7 +54,7 @@ import { PromptLanguageFeaturesProvider } from '../common/promptSyntax/promptFil
|
|
|
54
54
|
import { AGENT_DOCUMENTATION_URL, PROMPT_DOCUMENTATION_URL, INSTRUCTIONS_DOCUMENTATION_URL } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes';
|
|
55
55
|
import '../common/promptSyntax/service/promptsServiceImpl.js';
|
|
56
56
|
import { LanguageModelToolsExtensionPointHandler } from '../common/tools/languageModelToolsContribution.js';
|
|
57
|
-
import { BuiltinToolsContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/tools';
|
|
57
|
+
import { BuiltinToolsContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/builtinTools/tools';
|
|
58
58
|
import '../common/voiceChatService.js';
|
|
59
59
|
import { registerChatAccessibilityActions } from './actions/chatAccessibilityActions.js';
|
|
60
60
|
import { PanelChatAccessibilityHelp, QuickChatAccessibilityHelp, EditsChatAccessibilityHelp, AgentChatAccessibilityHelp } from './actions/chatAccessibilityHelp.js';
|
|
@@ -75,106 +75,105 @@ import { registerNewChatActions } from './actions/chatNewActions.js';
|
|
|
75
75
|
import { registerChatPromptNavigationActions } from './actions/chatPromptNavigationActions.js';
|
|
76
76
|
import { registerQuickChatActions } from './actions/chatQuickInputActions.js';
|
|
77
77
|
import { ChatAgentRecommendation } from './actions/chatAgentRecommendationActions.js';
|
|
78
|
-
import { RenameChatSessionAction, DeleteChatSessionAction, OpenChatSessionInSidebarAction, ToggleChatSessionsDescriptionDisplayAction, ToggleAgentSessionsViewLocationAction } from './actions/chatSessionActions.js';
|
|
79
78
|
import { registerChatTitleActions } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/actions/chatTitleActions';
|
|
80
79
|
import { registerChatElicitationActions } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/actions/chatElicitationActions';
|
|
81
80
|
import { registerChatToolActions } from './actions/chatToolActions.js';
|
|
82
81
|
import { ChatTransferContribution } from './actions/chatTransfer.js';
|
|
83
82
|
import './agentSessions/agentSessions.contribution.js';
|
|
84
83
|
import { IChatWidgetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service';
|
|
85
|
-
import './chatAccessibilityService.js';
|
|
86
|
-
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/chatAttachmentModel';
|
|
87
|
-
import './chatStatusWidget.js';
|
|
88
|
-
import './chatAttachmentResolveService.js';
|
|
84
|
+
import './accessibility/chatAccessibilityService.js';
|
|
85
|
+
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatAttachmentModel';
|
|
86
|
+
import './widget/input/chatStatusWidget.js';
|
|
87
|
+
import './attachments/chatAttachmentResolveService.js';
|
|
89
88
|
import '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
90
89
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
91
90
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
92
91
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/strings';
|
|
93
92
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
94
|
-
import { ChatInputBoxContentProvider } from './
|
|
93
|
+
import { ChatInputBoxContentProvider } from './widget/input/editor/chatEditorInputContentProvider.js';
|
|
95
94
|
import { ChatEditingEditorAccessibility } from './chatEditing/chatEditingEditorAccessibility.js';
|
|
96
95
|
import { registerChatEditorActions } from './chatEditing/chatEditingEditorActions.js';
|
|
97
96
|
import { ChatEditingEditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys';
|
|
98
97
|
import { ChatEditingEditorOverlay } from './chatEditing/chatEditingEditorOverlay.js';
|
|
99
98
|
import './chatEditing/chatEditingServiceImpl.js';
|
|
100
99
|
import { ChatEditingNotebookFileSystemProviderContrib } from './chatEditing/notebook/chatEditingNotebookFileSystemProvider.js';
|
|
101
|
-
import { SimpleBrowserOverlay } from './
|
|
102
|
-
import { ChatEditor } from './chatEditor.js';
|
|
103
|
-
import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
104
|
-
import './chatLayoutService.js';
|
|
100
|
+
import { SimpleBrowserOverlay } from './attachments/simpleBrowserEditorOverlay.js';
|
|
101
|
+
import { ChatEditor } from './widgetHosts/editor/chatEditor.js';
|
|
102
|
+
import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput';
|
|
103
|
+
import './widget/chatLayoutService.js';
|
|
105
104
|
import './chatManagement/chatManagement.contribution.js';
|
|
106
|
-
import { agentToMarkdown, agentSlashCommandToMarkdown } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer';
|
|
105
|
+
import { agentToMarkdown, agentSlashCommandToMarkdown } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownDecorationsRenderer';
|
|
107
106
|
import './chatOutputItemRenderer.js';
|
|
108
107
|
import { ChatExtensionPointHandler, ChatCompatibilityNotifier } from './chatParticipant.contribution.js';
|
|
109
|
-
import { ChatPasteProvidersFeature } from '@codingame/monaco-vscode-xterm-addons-common/vscode/vs/workbench/contrib/chat/browser/chatPasteProviders';
|
|
110
|
-
import './chatQuick.js';
|
|
111
|
-
import { ChatResponseAccessibleView } from './chatResponseAccessibleView.js';
|
|
112
|
-
import { ChatTerminalOutputAccessibleView } from './chatTerminalOutputAccessibleView.js';
|
|
113
|
-
import { ChatSessionsViewContrib, ChatSessionsView } from './chatSessions/view/chatSessionsView.js';
|
|
108
|
+
import { ChatPasteProvidersFeature } from '@codingame/monaco-vscode-xterm-addons-common/vscode/vs/workbench/contrib/chat/browser/widget/input/editor/chatPasteProviders';
|
|
109
|
+
import './widgetHosts/chatQuick.js';
|
|
110
|
+
import { ChatResponseAccessibleView } from './accessibility/chatResponseAccessibleView.js';
|
|
111
|
+
import { ChatTerminalOutputAccessibleView } from './accessibility/chatTerminalOutputAccessibleView.js';
|
|
114
112
|
import { ChatSetupContribution, ChatTeardownContribution } from './chatSetup/chatSetupContributions.js';
|
|
115
113
|
import { ChatStatusBarEntry } from './chatStatus/chatStatusEntry.js';
|
|
116
|
-
import './chatVariables.js';
|
|
117
|
-
import { ChatWidget } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/chatWidget';
|
|
118
|
-
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/
|
|
119
|
-
import { ChatImplicitContextContribution } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/
|
|
120
|
-
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/
|
|
121
|
-
import './
|
|
122
|
-
import './
|
|
123
|
-
import { ChatRelatedFilesContribution } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/
|
|
124
|
-
import './languageModelToolsConfirmationService.js';
|
|
125
|
-
import { globalAutoApproveDescription } from './languageModelToolsService.js';
|
|
114
|
+
import './attachments/chatVariables.js';
|
|
115
|
+
import { ChatWidget } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatWidget';
|
|
116
|
+
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
|
|
117
|
+
import { ChatImplicitContextContribution } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext';
|
|
118
|
+
import '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions';
|
|
119
|
+
import './widget/input/editor/chatInputEditorContrib.js';
|
|
120
|
+
import './widget/input/editor/chatInputEditorHover.js';
|
|
121
|
+
import { ChatRelatedFilesContribution } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/attachments/chatInputRelatedFilesContrib';
|
|
122
|
+
import './tools/languageModelToolsConfirmationService.js';
|
|
123
|
+
import { globalAutoApproveDescription } from './tools/languageModelToolsService.js';
|
|
126
124
|
import './promptSyntax/promptCodingAgentActionContribution.js';
|
|
127
125
|
import './promptSyntax/promptToolsCodeLensProvider.js';
|
|
128
126
|
import { PromptUrlHandler } from './promptSyntax/promptUrlHandler.js';
|
|
129
127
|
import { UserToolSetsContributions, ConfigureToolSets } from './tools/toolSetsContribution.js';
|
|
130
128
|
import { ChatViewsWelcomeHandler } from './viewsWelcome/chatViewsWelcomeHandler.js';
|
|
131
|
-
import './chatWidgetService.js';
|
|
129
|
+
import './widget/chatWidgetService.js';
|
|
130
|
+
import { ChatWindowNotifier } from './chatWindowNotifier.js';
|
|
132
131
|
|
|
133
132
|
const toolReferenceNameEnumValues = [];
|
|
134
133
|
const toolReferenceNameEnumDescriptions = [];
|
|
135
134
|
const configurationRegistry = ( Registry.as(Extensions.Configuration));
|
|
136
135
|
configurationRegistry.registerConfiguration({
|
|
137
136
|
id: 'chatSidebar',
|
|
138
|
-
title: ( localize(
|
|
137
|
+
title: ( localize(4993, "Chat")),
|
|
139
138
|
type: 'object',
|
|
140
139
|
properties: {
|
|
141
140
|
'chat.fontSize': {
|
|
142
141
|
type: 'number',
|
|
143
|
-
description: ( localize(
|
|
142
|
+
description: ( localize(4994, "Controls the font size in pixels in chat messages.")),
|
|
144
143
|
default: 13,
|
|
145
144
|
minimum: 6,
|
|
146
145
|
maximum: 100
|
|
147
146
|
},
|
|
148
147
|
'chat.fontFamily': {
|
|
149
148
|
type: 'string',
|
|
150
|
-
description: ( localize(
|
|
149
|
+
description: ( localize(4995, "Controls the font family in chat messages.")),
|
|
151
150
|
default: 'default'
|
|
152
151
|
},
|
|
153
152
|
'chat.editor.fontSize': {
|
|
154
153
|
type: 'number',
|
|
155
|
-
description: ( localize(
|
|
154
|
+
description: ( localize(4996, "Controls the font size in pixels in chat codeblocks.")),
|
|
156
155
|
default: isMacintosh ? 12 : 14,
|
|
157
156
|
},
|
|
158
157
|
'chat.editor.fontFamily': {
|
|
159
158
|
type: 'string',
|
|
160
|
-
description: ( localize(
|
|
159
|
+
description: ( localize(4997, "Controls the font family in chat codeblocks.")),
|
|
161
160
|
default: 'default'
|
|
162
161
|
},
|
|
163
162
|
'chat.editor.fontWeight': {
|
|
164
163
|
type: 'string',
|
|
165
|
-
description: ( localize(
|
|
164
|
+
description: ( localize(4998, "Controls the font weight in chat codeblocks.")),
|
|
166
165
|
default: 'default'
|
|
167
166
|
},
|
|
168
167
|
'chat.editor.wordWrap': {
|
|
169
168
|
type: 'string',
|
|
170
|
-
description: ( localize(
|
|
169
|
+
description: ( localize(4999, "Controls whether lines should wrap in chat codeblocks.")),
|
|
171
170
|
default: 'off',
|
|
172
171
|
enum: ['on', 'off']
|
|
173
172
|
},
|
|
174
173
|
'chat.editor.lineHeight': {
|
|
175
174
|
type: 'number',
|
|
176
175
|
description: ( localize(
|
|
177
|
-
|
|
176
|
+
5000,
|
|
178
177
|
"Controls the line height in pixels in chat codeblocks. Use 0 to compute the line height from the font size."
|
|
179
178
|
)),
|
|
180
179
|
default: 0
|
|
@@ -182,7 +181,7 @@ configurationRegistry.registerConfiguration({
|
|
|
182
181
|
'chat.commandCenter.enabled': {
|
|
183
182
|
type: 'boolean',
|
|
184
183
|
markdownDescription: ( localize(
|
|
185
|
-
|
|
184
|
+
5001,
|
|
186
185
|
"Controls whether the command center shows a menu for actions to control chat (requires {0}).",
|
|
187
186
|
'`#window.commandCenter#`'
|
|
188
187
|
)),
|
|
@@ -191,17 +190,17 @@ configurationRegistry.registerConfiguration({
|
|
|
191
190
|
'chat.implicitContext.enabled': {
|
|
192
191
|
type: 'object',
|
|
193
192
|
description: ( localize(
|
|
194
|
-
|
|
193
|
+
5002,
|
|
195
194
|
"Enables automatically using the active editor as chat context for specified chat locations."
|
|
196
195
|
)),
|
|
197
196
|
additionalProperties: {
|
|
198
197
|
type: 'string',
|
|
199
198
|
enum: ['never', 'first', 'always'],
|
|
200
|
-
description: ( localize(
|
|
199
|
+
description: ( localize(5003, "The value for the implicit context.")),
|
|
201
200
|
enumDescriptions: [
|
|
202
|
-
( localize(
|
|
203
|
-
( localize(
|
|
204
|
-
( localize(
|
|
201
|
+
( localize(5004, "Implicit context is never enabled.")),
|
|
202
|
+
( localize(5005, "Implicit context is enabled for the first interaction.")),
|
|
203
|
+
( localize(5006, "Implicit context is always enabled."))
|
|
205
204
|
]
|
|
206
205
|
},
|
|
207
206
|
default: {
|
|
@@ -211,7 +210,7 @@ configurationRegistry.registerConfiguration({
|
|
|
211
210
|
'chat.implicitContext.suggestedContext': {
|
|
212
211
|
type: 'boolean',
|
|
213
212
|
markdownDescription: ( localize(
|
|
214
|
-
|
|
213
|
+
5007,
|
|
215
214
|
"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."
|
|
216
215
|
)),
|
|
217
216
|
default: true,
|
|
@@ -219,7 +218,7 @@ configurationRegistry.registerConfiguration({
|
|
|
219
218
|
'chat.editing.autoAcceptDelay': {
|
|
220
219
|
type: 'number',
|
|
221
220
|
markdownDescription: ( localize(
|
|
222
|
-
|
|
221
|
+
5008,
|
|
223
222
|
"Delay after which changes made by chat are automatically accepted. Values are in seconds, `0` means disabled and `100` seconds is the maximum."
|
|
224
223
|
)),
|
|
225
224
|
default: 0,
|
|
@@ -230,7 +229,7 @@ configurationRegistry.registerConfiguration({
|
|
|
230
229
|
type: 'boolean',
|
|
231
230
|
scope: ConfigurationScope.APPLICATION,
|
|
232
231
|
markdownDescription: ( localize(
|
|
233
|
-
|
|
232
|
+
5009,
|
|
234
233
|
"Whether to show a confirmation before removing a request and its associated edits."
|
|
235
234
|
)),
|
|
236
235
|
default: true,
|
|
@@ -239,7 +238,7 @@ configurationRegistry.registerConfiguration({
|
|
|
239
238
|
type: 'boolean',
|
|
240
239
|
scope: ConfigurationScope.APPLICATION,
|
|
241
240
|
markdownDescription: ( localize(
|
|
242
|
-
|
|
241
|
+
5010,
|
|
243
242
|
"Whether to show a confirmation before retrying a request and its associated edits."
|
|
244
243
|
)),
|
|
245
244
|
default: true,
|
|
@@ -247,21 +246,21 @@ configurationRegistry.registerConfiguration({
|
|
|
247
246
|
'chat.experimental.detectParticipant.enabled': {
|
|
248
247
|
type: 'boolean',
|
|
249
248
|
deprecationMessage: ( localize(
|
|
250
|
-
|
|
249
|
+
5011,
|
|
251
250
|
"This setting is deprecated. Please use `chat.detectParticipant.enabled` instead."
|
|
252
251
|
)),
|
|
253
|
-
description: ( localize(
|
|
252
|
+
description: ( localize(5012, "Enables chat participant autodetection for panel chat.")),
|
|
254
253
|
default: null
|
|
255
254
|
},
|
|
256
255
|
'chat.detectParticipant.enabled': {
|
|
257
256
|
type: 'boolean',
|
|
258
|
-
description: ( localize(
|
|
257
|
+
description: ( localize(5013, "Enables chat participant autodetection for panel chat.")),
|
|
259
258
|
default: true
|
|
260
259
|
},
|
|
261
260
|
'chat.renderRelatedFiles': {
|
|
262
261
|
type: 'boolean',
|
|
263
262
|
description: ( localize(
|
|
264
|
-
|
|
263
|
+
5014,
|
|
265
264
|
"Controls whether related files should be rendered in the chat input."
|
|
266
265
|
)),
|
|
267
266
|
default: false
|
|
@@ -269,7 +268,7 @@ configurationRegistry.registerConfiguration({
|
|
|
269
268
|
'chat.notifyWindowOnConfirmation': {
|
|
270
269
|
type: 'boolean',
|
|
271
270
|
description: ( localize(
|
|
272
|
-
|
|
271
|
+
5015,
|
|
273
272
|
"Controls whether a chat session should present the user with an OS notification when a confirmation is needed while the window is not in focus. This includes a window badge as well as notification toast."
|
|
274
273
|
)),
|
|
275
274
|
default: true,
|
|
@@ -289,7 +288,7 @@ configurationRegistry.registerConfiguration({
|
|
|
289
288
|
description: {
|
|
290
289
|
key: 'autoApprove2.description',
|
|
291
290
|
value: ( localize(
|
|
292
|
-
|
|
291
|
+
5016,
|
|
293
292
|
'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.'
|
|
294
293
|
))
|
|
295
294
|
}
|
|
@@ -305,7 +304,7 @@ configurationRegistry.registerConfiguration({
|
|
|
305
304
|
'**/*.{code-workspace,csproj,fsproj,vbproj,vcxproj,proj,targets,props}': false,
|
|
306
305
|
},
|
|
307
306
|
markdownDescription: ( localize(
|
|
308
|
-
|
|
307
|
+
5017,
|
|
309
308
|
"Controls whether edits made by chat are automatically approved. The default is to approve all edits except those made to certain files which have the potential to cause immediate unintended side-effects, such as `**/.vscode/*.json`.\n\nSet to `true` to automatically approve edits to matching files, `false` to always require explicit approval. The last pattern matching a given file will determine whether the edit is automatically approved."
|
|
310
309
|
)),
|
|
311
310
|
type: 'object',
|
|
@@ -316,7 +315,7 @@ configurationRegistry.registerConfiguration({
|
|
|
316
315
|
[ChatConfiguration.AutoApprovedUrls]: {
|
|
317
316
|
default: {},
|
|
318
317
|
markdownDescription: ( localize(
|
|
319
|
-
|
|
318
|
+
5018,
|
|
320
319
|
"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"
|
|
321
320
|
)),
|
|
322
321
|
type: 'object',
|
|
@@ -336,7 +335,7 @@ configurationRegistry.registerConfiguration({
|
|
|
336
335
|
[ChatConfiguration.EligibleForAutoApproval]: {
|
|
337
336
|
default: {},
|
|
338
337
|
markdownDescription: ( localize(
|
|
339
|
-
|
|
338
|
+
5019,
|
|
340
339
|
'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.'
|
|
341
340
|
)),
|
|
342
341
|
type: 'object',
|
|
@@ -351,7 +350,7 @@ configurationRegistry.registerConfiguration({
|
|
|
351
350
|
examples: [
|
|
352
351
|
{
|
|
353
352
|
'fetch': false,
|
|
354
|
-
'
|
|
353
|
+
'runTask': false
|
|
355
354
|
}
|
|
356
355
|
],
|
|
357
356
|
policy: {
|
|
@@ -362,7 +361,7 @@ configurationRegistry.registerConfiguration({
|
|
|
362
361
|
description: {
|
|
363
362
|
key: 'chat.tools.eligibleForAutoApproval',
|
|
364
363
|
value: ( localize(
|
|
365
|
-
|
|
364
|
+
5019,
|
|
366
365
|
'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.'
|
|
367
366
|
))
|
|
368
367
|
}
|
|
@@ -372,7 +371,7 @@ configurationRegistry.registerConfiguration({
|
|
|
372
371
|
[ChatConfiguration.SuspendThrottling]: {
|
|
373
372
|
type: 'boolean',
|
|
374
373
|
description: ( localize(
|
|
375
|
-
|
|
374
|
+
5020,
|
|
376
375
|
"Controls whether background throttling is suspended when a chat request is in progress, allowing the chat session to continue even when the window is not in focus."
|
|
377
376
|
)),
|
|
378
377
|
default: true,
|
|
@@ -381,7 +380,7 @@ configurationRegistry.registerConfiguration({
|
|
|
381
380
|
'chat.sendElementsToChat.enabled': {
|
|
382
381
|
default: true,
|
|
383
382
|
description: ( localize(
|
|
384
|
-
|
|
383
|
+
5021,
|
|
385
384
|
"Controls whether elements can be sent to chat from the Simple Browser."
|
|
386
385
|
)),
|
|
387
386
|
type: 'boolean',
|
|
@@ -390,7 +389,7 @@ configurationRegistry.registerConfiguration({
|
|
|
390
389
|
'chat.sendElementsToChat.attachCSS': {
|
|
391
390
|
default: true,
|
|
392
391
|
markdownDescription: ( localize(
|
|
393
|
-
|
|
392
|
+
5022,
|
|
394
393
|
"Controls whether CSS of the selected element will be added to the chat. {0} must be enabled.",
|
|
395
394
|
'`#chat.sendElementsToChat.enabled#`'
|
|
396
395
|
)),
|
|
@@ -400,7 +399,7 @@ configurationRegistry.registerConfiguration({
|
|
|
400
399
|
'chat.sendElementsToChat.attachImages': {
|
|
401
400
|
default: true,
|
|
402
401
|
markdownDescription: ( localize(
|
|
403
|
-
|
|
402
|
+
5023,
|
|
404
403
|
"Controls whether a screenshot of the selected element will be added to the chat. {0} must be enabled.",
|
|
405
404
|
'`#chat.sendElementsToChat.enabled#`'
|
|
406
405
|
)),
|
|
@@ -410,14 +409,14 @@ configurationRegistry.registerConfiguration({
|
|
|
410
409
|
'chat.undoRequests.restoreInput': {
|
|
411
410
|
default: true,
|
|
412
411
|
markdownDescription: ( localize(
|
|
413
|
-
|
|
412
|
+
5024,
|
|
414
413
|
"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."
|
|
415
414
|
)),
|
|
416
415
|
type: 'boolean',
|
|
417
416
|
},
|
|
418
417
|
'chat.editRequests': {
|
|
419
418
|
markdownDescription: ( localize(
|
|
420
|
-
|
|
419
|
+
5025,
|
|
421
420
|
"Enables editing of requests in the chat. This allows you to change the request content and resubmit it to the model."
|
|
422
421
|
)),
|
|
423
422
|
type: 'string',
|
|
@@ -427,58 +426,45 @@ configurationRegistry.registerConfiguration({
|
|
|
427
426
|
[ChatConfiguration.ChatViewWelcomeEnabled]: {
|
|
428
427
|
type: 'boolean',
|
|
429
428
|
default: true,
|
|
430
|
-
description: ( localize(
|
|
429
|
+
description: ( localize(5026, "Show welcome banner when chat is empty.")),
|
|
431
430
|
},
|
|
432
431
|
[ChatConfiguration.ChatViewSessionsEnabled]: {
|
|
433
432
|
type: 'boolean',
|
|
434
433
|
default: true,
|
|
435
434
|
description: ( localize(
|
|
436
|
-
|
|
435
|
+
5027,
|
|
437
436
|
"Show chat agent sessions when chat is empty or to the side when chat view is wide enough."
|
|
438
437
|
)),
|
|
439
|
-
tags: ['preview', 'experimental'],
|
|
440
|
-
experiment: {
|
|
441
|
-
mode: 'auto'
|
|
442
|
-
}
|
|
443
438
|
},
|
|
444
439
|
[ChatConfiguration.ChatViewSessionsOrientation]: {
|
|
445
440
|
type: 'string',
|
|
446
|
-
enum: ['
|
|
441
|
+
enum: ['stacked', 'sideBySide'],
|
|
447
442
|
enumDescriptions: [
|
|
448
|
-
( localize(4919, "Automatically determine the orientation based on available space.")),
|
|
449
443
|
( localize(
|
|
450
|
-
|
|
451
|
-
"Display sessions vertically stacked unless a chat session is visible."
|
|
444
|
+
5028,
|
|
445
|
+
"Display chat sessions vertically stacked above the chat input unless a chat session is visible."
|
|
452
446
|
)),
|
|
453
447
|
( localize(
|
|
454
|
-
|
|
455
|
-
"Display sessions side by side if space is sufficient, otherwise stacked."
|
|
448
|
+
5029,
|
|
449
|
+
"Display chat sessions side by side if space is sufficient, otherwise fallback to stacked above the chat input unless a chat session is visible."
|
|
456
450
|
))
|
|
457
451
|
],
|
|
458
452
|
default: 'sideBySide',
|
|
459
453
|
description: ( localize(
|
|
460
|
-
|
|
454
|
+
5030,
|
|
461
455
|
"Controls the orientation of the chat agent sessions view when it is shown alongside the chat."
|
|
462
456
|
)),
|
|
463
|
-
tags: ['preview', 'experimental'],
|
|
464
|
-
experiment: {
|
|
465
|
-
mode: 'auto'
|
|
466
|
-
}
|
|
467
457
|
},
|
|
468
458
|
[ChatConfiguration.ChatViewTitleEnabled]: {
|
|
469
459
|
type: 'boolean',
|
|
470
460
|
default: true,
|
|
471
|
-
description: ( localize(
|
|
472
|
-
tags: ['preview', 'experimental'],
|
|
473
|
-
experiment: {
|
|
474
|
-
mode: 'auto'
|
|
475
|
-
}
|
|
461
|
+
description: ( localize(5031, "Show the title of the chat above the chat in the chat view.")),
|
|
476
462
|
},
|
|
477
463
|
[ChatConfiguration.NotifyWindowOnResponseReceived]: {
|
|
478
464
|
type: 'boolean',
|
|
479
465
|
default: true,
|
|
480
466
|
description: ( localize(
|
|
481
|
-
|
|
467
|
+
5032,
|
|
482
468
|
"Controls whether a chat session should present the user with an OS notification when a response is received while the window is not in focus. This includes a window badge as well as notification toast."
|
|
483
469
|
)),
|
|
484
470
|
},
|
|
@@ -486,30 +472,30 @@ configurationRegistry.registerConfiguration({
|
|
|
486
472
|
type: 'boolean',
|
|
487
473
|
default: true,
|
|
488
474
|
description: ( localize(
|
|
489
|
-
|
|
475
|
+
5033,
|
|
490
476
|
"Enables checkpoints in chat. Checkpoints allow you to restore the chat to a previous state."
|
|
491
477
|
)),
|
|
492
478
|
},
|
|
493
479
|
'chat.checkpoints.showFileChanges': {
|
|
494
480
|
type: 'boolean',
|
|
495
|
-
description: ( localize(
|
|
481
|
+
description: ( localize(5034, "Controls whether to show chat checkpoint file changes.")),
|
|
496
482
|
default: false
|
|
497
483
|
},
|
|
498
484
|
[mcpAccessConfig]: {
|
|
499
485
|
type: 'string',
|
|
500
|
-
description: ( localize(
|
|
486
|
+
description: ( localize(5035, "Controls access to installed Model Context Protocol servers.")),
|
|
501
487
|
enum: [
|
|
502
488
|
McpAccessValue.None,
|
|
503
489
|
McpAccessValue.Registry,
|
|
504
490
|
McpAccessValue.All
|
|
505
491
|
],
|
|
506
492
|
enumDescriptions: [
|
|
507
|
-
( localize(
|
|
493
|
+
( localize(5036, "No access to MCP servers.")),
|
|
508
494
|
( localize(
|
|
509
|
-
|
|
495
|
+
5037,
|
|
510
496
|
"Allows access to MCP servers installed from the registry that VS Code is connected to."
|
|
511
497
|
)),
|
|
512
|
-
( localize(
|
|
498
|
+
( localize(5038, "Allow access to any installed MCP server."))
|
|
513
499
|
],
|
|
514
500
|
default: McpAccessValue.All,
|
|
515
501
|
policy: {
|
|
@@ -528,20 +514,20 @@ configurationRegistry.registerConfiguration({
|
|
|
528
514
|
localization: {
|
|
529
515
|
description: {
|
|
530
516
|
key: 'chat.mcp.access',
|
|
531
|
-
value: ( localize(
|
|
517
|
+
value: ( localize(5035, "Controls access to installed Model Context Protocol servers."))
|
|
532
518
|
},
|
|
533
519
|
enumDescriptions: [
|
|
534
520
|
{
|
|
535
|
-
key: 'chat.mcp.access.none', value: ( localize(
|
|
521
|
+
key: 'chat.mcp.access.none', value: ( localize(5036, "No access to MCP servers.")),
|
|
536
522
|
},
|
|
537
523
|
{
|
|
538
524
|
key: 'chat.mcp.access.registry', value: ( localize(
|
|
539
|
-
|
|
525
|
+
5037,
|
|
540
526
|
"Allows access to MCP servers installed from the registry that VS Code is connected to."
|
|
541
527
|
)),
|
|
542
528
|
},
|
|
543
529
|
{
|
|
544
|
-
key: 'chat.mcp.access.any', value: ( localize(
|
|
530
|
+
key: 'chat.mcp.access.any', value: ( localize(5038, "Allow access to any installed MCP server."))
|
|
545
531
|
}
|
|
546
532
|
]
|
|
547
533
|
},
|
|
@@ -550,7 +536,7 @@ configurationRegistry.registerConfiguration({
|
|
|
550
536
|
[mcpAutoStartConfig]: {
|
|
551
537
|
type: 'string',
|
|
552
538
|
description: ( localize(
|
|
553
|
-
|
|
539
|
+
5039,
|
|
554
540
|
"Controls whether MCP servers should be automatically started when the chat messages are submitted."
|
|
555
541
|
)),
|
|
556
542
|
default: McpAutoStartValue.NewAndOutdated,
|
|
@@ -560,10 +546,10 @@ configurationRegistry.registerConfiguration({
|
|
|
560
546
|
McpAutoStartValue.NewAndOutdated
|
|
561
547
|
],
|
|
562
548
|
enumDescriptions: [
|
|
563
|
-
( localize(
|
|
564
|
-
( localize(
|
|
549
|
+
( localize(5040, "Never automatically start MCP servers.")),
|
|
550
|
+
( localize(5041, "Only automatically start new MCP servers that have never been run.")),
|
|
565
551
|
( localize(
|
|
566
|
-
|
|
552
|
+
5042,
|
|
567
553
|
"Automatically start new and outdated MCP servers that are not yet running."
|
|
568
554
|
))
|
|
569
555
|
],
|
|
@@ -572,9 +558,9 @@ configurationRegistry.registerConfiguration({
|
|
|
572
558
|
[mcpServerSamplingSection]: {
|
|
573
559
|
type: 'object',
|
|
574
560
|
description: ( localize(
|
|
575
|
-
|
|
561
|
+
5043,
|
|
576
562
|
"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.",
|
|
577
|
-
'MCP: ' + ( localize(
|
|
563
|
+
'MCP: ' + ( localize(5044, 'List Servers'))
|
|
578
564
|
)),
|
|
579
565
|
scope: ConfigurationScope.RESOURCE,
|
|
580
566
|
additionalProperties: {
|
|
@@ -583,7 +569,7 @@ configurationRegistry.registerConfiguration({
|
|
|
583
569
|
allowedDuringChat: {
|
|
584
570
|
type: 'boolean',
|
|
585
571
|
description: ( localize(
|
|
586
|
-
|
|
572
|
+
5045,
|
|
587
573
|
"Whether this server is make sampling requests during its tool calls in a chat session."
|
|
588
574
|
)),
|
|
589
575
|
default: true,
|
|
@@ -591,7 +577,7 @@ configurationRegistry.registerConfiguration({
|
|
|
591
577
|
allowedOutsideChat: {
|
|
592
578
|
type: 'boolean',
|
|
593
579
|
description: ( localize(
|
|
594
|
-
|
|
580
|
+
5046,
|
|
595
581
|
"Whether this server is allowed to make sampling requests outside of a chat session."
|
|
596
582
|
)),
|
|
597
583
|
default: false,
|
|
@@ -600,7 +586,7 @@ configurationRegistry.registerConfiguration({
|
|
|
600
586
|
type: 'array',
|
|
601
587
|
items: {
|
|
602
588
|
type: 'string',
|
|
603
|
-
description: ( localize(
|
|
589
|
+
description: ( localize(5047, "A model the MCP server has access to.")),
|
|
604
590
|
},
|
|
605
591
|
}
|
|
606
592
|
}
|
|
@@ -609,7 +595,7 @@ configurationRegistry.registerConfiguration({
|
|
|
609
595
|
[AssistedTypes[AddConfigurationType.NuGetPackage].enabledConfigKey]: {
|
|
610
596
|
type: 'boolean',
|
|
611
597
|
description: ( localize(
|
|
612
|
-
|
|
598
|
+
5048,
|
|
613
599
|
"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)."
|
|
614
600
|
)),
|
|
615
601
|
default: false,
|
|
@@ -621,14 +607,14 @@ configurationRegistry.registerConfiguration({
|
|
|
621
607
|
[ChatConfiguration.Edits2Enabled]: {
|
|
622
608
|
type: 'boolean',
|
|
623
609
|
description: ( localize(
|
|
624
|
-
|
|
610
|
+
5049,
|
|
625
611
|
"Enable the new Edits mode that is based on tool-calling. When this is enabled, models that don't support tool-calling are unavailable for Edits mode."
|
|
626
612
|
)),
|
|
627
613
|
default: false,
|
|
628
614
|
},
|
|
629
615
|
[ChatConfiguration.ExtensionToolsEnabled]: {
|
|
630
616
|
type: 'boolean',
|
|
631
|
-
description: ( localize(
|
|
617
|
+
description: ( localize(5050, "Enable using tools contributed by third-party extensions.")),
|
|
632
618
|
default: true,
|
|
633
619
|
policy: {
|
|
634
620
|
name: 'ChatAgentExtensionTools',
|
|
@@ -637,7 +623,7 @@ configurationRegistry.registerConfiguration({
|
|
|
637
623
|
localization: {
|
|
638
624
|
description: {
|
|
639
625
|
key: 'chat.extensionToolsEnabled',
|
|
640
|
-
value: ( localize(
|
|
626
|
+
value: ( localize(5050, "Enable using tools contributed by third-party extensions."))
|
|
641
627
|
}
|
|
642
628
|
},
|
|
643
629
|
}
|
|
@@ -645,7 +631,7 @@ configurationRegistry.registerConfiguration({
|
|
|
645
631
|
[ChatConfiguration.AgentEnabled]: {
|
|
646
632
|
type: 'boolean',
|
|
647
633
|
description: ( localize(
|
|
648
|
-
|
|
634
|
+
5051,
|
|
649
635
|
"When enabled, agent mode can be activated from chat and tools in agentic contexts with side effects can be used."
|
|
650
636
|
)),
|
|
651
637
|
default: true,
|
|
@@ -658,7 +644,7 @@ configurationRegistry.registerConfiguration({
|
|
|
658
644
|
description: {
|
|
659
645
|
key: 'chat.agent.enabled.description',
|
|
660
646
|
value: ( localize(
|
|
661
|
-
|
|
647
|
+
5051,
|
|
662
648
|
"When enabled, agent mode can be activated from chat and tools in agentic contexts with side effects can be used."
|
|
663
649
|
)),
|
|
664
650
|
}
|
|
@@ -667,14 +653,14 @@ configurationRegistry.registerConfiguration({
|
|
|
667
653
|
},
|
|
668
654
|
[ChatConfiguration.EnableMath]: {
|
|
669
655
|
type: 'boolean',
|
|
670
|
-
description: ( localize(
|
|
656
|
+
description: ( localize(5052, "Enable math rendering in chat responses using KaTeX.")),
|
|
671
657
|
default: true,
|
|
672
658
|
tags: ['preview'],
|
|
673
659
|
},
|
|
674
660
|
[ChatConfiguration.ShowCodeBlockProgressAnimation]: {
|
|
675
661
|
type: 'boolean',
|
|
676
662
|
description: ( localize(
|
|
677
|
-
|
|
663
|
+
5053,
|
|
678
664
|
"When applying edits, show a progress animation in the code block pill. If disabled, shows the progress percentage instead."
|
|
679
665
|
)),
|
|
680
666
|
default: true,
|
|
@@ -684,11 +670,11 @@ configurationRegistry.registerConfiguration({
|
|
|
684
670
|
type: 'string',
|
|
685
671
|
enum: ['free', 'anonymous'],
|
|
686
672
|
enumDescriptions: [
|
|
687
|
-
( localize(
|
|
688
|
-
( localize(
|
|
673
|
+
( localize(5054, "Show status widget for free tier users.")),
|
|
674
|
+
( localize(5055, "Show status widget for anonymous users."))
|
|
689
675
|
],
|
|
690
676
|
description: ( localize(
|
|
691
|
-
|
|
677
|
+
5056,
|
|
692
678
|
"Controls which user type should see the status widget in new chat sessions when quota is exceeded."
|
|
693
679
|
)),
|
|
694
680
|
default: undefined,
|
|
@@ -697,16 +683,6 @@ configurationRegistry.registerConfiguration({
|
|
|
697
683
|
mode: 'auto'
|
|
698
684
|
}
|
|
699
685
|
},
|
|
700
|
-
[ChatConfiguration.AgentSessionsViewLocation]: {
|
|
701
|
-
type: 'string',
|
|
702
|
-
enum: ['disabled', 'view', 'single-view'],
|
|
703
|
-
description: ( localize(4949, "Controls where to show the agent sessions menu.")),
|
|
704
|
-
default: 'disabled',
|
|
705
|
-
tags: ['preview', 'experimental'],
|
|
706
|
-
experiment: {
|
|
707
|
-
mode: 'auto'
|
|
708
|
-
}
|
|
709
|
-
},
|
|
710
686
|
[mcpDiscoverySection]: {
|
|
711
687
|
type: 'object',
|
|
712
688
|
properties: Object.fromEntries(( allDiscoverySources.map(
|
|
@@ -715,7 +691,7 @@ configurationRegistry.registerConfiguration({
|
|
|
715
691
|
additionalProperties: false,
|
|
716
692
|
default: Object.fromEntries(( allDiscoverySources.map(k => [k, false]))),
|
|
717
693
|
markdownDescription: ( localize(
|
|
718
|
-
|
|
694
|
+
5057,
|
|
719
695
|
"Configures discovery of Model Context Protocol servers from configuration from various other applications."
|
|
720
696
|
)),
|
|
721
697
|
},
|
|
@@ -724,14 +700,14 @@ configurationRegistry.registerConfiguration({
|
|
|
724
700
|
default: false,
|
|
725
701
|
tags: ['preview'],
|
|
726
702
|
description: ( localize(
|
|
727
|
-
|
|
703
|
+
5058,
|
|
728
704
|
"Enables the default Marketplace for Model Context Protocol (MCP) servers."
|
|
729
705
|
)),
|
|
730
706
|
included: product.quality === 'stable'
|
|
731
707
|
},
|
|
732
708
|
[mcpGalleryServiceUrlConfig]: {
|
|
733
709
|
type: 'string',
|
|
734
|
-
description: ( localize(
|
|
710
|
+
description: ( localize(5059, "Configure the MCP Gallery service URL to connect to")),
|
|
735
711
|
default: '',
|
|
736
712
|
scope: ConfigurationScope.APPLICATION,
|
|
737
713
|
tags: ['usesOnlineServices', 'advanced'],
|
|
@@ -744,16 +720,16 @@ configurationRegistry.registerConfiguration({
|
|
|
744
720
|
localization: {
|
|
745
721
|
description: {
|
|
746
722
|
key: 'mcp.gallery.serviceUrl',
|
|
747
|
-
value: ( localize(
|
|
723
|
+
value: ( localize(5059, "Configure the MCP Gallery service URL to connect to")),
|
|
748
724
|
}
|
|
749
725
|
}
|
|
750
726
|
},
|
|
751
727
|
},
|
|
752
728
|
[PromptsConfig.INSTRUCTIONS_LOCATION_KEY]: {
|
|
753
729
|
type: 'object',
|
|
754
|
-
title: ( localize(
|
|
730
|
+
title: ( localize(5060, "Instructions File Locations")),
|
|
755
731
|
markdownDescription: ( localize(
|
|
756
|
-
|
|
732
|
+
5061,
|
|
757
733
|
"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.",
|
|
758
734
|
INSTRUCTION_FILE_EXTENSION,
|
|
759
735
|
INSTRUCTIONS_DOCUMENTATION_URL
|
|
@@ -776,9 +752,9 @@ configurationRegistry.registerConfiguration({
|
|
|
776
752
|
},
|
|
777
753
|
[PromptsConfig.PROMPT_LOCATIONS_KEY]: {
|
|
778
754
|
type: 'object',
|
|
779
|
-
title: ( localize(
|
|
755
|
+
title: ( localize(5062, "Prompt File Locations")),
|
|
780
756
|
markdownDescription: ( localize(
|
|
781
|
-
|
|
757
|
+
5063,
|
|
782
758
|
"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.",
|
|
783
759
|
PROMPT_FILE_EXTENSION,
|
|
784
760
|
PROMPT_DOCUMENTATION_URL
|
|
@@ -802,9 +778,9 @@ configurationRegistry.registerConfiguration({
|
|
|
802
778
|
},
|
|
803
779
|
[PromptsConfig.MODE_LOCATION_KEY]: {
|
|
804
780
|
type: 'object',
|
|
805
|
-
title: ( localize(
|
|
781
|
+
title: ( localize(5064, "Mode File Locations")),
|
|
806
782
|
markdownDescription: ( localize(
|
|
807
|
-
|
|
783
|
+
5065,
|
|
808
784
|
"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.",
|
|
809
785
|
LEGACY_MODE_FILE_EXTENSION,
|
|
810
786
|
AGENT_DOCUMENTATION_URL
|
|
@@ -813,7 +789,7 @@ configurationRegistry.registerConfiguration({
|
|
|
813
789
|
[LEGACY_MODE_DEFAULT_SOURCE_FOLDER]: true,
|
|
814
790
|
},
|
|
815
791
|
deprecationMessage: ( localize(
|
|
816
|
-
|
|
792
|
+
5066,
|
|
817
793
|
"This setting is deprecated and will be removed in future releases. Chat modes are now called custom agents and are located in `.github/agents`"
|
|
818
794
|
)),
|
|
819
795
|
additionalProperties: { type: 'boolean' },
|
|
@@ -832,10 +808,10 @@ configurationRegistry.registerConfiguration({
|
|
|
832
808
|
},
|
|
833
809
|
[PromptsConfig.USE_AGENT_MD]: {
|
|
834
810
|
type: 'boolean',
|
|
835
|
-
title: ( localize(
|
|
811
|
+
title: ( localize(5067, "Use AGENTS.md file")),
|
|
836
812
|
markdownDescription: ( localize(
|
|
837
|
-
|
|
838
|
-
"Controls whether instructions from `AGENTS.
|
|
813
|
+
5068,
|
|
814
|
+
"Controls whether instructions from `AGENTS.md` file found in a workspace roots are attached to all chat requests."
|
|
839
815
|
)),
|
|
840
816
|
default: true,
|
|
841
817
|
restricted: true,
|
|
@@ -844,22 +820,22 @@ configurationRegistry.registerConfiguration({
|
|
|
844
820
|
},
|
|
845
821
|
[PromptsConfig.USE_NESTED_AGENT_MD]: {
|
|
846
822
|
type: 'boolean',
|
|
847
|
-
title: ( localize(
|
|
823
|
+
title: ( localize(5069, "Use nested AGENTS.md files")),
|
|
848
824
|
markdownDescription: ( localize(
|
|
849
|
-
|
|
850
|
-
"Controls whether instructions from nested `AGENTS.
|
|
825
|
+
5070,
|
|
826
|
+
"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."
|
|
851
827
|
)),
|
|
852
828
|
default: false,
|
|
853
829
|
restricted: true,
|
|
854
830
|
disallowConfigurationDefault: true,
|
|
855
831
|
tags: ['experimental', 'prompts', 'reusable prompts', 'prompt snippets', 'instructions']
|
|
856
832
|
},
|
|
857
|
-
[PromptsConfig.
|
|
833
|
+
[PromptsConfig.USE_AGENT_SKILLS]: {
|
|
858
834
|
type: 'boolean',
|
|
859
|
-
title: ( localize(
|
|
835
|
+
title: ( localize(5071, "Use Agent skills")),
|
|
860
836
|
markdownDescription: ( localize(
|
|
861
|
-
|
|
862
|
-
"Controls whether
|
|
837
|
+
5072,
|
|
838
|
+
"Controls whether skills are provided as specialized capabilities to the chat requests. Skills are loaded from `.github/skills`, `~/.copilot/skills`, `.claude/skills`, and `~/.claude/skills`. 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)."
|
|
863
839
|
)),
|
|
864
840
|
default: false,
|
|
865
841
|
restricted: true,
|
|
@@ -869,9 +845,9 @@ configurationRegistry.registerConfiguration({
|
|
|
869
845
|
[PromptsConfig.PROMPT_FILES_SUGGEST_KEY]: {
|
|
870
846
|
type: 'object',
|
|
871
847
|
scope: ConfigurationScope.RESOURCE,
|
|
872
|
-
title: ( localize(
|
|
848
|
+
title: ( localize(5073, "Prompt File Recommendations")),
|
|
873
849
|
markdownDescription: ( localize(
|
|
874
|
-
|
|
850
|
+
5074,
|
|
875
851
|
"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`."
|
|
876
852
|
)),
|
|
877
853
|
default: {},
|
|
@@ -894,7 +870,7 @@ configurationRegistry.registerConfiguration({
|
|
|
894
870
|
type: 'boolean',
|
|
895
871
|
default: true,
|
|
896
872
|
description: ( localize(
|
|
897
|
-
|
|
873
|
+
5075,
|
|
898
874
|
"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."
|
|
899
875
|
)),
|
|
900
876
|
tags: ['experimental'],
|
|
@@ -906,7 +882,7 @@ configurationRegistry.registerConfiguration({
|
|
|
906
882
|
type: 'boolean',
|
|
907
883
|
default: false,
|
|
908
884
|
description: ( localize(
|
|
909
|
-
|
|
885
|
+
5076,
|
|
910
886
|
"When enabled, the todo tool operates in write-only mode, requiring the agent to remember todos in context."
|
|
911
887
|
)),
|
|
912
888
|
tags: ['experimental'],
|
|
@@ -918,7 +894,7 @@ configurationRegistry.registerConfiguration({
|
|
|
918
894
|
type: 'boolean',
|
|
919
895
|
default: true,
|
|
920
896
|
description: ( localize(
|
|
921
|
-
|
|
897
|
+
5077,
|
|
922
898
|
"When enabled, todo items include detailed descriptions for implementation context. This provides more information but uses additional tokens and may slow down responses."
|
|
923
899
|
)),
|
|
924
900
|
tags: ['experimental'],
|
|
@@ -931,24 +907,24 @@ configurationRegistry.registerConfiguration({
|
|
|
931
907
|
default: 'fixedScrolling',
|
|
932
908
|
enum: ['collapsed', 'collapsedPreview', 'fixedScrolling'],
|
|
933
909
|
enumDescriptions: [
|
|
934
|
-
( localize(
|
|
910
|
+
( localize(5078, "Thinking parts will be collapsed by default.")),
|
|
935
911
|
( localize(
|
|
936
|
-
|
|
912
|
+
5079,
|
|
937
913
|
"Thinking parts will be expanded first, then collapse once we reach a part that is not thinking."
|
|
938
914
|
)),
|
|
939
915
|
( localize(
|
|
940
|
-
|
|
916
|
+
5080,
|
|
941
917
|
"Show thinking in a fixed-height streaming panel that auto-scrolls; click header to expand to full height."
|
|
942
918
|
)),
|
|
943
919
|
],
|
|
944
|
-
description: ( localize(
|
|
920
|
+
description: ( localize(5081, "Controls how thinking is rendered.")),
|
|
945
921
|
tags: ['experimental'],
|
|
946
922
|
},
|
|
947
923
|
[ChatConfiguration.ThinkingGenerateTitles]: {
|
|
948
924
|
type: 'boolean',
|
|
949
925
|
default: true,
|
|
950
926
|
description: ( localize(
|
|
951
|
-
|
|
927
|
+
5082,
|
|
952
928
|
"Controls whether to use an LLM to generate summary titles for thinking sections."
|
|
953
929
|
)),
|
|
954
930
|
tags: ['experimental'],
|
|
@@ -958,15 +934,15 @@ configurationRegistry.registerConfiguration({
|
|
|
958
934
|
default: 'always',
|
|
959
935
|
enum: ['off', 'withThinking', 'always'],
|
|
960
936
|
enumDescriptions: [
|
|
961
|
-
( localize(
|
|
937
|
+
( localize(5083, "Tool calls are shown separately, not collapsed into thinking.")),
|
|
962
938
|
( localize(
|
|
963
|
-
|
|
939
|
+
5084,
|
|
964
940
|
"Tool calls are collapsed into thinking sections when thinking is present."
|
|
965
941
|
)),
|
|
966
|
-
( localize(
|
|
942
|
+
( localize(5085, "Tool calls are always collapsed, even without thinking.")),
|
|
967
943
|
],
|
|
968
944
|
markdownDescription: ( localize(
|
|
969
|
-
|
|
945
|
+
5086,
|
|
970
946
|
"Controls how tool calls are displayed in relation to thinking sections."
|
|
971
947
|
)),
|
|
972
948
|
tags: ['experimental'],
|
|
@@ -974,23 +950,15 @@ configurationRegistry.registerConfiguration({
|
|
|
974
950
|
'chat.disableAIFeatures': {
|
|
975
951
|
type: 'boolean',
|
|
976
952
|
description: ( localize(
|
|
977
|
-
|
|
953
|
+
5087,
|
|
978
954
|
"Disable and hide built-in AI features provided by GitHub Copilot, including chat and inline suggestions."
|
|
979
955
|
)),
|
|
980
956
|
default: false,
|
|
981
957
|
scope: ConfigurationScope.WINDOW
|
|
982
958
|
},
|
|
983
|
-
[ChatConfiguration.ShowAgentSessionsViewDescription]: {
|
|
984
|
-
type: 'boolean',
|
|
985
|
-
description: ( localize(
|
|
986
|
-
4981,
|
|
987
|
-
"Controls whether session descriptions are displayed on a second row in the Chat Sessions view."
|
|
988
|
-
)),
|
|
989
|
-
default: true,
|
|
990
|
-
},
|
|
991
959
|
'chat.allowAnonymousAccess': {
|
|
992
960
|
type: 'boolean',
|
|
993
|
-
description: ( localize(
|
|
961
|
+
description: ( localize(5088, "Controls whether anonymous access is allowed in chat.")),
|
|
994
962
|
default: false,
|
|
995
963
|
tags: ['experimental'],
|
|
996
964
|
experiment: {
|
|
@@ -1000,10 +968,10 @@ configurationRegistry.registerConfiguration({
|
|
|
1000
968
|
[ChatConfiguration.RestoreLastPanelSession]: {
|
|
1001
969
|
type: 'boolean',
|
|
1002
970
|
description: ( localize(
|
|
1003
|
-
|
|
971
|
+
5089,
|
|
1004
972
|
"Controls whether the last session is restored in panel after restart."
|
|
1005
973
|
)),
|
|
1006
|
-
default:
|
|
974
|
+
default: false,
|
|
1007
975
|
tags: ['experimental'],
|
|
1008
976
|
experiment: {
|
|
1009
977
|
mode: 'auto'
|
|
@@ -1012,7 +980,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1012
980
|
[ChatConfiguration.ExitAfterDelegation]: {
|
|
1013
981
|
type: 'boolean',
|
|
1014
982
|
description: ( localize(
|
|
1015
|
-
|
|
983
|
+
5090,
|
|
1016
984
|
"Controls whether the chat panel automatically exits after delegating a request to another session."
|
|
1017
985
|
)),
|
|
1018
986
|
default: true,
|
|
@@ -1021,7 +989,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1021
989
|
'chat.extensionUnification.enabled': {
|
|
1022
990
|
type: 'boolean',
|
|
1023
991
|
description: ( localize(
|
|
1024
|
-
|
|
992
|
+
5091,
|
|
1025
993
|
"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."
|
|
1026
994
|
)),
|
|
1027
995
|
default: true,
|
|
@@ -1033,7 +1001,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1033
1001
|
[ChatConfiguration.SubagentToolCustomAgents]: {
|
|
1034
1002
|
type: 'boolean',
|
|
1035
1003
|
description: ( localize(
|
|
1036
|
-
|
|
1004
|
+
5092,
|
|
1037
1005
|
"Whether the runSubagent tool is able to use custom agents. When enabled, the tool can take the name of a custom agent, but it must be given the exact name of the agent."
|
|
1038
1006
|
)),
|
|
1039
1007
|
default: false,
|
|
@@ -1041,7 +1009,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1041
1009
|
}
|
|
1042
1010
|
}
|
|
1043
1011
|
});
|
|
1044
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(
|
|
1012
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(5093, "Chat"))), [
|
|
1045
1013
|
( new SyncDescriptor(ChatEditorInput))
|
|
1046
1014
|
]);
|
|
1047
1015
|
( Registry.as(Extensions$1.ConfigurationMigration)).registerConfigurationMigrations([
|
|
@@ -1052,6 +1020,13 @@ configurationRegistry.registerConfiguration({
|
|
|
1052
1020
|
['chat.detectParticipant.enabled', { value: value !== false }]
|
|
1053
1021
|
])
|
|
1054
1022
|
},
|
|
1023
|
+
{
|
|
1024
|
+
key: 'chat.useClaudeSkills',
|
|
1025
|
+
migrateFn: (value, _accessor) => ([
|
|
1026
|
+
['chat.useClaudeSkills', { value: undefined }],
|
|
1027
|
+
['chat.useAgentSkills', { value }]
|
|
1028
|
+
])
|
|
1029
|
+
},
|
|
1055
1030
|
{
|
|
1056
1031
|
key: mcpDiscoverySection,
|
|
1057
1032
|
migrateFn: (value) => {
|
|
@@ -1086,7 +1061,7 @@ let ChatResolverContribution = class ChatResolverContribution extends Disposable
|
|
|
1086
1061
|
_registerEditor(scheme) {
|
|
1087
1062
|
this._editorRegistrations.set(scheme, this.editorResolverService.registerEditor(`${scheme}:**/**`, {
|
|
1088
1063
|
id: ChatEditorInput.EditorID,
|
|
1089
|
-
label: ( localize(
|
|
1064
|
+
label: ( localize(5093, "Chat")),
|
|
1090
1065
|
priority: RegisteredEditorPriority.builtin
|
|
1091
1066
|
}, {
|
|
1092
1067
|
singlePerResource: true,
|
|
@@ -1120,24 +1095,20 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
1120
1095
|
const treatmentId = this.entitlementService.entitlement === ChatEntitlement.Free ?
|
|
1121
1096
|
'chatAgentMaxRequestsFree' :
|
|
1122
1097
|
'chatAgentMaxRequestsPro';
|
|
1123
|
-
|
|
1124
|
-
this.experimentService.getTreatment(treatmentId),
|
|
1125
|
-
this.experimentService.getTreatment('chatAgentMaxRequestsLimit')
|
|
1126
|
-
]).then(([value, maxLimit]) => {
|
|
1098
|
+
this.experimentService.getTreatment(treatmentId).then((value) => {
|
|
1127
1099
|
const defaultValue = value ?? (this.entitlementService.entitlement === ChatEntitlement.Free ? 25 : 25);
|
|
1128
1100
|
const node = {
|
|
1129
1101
|
id: 'chatSidebar',
|
|
1130
|
-
title: ( localize(
|
|
1102
|
+
title: ( localize(4993, "Chat")),
|
|
1131
1103
|
type: 'object',
|
|
1132
1104
|
properties: {
|
|
1133
1105
|
'chat.agent.maxRequests': {
|
|
1134
1106
|
type: 'number',
|
|
1135
1107
|
markdownDescription: ( localize(
|
|
1136
|
-
|
|
1108
|
+
5094,
|
|
1137
1109
|
"The maximum number of requests to allow per-turn when using an agent. When the limit is reached, will ask to confirm to continue."
|
|
1138
1110
|
)),
|
|
1139
1111
|
default: defaultValue,
|
|
1140
|
-
maximum: maxLimit,
|
|
1141
1112
|
},
|
|
1142
1113
|
}
|
|
1143
1114
|
};
|
|
@@ -1216,7 +1187,7 @@ let ToolReferenceNamesContribution = class ToolReferenceNamesContribution extend
|
|
|
1216
1187
|
for (const tool of tools) {
|
|
1217
1188
|
toolReferenceNameEnumValues.push(tool.toolReferenceName);
|
|
1218
1189
|
toolReferenceNameEnumDescriptions.push(( localize(
|
|
1219
|
-
|
|
1190
|
+
5095,
|
|
1220
1191
|
"{0} - {1}",
|
|
1221
1192
|
tool.toolReferenceName,
|
|
1222
1193
|
tool.userDescription || tool.displayName
|
|
@@ -1246,7 +1217,7 @@ let ChatSlashStaticSlashCommandsContribution = class ChatSlashStaticSlashCommand
|
|
|
1246
1217
|
super();
|
|
1247
1218
|
this._store.add(slashCommandService.registerSlashCommand({
|
|
1248
1219
|
command: 'clear',
|
|
1249
|
-
detail: ( localize(
|
|
1220
|
+
detail: ( localize(5096, "Start a new chat")),
|
|
1250
1221
|
sortText: 'z2_clear',
|
|
1251
1222
|
executeImmediately: true,
|
|
1252
1223
|
locations: [ChatAgentLocation.Chat]
|
|
@@ -1336,11 +1307,10 @@ registerWorkbenchContribution2(ChatTransferContribution.ID, ChatTransferContribu
|
|
|
1336
1307
|
registerWorkbenchContribution2(ChatContextContributions.ID, ChatContextContributions, WorkbenchPhase.AfterRestored);
|
|
1337
1308
|
registerWorkbenchContribution2(ChatResponseResourceFileSystemProvider.ID, ChatResponseResourceFileSystemProvider, WorkbenchPhase.AfterRestored);
|
|
1338
1309
|
registerWorkbenchContribution2(PromptUrlHandler.ID, PromptUrlHandler, WorkbenchPhase.BlockRestore);
|
|
1339
|
-
registerWorkbenchContribution2(ChatSessionsViewContrib.ID, ChatSessionsViewContrib, WorkbenchPhase.AfterRestored);
|
|
1340
|
-
registerWorkbenchContribution2(ChatSessionsView.ID, ChatSessionsView, WorkbenchPhase.BlockRestore);
|
|
1341
1310
|
registerWorkbenchContribution2(ChatEditingNotebookFileSystemProviderContrib.ID, ChatEditingNotebookFileSystemProviderContrib, WorkbenchPhase.BlockStartup);
|
|
1342
1311
|
registerWorkbenchContribution2(UserToolSetsContributions.ID, UserToolSetsContributions, WorkbenchPhase.Eventually);
|
|
1343
1312
|
registerWorkbenchContribution2(PromptLanguageFeaturesProvider.ID, PromptLanguageFeaturesProvider, WorkbenchPhase.Eventually);
|
|
1313
|
+
registerWorkbenchContribution2(ChatWindowNotifier.ID, ChatWindowNotifier, WorkbenchPhase.AfterRestored);
|
|
1344
1314
|
registerChatActions();
|
|
1345
1315
|
registerChatAccessibilityActions();
|
|
1346
1316
|
registerChatCopyActions();
|
|
@@ -1360,11 +1330,6 @@ registerChatEditorActions();
|
|
|
1360
1330
|
registerChatElicitationActions();
|
|
1361
1331
|
registerChatToolActions();
|
|
1362
1332
|
registerLanguageModelActions();
|
|
1363
|
-
registerEditorFeature(ChatPasteProvidersFeature);
|
|
1364
1333
|
registerAction2(ConfigureToolSets);
|
|
1365
|
-
|
|
1366
|
-
registerAction2(DeleteChatSessionAction);
|
|
1367
|
-
registerAction2(OpenChatSessionInSidebarAction);
|
|
1368
|
-
registerAction2(ToggleChatSessionsDescriptionDisplayAction);
|
|
1369
|
-
registerAction2(ToggleAgentSessionsViewLocationAction);
|
|
1334
|
+
registerEditorFeature(ChatPasteProvidersFeature);
|
|
1370
1335
|
ChatWidget.CONTRIBS.push(ChatDynamicVariableModel);
|