@codingame/monaco-vscode-chat-service-override 38.1.2 → 39.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/common.js +46 -10
- package/index.js +5 -1
- package/package.json +6 -5
- package/session.js +9 -2
- package/vscode/src/vs/editor/common/diff/documentDiffProvider.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostClientProxy.d.ts +37 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostClientProxy.js +120 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +52 -22
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.js +2 -1
- package/vscode/src/vs/platform/agentHost/browser/nullWslRemoteAgentHostService.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/browser/nullWslRemoteAgentHostService.js +3 -0
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +6 -6
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +78 -41
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +2 -1
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +5 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +1 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +11 -19
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpOAuthMetadataService.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpOAuthMetadataService.js +85 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +169 -106
- package/vscode/src/vs/platform/agentHost/common/agentModelCatalogStatus.d.ts +4 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelCatalogStatus.js +15 -0
- package/vscode/src/vs/platform/agentHost/common/agentSessionMessage.d.ts +22 -0
- package/vscode/src/vs/platform/agentHost/common/agentSessionMessage.js +17 -0
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.d.ts +23 -0
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.js +33 -2
- package/vscode/src/vs/platform/agentHost/common/chatMoveConfiguration.d.ts +14 -0
- package/vscode/src/vs/platform/agentHost/common/chatMoveConfiguration.js +23 -0
- package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.js +1 -0
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.d.ts +3 -3
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +8 -8
- package/vscode/src/vs/platform/agentHost/common/dynamicAutoTiersConfiguration.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/dynamicAutoTiersConfiguration.js +22 -0
- package/vscode/src/vs/platform/agentHost/common/imageGenerationConfiguration.d.ts +52 -0
- package/vscode/src/vs/platform/agentHost/common/imageGenerationConfiguration.js +67 -0
- package/vscode/src/vs/platform/agentHost/common/logRedaction.d.ts +45 -0
- package/vscode/src/vs/platform/agentHost/common/logRedaction.js +82 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCompletionAttachmentMeta.d.ts +121 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCompletionAttachmentMeta.js +88 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.js +8 -2
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.d.ts +5 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.js +5 -1
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/customizationDiscoveryMeta.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/customizationDiscoveryMeta.js +24 -0
- package/vscode/src/vs/platform/agentHost/common/permissionRules.d.ts +58 -0
- package/vscode/src/vs/platform/agentHost/common/permissionRules.js +109 -0
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +4 -1
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +41 -26
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.d.ts +114 -8
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.service.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/common/terminalPermissionRules.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/terminalPermissionRules.js +57 -0
- package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.js +3 -3
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.d.ts +2 -1
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/workspacelessScratchDir.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/workspacelessScratchDir.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/wslRemoteAgentHost.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/wslRemoteAgentHost.js +1 -1
- package/vscode/src/vs/platform/artifactIntegrations/common/artifactIntegrationRegistry.d.ts +28 -0
- package/vscode/src/vs/platform/artifactIntegrations/common/artifactIntegrationRegistry.js +170 -0
- package/vscode/src/vs/platform/github/common/content/content.d.ts +136 -0
- package/vscode/src/vs/platform/github/common/content/content.js +12 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +1 -1
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveEntryToRegex.d.ts +4 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveEntryToRegex.js +41 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveRuleKeyForm.d.ts +10 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveRuleKeyForm.js +16 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/suggestAutoApproveRules.d.ts +5 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/suggestAutoApproveRules.js +64 -0
- package/vscode/src/vs/platform/url/common/urlApprovalPatterns.d.ts +36 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileDiffView.js +7 -7
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileMultiDiffView.js +8 -8
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.d.ts +19 -7
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.js +83 -46
- package/vscode/src/vs/sessions/contrib/chat/browser/branchChatSessionAction.js +2 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/chat.contribution.js +312 -127
- package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.js +2 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/getThemeColorsTool.d.ts +21 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/getThemeColorsTool.js +138 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/modelPicker.d.ts +68 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/modelPicker.js +302 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.d.ts +3 -6
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.js +42 -9
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionFolderQuickPickAction.js +4 -4
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.js +1 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.d.ts +3 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.js +29 -18
- package/vscode/src/vs/sessions/contrib/chat/browser/promptsService.d.ts +2 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/promptsService.js +11 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptAction.js +91 -98
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptCustomTaskWidget.js +21 -21
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.js +5 -5
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.d.ts +2 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.js +511 -211
- package/vscode/src/vs/sessions/contrib/chat/browser/sharedChatInputComposer.contribution.d.ts +9 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sharedChatInputComposer.contribution.js +146 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatOrchestration.d.ts +13 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatOrchestration.js +14 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatProvider.contribution.d.ts +3 -8
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatProvider.contribution.js +10 -8
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionAutoEnablementTelemetry.d.ts +30 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionAutoEnablementTelemetry.js +178 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsAccessibilityHelp.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsAccessibilityHelp.js +61 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsWidget.d.ts +100 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsWidget.js +687 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/extensions.contribution.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/extensions.contribution.js +88 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/media/agentsWindowExtensions.css +182 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.d.ts +57 -6
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.js +94 -108
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostPolicyContinuationPresenter.d.ts +12 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostPolicyContinuationPresenter.js +48 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettings.contribution.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettingsShared.js +3 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettings.contribution.js +2 -2
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettingsFileSystemProvider.js +7 -7
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/localAgentHostSessionsProvider.d.ts +107 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/localAgentHostSessionsProvider.js +447 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatPhoneInputPresenter.js +15 -10
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openAgentHostStateFileAction.js +1 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.d.ts +2 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.js +92 -34
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.js +12 -5
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.js +1 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.js +1 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.js +15 -15
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/manageRemoteAgentHosts.js +9 -9
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/managedReconnectAgentHostContribution.js +5 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.js +39 -25
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.js +13 -13
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.js +13 -13
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.js +110 -145
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.js +2 -4
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/wslAgentHost.contribution.js +6 -2
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/media/sessionWorktreeCleanupEditor.css +118 -90
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.d.ts +1 -1
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.js +48 -13
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.d.ts +89 -10
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.js +1375 -182
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.js +1 -1
- package/vscode/src/vs/sessions/contrib/sessions/browser/mobile/mobileOverlayContribution.js +3 -3
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.d.ts +3 -1
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.js +30 -3
- package/vscode/src/vs/sessions/skills/all_/SKILL.md.js +4 -3
- package/vscode/src/vs/sessions/skills/generate-chat-background/SKILL.md +34 -0
- package/vscode/src/vs/sessions/skills/troubleshoot/SKILL.md +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatArtifactIntegrations.d.ts +30 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatArtifactIntegrations.js +484 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.d.ts +1 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.js +7 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.d.ts +1 -19
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +4 -80
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatPetJumpGameAccessibleView.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatPetJumpGameAccessibleView.js +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +30 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +23 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +513 -171
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- 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 +133 -124
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +83 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +110 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
- 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 +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +15 -15
- 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.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.js +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +11 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +49 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +10 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +235 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +71 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatMoveEditors.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatMoveEditors.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +9 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +125 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.d.ts +26 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.js +493 -162
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostEditReview.d.ts +187 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostEditReview.js +1000 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.d.ts +3 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalModelSupport.d.ts +97 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalModelSupport.js +407 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpAppToolsService.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpAppToolsService.js +361 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.js +72 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionMirror.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionMirror.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuation.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuation.js +377 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuationEditor.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuationEditor.js +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyUnavailableSession.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyUnavailableSession.js +109 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRemoteByokNotification.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.d.ts +24 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +87 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.d.ts +48 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.js +434 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.js +18 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxPathGrant.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxPathGrant.js +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +134 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +1627 -491
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.d.ts +60 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +572 -133
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +65 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +15 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +114 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +27 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +105 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutCompatibilityContribution.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutCompatibilityContribution.js +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.d.ts +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +6 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSteeringMessageHandoff.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSteeringMessageHandoff.js +138 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +70 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.d.ts +13 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +96 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuation.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModel.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModel.contribution.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelActions.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelActions.js +476 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelReadyNotification.d.ts +70 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelReadyNotification.js +422 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelSetupProgress.d.ts +108 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelSetupProgress.js +744 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +36 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +21 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +112 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.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.d.ts +31 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +15 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +28 -26
- 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/agentSessionsConfiguration.js +40 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +115 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotExtensionsService.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotExtensionsService.js +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js +39 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.js +28 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.js +159 -86
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +23 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.d.ts +20 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +281 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.js +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.js +390 -112
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerEnvironmentVariables.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerEnvironmentVariables.js +298 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatReferenceAttachmentWidget.contribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/btwSlashCommand.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/btwSlashCommand.js +84 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +648 -652
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +14 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +74 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +124 -124
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.js +8 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.d.ts +3 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +6 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +35 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +60 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +88 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +43 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +13 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +18 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +9 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +20 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.js +21 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.d.ts +15 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +35 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.js +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +31 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +54 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +34 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.d.ts +69 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.js +164 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionCommit.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionCommit.js +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +11 -11
- 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 +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +25 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChatProvider.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChatProvider.js +114 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +78 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.js +13 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.d.ts +22 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +52 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/editorChatUsage.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/githubRepoFetcher.d.ts +5 -55
- package/vscode/src/vs/workbench/contrib/chat/browser/githubRepoFetcher.js +40 -220
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatPetAchievements.css +81 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatInputSpotlightTour.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatInputSpotlightTour.js +248 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatOnboardingEligibility.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatOnboardingEligibility.js +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.d.ts +6 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +128 -118
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +39 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +20 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.d.ts +26 -42
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +216 -165
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +7 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.js +12 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileContributions.js +16 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.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.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +14 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +7 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +8 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +36 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +5 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxRepositoryPicker.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxRepositoryPicker.js +106 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.d.ts +19 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.js +165 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.d.ts +57 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.js +511 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.js +16 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js +137 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthenticationResolver.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthenticationResolver.js +136 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.js +155 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostCustomizationHarness.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostCustomizationHarness.js +16 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +32 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +78 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.js +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +9 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.d.ts +47 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +139 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +89 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +18 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +11 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.js +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputSessionLinkProvider.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputSessionLinkProvider.js +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.d.ts +17 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +134 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/media/chatEditor.css +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +13 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +172 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatOpenDiagnosticsService.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatOpenDiagnosticsService.js +103 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +59 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +481 -271
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/remoteChatSessionRestorer.d.ts +148 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/remoteChatSessionRestorer.js +575 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.d.ts +13 -17
- package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatThinkingTitleService.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatThinkingTitleService.js +176 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatUtilityModelService.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatUtilityModelService.js +190 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatSessionReviewPreferences.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatSessionReviewPreferences.js +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +17 -18
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.d.ts +27 -6
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.js +21 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +26 -13
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +80 -52
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.js +57 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +27 -15
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.js +27 -11
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +383 -51
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +211 -32
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptModelResolver.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptModelResolver.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptSkillResolver.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptSkillResolver.js +87 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptToolResolver.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptToolResolver.js +53 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +26 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +816 -195
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.d.ts +10 -11
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.js +135 -95
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +1 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +13 -98
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +70 -73
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.d.ts +15 -19
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +122 -202
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselTypes.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/media/imageCarousel.css +19 -50
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +3 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +1 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +2 -43
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +15 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +42 -96
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +2 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +5 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +22 -13
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +76 -75
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +4 -4
- package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +3 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +20 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +56 -14
- package/vscode/src/vs/workbench/services/agentHost/browser/localModelService.d.ts +52 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/localModelService.js +294 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCustomizationMeta.d.ts +0 -27
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCustomizationMeta.js +0 -14
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/clientPluginCustomizationMeta.d.ts +0 -17
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/clientPluginCustomizationMeta.js +0 -22
- package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.d.ts +0 -8
- package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.js +0 -8
- package/vscode/src/vs/platform/browserView/common/browserChatToolReferenceNames.d.ts +0 -23
- package/vscode/src/vs/platform/browserView/common/browserChatToolReferenceNames.js +0 -17
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.d.ts +0 -22
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.js +0 -158
- package/vscode/src/vs/sessions/contrib/chat/browser/btwSlashCommand.contribution.d.ts +0 -15
- package/vscode/src/vs/sessions/contrib/chat/browser/btwSlashCommand.contribution.js +0 -106
- package/vscode/src/vs/sessions/contrib/chat/browser/unifiedWorkspacePickerConfiguration.d.ts +0 -3
- package/vscode/src/vs/sessions/contrib/chat/browser/unifiedWorkspacePickerConfiguration.js +0 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationSyncProvider.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationSyncProvider.js +0 -55
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +0 -441
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.js +0 -46
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +0 -97
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +0 -241
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.d.ts +0 -141
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.js +0 -731
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.d.ts +0 -46
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.js +0 -313
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js +0 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.js +0 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +0 -140
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +0 -358
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.d.ts +0 -139
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.js +0 -944
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.js +0 -213
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.js +0 -605
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.d.ts +0 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.js +0 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.d.ts +0 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +0 -261
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +0 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.js +0 -72
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.js +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/workingDirectory.d.ts +0 -35
- package/vscode/src/vs/workbench/contrib/chat/common/workingDirectory.js +0 -36
- package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.d.ts +0 -47
- package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.js +0 -362
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import './agentSessions/agentHost/codexContinuation.contribution.js';
|
|
4
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
5
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/computerUseSetup';
|
|
6
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
7
|
+
import './agentSessions/agentHost/localModel.contribution.js';
|
|
8
|
+
import { getDefaultModelPolicyDescription } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/modelSelection';
|
|
4
9
|
import { CODEX_CONTINUATION_DEFAULT_THRESHOLD } from '../../../services/agentHost/browser/codexContinuation.js';
|
|
5
10
|
import { CODEX_CONTINUATION_THRESHOLD_SETTING, CODEX_CONTINUATION_SETTING } from '../../../services/agentHost/browser/codexContinuationService.js';
|
|
6
11
|
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
@@ -13,26 +18,28 @@ import { PolicyCategory } from '@codingame/monaco-vscode-api/vscode/vs/base/comm
|
|
|
13
18
|
import { registerEditorFeature } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorFeatures';
|
|
14
19
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
15
20
|
import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
|
|
21
|
+
import { AccessibleViewType } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
22
|
+
import { ChatPetJumpGameAccessibleView } from './accessibility/chatPetJumpGameAccessibleView.js';
|
|
16
23
|
import { registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
17
24
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
18
25
|
import { ChatAIDisabledSettingId, ChatMicrosoftAuthenticationEnabledSettingId, ChatMicrosoftAuthenticationMode, mergeChatEditAutoApprovePatterns, DEFAULT_EDIT_AUTO_APPROVE_PATTERNS, ChatExternalSessionsMode } from '@codingame/monaco-vscode-api/vscode/vs/platform/chat/common/chatSettings';
|
|
19
26
|
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
20
|
-
import '@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
21
|
-
import { managedSettingsDisabledValue, COPILOT_ALLOW_MANAGED_HOOKS_ONLY_CONFIG, COPILOT_ALLOW_MANAGED_HOOKS_ONLY_KEY, managedSettingValue, COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_CONFIG, COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_KEY, COPILOT_STRICT_MARKETPLACES_KEY, COPILOT_EXTRA_MARKETPLACES_KEY, COPILOT_ENABLED_PLUGINS_KEY, COPILOT_ALLOW_MANAGED_MCP_SERVERS_ONLY_CONFIG, COPILOT_ALLOW_MANAGED_MCP_SERVERS_ONLY_KEY, COPILOT_DENIED_MCP_SERVERS_KEY, COPILOT_ALLOWED_MCP_SERVERS_KEY, COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY, COPILOT_TOP_LEVEL_MODEL_KEY, COPILOT_MODEL_KEY, managedModelValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/policy/common/copilotManagedSettings';
|
|
22
|
-
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
27
|
+
import { managedSettingsDisabledValue, COPILOT_ALLOW_MANAGED_HOOKS_ONLY_CONFIG, COPILOT_ALLOW_MANAGED_HOOKS_ONLY_KEY, managedSettingValue, COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_CONFIG, COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_KEY, COPILOT_EXTRA_MARKETPLACES_KEY, COPILOT_ENABLED_PLUGINS_KEY, COPILOT_ALLOW_MANAGED_MCP_SERVERS_ONLY_CONFIG, COPILOT_ALLOW_MANAGED_MCP_SERVERS_ONLY_KEY, COPILOT_DENIED_MCP_SERVERS_KEY, COPILOT_ALLOWED_MCP_SERVERS_KEY, COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY, COPILOT_TOP_LEVEL_MODEL_KEY, COPILOT_MODEL_KEY, managedModelValue, COPILOT_DISABLE_ASSISTED_PERMISSIONS_MODE_KEY, COPILOT_DEFAULT_PERMISSIONS_MODE_KEY, managedDefaultConfigurationValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/policy/common/copilotManagedSettings';
|
|
23
28
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostEnablementService';
|
|
24
|
-
import {
|
|
29
|
+
import { AgentHostUtilitySmallModelConfigKey, AgentHostByokUtilityModelDefaultConfigKey, AgentHostEditAutoApprovePatternsConfigKey, AgentHostGlobalAutoApproveEnabledConfigKey, AgentHostAutoReplyEnabledConfigKey, AgentHostShowExternalSessionsConfigKey, AgentHostMigrateLegacyCopilotCliEnabledConfigKey } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostSchema';
|
|
25
30
|
import '../../../../platform/agentHost/common/agentHostStarter.config.contribution.js';
|
|
26
31
|
import { AgentMergeSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentMerge';
|
|
27
|
-
import {
|
|
28
|
-
import { AgentHostCopilotModelCapabilityOverridesSettingId, CopilotAutoModeTierOverrideSettingId, AgentHostCopilotLocalMemoryEnabledSettingId, AgentHostCopilotMemoryEnabledSettingId,
|
|
29
|
-
import {
|
|
32
|
+
import { CodexPreferAgentHostEditorSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService';
|
|
33
|
+
import { AgentHostCopilotModelCapabilityOverridesSettingId, CopilotAutoModeTierOverrideSettingId, AgentHostCopilotLocalMemoryEnabledSettingId, AgentHostCopilotMemoryEnabledSettingId, AgentHostHydraFusionEnabledSettingId, CopilotSkillCharBudgetSettingId, normalizeSkillCharBudget, CopilotCliConfigKey, DEFAULT_COPILOT_SKILL_CHAR_BUDGET, AgentHostCopilotIncludeCoAuthoredBySettingId, AgentHostToolSearchDeferThresholdSettingId, AgentHostToolSearchEnabledSettingId, CopilotStabilityOrderedPromptEnabledSettingId, AgentHostOpus48PromptEnabledSettingId, AgentHostCopilotExecutionSubagentModelSettingId, DEFAULT_COPILOT_EXECUTION_SUBAGENT_MODEL, AgentHostCopilotExecutionSubagentEnabledSettingId, CopilotExploreAgentEnabledSettingId, CopilotSearchSubagentModelSettingId, CopilotSearchSubagentEnabledSettingId, CopilotClaudeAdvisorEnabledSettingId, AgentHostCopilotRuntimePathSettingId, AgentHostCopilotSdkLogLevelSettingId, copilotSdkLogLevelSettingValues, AgentHostShellToolInitScriptEnabledSettingId, AgentHostCustomTerminalToolEnabledSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/copilotCliConfig';
|
|
34
|
+
import { dynamicAutoTiersConfigurationProperties } from '../../../../platform/agentHost/common/dynamicAutoTiersConfiguration.js';
|
|
35
|
+
import { imageGenerationConfigurationProperties } from '../../../../platform/agentHost/common/imageGenerationConfiguration.js';
|
|
36
|
+
import { LocalModelLlamaServerPathSettingId, LocalModelUseInAutoSettingId, getLocalModelSafetyDisclosure, LocalModelEnabledSettingId, LOCAL_MODEL_MIN_GPU_MEMORY_GB_PLACEHOLDER } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/localModel';
|
|
37
|
+
import '../../../services/agentHost/browser/localModelService.js';
|
|
30
38
|
import { reasoningEffortLevels } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/reasoningEffort';
|
|
31
39
|
import { ChatSessionArchiveActionWordingSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/chat/common/sessionArchiveActions';
|
|
32
40
|
import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
|
|
33
41
|
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
34
42
|
import { Extensions as Extensions$1, ConfigurationScope, AgentHostConfigurationSyncScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
35
|
-
import { CustomizationMarketplaceConfiguration } from '@codingame/monaco-vscode-api/vscode/vs/platform/customizationMarketplace/common/customizationMarketplaceSources';
|
|
36
43
|
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
37
44
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
|
|
38
45
|
import { DEFAULT_LOCAL_TRANSCRIPTION_MODEL } from '@codingame/monaco-vscode-api/vscode/vs/platform/localTranscription/common/localTranscription';
|
|
@@ -56,7 +63,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pa
|
|
|
56
63
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
57
64
|
import { AssistedTypes, AddConfigurationType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/browser/mcpCommandsAddConfiguration';
|
|
58
65
|
import { mcpWorkspaceRootConfig, mcpDiscoverySection, defaultDiscoverySourceEnablement, allDiscoverySources, discoverySourceSettingsLabel, mcpServerSamplingSection, mcpServerCollisionBehaviorSection, McpCollisionBehavior, mcpEnterpriseManagedAuthIdpSection } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/common/mcpConfiguration';
|
|
59
|
-
import { autoApprovePolicyValue } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/agentHostConfigPolicy';
|
|
66
|
+
import { autoApprovePolicyValue, getDefaultConfigurationPolicyDescription } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/agentHostConfigPolicy';
|
|
60
67
|
import '../common/chatDebugServiceImpl.js';
|
|
61
68
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes';
|
|
62
69
|
import { IChatModeService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatModes.service';
|
|
@@ -66,10 +73,11 @@ import '../common/chatService/chatServiceImpl.js';
|
|
|
66
73
|
import { chatNetworkDomainConfigurationProperties, chatNetworkDomainConfigurationMigrations } from './chatNetworkConfiguration.js';
|
|
67
74
|
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
68
75
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
69
|
-
import { ChatConfiguration, ChatClosedPromoNotification, BYOKUtilityModelDefault, ChatDefaultPermissionLevel, ChatPermissionLevel, ChatNotificationMode, ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
76
|
+
import { ChatConfiguration, ChatClosedPromoNotification, OpenInAgentsTitleBarHoverVariant, AgentsWindowSectionStyle, AgentsWindowGraphicVariant, BYOKUtilityModelDefault, ChatDefaultPermissionLevel, ChatPermissionLevel, ChatNotificationMode, ChatAgentLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
70
77
|
import { agentsWindowHandoffConfigurationProperties } from './agentSessionsConfiguration.js';
|
|
71
|
-
import { chatProgressConfigurationProperties } from './chatProgressConfiguration.js';
|
|
78
|
+
import { legacyChatThinkingConfigurationProperties, chatProgressConfigurationProperties } from './chatProgressConfiguration.js';
|
|
72
79
|
import { customizationMarketplaceConfigurationProperties } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceConfiguration';
|
|
80
|
+
import '../common/editing/chatSessionReviewPreferences.js';
|
|
73
81
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModels';
|
|
74
82
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/languageModelStats';
|
|
75
83
|
import '../common/model/chatTransferService.js';
|
|
@@ -132,6 +140,8 @@ import { AgentHostChatDebugContribution } from './chatDebug/agentHostChatDebugPr
|
|
|
132
140
|
import { ChatDebugEditor } from './chatDebug/chatDebugEditor.js';
|
|
133
141
|
import { ChatDebugEditorInput, ChatDebugEditorInputSerializer } from './chatDebug/chatDebugEditorInput.js';
|
|
134
142
|
import './chatGoalSummaryService.js';
|
|
143
|
+
import '../common/chatUtilityModelService.js';
|
|
144
|
+
import '../common/chatThinkingTitleService.js';
|
|
135
145
|
import { CustomizationsTelemetryContribution } from './aiCustomization/customizationsTelemetryService.js';
|
|
136
146
|
import { PromptsDebugContribution } from './promptsDebugContribution.js';
|
|
137
147
|
import { PromptLanguageFeaturesProvider } from './promptSyntax/promptFileContributions.js';
|
|
@@ -142,7 +152,7 @@ import './telemetry/chatEditorTopologyTelemetry.js';
|
|
|
142
152
|
import './telemetry/chatModelCountTelemetry.js';
|
|
143
153
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService';
|
|
144
154
|
import { ClientToolSetsContribution } from './tools/clientToolSetsContribution.js';
|
|
145
|
-
import { RenameToolContribution } from '
|
|
155
|
+
import { RenameToolContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/tools/renameTool';
|
|
146
156
|
import { UsagesToolContribution } from './tools/usagesTool.js';
|
|
147
157
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService';
|
|
148
158
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService';
|
|
@@ -181,6 +191,7 @@ import './widget/chatLayoutService.js';
|
|
|
181
191
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/input/chatInputNoticeHost';
|
|
182
192
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/input/chatInputNotificationService';
|
|
183
193
|
import { ChatInputBoxContentProvider } from './widget/input/editor/chatEditorInputContentProvider.js';
|
|
194
|
+
import { ChatInputSessionLinkProvider } from './widget/input/editor/chatInputSessionLinkProvider.js';
|
|
184
195
|
import { ChatEditor } from './widgetHosts/editor/chatEditor.js';
|
|
185
196
|
import { ChatEditorInput, ChatEditorInputSerializer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditorInput';
|
|
186
197
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement';
|
|
@@ -196,6 +207,7 @@ import { AgentPluginCommandsContribution } from './agentPluginCommands.js';
|
|
|
196
207
|
import { AgentPluginEditor } from './agentPluginEditor/agentPluginEditor.js';
|
|
197
208
|
import { AgentPluginEditorInput } from './agentPluginEditor/agentPluginEditorInput.js';
|
|
198
209
|
import './agentPluginRepositoryService.js';
|
|
210
|
+
import { ContinueAgentHostChatInCopilotAction } from './agentSessions/agentHost/agentHostPolicyContinuation.js';
|
|
199
211
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHover';
|
|
200
212
|
import { ChatDynamicVariableModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatDynamicVariables';
|
|
201
213
|
import { ChatImplicitContextContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatImplicitContext';
|
|
@@ -214,6 +226,9 @@ import { ChatRepoInfoContribution } from './chatRepoInfo.js';
|
|
|
214
226
|
import { ChatSetupContribution, ChatTeardownContribution } from './chatSetup/chatSetupContributions.js';
|
|
215
227
|
import { ChatMicrosoftSignInProbeContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe';
|
|
216
228
|
import { ChatSlashCommandsContribution, ChatSessionOptionSlashCommandsContribution } from './chatSlashCommands.js';
|
|
229
|
+
import { BtwSlashCommandContribution } from './btwSlashCommand.js';
|
|
230
|
+
import { EditorSideChatProviderContribution } from './chatSideChatProvider.js';
|
|
231
|
+
import { EditorResponseSelectionSideChatContribution, AskSelectionInSideChatAction } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/responseSelectionSideChatController';
|
|
217
232
|
import { ChatStatusBarEntry } from './chatStatus/chatStatusEntry.js';
|
|
218
233
|
import { CodexStatusBarEntry } from './chatStatus/codexStatusEntry.js';
|
|
219
234
|
import './chatTipService.js';
|
|
@@ -277,7 +292,7 @@ CommandsRegistry.registerCommand(
|
|
|
277
292
|
throw ( new Error("The repository search command did not return repository names"));
|
|
278
293
|
}
|
|
279
294
|
return repositories;
|
|
280
|
-
}, options);
|
|
295
|
+
}, options ?? undefined);
|
|
281
296
|
} finally {
|
|
282
297
|
store.dispose();
|
|
283
298
|
}
|
|
@@ -290,21 +305,21 @@ jsonContributionRegistry.registerSchema(HOOK_SCHEMA_URI, hookFileSchema);
|
|
|
290
305
|
const configurationRegistry = ( Registry.as(Extensions$1.Configuration));
|
|
291
306
|
const migrationsTabLink = createMarkdownCommandLink({
|
|
292
307
|
id: AICustomizationManagementCommands.OpenEditor,
|
|
293
|
-
text: ( localize(
|
|
294
|
-
tooltip: ( localize(
|
|
308
|
+
text: ( localize(13491, "Migrations tab")),
|
|
309
|
+
tooltip: ( localize(13492, "Open the Migrations Tab")),
|
|
295
310
|
arguments: [{
|
|
296
311
|
migration: true
|
|
297
312
|
}]
|
|
298
313
|
});
|
|
299
314
|
configurationRegistry.registerConfiguration({
|
|
300
315
|
id: "chatSidebar",
|
|
301
|
-
title: ( localize(
|
|
316
|
+
title: ( localize(13493, "Chat")),
|
|
302
317
|
type: "object",
|
|
303
318
|
properties: {
|
|
304
319
|
"chat.experimentalSessionsWindowOverride": {
|
|
305
320
|
type: "boolean",
|
|
306
321
|
description: ( localize(
|
|
307
|
-
|
|
322
|
+
13494,
|
|
308
323
|
"When true, enables sessions-window-specific behavior for extensions."
|
|
309
324
|
)),
|
|
310
325
|
default: false,
|
|
@@ -316,7 +331,7 @@ configurationRegistry.registerConfiguration({
|
|
|
316
331
|
[ChatConfiguration.ExperimentalModePermissionsPicker]: {
|
|
317
332
|
type: "boolean",
|
|
318
333
|
description: ( localize(
|
|
319
|
-
|
|
334
|
+
13495,
|
|
320
335
|
"Shows mode and permissions in a combined picker with expandable permission choices for Copilot Agent Host sessions."
|
|
321
336
|
)),
|
|
322
337
|
default: true,
|
|
@@ -324,20 +339,20 @@ configurationRegistry.registerConfiguration({
|
|
|
324
339
|
},
|
|
325
340
|
"chat.fontSize": {
|
|
326
341
|
type: "number",
|
|
327
|
-
description: ( localize(
|
|
342
|
+
description: ( localize(13496, "Controls the font size in pixels in chat messages.")),
|
|
328
343
|
default: 13,
|
|
329
344
|
minimum: 6,
|
|
330
345
|
maximum: 100
|
|
331
346
|
},
|
|
332
347
|
"chat.fontFamily": {
|
|
333
348
|
type: "string",
|
|
334
|
-
description: ( localize(
|
|
349
|
+
description: ( localize(13497, "Controls the font family in chat messages.")),
|
|
335
350
|
default: "default"
|
|
336
351
|
},
|
|
337
352
|
"dictation.enabled": {
|
|
338
353
|
type: "boolean",
|
|
339
354
|
markdownDescription: ( localize(
|
|
340
|
-
|
|
355
|
+
13498,
|
|
341
356
|
"Enables dictation across the product (chat input, editor, and terminal). When enabled, a microphone button appears in the chat input and the dictation shortcut becomes available. Desktop uses the selected transcription model; web uses cloud transcription."
|
|
342
357
|
)),
|
|
343
358
|
default: true,
|
|
@@ -350,7 +365,7 @@ configurationRegistry.registerConfiguration({
|
|
|
350
365
|
description: {
|
|
351
366
|
key: "dictation.enabled.policy",
|
|
352
367
|
value: ( localize(
|
|
353
|
-
|
|
368
|
+
13499,
|
|
354
369
|
"Controls whether dictation is available across the product (chat input, editor, and terminal)."
|
|
355
370
|
))
|
|
356
371
|
}
|
|
@@ -360,16 +375,16 @@ configurationRegistry.registerConfiguration({
|
|
|
360
375
|
"dictation.model": {
|
|
361
376
|
type: "string",
|
|
362
377
|
enum: [DEFAULT_LOCAL_TRANSCRIPTION_MODEL, DICTATION_MAI_MODEL_ID],
|
|
363
|
-
enumItemLabels: [( localize(
|
|
378
|
+
enumItemLabels: [( localize(13500, "Nemotron 3.5 ASR (Multilingual) — On-Device")), ( localize(13501, "MAI — Cloud"))],
|
|
364
379
|
markdownEnumDescriptions: [( localize(
|
|
365
|
-
|
|
380
|
+
13502,
|
|
366
381
|
"NVIDIA Nemotron 3.5 multilingual streaming RNN-T, run on-device through Microsoft Foundry Local. Works offline; no audio leaves the device. Automatic language selection follows the Voice Mode language setting; when that setting is Automatic, dictation uses the configured display language when supported, then the system or browser locale, with model detection as a fallback. Downloaded on first use and cached on disk."
|
|
367
382
|
)), ( localize(
|
|
368
|
-
|
|
383
|
+
13503,
|
|
369
384
|
"Cloud transcription through the same Microsoft AI voice service used by Voice Mode. Requires a network connection and GitHub sign-in; audio is streamed to the service."
|
|
370
385
|
))],
|
|
371
386
|
markdownDescription: ( localize(
|
|
372
|
-
|
|
387
|
+
13504,
|
|
373
388
|
"The model used for dictation. On-device models download on first use and run locally through Microsoft Foundry Local; the cloud option streams audio to the Microsoft AI voice service. On the web, user and default on-device selections use cloud transcription because local transcription is unsupported. If policy requires on-device transcription, dictation is unavailable on the web."
|
|
374
389
|
)),
|
|
375
390
|
default: isWeb ? DICTATION_MAI_MODEL_ID : DEFAULT_LOCAL_TRANSCRIPTION_MODEL,
|
|
@@ -384,18 +399,18 @@ configurationRegistry.registerConfiguration({
|
|
|
384
399
|
localization: {
|
|
385
400
|
description: {
|
|
386
401
|
key: "dictation.model.policy",
|
|
387
|
-
value: ( localize(
|
|
402
|
+
value: ( localize(13505, "Controls the transcription model used for dictation."))
|
|
388
403
|
},
|
|
389
404
|
enumDescriptions: [{
|
|
390
405
|
key: "dictation.model.nemotronMultilingual.policy",
|
|
391
406
|
value: ( localize(
|
|
392
|
-
|
|
407
|
+
13506,
|
|
393
408
|
"Use the on-device transcription model. Audio does not leave the device."
|
|
394
409
|
))
|
|
395
410
|
}, {
|
|
396
411
|
key: "dictation.model.mai.policy",
|
|
397
412
|
value: ( localize(
|
|
398
|
-
|
|
413
|
+
13507,
|
|
399
414
|
"Use the cloud transcription service. Audio is streamed to the service."
|
|
400
415
|
))
|
|
401
416
|
}]
|
|
@@ -405,7 +420,7 @@ configurationRegistry.registerConfiguration({
|
|
|
405
420
|
[DictationSettingId.ShowTranscript]: {
|
|
406
421
|
type: "boolean",
|
|
407
422
|
markdownDescription: ( localize(
|
|
408
|
-
|
|
423
|
+
13508,
|
|
409
424
|
"Controls whether the transcript is shown while dictating. The final transcript is inserted when dictation ends."
|
|
410
425
|
)),
|
|
411
426
|
default: true,
|
|
@@ -414,7 +429,7 @@ configurationRegistry.registerConfiguration({
|
|
|
414
429
|
[DictationSettingId.ShowButton]: {
|
|
415
430
|
type: "boolean",
|
|
416
431
|
markdownDescription: ( localize(
|
|
417
|
-
|
|
432
|
+
13509,
|
|
418
433
|
"Controls whether the dictation microphone button is shown in the chat input. When hidden, dictation can still be started with its keyboard shortcut."
|
|
419
434
|
)),
|
|
420
435
|
default: true,
|
|
@@ -423,7 +438,7 @@ configurationRegistry.registerConfiguration({
|
|
|
423
438
|
"dictation.experimental.llmCleanup": {
|
|
424
439
|
type: "boolean",
|
|
425
440
|
markdownDescription: ( localize(
|
|
426
|
-
|
|
441
|
+
13510,
|
|
427
442
|
"Experimental: when dictation ends, the final transcript is passed through a small language model to restore punctuation, capitalization, paragraphs, and lists. Requires Copilot to be enabled; the transcript is sent to the language model for cleanup. Falls back to the raw transcript when no model is available. Use [dictation instructions](command:{0}) to customize terminology and formatting.",
|
|
428
443
|
CONFIGURE_DICTATION_INSTRUCTIONS_ACTION_ID
|
|
429
444
|
)),
|
|
@@ -437,7 +452,7 @@ configurationRegistry.registerConfiguration({
|
|
|
437
452
|
description: {
|
|
438
453
|
key: "dictation.experimental.llmCleanup.policy",
|
|
439
454
|
value: ( localize(
|
|
440
|
-
|
|
455
|
+
13511,
|
|
441
456
|
"Controls whether final dictation transcripts are sent to a language model for cleanup."
|
|
442
457
|
))
|
|
443
458
|
}
|
|
@@ -448,7 +463,7 @@ configurationRegistry.registerConfiguration({
|
|
|
448
463
|
type: "string",
|
|
449
464
|
enum: ["auto", "copilot-utility-small", "gpt-5.6-luna"],
|
|
450
465
|
markdownDescription: ( localize(
|
|
451
|
-
|
|
466
|
+
13512,
|
|
452
467
|
"Controls the language model used for experimental dictation cleanup. `auto` follows the experiment-provided default."
|
|
453
468
|
)),
|
|
454
469
|
default: "auto",
|
|
@@ -459,29 +474,29 @@ configurationRegistry.registerConfiguration({
|
|
|
459
474
|
},
|
|
460
475
|
"chat.editor.fontSize": {
|
|
461
476
|
type: "number",
|
|
462
|
-
description: ( localize(
|
|
477
|
+
description: ( localize(13513, "Controls the font size in pixels in chat codeblocks.")),
|
|
463
478
|
default: isMacintosh ? 12 : 14
|
|
464
479
|
},
|
|
465
480
|
"chat.editor.fontFamily": {
|
|
466
481
|
type: "string",
|
|
467
|
-
description: ( localize(
|
|
482
|
+
description: ( localize(13514, "Controls the font family in chat codeblocks.")),
|
|
468
483
|
default: "default"
|
|
469
484
|
},
|
|
470
485
|
"chat.editor.fontWeight": {
|
|
471
486
|
type: "string",
|
|
472
|
-
description: ( localize(
|
|
487
|
+
description: ( localize(13515, "Controls the font weight in chat codeblocks.")),
|
|
473
488
|
default: "default"
|
|
474
489
|
},
|
|
475
490
|
"chat.editor.wordWrap": {
|
|
476
491
|
type: "string",
|
|
477
|
-
description: ( localize(
|
|
492
|
+
description: ( localize(13516, "Controls whether lines should wrap in chat codeblocks.")),
|
|
478
493
|
default: "off",
|
|
479
494
|
enum: ["on", "off"]
|
|
480
495
|
},
|
|
481
496
|
"chat.editor.lineHeight": {
|
|
482
497
|
type: "number",
|
|
483
498
|
description: ( localize(
|
|
484
|
-
|
|
499
|
+
13517,
|
|
485
500
|
"Controls the line height in pixels in chat codeblocks. Use 0 to compute the line height from the font size."
|
|
486
501
|
)),
|
|
487
502
|
default: 0
|
|
@@ -489,12 +504,12 @@ configurationRegistry.registerConfiguration({
|
|
|
489
504
|
[ChatConfiguration.AgentStatusEnabled]: {
|
|
490
505
|
type: "string",
|
|
491
506
|
enum: ["hidden", "badge", "compact"],
|
|
492
|
-
enumDescriptions: [( localize(
|
|
493
|
-
|
|
507
|
+
enumDescriptions: [( localize(13518, "The agent status indicator is hidden from the title bar.")), ( localize(13519, "Shows the agent status as a badge next to the command center.")), ( localize(
|
|
508
|
+
13520,
|
|
494
509
|
"Replaces the command center search box with a compact agent status indicator and unified chat widget."
|
|
495
510
|
))],
|
|
496
511
|
markdownDescription: ( localize(
|
|
497
|
-
|
|
512
|
+
13521,
|
|
498
513
|
"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.",
|
|
499
514
|
"`#window.commandCenter#`",
|
|
500
515
|
"`#chat.viewSessions.enabled#`"
|
|
@@ -505,7 +520,7 @@ configurationRegistry.registerConfiguration({
|
|
|
505
520
|
[ChatConfiguration.UnifiedAgentsBar]: {
|
|
506
521
|
type: "boolean",
|
|
507
522
|
markdownDescription: ( localize(
|
|
508
|
-
|
|
523
|
+
13522,
|
|
509
524
|
"Replaces the command center search box with a unified chat and search widget."
|
|
510
525
|
)),
|
|
511
526
|
default: false,
|
|
@@ -514,7 +529,7 @@ configurationRegistry.registerConfiguration({
|
|
|
514
529
|
[ChatConfiguration.AgentSessionProjectionEnabled]: {
|
|
515
530
|
type: "boolean",
|
|
516
531
|
markdownDescription: ( localize(
|
|
517
|
-
|
|
532
|
+
13523,
|
|
518
533
|
"Controls whether Agent Session Projection mode is enabled for reviewing agent sessions in a focused workspace."
|
|
519
534
|
)),
|
|
520
535
|
default: false,
|
|
@@ -523,7 +538,7 @@ configurationRegistry.registerConfiguration({
|
|
|
523
538
|
[ChatConfiguration.MigrateLegacyCopilotCliSessions]: {
|
|
524
539
|
type: "boolean",
|
|
525
540
|
markdownDescription: ( localize(
|
|
526
|
-
|
|
541
|
+
13524,
|
|
527
542
|
"Controls whether legacy extension host Copilot CLI chat sessions are migrated in place to the Agent host when opened, so their history becomes editable. When disabled, legacy sessions open as before.\n\nChanging this setting requires a restart to take effect."
|
|
528
543
|
)),
|
|
529
544
|
default: false,
|
|
@@ -536,22 +551,6 @@ configurationRegistry.registerConfiguration({
|
|
|
536
551
|
key: AgentHostMigrateLegacyCopilotCliEnabledConfigKey
|
|
537
552
|
}
|
|
538
553
|
},
|
|
539
|
-
[ChatConfiguration.SessionCatalogEnabled]: {
|
|
540
|
-
type: "boolean",
|
|
541
|
-
markdownDescription: ( localize(
|
|
542
|
-
11400,
|
|
543
|
-
"Controls whether the agent session list is served from the Agent host's session catalog. When disabled, sessions are listed from provider metadata and per-session storage instead, which is slower.\n\nChanging this setting requires a restart to take effect."
|
|
544
|
-
)),
|
|
545
|
-
default: true,
|
|
546
|
-
tags: ["experimental", "advanced"],
|
|
547
|
-
scope: ConfigurationScope.APPLICATION,
|
|
548
|
-
experiment: {
|
|
549
|
-
mode: "startup"
|
|
550
|
-
},
|
|
551
|
-
agentHost: {
|
|
552
|
-
key: AgentHostSessionCatalogEnabledConfigKey
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
554
|
[ChatConfiguration.ShowExternalAgentSessions]: {
|
|
556
555
|
type: "string",
|
|
557
556
|
enum: [
|
|
@@ -561,13 +560,13 @@ configurationRegistry.registerConfiguration({
|
|
|
561
560
|
ChatExternalSessionsMode.Last7Days,
|
|
562
561
|
ChatExternalSessionsMode.Last30Days
|
|
563
562
|
],
|
|
564
|
-
enumDescriptions: [( localize(
|
|
565
|
-
|
|
563
|
+
enumDescriptions: [( localize(13525, "Do not show external sessions.")), ( localize(
|
|
564
|
+
13526,
|
|
566
565
|
"Show up to the 2 most recent external sessions updated in the last 7 days. At startup, external sessions older than the second-most-recently updated local session are hidden."
|
|
567
|
-
)), ( localize(
|
|
566
|
+
)), ( localize(13527, "Show external sessions updated in the last 24 hours.")), ( localize(13528, "Show external sessions updated in the last 7 days.")), ( localize(13529, "Show external sessions updated in the last 30 days."))],
|
|
568
567
|
default: ChatExternalSessionsMode.Last7Days,
|
|
569
568
|
markdownDescription: ( localize(
|
|
570
|
-
|
|
569
|
+
13530,
|
|
571
570
|
"Controls which external agent sessions are shown. External sessions are sessions that were created in a different application and have not received a message from this application yet."
|
|
572
571
|
)),
|
|
573
572
|
tags: ["experimental"],
|
|
@@ -578,10 +577,19 @@ configurationRegistry.registerConfiguration({
|
|
|
578
577
|
key: AgentHostShowExternalSessionsConfigKey
|
|
579
578
|
}
|
|
580
579
|
},
|
|
580
|
+
[ChatConfiguration.OpenSessionsInEditor]: {
|
|
581
|
+
type: "boolean",
|
|
582
|
+
default: false,
|
|
583
|
+
markdownDescription: ( localize(
|
|
584
|
+
13531,
|
|
585
|
+
"Controls whether opening an agent session, from the sessions list or a session link, shows it in an editor instead of the Chat view. Like opening a file, an editor that already shows the session is revealed, and a session shown in the Chat view moves into an editor."
|
|
586
|
+
)),
|
|
587
|
+
tags: ["experimental"]
|
|
588
|
+
},
|
|
581
589
|
[ChatConfiguration.SaveBeforeSend]: {
|
|
582
590
|
type: "boolean",
|
|
583
591
|
description: ( localize(
|
|
584
|
-
|
|
592
|
+
13532,
|
|
585
593
|
"Controls whether all dirty editors except untitled editors are saved before sending a chat message."
|
|
586
594
|
)),
|
|
587
595
|
default: true
|
|
@@ -589,14 +597,14 @@ configurationRegistry.registerConfiguration({
|
|
|
589
597
|
"chat.implicitContext.enabled": {
|
|
590
598
|
type: "object",
|
|
591
599
|
description: ( localize(
|
|
592
|
-
|
|
600
|
+
13533,
|
|
593
601
|
"Enables automatically using the active editor as chat context for specified chat locations."
|
|
594
602
|
)),
|
|
595
603
|
additionalProperties: {
|
|
596
604
|
type: "string",
|
|
597
605
|
enum: ["never", "first", "always"],
|
|
598
|
-
description: ( localize(
|
|
599
|
-
enumDescriptions: [( localize(
|
|
606
|
+
description: ( localize(13534, "The value for the implicit context.")),
|
|
607
|
+
enumDescriptions: [( localize(13535, "Implicit context is never enabled.")), ( localize(13536, "Implicit context is enabled for the first interaction.")), ( localize(13537, "Implicit context is always enabled."))]
|
|
600
608
|
},
|
|
601
609
|
default: {
|
|
602
610
|
"panel": "always"
|
|
@@ -614,7 +622,7 @@ configurationRegistry.registerConfiguration({
|
|
|
614
622
|
"chat.implicitContext.suggestedContext": {
|
|
615
623
|
type: "boolean",
|
|
616
624
|
markdownDescription: ( localize(
|
|
617
|
-
|
|
625
|
+
13538,
|
|
618
626
|
"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."
|
|
619
627
|
)),
|
|
620
628
|
default: true,
|
|
@@ -625,7 +633,7 @@ configurationRegistry.registerConfiguration({
|
|
|
625
633
|
"chat.implicitContext.includeActiveEditor": {
|
|
626
634
|
type: "boolean",
|
|
627
635
|
markdownDescription: ( localize(
|
|
628
|
-
|
|
636
|
+
13539,
|
|
629
637
|
"When enabled, the active editor is automatically forwarded as context, even when it would otherwise only be suggested. Selections and explicitly attached files are always included regardless of this setting.\n\nNote: this setting currently only applies to Agent Host sessions (such as Copilot)."
|
|
630
638
|
)),
|
|
631
639
|
default: true,
|
|
@@ -637,7 +645,7 @@ configurationRegistry.registerConfiguration({
|
|
|
637
645
|
"chat.editing.autoAcceptDelay": {
|
|
638
646
|
type: "number",
|
|
639
647
|
markdownDescription: ( localize(
|
|
640
|
-
|
|
648
|
+
13540,
|
|
641
649
|
"Delay after which changes made by chat are automatically accepted. Values are in seconds, `0` means disabled and `100` seconds is the maximum."
|
|
642
650
|
)),
|
|
643
651
|
default: 0,
|
|
@@ -648,7 +656,7 @@ configurationRegistry.registerConfiguration({
|
|
|
648
656
|
type: "boolean",
|
|
649
657
|
scope: ConfigurationScope.APPLICATION,
|
|
650
658
|
markdownDescription: ( localize(
|
|
651
|
-
|
|
659
|
+
13541,
|
|
652
660
|
"Whether to show a confirmation before removing a request and its associated edits."
|
|
653
661
|
)),
|
|
654
662
|
default: true
|
|
@@ -657,7 +665,7 @@ configurationRegistry.registerConfiguration({
|
|
|
657
665
|
type: "boolean",
|
|
658
666
|
scope: ConfigurationScope.APPLICATION,
|
|
659
667
|
markdownDescription: ( localize(
|
|
660
|
-
|
|
668
|
+
13542,
|
|
661
669
|
"Whether to show a confirmation before retrying a request and its associated edits."
|
|
662
670
|
)),
|
|
663
671
|
default: true
|
|
@@ -665,7 +673,7 @@ configurationRegistry.registerConfiguration({
|
|
|
665
673
|
"chat.editing.explainChanges.enabled": {
|
|
666
674
|
type: "boolean",
|
|
667
675
|
markdownDescription: ( localize(
|
|
668
|
-
|
|
676
|
+
13543,
|
|
669
677
|
"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."
|
|
670
678
|
)),
|
|
671
679
|
default: false,
|
|
@@ -677,7 +685,7 @@ configurationRegistry.registerConfiguration({
|
|
|
677
685
|
[ChatConfiguration.RevealNextChangeOnResolve]: {
|
|
678
686
|
type: "boolean",
|
|
679
687
|
markdownDescription: ( localize(
|
|
680
|
-
|
|
688
|
+
13544,
|
|
681
689
|
"Controls whether the editor automatically reveals the next change after keeping or undoing a chat edit."
|
|
682
690
|
)),
|
|
683
691
|
default: true
|
|
@@ -685,16 +693,29 @@ configurationRegistry.registerConfiguration({
|
|
|
685
693
|
[ChatConfiguration.OpenChangedFileInDiffEditor]: {
|
|
686
694
|
type: "boolean",
|
|
687
695
|
markdownDescription: ( localize(
|
|
688
|
-
|
|
696
|
+
13545,
|
|
689
697
|
"Controls whether selecting a file in the changed files list of a chat response opens it in a diff editor showing the changes made by chat, or in a regular editor. Holding `kbstyle(Alt)` while selecting the file opens it with the opposite behavior."
|
|
690
698
|
)),
|
|
691
699
|
default: true
|
|
692
700
|
},
|
|
701
|
+
[ChatConfiguration.EditorWorkingSetEnabled]: {
|
|
702
|
+
type: "boolean",
|
|
703
|
+
description: ( localize(
|
|
704
|
+
13546,
|
|
705
|
+
"Show Agent Host session changes as a working set above the chat input instead of the Changes pill in the editor window. Use its context menu to enable or disable Keep and Undo in both the working set and the editor, or choose Show Pill to turn this setting off. View All Edits opens all changed files in a diff editor. Hosts without a session changeset keep the Changes pill. Local and other chat harnesses are unaffected."
|
|
706
|
+
)),
|
|
707
|
+
default: true,
|
|
708
|
+
tags: ["experimental"],
|
|
709
|
+
agentsWindow: {
|
|
710
|
+
default: false,
|
|
711
|
+
readOnly: true
|
|
712
|
+
}
|
|
713
|
+
},
|
|
693
714
|
"chat.tips.enabled": {
|
|
694
715
|
type: "boolean",
|
|
695
716
|
scope: ConfigurationScope.APPLICATION,
|
|
696
717
|
description: ( localize(
|
|
697
|
-
|
|
718
|
+
13547,
|
|
698
719
|
"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."
|
|
699
720
|
)),
|
|
700
721
|
default: true
|
|
@@ -702,9 +723,9 @@ configurationRegistry.registerConfiguration({
|
|
|
702
723
|
"chat.upvoteAnimation": {
|
|
703
724
|
type: "string",
|
|
704
725
|
enum: ["off", "confetti", "floatingThumbs", "pulseWave", "radiantLines"],
|
|
705
|
-
enumDescriptions: [( localize(
|
|
726
|
+
enumDescriptions: [( localize(13548, "No animation is shown.")), ( localize(13549, "Shows a confetti burst animation around the thumbs up button.")), ( localize(13550, "Shows floating thumbs up icons rising from the button.")), ( localize(13551, "Shows expanding pulse rings from the button.")), ( localize(13552, "Shows radiant lines emanating from the button."))],
|
|
706
727
|
description: ( localize(
|
|
707
|
-
|
|
728
|
+
13553,
|
|
708
729
|
"Controls whether an animation is shown when clicking the thumbs up button on a chat response."
|
|
709
730
|
)),
|
|
710
731
|
default: "floatingThumbs"
|
|
@@ -712,16 +733,16 @@ configurationRegistry.registerConfiguration({
|
|
|
712
733
|
"chat.experimental.detectParticipant.enabled": {
|
|
713
734
|
type: "boolean",
|
|
714
735
|
deprecationMessage: ( localize(
|
|
715
|
-
|
|
736
|
+
13554,
|
|
716
737
|
"This setting is deprecated. Please use `chat.detectParticipant.enabled` instead."
|
|
717
738
|
)),
|
|
718
|
-
description: ( localize(
|
|
739
|
+
description: ( localize(13555, "Enables chat participant autodetection for panel chat.")),
|
|
719
740
|
default: null
|
|
720
741
|
},
|
|
721
742
|
[ChatConfiguration.IncrementalRendering]: {
|
|
722
743
|
type: "boolean",
|
|
723
744
|
description: ( localize(
|
|
724
|
-
|
|
745
|
+
13556,
|
|
725
746
|
"Enables incremental rendering with optional block-level animation when streaming chat responses."
|
|
726
747
|
)),
|
|
727
748
|
default: false,
|
|
@@ -730,7 +751,7 @@ configurationRegistry.registerConfiguration({
|
|
|
730
751
|
[ChatConfiguration.RichLinks]: {
|
|
731
752
|
type: "boolean",
|
|
732
753
|
description: ( localize(
|
|
733
|
-
|
|
754
|
+
13557,
|
|
734
755
|
"Controls whether supported links in chat are rendered as rich links with live metadata. Enabling this may make authenticated requests to services such as GitHub."
|
|
735
756
|
)),
|
|
736
757
|
default: false,
|
|
@@ -742,17 +763,17 @@ configurationRegistry.registerConfiguration({
|
|
|
742
763
|
[ChatConfiguration.IncrementalRenderingStyle]: {
|
|
743
764
|
type: "string",
|
|
744
765
|
enum: ["none", "fade", "rise", "blur", "scale", "slide", "reveal"],
|
|
745
|
-
enumDescriptions: [( localize(
|
|
746
|
-
description: ( localize(
|
|
766
|
+
enumDescriptions: [( localize(13558, "No animation. Content appears instantly.")), ( localize(13559, "Simple opacity fade from 0 to 1.")), ( localize(13560, "Content fades in while rising upward.")), ( localize(13561, "Content fades in from a blurred state.")), ( localize(13562, "Content scales up from slightly smaller.")), ( localize(13563, "Content slides in from the left.")), ( localize(13564, "Content reveals top-to-bottom with a soft gradient edge."))],
|
|
767
|
+
description: ( localize(13565, "Controls the animation style for incremental rendering.")),
|
|
747
768
|
default: "fade",
|
|
748
769
|
tags: ["experimental"]
|
|
749
770
|
},
|
|
750
771
|
[ChatConfiguration.IncrementalRenderingBuffering]: {
|
|
751
772
|
type: "string",
|
|
752
773
|
enum: ["off", "word", "paragraph"],
|
|
753
|
-
enumDescriptions: [( localize(
|
|
774
|
+
enumDescriptions: [( localize(13566, "Renders content immediately as tokens arrive.")), ( localize(13567, "Reveals content word by word.")), ( localize(13568, "Buffers content until a paragraph break before rendering."))],
|
|
754
775
|
description: ( localize(
|
|
755
|
-
|
|
776
|
+
13569,
|
|
756
777
|
"Controls how content is buffered before rendering during incremental rendering. Lower buffering levels render faster but may show incomplete sentences or partially formed markdown."
|
|
757
778
|
)),
|
|
758
779
|
default: "word",
|
|
@@ -761,20 +782,20 @@ configurationRegistry.registerConfiguration({
|
|
|
761
782
|
[ChatConfiguration.CollapseCompletedResponses]: {
|
|
762
783
|
type: "boolean",
|
|
763
784
|
description: ( localize(
|
|
764
|
-
|
|
785
|
+
13570,
|
|
765
786
|
"Controls whether completed chat responses collapse intermediate work while keeping the final response visible."
|
|
766
787
|
)),
|
|
767
788
|
default: true
|
|
768
789
|
},
|
|
769
790
|
"chat.detectParticipant.enabled": {
|
|
770
791
|
type: "boolean",
|
|
771
|
-
description: ( localize(
|
|
792
|
+
description: ( localize(13571, "Enables chat participant autodetection for panel chat.")),
|
|
772
793
|
default: true
|
|
773
794
|
},
|
|
774
795
|
[ChatConfiguration.ExperimentalStickyScrollEnabled]: {
|
|
775
796
|
type: "boolean",
|
|
776
797
|
description: ( localize(
|
|
777
|
-
|
|
798
|
+
13572,
|
|
778
799
|
"Controls whether chat requests use experimental tree-based sticky scroll instead of the sticky prompt header."
|
|
779
800
|
)),
|
|
780
801
|
default: true,
|
|
@@ -783,20 +804,29 @@ configurationRegistry.registerConfiguration({
|
|
|
783
804
|
[ChatConfiguration.InlineReferencesStyle]: {
|
|
784
805
|
type: "string",
|
|
785
806
|
enum: ["box", "link"],
|
|
786
|
-
enumDescriptions: [( localize(
|
|
787
|
-
|
|
807
|
+
enumDescriptions: [( localize(13573, "Display file and symbol references as boxed widgets with icons.")), ( localize(
|
|
808
|
+
13574,
|
|
788
809
|
"Display file and symbol references as simple blue links without icons."
|
|
789
810
|
))],
|
|
790
811
|
description: ( localize(
|
|
791
|
-
|
|
812
|
+
13575,
|
|
792
813
|
"Controls how file and symbol references are displayed in chat messages."
|
|
793
814
|
)),
|
|
794
815
|
default: "box"
|
|
795
816
|
},
|
|
817
|
+
[ChatConfiguration.InlineAttachmentsEnabled]: {
|
|
818
|
+
type: "boolean",
|
|
819
|
+
markdownDescription: ( localize(
|
|
820
|
+
13576,
|
|
821
|
+
"Controls whether context attached to the chat input, such as files, folders, images, symbols, tools, and pull requests, is shown as pills inline with the prompt text at the position where it was added, instead of above the input. Each inline attachment behaves like a single character: move the cursor across it, select it, or delete it like text. Sent requests show the same pills inline. The prompt sent to the model mentions each pill by its attachment's name and location, and attaches each attachment once, however often it is mentioned."
|
|
822
|
+
)),
|
|
823
|
+
default: product.quality === "insider",
|
|
824
|
+
tags: ["experimental"]
|
|
825
|
+
},
|
|
796
826
|
[ChatConfiguration.EditorAssociations]: {
|
|
797
827
|
type: "object",
|
|
798
828
|
markdownDescription: ( localize(
|
|
799
|
-
|
|
829
|
+
13577,
|
|
800
830
|
"Configure [glob patterns](https://aka.ms/vscode-glob-patterns) to editors for opening files from chat (for example `\"*.md\": \"vscode.markdown.preview.editor\"`)."
|
|
801
831
|
)),
|
|
802
832
|
additionalProperties: {
|
|
@@ -807,15 +837,15 @@ configurationRegistry.registerConfiguration({
|
|
|
807
837
|
[ChatConfiguration.NotifyWindowOnConfirmation]: {
|
|
808
838
|
type: "string",
|
|
809
839
|
enum: ["off", "windowNotFocused", "always"],
|
|
810
|
-
enumDescriptions: [( localize(
|
|
811
|
-
|
|
840
|
+
enumDescriptions: [( localize(13578, "Never show OS notifications for confirmations.")), ( localize(
|
|
841
|
+
13579,
|
|
812
842
|
"Show OS notifications for confirmations when the window is not focused."
|
|
813
843
|
)), ( localize(
|
|
814
|
-
|
|
844
|
+
13580,
|
|
815
845
|
"Always show OS notifications for confirmations, even when the window is focused."
|
|
816
846
|
))],
|
|
817
847
|
description: ( localize(
|
|
818
|
-
|
|
848
|
+
13581,
|
|
819
849
|
"Controls whether a chat session should present the user with an OS notification when a confirmation or question needs attention. This includes a window badge as well as notification toast."
|
|
820
850
|
)),
|
|
821
851
|
default: "windowNotFocused"
|
|
@@ -823,7 +853,7 @@ configurationRegistry.registerConfiguration({
|
|
|
823
853
|
[ChatConfiguration.AutoReply]: {
|
|
824
854
|
default: false,
|
|
825
855
|
markdownDescription: ( localize(
|
|
826
|
-
|
|
856
|
+
13582,
|
|
827
857
|
"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."
|
|
828
858
|
)),
|
|
829
859
|
type: "boolean",
|
|
@@ -836,7 +866,7 @@ configurationRegistry.registerConfiguration({
|
|
|
836
866
|
[ChatConfiguration.AutopilotAdvancedEnabled]: {
|
|
837
867
|
type: "boolean",
|
|
838
868
|
markdownDescription: ( localize(
|
|
839
|
-
|
|
869
|
+
13583,
|
|
840
870
|
"Enables **Advanced Autopilot**, a single switch that turns on all advanced Autopilot behaviors that delegate more of the loop to the agent. Currently, after each Autopilot turn a small, fast model evaluates whether your original request is complete; if not, Autopilot keeps working using that evaluation as guidance for the next turn, instead of relying on the agent to signal completion itself."
|
|
841
871
|
)),
|
|
842
872
|
default: false,
|
|
@@ -844,29 +874,32 @@ configurationRegistry.registerConfiguration({
|
|
|
844
874
|
},
|
|
845
875
|
[ChatConfiguration.DefaultPermissionLevel]: {
|
|
846
876
|
type: "string",
|
|
877
|
+
restricted: true,
|
|
878
|
+
tags: ["chatPermissions"],
|
|
847
879
|
enum: [
|
|
848
880
|
ChatPermissionLevel.Default,
|
|
849
881
|
ChatPermissionLevel.AutoApprove,
|
|
850
882
|
ChatPermissionLevel.Autopilot
|
|
851
883
|
],
|
|
852
|
-
enumItemLabels: [( localize(
|
|
853
|
-
enumDescriptions: [( localize(
|
|
884
|
+
enumItemLabels: [( localize(13584, "Default Permissions")), ( localize(13585, "Bypass Approvals")), ( localize(13586, "Autopilot (Preview)"))],
|
|
885
|
+
enumDescriptions: [( localize(13587, "Start new chat sessions with Default Permissions.")), ( localize(13588, "Start new chat sessions in Bypass Approvals mode.")), ( localize(13589, "Start new chat sessions in Autopilot mode."))],
|
|
854
886
|
description: ( localize(
|
|
855
|
-
|
|
856
|
-
"Controls the default permissions picker mode for new local chat sessions. You can still change the permission mode per session, and each session remembers the permission mode that was used. If
|
|
887
|
+
13590,
|
|
888
|
+
"Controls the default permissions picker mode for new local chat sessions. You can still change the permission mode per session, and each session remembers the permission mode that was used. If your organization disables auto approval, new sessions use Default Permissions."
|
|
857
889
|
)),
|
|
858
890
|
default: ChatPermissionLevel.Default
|
|
859
891
|
},
|
|
860
892
|
[ChatConfiguration.DefaultConfiguration]: {
|
|
861
893
|
type: "object",
|
|
894
|
+
tags: ["chatPermissions"],
|
|
862
895
|
additionalProperties: false,
|
|
863
896
|
properties: {
|
|
864
897
|
mode: {
|
|
865
898
|
type: "string",
|
|
866
899
|
enum: ["interactive", "plan", "autopilot"],
|
|
867
|
-
enumDescriptions: [( localize(
|
|
900
|
+
enumDescriptions: [( localize(13591, "Interactive — step-by-step collaboration.")), ( localize(13592, "Plan — plan first, execute when ready.")), ( localize(13593, "Autopilot — autonomously iterate from start to finish."))],
|
|
868
901
|
default: "interactive",
|
|
869
|
-
description: ( localize(
|
|
902
|
+
description: ( localize(13594, "The starting mode for new agent sessions."))
|
|
870
903
|
},
|
|
871
904
|
approvals: {
|
|
872
905
|
type: "string",
|
|
@@ -875,11 +908,11 @@ configurationRegistry.registerConfiguration({
|
|
|
875
908
|
ChatDefaultPermissionLevel.Assisted,
|
|
876
909
|
ChatDefaultPermissionLevel.AllowAll
|
|
877
910
|
],
|
|
878
|
-
enumDescriptions: [( localize(
|
|
911
|
+
enumDescriptions: [( localize(13595, "Manual permissions — asks when approval settings don't apply.")), ( localize(13596, "Assisted permissions — evaluates risk before running tools.")), ( localize(13597, "Allow All — runs tool calls without asking."))],
|
|
879
912
|
default: ChatDefaultPermissionLevel.Manual,
|
|
880
913
|
description: ( localize(
|
|
881
|
-
|
|
882
|
-
"The starting approval behavior for new agent sessions. If
|
|
914
|
+
13598,
|
|
915
|
+
"The starting approval behavior for new agent sessions. If your organization disables auto approval, new sessions use Manual permissions."
|
|
883
916
|
))
|
|
884
917
|
}
|
|
885
918
|
},
|
|
@@ -888,17 +921,45 @@ configurationRegistry.registerConfiguration({
|
|
|
888
921
|
approvals: ChatDefaultPermissionLevel.Manual
|
|
889
922
|
},
|
|
890
923
|
markdownDescription: ( localize(
|
|
891
|
-
|
|
924
|
+
13599,
|
|
892
925
|
"Controls the default configuration for new agent sessions (such as Copilot). You can still change the mode and approval behavior per session, and each session remembers what was used."
|
|
893
|
-
))
|
|
926
|
+
)),
|
|
927
|
+
policyValueDescription: getDefaultConfigurationPolicyDescription,
|
|
928
|
+
policy: {
|
|
929
|
+
name: "ChatDefaultConfiguration",
|
|
930
|
+
category: PolicyCategory.InteractiveSession,
|
|
931
|
+
minimumVersion: "1.144",
|
|
932
|
+
value: managedDefaultConfigurationValue,
|
|
933
|
+
managedSettings: {
|
|
934
|
+
[COPILOT_DEFAULT_PERMISSIONS_MODE_KEY]: {
|
|
935
|
+
type: "string"
|
|
936
|
+
},
|
|
937
|
+
[COPILOT_DISABLE_ASSISTED_PERMISSIONS_MODE_KEY]: {
|
|
938
|
+
type: "boolean"
|
|
939
|
+
},
|
|
940
|
+
[COPILOT_DISABLE_BYPASS_PERMISSIONS_MODE_KEY]: {
|
|
941
|
+
type: "string"
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
localization: {
|
|
945
|
+
description: {
|
|
946
|
+
key: "chat.defaultConfiguration.policy",
|
|
947
|
+
value: ( localize(
|
|
948
|
+
13600,
|
|
949
|
+
"Sets the default configuration for new agent sessions, as a JSON object with an optional \"mode\" (\"interactive\", \"plan\", or \"autopilot\") and \"approvals\" (\"manual\", \"assisted\", or \"allowAll\"). Users can still change them for each session."
|
|
950
|
+
))
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
894
954
|
},
|
|
895
955
|
[ChatConfiguration.DefaultModel]: {
|
|
896
956
|
type: "string",
|
|
897
957
|
default: "",
|
|
898
958
|
markdownDescription: ( localize(
|
|
899
|
-
|
|
900
|
-
"The default model for new chat conversations. Use \"auto\" to let Copilot pick a model, a model family name (such as \"opus\" or \"gemini\") to use the latest available model in that family, or a full model id. You can still switch the model within a conversation; each new conversation starts at
|
|
959
|
+
13601,
|
|
960
|
+
"The default model for new chat conversations. Use \"auto\" to let Copilot pick a model, a model family name (such as \"opus\" or \"gemini\") to use the latest available model in that family, or a full model id. An organization-managed default takes precedence over your saved preference. You can still switch the model within a conversation; each new conversation starts at the effective default."
|
|
901
961
|
)),
|
|
962
|
+
policyValueDescription: getDefaultModelPolicyDescription,
|
|
902
963
|
experiment: {
|
|
903
964
|
mode: "auto"
|
|
904
965
|
},
|
|
@@ -919,7 +980,7 @@ configurationRegistry.registerConfiguration({
|
|
|
919
980
|
description: {
|
|
920
981
|
key: "chat.defaultModel.policy",
|
|
921
982
|
value: ( localize(
|
|
922
|
-
|
|
983
|
+
13602,
|
|
923
984
|
"Sets the default chat model for new conversations. Accepts \"auto\", a model family name (such as \"opus\" or \"gemini\"), or a full model id. Users can still switch the model within a conversation."
|
|
924
985
|
))
|
|
925
986
|
}
|
|
@@ -931,7 +992,7 @@ configurationRegistry.registerConfiguration({
|
|
|
931
992
|
markdownDescription: globalAutoApproveDescription.value,
|
|
932
993
|
type: "boolean",
|
|
933
994
|
scope: ConfigurationScope.APPLICATION_MACHINE,
|
|
934
|
-
tags: ["experimental"],
|
|
995
|
+
tags: ["experimental", "chatPermissions"],
|
|
935
996
|
agentHost: {
|
|
936
997
|
key: AgentHostGlobalAutoApproveEnabledConfigKey
|
|
937
998
|
},
|
|
@@ -949,7 +1010,7 @@ configurationRegistry.registerConfiguration({
|
|
|
949
1010
|
description: {
|
|
950
1011
|
key: "autoApprove3.description",
|
|
951
1012
|
value: ( localize(
|
|
952
|
-
|
|
1013
|
+
13603,
|
|
953
1014
|
"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."
|
|
954
1015
|
))
|
|
955
1016
|
}
|
|
@@ -959,7 +1020,7 @@ configurationRegistry.registerConfiguration({
|
|
|
959
1020
|
[ChatConfiguration.SessionSyncEnabled]: {
|
|
960
1021
|
default: false,
|
|
961
1022
|
markdownDescription: ( localize(
|
|
962
|
-
|
|
1023
|
+
13604,
|
|
963
1024
|
"Enable session sync to GitHub.com. When enabled, Copilot session data is synced to your GitHub account for cross-device access and richer insights. Requires `#github.copilot.chat.localIndex.enabled#` to also be enabled."
|
|
964
1025
|
)),
|
|
965
1026
|
type: "boolean",
|
|
@@ -976,14 +1037,11 @@ configurationRegistry.registerConfiguration({
|
|
|
976
1037
|
description: {
|
|
977
1038
|
key: "chat.sessionSync.enabled.policy",
|
|
978
1039
|
value: ( localize(
|
|
979
|
-
|
|
1040
|
+
13605,
|
|
980
1041
|
"Enable session sync to GitHub.com for cross-device Copilot session history. When disabled by organization policy, session data is kept local only."
|
|
981
1042
|
))
|
|
982
1043
|
}
|
|
983
1044
|
}
|
|
984
|
-
},
|
|
985
|
-
agentHost: {
|
|
986
|
-
key: AgentHostSessionSyncEnabledConfigKey
|
|
987
1045
|
}
|
|
988
1046
|
},
|
|
989
1047
|
[ChatConfiguration.SessionSyncExcludeRepositories]: {
|
|
@@ -993,15 +1051,16 @@ configurationRegistry.registerConfiguration({
|
|
|
993
1051
|
},
|
|
994
1052
|
default: [],
|
|
995
1053
|
markdownDescription: ( localize(
|
|
996
|
-
|
|
1054
|
+
13606,
|
|
997
1055
|
"Repository patterns to exclude from session sync. Use exact `owner/repo` names or glob patterns like `my-org/*`. Sessions from matching repositories will only be stored locally."
|
|
998
1056
|
)),
|
|
999
1057
|
tags: ["experimental", "advanced"]
|
|
1000
1058
|
},
|
|
1001
1059
|
[ChatConfiguration.AutoApproveEdits]: {
|
|
1002
1060
|
default: DEFAULT_EDIT_AUTO_APPROVE_PATTERNS,
|
|
1061
|
+
tags: ["chatPermissions"],
|
|
1003
1062
|
markdownDescription: ( localize(
|
|
1004
|
-
|
|
1063
|
+
13607,
|
|
1005
1064
|
"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."
|
|
1006
1065
|
)),
|
|
1007
1066
|
type: "object",
|
|
@@ -1015,12 +1074,13 @@ configurationRegistry.registerConfiguration({
|
|
|
1015
1074
|
}
|
|
1016
1075
|
},
|
|
1017
1076
|
[ChatConfiguration.AutoApprovedUrls]: {
|
|
1077
|
+
tags: ["chatPermissions"],
|
|
1018
1078
|
default: {
|
|
1019
1079
|
"https://code.visualstudio.com": true,
|
|
1020
1080
|
"https://github.com/microsoft/vscode/wiki/*": true
|
|
1021
1081
|
},
|
|
1022
1082
|
markdownDescription: ( localize(
|
|
1023
|
-
|
|
1083
|
+
13608,
|
|
1024
1084
|
"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"
|
|
1025
1085
|
)),
|
|
1026
1086
|
type: "object",
|
|
@@ -1042,8 +1102,9 @@ configurationRegistry.registerConfiguration({
|
|
|
1042
1102
|
},
|
|
1043
1103
|
[ChatConfiguration.EligibleForAutoApproval]: {
|
|
1044
1104
|
default: {},
|
|
1105
|
+
tags: ["chatPermissions"],
|
|
1045
1106
|
markdownDescription: ( localize(
|
|
1046
|
-
|
|
1107
|
+
13609,
|
|
1047
1108
|
"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."
|
|
1048
1109
|
)),
|
|
1049
1110
|
type: "object",
|
|
@@ -1066,7 +1127,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1066
1127
|
description: {
|
|
1067
1128
|
key: "chat.tools.eligibleForAutoApproval",
|
|
1068
1129
|
value: ( localize(
|
|
1069
|
-
|
|
1130
|
+
13609,
|
|
1070
1131
|
"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."
|
|
1071
1132
|
))
|
|
1072
1133
|
}
|
|
@@ -1075,7 +1136,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1075
1136
|
},
|
|
1076
1137
|
[ChatConfiguration.ArtifactsEnabled]: {
|
|
1077
1138
|
default: false,
|
|
1078
|
-
description: ( localize(
|
|
1139
|
+
description: ( localize(13610, "Controls whether the artifacts view is available in chat.")),
|
|
1079
1140
|
type: "boolean",
|
|
1080
1141
|
tags: ["experimental"]
|
|
1081
1142
|
},
|
|
@@ -1087,7 +1148,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1087
1148
|
}
|
|
1088
1149
|
},
|
|
1089
1150
|
description: ( localize(
|
|
1090
|
-
|
|
1151
|
+
13611,
|
|
1091
1152
|
"Rules for extracting artifacts from tool results by MIME type. Maps MIME type patterns (e.g. 'image/*') to group configuration."
|
|
1092
1153
|
)),
|
|
1093
1154
|
type: "object",
|
|
@@ -1096,12 +1157,12 @@ configurationRegistry.registerConfiguration({
|
|
|
1096
1157
|
properties: {
|
|
1097
1158
|
groupName: {
|
|
1098
1159
|
type: "string",
|
|
1099
|
-
description: ( localize(
|
|
1160
|
+
description: ( localize(13612, "Display name for the artifact group."))
|
|
1100
1161
|
},
|
|
1101
1162
|
onlyShowGroup: {
|
|
1102
1163
|
type: "boolean",
|
|
1103
1164
|
description: ( localize(
|
|
1104
|
-
|
|
1165
|
+
13613,
|
|
1105
1166
|
"When true, show only the group header instead of individual items."
|
|
1106
1167
|
))
|
|
1107
1168
|
}
|
|
@@ -1117,7 +1178,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1117
1178
|
}
|
|
1118
1179
|
},
|
|
1119
1180
|
description: ( localize(
|
|
1120
|
-
|
|
1181
|
+
13614,
|
|
1121
1182
|
"Rules for extracting artifacts from written files by file path pattern. Maps glob patterns to group configuration."
|
|
1122
1183
|
)),
|
|
1123
1184
|
type: "object",
|
|
@@ -1126,12 +1187,12 @@ configurationRegistry.registerConfiguration({
|
|
|
1126
1187
|
properties: {
|
|
1127
1188
|
groupName: {
|
|
1128
1189
|
type: "string",
|
|
1129
|
-
description: ( localize(
|
|
1190
|
+
description: ( localize(13615, "Display name for the artifact group."))
|
|
1130
1191
|
},
|
|
1131
1192
|
onlyShowGroup: {
|
|
1132
1193
|
type: "boolean",
|
|
1133
1194
|
description: ( localize(
|
|
1134
|
-
|
|
1195
|
+
13616,
|
|
1135
1196
|
"When true, show only the group header instead of individual items."
|
|
1136
1197
|
))
|
|
1137
1198
|
}
|
|
@@ -1147,7 +1208,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1147
1208
|
}
|
|
1148
1209
|
},
|
|
1149
1210
|
description: ( localize(
|
|
1150
|
-
|
|
1211
|
+
13617,
|
|
1151
1212
|
"Rules for extracting artifacts from memory tool calls by memory file path pattern. Maps glob patterns to group configuration."
|
|
1152
1213
|
)),
|
|
1153
1214
|
type: "object",
|
|
@@ -1156,12 +1217,12 @@ configurationRegistry.registerConfiguration({
|
|
|
1156
1217
|
properties: {
|
|
1157
1218
|
groupName: {
|
|
1158
1219
|
type: "string",
|
|
1159
|
-
description: ( localize(
|
|
1220
|
+
description: ( localize(13618, "Display name for the artifact group."))
|
|
1160
1221
|
},
|
|
1161
1222
|
onlyShowGroup: {
|
|
1162
1223
|
type: "boolean",
|
|
1163
1224
|
description: ( localize(
|
|
1164
|
-
|
|
1225
|
+
13619,
|
|
1165
1226
|
"When true, show only the group header instead of individual items."
|
|
1166
1227
|
))
|
|
1167
1228
|
}
|
|
@@ -1173,14 +1234,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1173
1234
|
"chat.undoRequests.restoreInput": {
|
|
1174
1235
|
default: true,
|
|
1175
1236
|
markdownDescription: ( localize(
|
|
1176
|
-
|
|
1237
|
+
13620,
|
|
1177
1238
|
"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."
|
|
1178
1239
|
)),
|
|
1179
1240
|
type: "boolean"
|
|
1180
1241
|
},
|
|
1181
1242
|
"chat.editRequests": {
|
|
1182
1243
|
markdownDescription: ( localize(
|
|
1183
|
-
|
|
1244
|
+
13621,
|
|
1184
1245
|
"Enables editing of requests in the chat. This allows you to change the request content and resubmit it to the model."
|
|
1185
1246
|
)),
|
|
1186
1247
|
type: "string",
|
|
@@ -1189,7 +1250,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1189
1250
|
},
|
|
1190
1251
|
[ChatConfiguration.PasteAsAttachmentThreshold]: {
|
|
1191
1252
|
markdownDescription: ( localize(
|
|
1192
|
-
|
|
1253
|
+
13622,
|
|
1193
1254
|
"The number of characters a paste must exceed before it is added to the chat input as an attachment instead of being inserted inline. Set this to a very large number to always paste inline."
|
|
1194
1255
|
)),
|
|
1195
1256
|
type: "number",
|
|
@@ -1200,7 +1261,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1200
1261
|
type: "boolean",
|
|
1201
1262
|
default: true,
|
|
1202
1263
|
description: ( localize(
|
|
1203
|
-
|
|
1264
|
+
13623,
|
|
1204
1265
|
"Show chat agent sessions when chat is empty or to the side when chat view is wide enough."
|
|
1205
1266
|
)),
|
|
1206
1267
|
agentsWindow: {
|
|
@@ -1211,15 +1272,15 @@ configurationRegistry.registerConfiguration({
|
|
|
1211
1272
|
type: "string",
|
|
1212
1273
|
enum: ["stacked", "sideBySide"],
|
|
1213
1274
|
enumDescriptions: [( localize(
|
|
1214
|
-
|
|
1275
|
+
13624,
|
|
1215
1276
|
"Display chat sessions vertically stacked above the chat input unless a chat session is visible."
|
|
1216
1277
|
)), ( localize(
|
|
1217
|
-
|
|
1278
|
+
13625,
|
|
1218
1279
|
"Display chat sessions side by side if space is sufficient, otherwise fallback to stacked above the chat input unless a chat session is visible."
|
|
1219
1280
|
))],
|
|
1220
1281
|
default: "sideBySide",
|
|
1221
1282
|
description: ( localize(
|
|
1222
|
-
|
|
1283
|
+
13626,
|
|
1223
1284
|
"Controls the orientation of the chat agent sessions view when it is shown alongside the chat."
|
|
1224
1285
|
))
|
|
1225
1286
|
},
|
|
@@ -1227,38 +1288,38 @@ configurationRegistry.registerConfiguration({
|
|
|
1227
1288
|
type: "boolean",
|
|
1228
1289
|
default: false,
|
|
1229
1290
|
description: ( localize(
|
|
1230
|
-
|
|
1291
|
+
13627,
|
|
1231
1292
|
"Show a progress badge on the chat view when an agent session is in progress that is opened in that view."
|
|
1232
1293
|
))
|
|
1233
1294
|
},
|
|
1234
1295
|
[ChatSessionArchiveActionWordingSettingId]: {
|
|
1235
1296
|
type: "string",
|
|
1236
1297
|
enum: ["archive", "done"],
|
|
1237
|
-
enumDescriptions: [( localize(
|
|
1298
|
+
enumDescriptions: [( localize(13628, "Use Archive, Archive All, Unarchive, and Unarchive All.")), ( localize(13629, "Use Mark as Done, Mark All as Done, Restore, and Restore All."))],
|
|
1238
1299
|
default: "done",
|
|
1239
1300
|
tags: ["experimental"],
|
|
1240
1301
|
experiment: {
|
|
1241
1302
|
mode: "startup"
|
|
1242
1303
|
},
|
|
1243
1304
|
description: ( localize(
|
|
1244
|
-
|
|
1305
|
+
13630,
|
|
1245
1306
|
"Controls the wording and icons used by actions that archive and unarchive chat sessions, as well as the label of the archived sessions section."
|
|
1246
1307
|
))
|
|
1247
1308
|
},
|
|
1248
1309
|
[ChatConfiguration.AgentsHandoffTipMode]: {
|
|
1249
1310
|
type: "string",
|
|
1250
1311
|
enum: ["hidden", "default", "custom"],
|
|
1251
|
-
enumDescriptions: [( localize(
|
|
1312
|
+
enumDescriptions: [( localize(13631, "Never show the handoff tip.")), ( localize(13632, "Show the handoff tip with the default description.")), ( localize(13633, "Show the handoff tip with an alternate description."))],
|
|
1252
1313
|
default: "hidden",
|
|
1253
1314
|
tags: ["experimental"],
|
|
1254
1315
|
experiment: {
|
|
1255
1316
|
mode: "startup"
|
|
1256
1317
|
},
|
|
1257
1318
|
description: ( localize(
|
|
1258
|
-
|
|
1319
|
+
13634,
|
|
1259
1320
|
"Controls the tip shown above the chat input offering to continue eligible agent sessions in the Agents Window."
|
|
1260
1321
|
)),
|
|
1261
|
-
deprecationMessage: ( localize(
|
|
1322
|
+
deprecationMessage: ( localize(13635, "Use chat.agentsWindowBanner.enabled instead."))
|
|
1262
1323
|
},
|
|
1263
1324
|
[ChatConfiguration.BtwTipEnabled]: {
|
|
1264
1325
|
type: "boolean",
|
|
@@ -1268,14 +1329,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1268
1329
|
mode: "startup"
|
|
1269
1330
|
},
|
|
1270
1331
|
markdownDescription: ( localize(
|
|
1271
|
-
|
|
1332
|
+
13636,
|
|
1272
1333
|
"Controls whether the Agents Window shows a tip about using `/btw` to ask side questions."
|
|
1273
1334
|
))
|
|
1274
1335
|
},
|
|
1275
1336
|
[CodexPreferAgentHostEditorSettingId]: {
|
|
1276
1337
|
type: "boolean",
|
|
1277
1338
|
markdownDescription: ( localize(
|
|
1278
|
-
|
|
1339
|
+
13637,
|
|
1279
1340
|
"When enabled, Codex sessions opened from the regular workbench (sidebar chat) run inside the agent host process using the Codex App Server instead of the OpenAI extension. Only one Codex implementation surfaces per window. Requires `#chat.agentHost.codexAgent.enabled#`."
|
|
1280
1341
|
)),
|
|
1281
1342
|
default: product.quality !== "stable",
|
|
@@ -1293,7 +1354,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1293
1354
|
mode: "auto"
|
|
1294
1355
|
},
|
|
1295
1356
|
description: ( localize(
|
|
1296
|
-
|
|
1357
|
+
13638,
|
|
1297
1358
|
"Offer to continue eligible Codex conversations with GitHub Copilot when nearing a ChatGPT usage limit."
|
|
1298
1359
|
))
|
|
1299
1360
|
},
|
|
@@ -1308,37 +1369,29 @@ configurationRegistry.registerConfiguration({
|
|
|
1308
1369
|
mode: "auto"
|
|
1309
1370
|
},
|
|
1310
1371
|
description: ( localize(
|
|
1311
|
-
|
|
1372
|
+
13639,
|
|
1312
1373
|
"Minimum percentage of the five-hour or weekly ChatGPT usage limit consumed before offering to continue eligible Codex conversations with GitHub Copilot."
|
|
1313
1374
|
))
|
|
1314
1375
|
},
|
|
1315
1376
|
[ChatConfiguration.ChatContextUsageEnabled]: {
|
|
1316
1377
|
type: "boolean",
|
|
1317
1378
|
default: true,
|
|
1318
|
-
description: ( localize(
|
|
1379
|
+
description: ( localize(13640, "Show the context window usage indicator in the chat input."))
|
|
1319
1380
|
},
|
|
1320
1381
|
[ChatConfiguration.Verbose]: {
|
|
1321
1382
|
type: "boolean",
|
|
1322
1383
|
default: true,
|
|
1323
1384
|
description: ( localize(
|
|
1324
|
-
|
|
1385
|
+
13641,
|
|
1325
1386
|
"Show request and completion timestamps. Hover over a completion timestamp to show the elapsed response time."
|
|
1326
1387
|
))
|
|
1327
1388
|
},
|
|
1328
|
-
[ChatConfiguration.ProgressBorder]: {
|
|
1329
|
-
type: "boolean",
|
|
1330
|
-
default: true,
|
|
1331
|
-
markdownDescription: ( localize(
|
|
1332
|
-
11514,
|
|
1333
|
-
"Show an animated gradient border around the chat input while the agent is working or thinking. Has no effect when reduced motion is enabled."
|
|
1334
|
-
))
|
|
1335
|
-
},
|
|
1336
1389
|
...chatProgressConfigurationProperties,
|
|
1337
1390
|
[ChatConfiguration.SessionStateIndicatorEnabled]: {
|
|
1338
1391
|
type: "boolean",
|
|
1339
1392
|
default: false,
|
|
1340
1393
|
markdownDescription: ( localize(
|
|
1341
|
-
|
|
1394
|
+
13642,
|
|
1342
1395
|
"Enable state indicators around chat editor sessions that are in progress, need attention, or have an unvisited completion. Customize the borders with `chat.sessionStateIndicator.inProgressBorder`, `chat.sessionStateIndicator.needsInputBorder`, and `chat.sessionStateIndicator.unvisitedBorder` in `#workbench.colorCustomizations#`."
|
|
1343
1396
|
)),
|
|
1344
1397
|
tags: ["experimental"]
|
|
@@ -1346,16 +1399,16 @@ configurationRegistry.registerConfiguration({
|
|
|
1346
1399
|
[ChatConfiguration.NotifyWindowOnResponseReceived]: {
|
|
1347
1400
|
type: "string",
|
|
1348
1401
|
enum: ["off", "windowNotFocused", "always"],
|
|
1349
|
-
enumDescriptions: [( localize(
|
|
1350
|
-
|
|
1402
|
+
enumDescriptions: [( localize(13643, "Never show OS notifications for responses.")), ( localize(
|
|
1403
|
+
13644,
|
|
1351
1404
|
"Show OS notifications for responses when the window is not focused."
|
|
1352
1405
|
)), ( localize(
|
|
1353
|
-
|
|
1406
|
+
13645,
|
|
1354
1407
|
"Always show OS notifications for responses, even when the window is focused."
|
|
1355
1408
|
))],
|
|
1356
1409
|
default: "windowNotFocused",
|
|
1357
1410
|
description: ( localize(
|
|
1358
|
-
|
|
1411
|
+
13646,
|
|
1359
1412
|
"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."
|
|
1360
1413
|
))
|
|
1361
1414
|
},
|
|
@@ -1363,23 +1416,23 @@ configurationRegistry.registerConfiguration({
|
|
|
1363
1416
|
type: "boolean",
|
|
1364
1417
|
default: true,
|
|
1365
1418
|
description: ( localize(
|
|
1366
|
-
|
|
1419
|
+
13647,
|
|
1367
1420
|
"Enables checkpoints in chat. Checkpoints allow you to restore the chat to a previous state."
|
|
1368
1421
|
))
|
|
1369
1422
|
},
|
|
1370
1423
|
"chat.checkpoints.showFileChanges": {
|
|
1371
1424
|
type: "boolean",
|
|
1372
|
-
description: ( localize(
|
|
1425
|
+
description: ( localize(13648, "Controls whether to show chat checkpoint file changes.")),
|
|
1373
1426
|
default: false
|
|
1374
1427
|
},
|
|
1375
1428
|
[mcpAccessConfig]: {
|
|
1376
1429
|
type: "string",
|
|
1377
|
-
description: ( localize(
|
|
1430
|
+
description: ( localize(13649, "Controls access to installed Model Context Protocol servers.")),
|
|
1378
1431
|
enum: [McpAccessValue.None, McpAccessValue.Registry, McpAccessValue.All],
|
|
1379
|
-
enumDescriptions: [( localize(
|
|
1380
|
-
|
|
1432
|
+
enumDescriptions: [( localize(13650, "No access to MCP servers.")), ( localize(
|
|
1433
|
+
13651,
|
|
1381
1434
|
"Allows access to MCP servers listed in the registry that VS Code is connected to."
|
|
1382
|
-
)), ( localize(
|
|
1435
|
+
)), ( localize(13652, "Allow access to any installed MCP server."))],
|
|
1383
1436
|
default: McpAccessValue.All,
|
|
1384
1437
|
policy: {
|
|
1385
1438
|
name: "ChatMCP",
|
|
@@ -1397,20 +1450,20 @@ configurationRegistry.registerConfiguration({
|
|
|
1397
1450
|
localization: {
|
|
1398
1451
|
description: {
|
|
1399
1452
|
key: "chat.mcp.access",
|
|
1400
|
-
value: ( localize(
|
|
1453
|
+
value: ( localize(13649, "Controls access to installed Model Context Protocol servers."))
|
|
1401
1454
|
},
|
|
1402
1455
|
enumDescriptions: [{
|
|
1403
1456
|
key: "chat.mcp.access.none",
|
|
1404
|
-
value: ( localize(
|
|
1457
|
+
value: ( localize(13650, "No access to MCP servers."))
|
|
1405
1458
|
}, {
|
|
1406
1459
|
key: "chat.mcp.access.registry",
|
|
1407
1460
|
value: ( localize(
|
|
1408
|
-
|
|
1461
|
+
13651,
|
|
1409
1462
|
"Allows access to MCP servers listed in the registry that VS Code is connected to."
|
|
1410
1463
|
))
|
|
1411
1464
|
}, {
|
|
1412
1465
|
key: "chat.mcp.access.any",
|
|
1413
|
-
value: ( localize(
|
|
1466
|
+
value: ( localize(13652, "Allow access to any installed MCP server."))
|
|
1414
1467
|
}]
|
|
1415
1468
|
}
|
|
1416
1469
|
}
|
|
@@ -1424,14 +1477,17 @@ configurationRegistry.registerConfiguration({
|
|
|
1424
1477
|
serverName: {
|
|
1425
1478
|
type: "string",
|
|
1426
1479
|
minLength: 1,
|
|
1427
|
-
description: ( localize(
|
|
1480
|
+
description: ( localize(
|
|
1481
|
+
13653,
|
|
1482
|
+
"Match a server by its literal configured name. For local servers, names apply only when this allowlist has no command entries; for remote servers, only when it has no URL entries."
|
|
1483
|
+
))
|
|
1428
1484
|
},
|
|
1429
1485
|
serverUrl: {
|
|
1430
1486
|
type: "string",
|
|
1431
1487
|
minLength: 1,
|
|
1432
1488
|
description: ( localize(
|
|
1433
|
-
|
|
1434
|
-
"Match a remote server by its URL. Supports `*` wildcards
|
|
1489
|
+
13654,
|
|
1490
|
+
"Match a remote server by its URL, with case-insensitive scheme and host and a case-sensitive path. Supports `*` wildcards; a pattern with no path matches any path. Environment variable references expand on the host that connects to the server."
|
|
1435
1491
|
))
|
|
1436
1492
|
},
|
|
1437
1493
|
serverCommand: {
|
|
@@ -1441,8 +1497,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1441
1497
|
type: "string"
|
|
1442
1498
|
},
|
|
1443
1499
|
description: ( localize(
|
|
1444
|
-
|
|
1445
|
-
"Match a local server by its exact command
|
|
1500
|
+
13655,
|
|
1501
|
+
"Match a local server by its exact command followed by its arguments, in order. Environment variable references expand on the host that runs the server."
|
|
1446
1502
|
))
|
|
1447
1503
|
}
|
|
1448
1504
|
},
|
|
@@ -1455,8 +1511,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1455
1511
|
}]
|
|
1456
1512
|
},
|
|
1457
1513
|
markdownDescription: ( localize(
|
|
1458
|
-
|
|
1459
|
-
"Enterprise-managed allowlist that controls which Model Context Protocol servers may be installed and run. When
|
|
1514
|
+
13656,
|
|
1515
|
+
"Enterprise-managed allowlist that controls which Model Context Protocol servers may be installed and run. When enforced by enterprise policy, this list replaces registry-only access restrictions, but MCP disablement and deny rules still apply. Local servers must match a command entry when any command entries exist; remote servers must match a URL entry when any URL entries exist. Otherwise, servers may match a literal name entry. An empty list allows no servers. If omitted, no allowlist restriction applies; the access setting (including registry-only access) and deny list still apply. Gallery checks evaluate available installation candidates; the selected command or URL is checked again after resolution. Delivered via enterprise policy for governance; this setting is not surfaced to end users."
|
|
1460
1516
|
)),
|
|
1461
1517
|
default: null,
|
|
1462
1518
|
scope: ConfigurationScope.APPLICATION,
|
|
@@ -1475,7 +1531,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1475
1531
|
description: {
|
|
1476
1532
|
key: "chat.mcp.allowedServers.policy",
|
|
1477
1533
|
value: ( localize(
|
|
1478
|
-
|
|
1534
|
+
13657,
|
|
1479
1535
|
"Allowlist of Model Context Protocol servers. When set, only servers matching an entry may be installed or run; omit entirely to allow all servers (subject to the deny list)."
|
|
1480
1536
|
))
|
|
1481
1537
|
}
|
|
@@ -1491,14 +1547,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1491
1547
|
serverName: {
|
|
1492
1548
|
type: "string",
|
|
1493
1549
|
minLength: 1,
|
|
1494
|
-
description: ( localize(
|
|
1550
|
+
description: ( localize(13658, "Match a server by its configured name."))
|
|
1495
1551
|
},
|
|
1496
1552
|
serverUrl: {
|
|
1497
1553
|
type: "string",
|
|
1498
1554
|
minLength: 1,
|
|
1499
1555
|
description: ( localize(
|
|
1500
|
-
|
|
1501
|
-
"Match a remote server by its URL. Supports `*` wildcards
|
|
1556
|
+
13659,
|
|
1557
|
+
"Match a remote server by its URL, with case-insensitive scheme and host and a case-sensitive path. Supports `*` wildcards; a pattern with no path matches any path. Environment variable references expand on the host that connects to the server."
|
|
1502
1558
|
))
|
|
1503
1559
|
},
|
|
1504
1560
|
serverCommand: {
|
|
@@ -1508,8 +1564,8 @@ configurationRegistry.registerConfiguration({
|
|
|
1508
1564
|
type: "string"
|
|
1509
1565
|
},
|
|
1510
1566
|
description: ( localize(
|
|
1511
|
-
|
|
1512
|
-
"Match a local server by its exact command
|
|
1567
|
+
13660,
|
|
1568
|
+
"Match a local server by its exact command followed by its arguments, in order. Environment variable references expand on the host that runs the server."
|
|
1513
1569
|
))
|
|
1514
1570
|
}
|
|
1515
1571
|
},
|
|
@@ -1522,7 +1578,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1522
1578
|
}]
|
|
1523
1579
|
},
|
|
1524
1580
|
markdownDescription: ( localize(
|
|
1525
|
-
|
|
1581
|
+
13661,
|
|
1526
1582
|
"Enterprise-managed denylist of Model Context Protocol servers. Servers matching any entry are unconditionally blocked from being installed or run, even if they also match the allow list — deny rules always take precedence. Servers can be matched by name, remote URL pattern (with `*` wildcards), or local command invocation. Delivered via enterprise policy for governance; this setting is not surfaced to end users."
|
|
1527
1583
|
)),
|
|
1528
1584
|
default: null,
|
|
@@ -1542,7 +1598,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1542
1598
|
description: {
|
|
1543
1599
|
key: "chat.mcp.deniedServers.policy",
|
|
1544
1600
|
value: ( localize(
|
|
1545
|
-
|
|
1601
|
+
13662,
|
|
1546
1602
|
"Denylist of Model Context Protocol servers. Servers matching any entry are blocked from being installed or run, even if they also match the allow list; deny rules always take precedence."
|
|
1547
1603
|
))
|
|
1548
1604
|
}
|
|
@@ -1555,7 +1611,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1555
1611
|
scope: ConfigurationScope.APPLICATION,
|
|
1556
1612
|
included: false,
|
|
1557
1613
|
description: ( localize(
|
|
1558
|
-
|
|
1614
|
+
13663,
|
|
1559
1615
|
"Use only the enterprise-managed MCP allowlist when deciding which servers may run."
|
|
1560
1616
|
)),
|
|
1561
1617
|
policy: {
|
|
@@ -1572,7 +1628,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1572
1628
|
description: {
|
|
1573
1629
|
key: "chat.mcp.allowManagedServersOnly.policy",
|
|
1574
1630
|
value: ( localize(
|
|
1575
|
-
|
|
1631
|
+
13664,
|
|
1576
1632
|
"Use only the enterprise-managed MCP allowlist when deciding which servers may run."
|
|
1577
1633
|
))
|
|
1578
1634
|
}
|
|
@@ -1582,7 +1638,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1582
1638
|
[mcpAutoStartConfig]: {
|
|
1583
1639
|
type: "string",
|
|
1584
1640
|
description: ( localize(
|
|
1585
|
-
|
|
1641
|
+
13665,
|
|
1586
1642
|
"Controls whether MCP servers should be automatically started when the chat messages are submitted."
|
|
1587
1643
|
)),
|
|
1588
1644
|
default: McpAutoStartValue.NewAndOutdated,
|
|
@@ -1591,11 +1647,11 @@ configurationRegistry.registerConfiguration({
|
|
|
1591
1647
|
McpAutoStartValue.OnlyNew,
|
|
1592
1648
|
McpAutoStartValue.NewAndOutdated
|
|
1593
1649
|
],
|
|
1594
|
-
enumDescriptions: [( localize(
|
|
1595
|
-
|
|
1650
|
+
enumDescriptions: [( localize(13666, "Never automatically start MCP servers.")), ( localize(
|
|
1651
|
+
13667,
|
|
1596
1652
|
"Only automatically start new MCP servers that have never been run."
|
|
1597
1653
|
)), ( localize(
|
|
1598
|
-
|
|
1654
|
+
13668,
|
|
1599
1655
|
"Automatically start new and outdated MCP servers that are not yet running."
|
|
1600
1656
|
))],
|
|
1601
1657
|
tags: ["experimental"]
|
|
@@ -1603,7 +1659,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1603
1659
|
[mcpAppsEnabledConfig]: {
|
|
1604
1660
|
type: "boolean",
|
|
1605
1661
|
description: ( localize(
|
|
1606
|
-
|
|
1662
|
+
13669,
|
|
1607
1663
|
"Controls whether MCP servers can provide custom UI for tool invocations."
|
|
1608
1664
|
)),
|
|
1609
1665
|
default: true,
|
|
@@ -1621,27 +1677,27 @@ configurationRegistry.registerConfiguration({
|
|
|
1621
1677
|
type: "string",
|
|
1622
1678
|
format: "uri",
|
|
1623
1679
|
markdownDescription: ( localize(
|
|
1624
|
-
|
|
1680
|
+
13670,
|
|
1625
1681
|
"The OAuth/OIDC issuer URL of the SSO authorization server. Must be an `https://` URL."
|
|
1626
1682
|
))
|
|
1627
1683
|
},
|
|
1628
1684
|
clientId: {
|
|
1629
1685
|
type: "string",
|
|
1630
1686
|
markdownDescription: ( localize(
|
|
1631
|
-
|
|
1687
|
+
13671,
|
|
1632
1688
|
"The OAuth client ID registered with the SSO issuer for this device."
|
|
1633
1689
|
))
|
|
1634
1690
|
},
|
|
1635
1691
|
clientSecret: {
|
|
1636
1692
|
type: "string",
|
|
1637
1693
|
markdownDescription: ( localize(
|
|
1638
|
-
|
|
1694
|
+
13672,
|
|
1639
1695
|
"The OAuth client secret paired with `clientId`. Intended for local development only."
|
|
1640
1696
|
))
|
|
1641
1697
|
}
|
|
1642
1698
|
},
|
|
1643
1699
|
markdownDescription: ( localize(
|
|
1644
|
-
|
|
1700
|
+
13673,
|
|
1645
1701
|
"(Preview) The OAuth/OIDC IdP configuration used for enterprise-managed Model Context Protocol (MCP) servers. Typically delivered via enterprise policy (Windows Group Policy / macOS managed preferences / Linux `/etc/vscode/policy.json`); developers may hand-edit `settings.json` for local testing. Properties: `issuer` (HTTPS URL), `clientId`, `clientSecret`."
|
|
1646
1702
|
)),
|
|
1647
1703
|
policy: {
|
|
@@ -1652,7 +1708,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1652
1708
|
description: {
|
|
1653
1709
|
key: "mcp.enterpriseManagedAuth.idp.policy",
|
|
1654
1710
|
value: ( localize(
|
|
1655
|
-
|
|
1711
|
+
13674,
|
|
1656
1712
|
"The OAuth/OIDC IdP configuration used for enterprise-managed Model Context Protocol (MCP) server authentication."
|
|
1657
1713
|
))
|
|
1658
1714
|
}
|
|
@@ -1662,19 +1718,19 @@ configurationRegistry.registerConfiguration({
|
|
|
1662
1718
|
[mcpServerCollisionBehaviorSection]: {
|
|
1663
1719
|
type: "string",
|
|
1664
1720
|
description: ( localize(
|
|
1665
|
-
|
|
1721
|
+
13675,
|
|
1666
1722
|
"Controls behavior when multiple MCP servers are discovered with the same name. 'disable' disables lower-priority duplicates. 'suffix' appends numeric suffixes to disambiguate."
|
|
1667
1723
|
)),
|
|
1668
1724
|
enum: [McpCollisionBehavior.Disable, McpCollisionBehavior.Suffix],
|
|
1669
|
-
enumDescriptions: [( localize(
|
|
1725
|
+
enumDescriptions: [( localize(13676, "Disable lower-priority servers with duplicate names.")), ( localize(13677, "Append numeric suffixes to servers with duplicate names."))],
|
|
1670
1726
|
default: McpCollisionBehavior.Disable
|
|
1671
1727
|
},
|
|
1672
1728
|
[mcpServerSamplingSection]: {
|
|
1673
1729
|
type: "object",
|
|
1674
1730
|
description: ( localize(
|
|
1675
|
-
|
|
1731
|
+
13678,
|
|
1676
1732
|
"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.",
|
|
1677
|
-
"MCP: " + ( localize(
|
|
1733
|
+
"MCP: " + ( localize(13679, "List Servers"))
|
|
1678
1734
|
)),
|
|
1679
1735
|
scope: ConfigurationScope.RESOURCE,
|
|
1680
1736
|
additionalProperties: {
|
|
@@ -1683,7 +1739,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1683
1739
|
allowedDuringChat: {
|
|
1684
1740
|
type: "boolean",
|
|
1685
1741
|
description: ( localize(
|
|
1686
|
-
|
|
1742
|
+
13680,
|
|
1687
1743
|
"Whether this server is allowed to make sampling requests during its tool calls in a chat session."
|
|
1688
1744
|
)),
|
|
1689
1745
|
default: true
|
|
@@ -1691,7 +1747,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1691
1747
|
allowedOutsideChat: {
|
|
1692
1748
|
type: "boolean",
|
|
1693
1749
|
description: ( localize(
|
|
1694
|
-
|
|
1750
|
+
13681,
|
|
1695
1751
|
"Whether this server is allowed to make sampling requests outside of a chat session."
|
|
1696
1752
|
)),
|
|
1697
1753
|
default: false
|
|
@@ -1700,7 +1756,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1700
1756
|
type: "array",
|
|
1701
1757
|
items: {
|
|
1702
1758
|
type: "string",
|
|
1703
|
-
description: ( localize(
|
|
1759
|
+
description: ( localize(13682, "A model the MCP server has access to."))
|
|
1704
1760
|
}
|
|
1705
1761
|
}
|
|
1706
1762
|
}
|
|
@@ -1709,7 +1765,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1709
1765
|
[AssistedTypes[AddConfigurationType.NuGetPackage].enabledConfigKey]: {
|
|
1710
1766
|
type: "boolean",
|
|
1711
1767
|
description: ( localize(
|
|
1712
|
-
|
|
1768
|
+
13683,
|
|
1713
1769
|
"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)."
|
|
1714
1770
|
)),
|
|
1715
1771
|
default: false,
|
|
@@ -1720,7 +1776,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1720
1776
|
},
|
|
1721
1777
|
[ChatConfiguration.ExtensionToolsEnabled]: {
|
|
1722
1778
|
type: "boolean",
|
|
1723
|
-
description: ( localize(
|
|
1779
|
+
description: ( localize(13684, "Enable using tools contributed by third-party extensions.")),
|
|
1724
1780
|
default: true,
|
|
1725
1781
|
policy: {
|
|
1726
1782
|
name: "ChatAgentExtensionTools",
|
|
@@ -1729,14 +1785,14 @@ configurationRegistry.registerConfiguration({
|
|
|
1729
1785
|
localization: {
|
|
1730
1786
|
description: {
|
|
1731
1787
|
key: "chat.extensionToolsEnabled",
|
|
1732
|
-
value: ( localize(
|
|
1788
|
+
value: ( localize(13684, "Enable using tools contributed by third-party extensions."))
|
|
1733
1789
|
}
|
|
1734
1790
|
}
|
|
1735
1791
|
}
|
|
1736
1792
|
},
|
|
1737
1793
|
[ChatConfiguration.PluginsEnabled]: {
|
|
1738
1794
|
type: "boolean",
|
|
1739
|
-
description: ( localize(
|
|
1795
|
+
description: ( localize(13685, "Enable agent plugin integration in chat.")),
|
|
1740
1796
|
default: true,
|
|
1741
1797
|
policy: {
|
|
1742
1798
|
name: "ChatPluginsEnabled",
|
|
@@ -1745,7 +1801,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1745
1801
|
localization: {
|
|
1746
1802
|
description: {
|
|
1747
1803
|
key: "chat.plugins.enabled",
|
|
1748
|
-
value: ( localize(
|
|
1804
|
+
value: ( localize(13685, "Enable agent plugin integration in chat."))
|
|
1749
1805
|
}
|
|
1750
1806
|
}
|
|
1751
1807
|
}
|
|
@@ -1757,7 +1813,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1757
1813
|
},
|
|
1758
1814
|
restricted: true,
|
|
1759
1815
|
markdownDescription: ( localize(
|
|
1760
|
-
|
|
1816
|
+
13686,
|
|
1761
1817
|
"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."
|
|
1762
1818
|
)),
|
|
1763
1819
|
scope: ConfigurationScope.MACHINE,
|
|
@@ -1769,7 +1825,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1769
1825
|
type: "boolean"
|
|
1770
1826
|
},
|
|
1771
1827
|
markdownDescription: ( localize(
|
|
1772
|
-
|
|
1828
|
+
13687,
|
|
1773
1829
|
"Controls which [agent plugins](https://aka.ms/vscode-agent-plugins) are enabled or disabled. Keys are plugin IDs in `<plugin>@<marketplace>` form (where marketplace is defined in {1}); values enable (`true`) or disable (`false`) the plugin. Discovered alongside the path-keyed entries in {0}. When set by policy, entries are additive: plugins mapped to `true` are enabled in addition to the user's own plugins, and only plugins mapped to `false` are blocked from loading.",
|
|
1774
1830
|
`\`#${ChatConfiguration.PluginLocations}#\``,
|
|
1775
1831
|
`\`#${ChatConfiguration.PluginMarketplaces}#\``
|
|
@@ -1789,7 +1845,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1789
1845
|
description: {
|
|
1790
1846
|
key: "chat.plugins.enabledPlugins.policy",
|
|
1791
1847
|
value: ( localize(
|
|
1792
|
-
|
|
1848
|
+
13688,
|
|
1793
1849
|
"Plugin enablement. Keys are plugin IDs in `{plugin}@{marketplace}` form; values enable or disable the plugin."
|
|
1794
1850
|
))
|
|
1795
1851
|
}
|
|
@@ -1802,7 +1858,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1802
1858
|
type: "string"
|
|
1803
1859
|
},
|
|
1804
1860
|
markdownDescription: ( localize(
|
|
1805
|
-
|
|
1861
|
+
13689,
|
|
1806
1862
|
"Plugin marketplaces to query. Entries may be GitHub shorthand (`owner/repo` or `owner/repo#ref`), direct Git repository URIs (`https://...git`, `ssh://...git`, or `git@host:path.git`, each optionally suffixed with `#ref`), or local repository URIs (`file:///...`). Equivalent GitHub shorthand and URI entries are deduplicated."
|
|
1807
1863
|
)),
|
|
1808
1864
|
default: [DEFAULT_PLUGIN_MARKETPLACE],
|
|
@@ -1818,7 +1874,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1818
1874
|
scope: ConfigurationScope.APPLICATION,
|
|
1819
1875
|
included: false,
|
|
1820
1876
|
markdownDescription: ( localize(
|
|
1821
|
-
|
|
1877
|
+
13690,
|
|
1822
1878
|
"Enterprise-managed additional plugin marketplaces. Unioned with {0}. An entry's `autoUpdate` value overrides {1} for plugins from that marketplace.",
|
|
1823
1879
|
`\`#${ChatConfiguration.PluginMarketplaces}#\``,
|
|
1824
1880
|
"`#extensions.autoUpdate#`"
|
|
@@ -1837,97 +1893,20 @@ configurationRegistry.registerConfiguration({
|
|
|
1837
1893
|
description: {
|
|
1838
1894
|
key: "chat.plugins.extraMarketplaces.policy",
|
|
1839
1895
|
value: ( localize(
|
|
1840
|
-
|
|
1896
|
+
13691,
|
|
1841
1897
|
"Additional plugin marketplaces to query. Keys are marketplace names; values are GitHub shorthand (`owner/repo[#ref]`) or Git URIs (`{url}[#ref]`), optionally with an enterprise-managed auto-update override."
|
|
1842
1898
|
))
|
|
1843
1899
|
}
|
|
1844
1900
|
}
|
|
1845
1901
|
}
|
|
1846
1902
|
},
|
|
1847
|
-
[ChatConfiguration.StrictMarketplaces]: {
|
|
1848
|
-
type: ["array", "null"],
|
|
1849
|
-
items: {
|
|
1850
|
-
type: "object",
|
|
1851
|
-
properties: {
|
|
1852
|
-
source: {
|
|
1853
|
-
type: "string",
|
|
1854
|
-
enum: [
|
|
1855
|
-
"github",
|
|
1856
|
-
"git",
|
|
1857
|
-
"url",
|
|
1858
|
-
"npm",
|
|
1859
|
-
"file",
|
|
1860
|
-
"directory",
|
|
1861
|
-
"hostPattern",
|
|
1862
|
-
"pathPattern"
|
|
1863
|
-
]
|
|
1864
|
-
},
|
|
1865
|
-
repo: {
|
|
1866
|
-
type: "string"
|
|
1867
|
-
},
|
|
1868
|
-
url: {
|
|
1869
|
-
type: "string"
|
|
1870
|
-
},
|
|
1871
|
-
ref: {
|
|
1872
|
-
type: "string"
|
|
1873
|
-
},
|
|
1874
|
-
path: {
|
|
1875
|
-
type: "string"
|
|
1876
|
-
},
|
|
1877
|
-
package: {
|
|
1878
|
-
type: "string"
|
|
1879
|
-
},
|
|
1880
|
-
hostPattern: {
|
|
1881
|
-
type: "string"
|
|
1882
|
-
},
|
|
1883
|
-
pathPattern: {
|
|
1884
|
-
type: "string"
|
|
1885
|
-
},
|
|
1886
|
-
headers: {
|
|
1887
|
-
type: "object",
|
|
1888
|
-
additionalProperties: {
|
|
1889
|
-
type: "string"
|
|
1890
|
-
}
|
|
1891
|
-
}
|
|
1892
|
-
},
|
|
1893
|
-
required: ["source"]
|
|
1894
|
-
},
|
|
1895
|
-
markdownDescription: ( localize(
|
|
1896
|
-
11565,
|
|
1897
|
-
"Enterprise-managed allowlist of plugin marketplace sources. When set, only marketplaces matching one of these entries can be installed; an empty array blocks all marketplaces. This does not retroactively disable already-installed plugins. Each entry is an object with a `source` discriminator (`github`, `git`, `url`, `npm`, `file`, `directory`, `hostPattern`, or `pathPattern`) and the corresponding fields. Typically delivered via enterprise policy."
|
|
1898
|
-
)),
|
|
1899
|
-
default: null,
|
|
1900
|
-
restricted: true,
|
|
1901
|
-
scope: ConfigurationScope.APPLICATION,
|
|
1902
|
-
tags: ["experimental"],
|
|
1903
|
-
policy: {
|
|
1904
|
-
name: "ChatStrictMarketplaces",
|
|
1905
|
-
category: PolicyCategory.InteractiveSession,
|
|
1906
|
-
minimumVersion: "1.122",
|
|
1907
|
-
value: managedSettingValue(COPILOT_STRICT_MARKETPLACES_KEY),
|
|
1908
|
-
managedSettings: {
|
|
1909
|
-
[COPILOT_STRICT_MARKETPLACES_KEY]: {
|
|
1910
|
-
type: "string"
|
|
1911
|
-
}
|
|
1912
|
-
},
|
|
1913
|
-
localization: {
|
|
1914
|
-
description: {
|
|
1915
|
-
key: "chat.plugins.strictMarketplaces.policy",
|
|
1916
|
-
value: ( localize(
|
|
1917
|
-
11566,
|
|
1918
|
-
"Allowlist of plugin marketplace sources. When set, only marketplaces matching an entry are trusted; an empty array blocks all marketplaces."
|
|
1919
|
-
))
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
}
|
|
1923
|
-
},
|
|
1924
1903
|
[COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_CONFIG]: {
|
|
1925
1904
|
type: "boolean",
|
|
1926
1905
|
default: false,
|
|
1927
1906
|
scope: ConfigurationScope.APPLICATION,
|
|
1928
1907
|
included: false,
|
|
1929
1908
|
description: ( localize(
|
|
1930
|
-
|
|
1909
|
+
13692,
|
|
1931
1910
|
"Blocks standalone user and workspace skills, agents, hooks, instructions, and MCP servers while keeping eligible plugin customizations available."
|
|
1932
1911
|
)),
|
|
1933
1912
|
policy: {
|
|
@@ -1944,7 +1923,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1944
1923
|
description: {
|
|
1945
1924
|
key: "chat.customizations.strictPluginOnlyCustomization.policy",
|
|
1946
1925
|
value: ( localize(
|
|
1947
|
-
|
|
1926
|
+
13693,
|
|
1948
1927
|
"Blocks standalone user and workspace skills, agents, hooks, instructions, and MCP servers while keeping eligible plugin customizations available."
|
|
1949
1928
|
))
|
|
1950
1929
|
}
|
|
@@ -1957,7 +1936,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1957
1936
|
scope: ConfigurationScope.APPLICATION,
|
|
1958
1937
|
included: false,
|
|
1959
1938
|
description: ( localize(
|
|
1960
|
-
|
|
1939
|
+
13694,
|
|
1961
1940
|
"Allows hooks only from enterprise-managed sources and plugins force-enabled by policy."
|
|
1962
1941
|
)),
|
|
1963
1942
|
policy: {
|
|
@@ -1974,7 +1953,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1974
1953
|
description: {
|
|
1975
1954
|
key: "chat.hooks.allowManagedOnly.policy",
|
|
1976
1955
|
value: ( localize(
|
|
1977
|
-
|
|
1956
|
+
13695,
|
|
1978
1957
|
"Allows hooks only from enterprise-managed sources and plugins force-enabled by policy."
|
|
1979
1958
|
))
|
|
1980
1959
|
}
|
|
@@ -1984,7 +1963,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1984
1963
|
[ChatConfiguration.AgentEnabled]: {
|
|
1985
1964
|
type: "boolean",
|
|
1986
1965
|
description: ( localize(
|
|
1987
|
-
|
|
1966
|
+
13696,
|
|
1988
1967
|
"When enabled, agent mode can be activated from chat and tools in agentic contexts with side effects can be used."
|
|
1989
1968
|
)),
|
|
1990
1969
|
default: true,
|
|
@@ -1998,7 +1977,7 @@ configurationRegistry.registerConfiguration({
|
|
|
1998
1977
|
description: {
|
|
1999
1978
|
key: "chat.agent.enabled.description",
|
|
2000
1979
|
value: ( localize(
|
|
2001
|
-
|
|
1980
|
+
13696,
|
|
2002
1981
|
"When enabled, agent mode can be activated from chat and tools in agentic contexts with side effects can be used."
|
|
2003
1982
|
))
|
|
2004
1983
|
}
|
|
@@ -2007,7 +1986,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2007
1986
|
},
|
|
2008
1987
|
[AgentNetworkDomainSettingId.NetworkFilter]: {
|
|
2009
1988
|
markdownDescription: ( localize(
|
|
2010
|
-
|
|
1989
|
+
13697,
|
|
2011
1990
|
"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.\n\nChanges may not take full effect until VS Code is restarted.",
|
|
2012
1991
|
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``,
|
|
2013
1992
|
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``,
|
|
@@ -2025,7 +2004,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2025
2004
|
description: {
|
|
2026
2005
|
key: "chat.agent.networkFilter",
|
|
2027
2006
|
value: ( localize(
|
|
2028
|
-
|
|
2007
|
+
13697,
|
|
2029
2008
|
"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.\n\nChanges may not take full effect until VS Code is restarted.",
|
|
2030
2009
|
`\`#${AgentNetworkDomainSettingId.AllowedNetworkDomains}#\``,
|
|
2031
2010
|
`\`#${AgentNetworkDomainSettingId.DeniedNetworkDomains}#\``,
|
|
@@ -2039,7 +2018,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2039
2018
|
[ChatConfiguration.DefaultNewSessionMode]: {
|
|
2040
2019
|
type: "string",
|
|
2041
2020
|
description: ( localize(
|
|
2042
|
-
|
|
2021
|
+
13698,
|
|
2043
2022
|
"The default mode for new chat sessions. When empty, the chat view's default mode is used."
|
|
2044
2023
|
)),
|
|
2045
2024
|
default: ""
|
|
@@ -2048,11 +2027,11 @@ configurationRegistry.registerConfiguration({
|
|
|
2048
2027
|
type: "string",
|
|
2049
2028
|
pattern: "^((\\/|\\\\\\\\|[a-zA-Z]:\\\\).*)?$",
|
|
2050
2029
|
patternErrorMessage: ( localize(
|
|
2051
|
-
|
|
2030
|
+
13699,
|
|
2052
2031
|
"The default Agent Host debug-log export location must be an absolute path (for example, C:\\\\myFolder or /myFolder)."
|
|
2053
2032
|
)),
|
|
2054
2033
|
description: ( localize(
|
|
2055
|
-
|
|
2034
|
+
13700,
|
|
2056
2035
|
"The default folder for archives and folders created by the Developer: Export Agent Host Debug Logs command. When empty or unavailable, the default file-dialog location is used."
|
|
2057
2036
|
)),
|
|
2058
2037
|
default: "",
|
|
@@ -2060,19 +2039,10 @@ configurationRegistry.registerConfiguration({
|
|
|
2060
2039
|
ignoreSync: true,
|
|
2061
2040
|
tags: ["advanced"]
|
|
2062
2041
|
},
|
|
2063
|
-
[AgentHostAhpJsonlLoggingSettingId]: {
|
|
2064
|
-
type: "boolean",
|
|
2065
|
-
description: ( localize(
|
|
2066
|
-
11576,
|
|
2067
|
-
"When enabled, logs all AHP transport messages for agent host connections to JSONL files under the window's log directory."
|
|
2068
|
-
)),
|
|
2069
|
-
default: product.quality !== "stable",
|
|
2070
|
-
tags: ["experimental", "advanced"]
|
|
2071
|
-
},
|
|
2072
2042
|
[AgentHostAgentDebugLogEnabledSettingId]: {
|
|
2073
2043
|
type: "boolean",
|
|
2074
2044
|
markdownDescription: ( localize(
|
|
2075
|
-
|
|
2045
|
+
13701,
|
|
2076
2046
|
"Enable agent debug logging for agent host sessions: surface their debug events in the agent debug panel. Takes effect immediately; only sessions that run while this is enabled are captured."
|
|
2077
2047
|
)),
|
|
2078
2048
|
default: false,
|
|
@@ -2085,7 +2055,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2085
2055
|
type: "number",
|
|
2086
2056
|
minimum: 10,
|
|
2087
2057
|
markdownDescription: ( localize(
|
|
2088
|
-
|
|
2058
|
+
13702,
|
|
2089
2059
|
"Maximum number of debug events kept in memory per agent host session for the agent debug panel. Older events beyond this limit are dropped from the in-memory buffer, which also lowers the totals (such as token usage) shown in the panel overview."
|
|
2090
2060
|
)),
|
|
2091
2061
|
default: 10000,
|
|
@@ -2097,7 +2067,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2097
2067
|
[AgentHostCustomTerminalToolEnabledSettingId]: {
|
|
2098
2068
|
type: "boolean",
|
|
2099
2069
|
description: ( localize(
|
|
2100
|
-
|
|
2070
|
+
13703,
|
|
2101
2071
|
"When enabled, Copilot SDK sessions use the Agent Host terminal tool override instead of the SDK's default terminal behavior. Not supported on Windows, where sessions use the SDK's terminal and sandbox runtime."
|
|
2102
2072
|
)),
|
|
2103
2073
|
default: false,
|
|
@@ -2112,7 +2082,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2112
2082
|
description: {
|
|
2113
2083
|
key: "chat.agentHost.customTerminalTool.enabled.policy",
|
|
2114
2084
|
value: ( localize(
|
|
2115
|
-
|
|
2085
|
+
13704,
|
|
2116
2086
|
"Enable the Agent Host custom terminal tool override for Copilot SDK sessions."
|
|
2117
2087
|
))
|
|
2118
2088
|
}
|
|
@@ -2122,7 +2092,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2122
2092
|
[AgentHostShellToolInitScriptEnabledSettingId]: {
|
|
2123
2093
|
type: "boolean",
|
|
2124
2094
|
markdownDescription: ( localize(
|
|
2125
|
-
|
|
2095
|
+
13705,
|
|
2126
2096
|
"When enabled, Copilot SDK sessions load your shell profile (`~/.bashrc` on macOS and Linux, PowerShell profiles on Windows) and activate the Python environment selected for the workspace before each shell command. Python activation requires the Python Environments extension with `#python-envs.terminal.autoActivationType#` set to `shellStartup`. Local windows only."
|
|
2127
2097
|
)),
|
|
2128
2098
|
default: false,
|
|
@@ -2133,11 +2103,11 @@ configurationRegistry.registerConfiguration({
|
|
|
2133
2103
|
type: "string",
|
|
2134
2104
|
enum: [...copilotSdkLogLevelSettingValues],
|
|
2135
2105
|
enumDescriptions: [( localize(
|
|
2136
|
-
|
|
2106
|
+
13706,
|
|
2137
2107
|
"Log informational messages. Running VS Code with trace logging still enables all Copilot SDK runtime diagnostics."
|
|
2138
|
-
)), ( localize(
|
|
2108
|
+
)), ( localize(13707, "Log all Copilot SDK runtime diagnostics."))],
|
|
2139
2109
|
markdownDescription: ( localize(
|
|
2140
|
-
|
|
2110
|
+
13708,
|
|
2141
2111
|
"Controls the log level for the Copilot SDK runtime used by the local agent host. Changing this setting restarts the Copilot SDK client; active sessions are reloaded when next used."
|
|
2142
2112
|
)),
|
|
2143
2113
|
default: "info",
|
|
@@ -2147,7 +2117,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2147
2117
|
[AgentHostCopilotRuntimePathSettingId]: {
|
|
2148
2118
|
type: "string",
|
|
2149
2119
|
markdownDescription: ( localize(
|
|
2150
|
-
|
|
2120
|
+
13709,
|
|
2151
2121
|
"Absolute path to a local `copilot-runtime` executable. The bundled Copilot SDK wrapper remains in use. Empty uses the bundled runtime. Changing this setting restarts the Copilot SDK client after active turns finish."
|
|
2152
2122
|
)),
|
|
2153
2123
|
default: "",
|
|
@@ -2163,18 +2133,18 @@ configurationRegistry.registerConfiguration({
|
|
|
2163
2133
|
[CopilotClaudeAdvisorEnabledSettingId]: {
|
|
2164
2134
|
type: "boolean",
|
|
2165
2135
|
markdownDescription: ( localize(
|
|
2166
|
-
|
|
2136
|
+
13710,
|
|
2167
2137
|
"When enabled, Copilot Agent Host sessions using a supported Claude model can call the provider-native Advisor tool. Changing this setting restarts the Copilot SDK client after active turns finish."
|
|
2168
2138
|
)),
|
|
2169
2139
|
default: false,
|
|
2170
2140
|
tags: ["experimental", "advanced"],
|
|
2171
2141
|
scope: ConfigurationScope.APPLICATION
|
|
2172
2142
|
},
|
|
2173
|
-
[
|
|
2143
|
+
[CopilotSearchSubagentEnabledSettingId]: {
|
|
2174
2144
|
type: "boolean",
|
|
2175
2145
|
markdownDescription: ( localize(
|
|
2176
|
-
|
|
2177
|
-
"When enabled, local Copilot Agent Host sessions
|
|
2146
|
+
13711,
|
|
2147
|
+
"When enabled, local Copilot Agent Host sessions are offered the Copilot runtime's search subagent tool for codebase search. Applies to sessions when they launch or resume."
|
|
2178
2148
|
)),
|
|
2179
2149
|
default: false,
|
|
2180
2150
|
experiment: {
|
|
@@ -2183,20 +2153,62 @@ configurationRegistry.registerConfiguration({
|
|
|
2183
2153
|
tags: ["experimental", "advanced"],
|
|
2184
2154
|
scope: ConfigurationScope.APPLICATION
|
|
2185
2155
|
},
|
|
2186
|
-
[
|
|
2156
|
+
[CopilotSearchSubagentModelSettingId]: {
|
|
2157
|
+
type: "string",
|
|
2158
|
+
markdownDescription: ( localize(
|
|
2159
|
+
13712,
|
|
2160
|
+
"CAPI model ID to use for the search subagent in local Copilot Agent Host sessions when `#chat.copilot.searchSubagent.enabled#` is enabled. Empty uses the runtime default. An unavailable model makes the search tool unavailable. Changing this setting restarts the Copilot SDK client after active turns finish."
|
|
2161
|
+
)),
|
|
2162
|
+
default: "",
|
|
2163
|
+
experiment: {
|
|
2164
|
+
mode: "auto"
|
|
2165
|
+
},
|
|
2166
|
+
tags: ["experimental", "advanced"],
|
|
2167
|
+
scope: ConfigurationScope.APPLICATION
|
|
2168
|
+
},
|
|
2169
|
+
[CopilotExploreAgentEnabledSettingId]: {
|
|
2187
2170
|
type: "boolean",
|
|
2188
2171
|
markdownDescription: ( localize(
|
|
2189
|
-
|
|
2190
|
-
"When enabled, local Copilot Agent Host sessions
|
|
2172
|
+
13713,
|
|
2173
|
+
"When enabled, local Copilot Agent Host sessions can use the runtime's built-in Explore agent, independently of `#chat.copilot.searchSubagent.enabled#`. Applies to sessions when they launch or resume. Does not disable custom agents named Explore."
|
|
2174
|
+
)),
|
|
2175
|
+
default: true,
|
|
2176
|
+
experiment: {
|
|
2177
|
+
mode: "auto"
|
|
2178
|
+
},
|
|
2179
|
+
tags: ["experimental", "advanced"],
|
|
2180
|
+
scope: ConfigurationScope.APPLICATION
|
|
2181
|
+
},
|
|
2182
|
+
[AgentHostCopilotExecutionSubagentEnabledSettingId]: {
|
|
2183
|
+
type: "boolean",
|
|
2184
|
+
markdownDescription: ( localize(
|
|
2185
|
+
13714,
|
|
2186
|
+
"When enabled, local Copilot Agent Host sessions opt into the Copilot runtime's execution subagent. The runtime's experiment assignments may override this default. When the runtime implementation is available, the extension-native execution tool is excluded from that session. This is independent of `#github.copilot.chat.executionSubagent.enabled#`, which controls the extension-native implementation. Changing this setting restarts the Copilot runtime after active turns finish."
|
|
2191
2187
|
)),
|
|
2192
2188
|
default: false,
|
|
2189
|
+
experiment: {
|
|
2190
|
+
mode: "startup"
|
|
2191
|
+
},
|
|
2192
|
+
tags: ["experimental", "advanced"],
|
|
2193
|
+
scope: ConfigurationScope.APPLICATION
|
|
2194
|
+
},
|
|
2195
|
+
[AgentHostCopilotExecutionSubagentModelSettingId]: {
|
|
2196
|
+
type: "string",
|
|
2197
|
+
markdownDescription: ( localize(
|
|
2198
|
+
13715,
|
|
2199
|
+
"Default model ID for the Copilot runtime's execution subagent. Empty inherits the parent session model. The runtime's experiment assignments may override this default. This does not affect the extension-native execution subagent's model. An unavailable model disables the runtime execution subagent. Changing this setting restarts the Copilot runtime after active turns finish."
|
|
2200
|
+
)),
|
|
2201
|
+
default: DEFAULT_COPILOT_EXECUTION_SUBAGENT_MODEL,
|
|
2202
|
+
experiment: {
|
|
2203
|
+
mode: "startup"
|
|
2204
|
+
},
|
|
2193
2205
|
tags: ["experimental", "advanced"],
|
|
2194
2206
|
scope: ConfigurationScope.APPLICATION
|
|
2195
2207
|
},
|
|
2196
2208
|
[AgentHostOpus48PromptEnabledSettingId]: {
|
|
2197
2209
|
type: "boolean",
|
|
2198
2210
|
description: ( localize(
|
|
2199
|
-
|
|
2211
|
+
13716,
|
|
2200
2212
|
"When enabled, Copilot SDK sessions running a Claude Opus 4.8 model apply Opus 4.8-tuned system-prompt section overrides on top of the default system message."
|
|
2201
2213
|
)),
|
|
2202
2214
|
default: false,
|
|
@@ -2205,7 +2217,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2205
2217
|
[CopilotStabilityOrderedPromptEnabledSettingId]: {
|
|
2206
2218
|
type: "boolean",
|
|
2207
2219
|
description: ( localize(
|
|
2208
|
-
|
|
2220
|
+
13717,
|
|
2209
2221
|
"When enabled, Copilot SDK sessions order the system prompt by how often each section changes, so sessions with the same tools and workspace can reuse each other's prompt cache. This moves per-session sections, such as the environment and session folder, to the end of the system prompt. Applies to new and resumed sessions."
|
|
2210
2222
|
)),
|
|
2211
2223
|
default: false,
|
|
@@ -2218,7 +2230,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2218
2230
|
[AgentHostToolSearchEnabledSettingId]: {
|
|
2219
2231
|
type: "boolean",
|
|
2220
2232
|
description: ( localize(
|
|
2221
|
-
|
|
2233
|
+
13718,
|
|
2222
2234
|
"When enabled, Copilot SDK sessions defer MCP and non-core VS Code tools behind a tool-search tool so the model discovers them on demand instead of loading every tool definition up front."
|
|
2223
2235
|
)),
|
|
2224
2236
|
default: true,
|
|
@@ -2227,17 +2239,29 @@ configurationRegistry.registerConfiguration({
|
|
|
2227
2239
|
[AgentHostToolSearchDeferThresholdSettingId]: {
|
|
2228
2240
|
type: "number",
|
|
2229
2241
|
description: ( localize(
|
|
2230
|
-
|
|
2242
|
+
13719,
|
|
2231
2243
|
"Minimum number of tools before MCP and external tools are deferred behind tool search. Set to 0 to always defer external tools. Only effective when tool search is enabled."
|
|
2232
2244
|
)),
|
|
2233
2245
|
default: 1,
|
|
2234
2246
|
minimum: 0,
|
|
2235
2247
|
tags: ["experimental", "advanced"]
|
|
2236
2248
|
},
|
|
2249
|
+
[AgentHostCopilotIncludeCoAuthoredBySettingId]: {
|
|
2250
|
+
type: "boolean",
|
|
2251
|
+
markdownDescription: ( localize(
|
|
2252
|
+
13720,
|
|
2253
|
+
"Controls whether Copilot Agent Host sessions, such as those in the Agents window, add a `Co-authored-by: Copilot` trailer to the commits they create. Takes effect when a session starts or resumes."
|
|
2254
|
+
)),
|
|
2255
|
+
default: true,
|
|
2256
|
+
scope: ConfigurationScope.APPLICATION,
|
|
2257
|
+
agentHost: {
|
|
2258
|
+
key: CopilotCliConfigKey.IncludeCoAuthoredBy
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2237
2261
|
[CopilotSkillCharBudgetSettingId]: {
|
|
2238
2262
|
type: "number",
|
|
2239
2263
|
description: ( localize(
|
|
2240
|
-
|
|
2264
|
+
13721,
|
|
2241
2265
|
"Maximum number of characters available for skill descriptions in the Copilot SDK system message."
|
|
2242
2266
|
)),
|
|
2243
2267
|
default: DEFAULT_COPILOT_SKILL_CHAR_BUDGET,
|
|
@@ -2253,82 +2277,78 @@ configurationRegistry.registerConfiguration({
|
|
|
2253
2277
|
scope: AgentHostConfigurationSyncScope.Local
|
|
2254
2278
|
}
|
|
2255
2279
|
},
|
|
2256
|
-
[CopilotSemanticSearchEnabledSettingId]: {
|
|
2257
|
-
type: "boolean",
|
|
2258
|
-
description: ( localize(
|
|
2259
|
-
11594,
|
|
2260
|
-
"Controls whether Copilot Agent Host sessions can use VS Code's semantic workspace search. When disabled, semantic search is unavailable."
|
|
2261
|
-
)),
|
|
2262
|
-
default: false,
|
|
2263
|
-
experiment: {
|
|
2264
|
-
mode: "auto"
|
|
2265
|
-
},
|
|
2266
|
-
tags: ["experimental", "advanced"]
|
|
2267
|
-
},
|
|
2268
2280
|
[AgentHostHydraFusionEnabledSettingId]: {
|
|
2269
2281
|
type: ["boolean", "string"],
|
|
2270
|
-
enum: [true, false, "v2"],
|
|
2271
|
-
enumDescriptions: [( localize(
|
|
2272
|
-
|
|
2282
|
+
enum: [true, false, "v2", "multiRoot"],
|
|
2283
|
+
enumDescriptions: [( localize(13722, "Make HydraFusion available.")), ( localize(13723, "Do not make HydraFusion available.")), ( localize(
|
|
2284
|
+
13724,
|
|
2273
2285
|
"Make HydraFusion v2 available, which plans with per-step reasoning effort and a wider set of models."
|
|
2286
|
+
)), ( localize(
|
|
2287
|
+
13725,
|
|
2288
|
+
"Make HydraFusion v2 available and ask the service to keep reusing the previous turn's root model when it fits the next turn's workflow, which improves prompt cache reuse. Also applies to HydraFusion tiers that Auto offers."
|
|
2274
2289
|
))],
|
|
2275
2290
|
markdownDescription: ( localize(
|
|
2276
|
-
|
|
2277
|
-
"When enabled, makes the
|
|
2291
|
+
13726,
|
|
2292
|
+
"When enabled, makes the HydraFusion model available to local Copilot Agent Host sessions. Changing this setting restarts the local Copilot runtime."
|
|
2278
2293
|
)),
|
|
2279
|
-
default: "
|
|
2294
|
+
default: "multiRoot",
|
|
2280
2295
|
experiment: {
|
|
2281
2296
|
mode: "startup"
|
|
2282
2297
|
},
|
|
2283
|
-
scope: ConfigurationScope.APPLICATION_MACHINE
|
|
2284
|
-
tags: ["preview", "experimental", "advanced"]
|
|
2298
|
+
scope: ConfigurationScope.APPLICATION_MACHINE
|
|
2285
2299
|
},
|
|
2286
|
-
|
|
2300
|
+
...imageGenerationConfigurationProperties,
|
|
2301
|
+
...dynamicAutoTiersConfigurationProperties,
|
|
2302
|
+
[LocalModelEnabledSettingId]: {
|
|
2287
2303
|
type: "boolean",
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
"When enabled,
|
|
2291
|
-
|
|
2304
|
+
description: ( localize(
|
|
2305
|
+
13727,
|
|
2306
|
+
"When enabled, offers on-device models to download and run on this device with llama.cpp. Offered only on devices with a GPU that has about {0} GB of memory or more. Changing this setting restarts the local Copilot runtime after active turns finish. {1}",
|
|
2307
|
+
LOCAL_MODEL_MIN_GPU_MEMORY_GB_PLACEHOLDER,
|
|
2308
|
+
getLocalModelSafetyDisclosure()
|
|
2292
2309
|
)),
|
|
2293
2310
|
default: false,
|
|
2294
|
-
experiment: {
|
|
2295
|
-
mode: "startup"
|
|
2296
|
-
},
|
|
2297
2311
|
scope: ConfigurationScope.APPLICATION_MACHINE,
|
|
2298
|
-
tags: ["
|
|
2312
|
+
tags: ["experimental", "preview"]
|
|
2299
2313
|
},
|
|
2300
|
-
[
|
|
2314
|
+
[LocalModelUseInAutoSettingId]: {
|
|
2301
2315
|
type: "boolean",
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
"When enabled
|
|
2305
|
-
|
|
2316
|
+
description: ( localize(
|
|
2317
|
+
13728,
|
|
2318
|
+
"When enabled, Auto can route turns to the active on-device model, with cloud fallback. Takes effect immediately. {0}",
|
|
2319
|
+
getLocalModelSafetyDisclosure()
|
|
2306
2320
|
)),
|
|
2307
2321
|
default: false,
|
|
2308
|
-
experiment: {
|
|
2309
|
-
mode: "startup"
|
|
2310
|
-
},
|
|
2311
2322
|
scope: ConfigurationScope.APPLICATION_MACHINE,
|
|
2312
|
-
tags: ["
|
|
2323
|
+
tags: ["experimental", "preview"]
|
|
2324
|
+
},
|
|
2325
|
+
[LocalModelLlamaServerPathSettingId]: {
|
|
2326
|
+
type: "string",
|
|
2327
|
+
markdownDescription: ( localize(
|
|
2328
|
+
13729,
|
|
2329
|
+
"Absolute path to a `llama-server` executable for on-device models. VS Code doesn't install llama.cpp: install a build that supports your model, then set this to its `llama-server`."
|
|
2330
|
+
)),
|
|
2331
|
+
default: "",
|
|
2332
|
+
scope: ConfigurationScope.MACHINE,
|
|
2333
|
+
tags: ["experimental", "advanced"]
|
|
2313
2334
|
},
|
|
2314
2335
|
[AgentHostCopilotMemoryEnabledSettingId]: {
|
|
2315
2336
|
type: "boolean",
|
|
2316
2337
|
markdownDescription: ( localize(
|
|
2317
|
-
|
|
2318
|
-
"When enabled, local Copilot Agent Host sessions can store and recall [Copilot Memory](https://docs.github.com/en/copilot/concepts/agents/copilot-memory). Applies to sessions created or resumed after the setting changes."
|
|
2338
|
+
13730,
|
|
2339
|
+
"When enabled, local Copilot Agent Host sessions can store and recall [Copilot Memory](https://docs.github.com/en/copilot/concepts/agents/copilot-memory). Your [Copilot Memory settings on GitHub](https://github.com/settings/copilot/memory) and organization policies still apply. Applies to sessions created or resumed after the setting changes."
|
|
2319
2340
|
)),
|
|
2320
|
-
default:
|
|
2341
|
+
default: true,
|
|
2321
2342
|
experiment: {
|
|
2322
2343
|
mode: "auto"
|
|
2323
2344
|
},
|
|
2324
|
-
scope: ConfigurationScope.APPLICATION_MACHINE
|
|
2325
|
-
tags: ["preview", "experimental"]
|
|
2345
|
+
scope: ConfigurationScope.APPLICATION_MACHINE
|
|
2326
2346
|
},
|
|
2327
2347
|
[AgentHostCopilotLocalMemoryEnabledSettingId]: {
|
|
2328
2348
|
type: "boolean",
|
|
2329
2349
|
markdownDescription: ( localize(
|
|
2330
|
-
|
|
2331
|
-
"When enabled together with {0}, local Copilot Agent Host sessions store Copilot Memory in the repository's `.github/copilot-memories.jsonl` file instead of GitHub's cloud memory service. The file is part of the working tree, so commits made by the agent or the Agents window can include it. Requires a GitHub-hosted repository
|
|
2350
|
+
13731,
|
|
2351
|
+
"When enabled together with {0}, local Copilot Agent Host sessions store Copilot Memory in the repository's `.github/copilot-memories.jsonl` file instead of GitHub's cloud memory service. The file is part of the working tree, so commits made by the agent or the Agents window can include it. Requires a GitHub-hosted repository. **Note:** your Copilot Memory settings and organization policies on GitHub don't apply, and user-scoped memories are unavailable. Changing this setting restarts the Copilot SDK client after active turns finish.",
|
|
2332
2352
|
"`#chat.copilot.memory.enabled#`"
|
|
2333
2353
|
)),
|
|
2334
2354
|
default: false,
|
|
@@ -2338,7 +2358,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2338
2358
|
[CopilotAutoModeTierOverrideSettingId]: {
|
|
2339
2359
|
type: ["string", "null"],
|
|
2340
2360
|
markdownDescription: ( localize(
|
|
2341
|
-
|
|
2361
|
+
13732,
|
|
2342
2362
|
"Override Auto's \"Optimize for\" preference for evals and debugging. Accepts `efficiency`, `balance`, or `intelligence` in both Copilot Chat and Copilot SDK sessions; `fast` is extension-only. Set to `null` to clear."
|
|
2343
2363
|
)),
|
|
2344
2364
|
default: null,
|
|
@@ -2347,7 +2367,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2347
2367
|
[AgentHostCopilotModelCapabilityOverridesSettingId]: {
|
|
2348
2368
|
type: "object",
|
|
2349
2369
|
markdownDescription: ( localize(
|
|
2350
|
-
|
|
2370
|
+
13733,
|
|
2351
2371
|
"Per-model overrides for Copilot Agent Host sessions. Use `*` to match every model. Supports model family, reasoning effort, tool filters, model capabilities, and YAML prompt overrides."
|
|
2352
2372
|
)),
|
|
2353
2373
|
additionalProperties: {
|
|
@@ -2356,7 +2376,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2356
2376
|
family: {
|
|
2357
2377
|
type: "string",
|
|
2358
2378
|
description: ( localize(
|
|
2359
|
-
|
|
2379
|
+
13734,
|
|
2360
2380
|
"Route the model to another family's tuned system prompt and tool profile (e.g. `claude-opus-4.8`). The model id sent to the runtime is unaffected, so the session still runs on the selected model."
|
|
2361
2381
|
))
|
|
2362
2382
|
},
|
|
@@ -2364,8 +2384,8 @@ configurationRegistry.registerConfiguration({
|
|
|
2364
2384
|
type: "string",
|
|
2365
2385
|
enum: [...reasoningEffortLevels],
|
|
2366
2386
|
description: ( localize(
|
|
2367
|
-
|
|
2368
|
-
"Reasoning effort for sessions on this model, overriding the model picker's
|
|
2387
|
+
13735,
|
|
2388
|
+
"Reasoning effort for sessions on this model, overriding the model picker's effort level. Use the `*` entry to set it for every model. Unrecognized values are ignored."
|
|
2369
2389
|
))
|
|
2370
2390
|
},
|
|
2371
2391
|
availableTools: {
|
|
@@ -2374,7 +2394,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2374
2394
|
type: "string"
|
|
2375
2395
|
},
|
|
2376
2396
|
description: ( localize(
|
|
2377
|
-
|
|
2397
|
+
13736,
|
|
2378
2398
|
"When set, only matching tools are available to sessions on this model. Patterns: bare tool names, `builtin:*` or `builtin:<name>` (Copilot runtime tools), `mcp:*` or `mcp:<name>` (MCP server tools), and `custom:*` or `custom:<name>` (every tool VS Code registers with the SDK, including the agent host's own terminal tools); a bare `*` expands to all three sources."
|
|
2379
2399
|
))
|
|
2380
2400
|
},
|
|
@@ -2384,7 +2404,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2384
2404
|
type: "string"
|
|
2385
2405
|
},
|
|
2386
2406
|
description: ( localize(
|
|
2387
|
-
|
|
2407
|
+
13737,
|
|
2388
2408
|
"Tools disabled for sessions on this model; same pattern syntax as `availableTools` and takes precedence over it. Note that `custom:*` and a bare `*` also disable the agent host's own terminal tools registered with the SDK."
|
|
2389
2409
|
))
|
|
2390
2410
|
},
|
|
@@ -2392,21 +2412,21 @@ configurationRegistry.registerConfiguration({
|
|
|
2392
2412
|
type: "object",
|
|
2393
2413
|
additionalProperties: true,
|
|
2394
2414
|
description: ( localize(
|
|
2395
|
-
|
|
2415
|
+
13738,
|
|
2396
2416
|
"Per-property model capability overrides passed through to the Copilot SDK's `modelCapabilities` session field (e.g. `{ \"supports\": { \"vision\": false }, \"limits\": { \"max_context_window_tokens\": 64000 } }`), deep-merged over the runtime's resolved defaults for this model. Applied when the session launches or resumes."
|
|
2397
2417
|
))
|
|
2398
2418
|
},
|
|
2399
2419
|
promptOverrideString: {
|
|
2400
2420
|
type: "string",
|
|
2401
2421
|
description: ( localize(
|
|
2402
|
-
|
|
2422
|
+
13739,
|
|
2403
2423
|
"Inline YAML containing `systemPrompt` and/or `toolDescriptions` overrides. Takes precedence over `promptOverrideFile`. A system prompt replaces all Agent Host and SDK prompt sections and guardrails."
|
|
2404
2424
|
))
|
|
2405
2425
|
},
|
|
2406
2426
|
promptOverrideFile: {
|
|
2407
2427
|
type: "string",
|
|
2408
2428
|
description: ( localize(
|
|
2409
|
-
|
|
2429
|
+
13740,
|
|
2410
2430
|
"Path to a YAML file containing `systemPrompt` and/or `toolDescriptions` overrides. Ignored when `promptOverrideString` is configured."
|
|
2411
2431
|
))
|
|
2412
2432
|
}
|
|
@@ -2416,19 +2436,6 @@ configurationRegistry.registerConfiguration({
|
|
|
2416
2436
|
scope: ConfigurationScope.APPLICATION,
|
|
2417
2437
|
tags: ["experimental", "advanced"]
|
|
2418
2438
|
},
|
|
2419
|
-
[AgentHostAllowSignedOutWhenUsableSettingId]: {
|
|
2420
|
-
type: "boolean",
|
|
2421
|
-
markdownDescription: ( localize(
|
|
2422
|
-
11612,
|
|
2423
|
-
"When enabled, Agent Host sessions remain available while signed out. The Agents window opens without forcing GitHub sign-in, and editor chat lets you select the Copilot harness. Agents usable without GitHub (for example Codex with ChatGPT authentication or Claude in native mode with your own Anthropic credentials) work while signed out; agents that require GitHub prompt you to add a model or sign in. When disabled (the default), GitHub sign-in is required before the Agents window opens."
|
|
2424
|
-
)),
|
|
2425
|
-
default: false,
|
|
2426
|
-
scope: ConfigurationScope.APPLICATION,
|
|
2427
|
-
tags: ["experimental", "advanced"],
|
|
2428
|
-
experiment: {
|
|
2429
|
-
mode: "startup"
|
|
2430
|
-
}
|
|
2431
|
-
},
|
|
2432
2439
|
[ChatMicrosoftAuthenticationEnabledSettingId]: {
|
|
2433
2440
|
type: "string",
|
|
2434
2441
|
enum: [
|
|
@@ -2437,17 +2444,17 @@ configurationRegistry.registerConfiguration({
|
|
|
2437
2444
|
ChatMicrosoftAuthenticationMode.Never
|
|
2438
2445
|
],
|
|
2439
2446
|
enumDescriptions: [( localize(
|
|
2440
|
-
|
|
2447
|
+
13741,
|
|
2441
2448
|
"Offer \"Continue with Microsoft\" only when a Microsoft work or school account on this device is linked to a GitHub account. This is checked silently in the background: Microsoft may record a sign-in, and the GitHub access used for the check is revoked when possible."
|
|
2442
2449
|
)), ( localize(
|
|
2443
|
-
|
|
2450
|
+
13742,
|
|
2444
2451
|
"Always offer \"Continue with Microsoft\", without checking for a linked account."
|
|
2445
2452
|
)), ( localize(
|
|
2446
|
-
|
|
2453
|
+
13743,
|
|
2447
2454
|
"Never offer \"Continue with Microsoft\", and never check for a linked account."
|
|
2448
2455
|
))],
|
|
2449
2456
|
markdownDescription: ( localize(
|
|
2450
|
-
|
|
2457
|
+
13744,
|
|
2451
2458
|
"Controls when sign-in surfaces, such as the sign-in dialog and the welcome screen, offer \"Continue with Microsoft\". Signing in with Microsoft exchanges your Microsoft account for the GitHub access your organization has linked to it. The resulting GitHub sign-in lasts for the current window session only and is not saved."
|
|
2452
2459
|
)),
|
|
2453
2460
|
default: ChatMicrosoftAuthenticationMode.Never,
|
|
@@ -2460,15 +2467,16 @@ configurationRegistry.registerConfiguration({
|
|
|
2460
2467
|
[ChatConfiguration.ToolConfirmationCarousel]: {
|
|
2461
2468
|
type: "boolean",
|
|
2462
2469
|
description: ( localize(
|
|
2463
|
-
|
|
2470
|
+
13745,
|
|
2464
2471
|
"When enabled, tool confirmations are shown in a carousel above the input, including confirmations from subagents and earlier responses."
|
|
2465
2472
|
)),
|
|
2466
2473
|
default: true
|
|
2467
2474
|
},
|
|
2468
2475
|
[ChatConfiguration.ToolRiskAssessmentEnabled]: {
|
|
2469
2476
|
type: "boolean",
|
|
2477
|
+
tags: ["chatPermissions"],
|
|
2470
2478
|
description: ( localize(
|
|
2471
|
-
|
|
2479
|
+
13746,
|
|
2472
2480
|
"When enabled, tool confirmations show an LLM-generated risk level (Safe / Caution / Review carefully) and a short explanation."
|
|
2473
2481
|
)),
|
|
2474
2482
|
default: true,
|
|
@@ -2479,11 +2487,11 @@ configurationRegistry.registerConfiguration({
|
|
|
2479
2487
|
[ChatConfiguration.ToolRiskAssessmentModel]: {
|
|
2480
2488
|
type: "string",
|
|
2481
2489
|
description: ( localize(
|
|
2482
|
-
|
|
2490
|
+
13747,
|
|
2483
2491
|
"The language model id used to generate tool risk assessments. Should be a small, fast model."
|
|
2484
2492
|
)),
|
|
2485
2493
|
default: "copilot-utility-small",
|
|
2486
|
-
tags: ["experimental", "advanced"],
|
|
2494
|
+
tags: ["experimental", "advanced", "chatPermissions"],
|
|
2487
2495
|
experiment: {
|
|
2488
2496
|
mode: "auto"
|
|
2489
2497
|
}
|
|
@@ -2491,7 +2499,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2491
2499
|
[ChatConfiguration.PlanAgentDefaultModel]: {
|
|
2492
2500
|
type: "string",
|
|
2493
2501
|
description: ( localize(
|
|
2494
|
-
|
|
2502
|
+
13748,
|
|
2495
2503
|
"Select the default language model to use for the Plan agent from the available providers."
|
|
2496
2504
|
)),
|
|
2497
2505
|
default: "",
|
|
@@ -2502,7 +2510,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2502
2510
|
[ChatConfiguration.ExploreAgentDefaultModel]: {
|
|
2503
2511
|
type: "string",
|
|
2504
2512
|
description: ( localize(
|
|
2505
|
-
|
|
2513
|
+
13749,
|
|
2506
2514
|
"Select the default language model to use for the Explore subagent from the available providers."
|
|
2507
2515
|
)),
|
|
2508
2516
|
default: "",
|
|
@@ -2513,7 +2521,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2513
2521
|
[ChatConfiguration.BYOKUtilityModelDefault]: {
|
|
2514
2522
|
type: "string",
|
|
2515
2523
|
markdownDescription: ( localize(
|
|
2516
|
-
|
|
2524
|
+
13750,
|
|
2517
2525
|
"Controls the default model used by built-in utility flows when the selected main agent model is a bring your own key (BYOK) model. This setting has no effect when the selected main agent model is provided by GitHub Copilot. A specific model configured in {0} or {1} takes precedence.",
|
|
2518
2526
|
"`#chat.utilityModel#`",
|
|
2519
2527
|
"`#chat.utilitySmallModel#`"
|
|
@@ -2523,8 +2531,8 @@ configurationRegistry.registerConfiguration({
|
|
|
2523
2531
|
BYOKUtilityModelDefault.MainAgent,
|
|
2524
2532
|
BYOKUtilityModelDefault.Copilot
|
|
2525
2533
|
],
|
|
2526
|
-
enumItemLabels: [( localize(
|
|
2527
|
-
markdownEnumDescriptions: [( localize(
|
|
2534
|
+
enumItemLabels: [( localize(13751, "None")), ( localize(13752, "Main Agent Model")), ( localize(13753, "GitHub Copilot"))],
|
|
2535
|
+
markdownEnumDescriptions: [( localize(13754, "Do not use a default utility model.")), ( localize(13755, "Use the selected BYOK main agent model.")), ( localize(13756, "Use the default GitHub Copilot utility models."))],
|
|
2528
2536
|
default: BYOKUtilityModelDefault.Copilot,
|
|
2529
2537
|
agentHost: {
|
|
2530
2538
|
key: AgentHostByokUtilityModelDefaultConfigKey,
|
|
@@ -2534,7 +2542,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2534
2542
|
[ChatConfiguration.UtilityModel]: {
|
|
2535
2543
|
type: "string",
|
|
2536
2544
|
description: ( localize(
|
|
2537
|
-
|
|
2545
|
+
13757,
|
|
2538
2546
|
"Override the language model used by built-in utility flows. Leave empty to use the configured default behavior."
|
|
2539
2547
|
)),
|
|
2540
2548
|
default: "",
|
|
@@ -2545,7 +2553,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2545
2553
|
[ChatConfiguration.UtilitySmallModel]: {
|
|
2546
2554
|
type: "string",
|
|
2547
2555
|
description: ( localize(
|
|
2548
|
-
|
|
2556
|
+
13758,
|
|
2549
2557
|
"Override the language model used by built-in small/fast utility flows. A fast and inexpensive model is recommended. Leave empty to use the configured default behavior."
|
|
2550
2558
|
)),
|
|
2551
2559
|
default: "",
|
|
@@ -2560,25 +2568,25 @@ configurationRegistry.registerConfiguration({
|
|
|
2560
2568
|
[ChatConfiguration.RequestQueueingDefaultAction]: {
|
|
2561
2569
|
type: "string",
|
|
2562
2570
|
enum: ["queue", "steer"],
|
|
2563
|
-
enumDescriptions: [( localize(
|
|
2564
|
-
|
|
2571
|
+
enumDescriptions: [( localize(13759, "Queue the message to send after the current request completes.")), ( localize(
|
|
2572
|
+
13760,
|
|
2565
2573
|
"Steer the current request by sending the message immediately, signaling the current request to yield."
|
|
2566
2574
|
))],
|
|
2567
2575
|
description: ( localize(
|
|
2568
|
-
|
|
2576
|
+
13761,
|
|
2569
2577
|
"Controls which action is the default for the queue button when a request is in progress."
|
|
2570
2578
|
)),
|
|
2571
2579
|
default: "steer"
|
|
2572
2580
|
},
|
|
2573
2581
|
[ChatConfiguration.EnableMath]: {
|
|
2574
2582
|
type: "boolean",
|
|
2575
|
-
description: ( localize(
|
|
2583
|
+
description: ( localize(13762, "Enable math rendering in chat responses using KaTeX.")),
|
|
2576
2584
|
default: true
|
|
2577
2585
|
},
|
|
2578
2586
|
[ChatConfiguration.ShowCodeBlockProgressAnimation]: {
|
|
2579
2587
|
type: "boolean",
|
|
2580
2588
|
description: ( localize(
|
|
2581
|
-
|
|
2589
|
+
13763,
|
|
2582
2590
|
"When applying edits, show a progress animation in the code block pill. If disabled, shows the progress percentage instead."
|
|
2583
2591
|
)),
|
|
2584
2592
|
default: true,
|
|
@@ -2595,7 +2603,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2595
2603
|
...defaultDiscoverySourceEnablement
|
|
2596
2604
|
},
|
|
2597
2605
|
markdownDescription: ( localize(
|
|
2598
|
-
|
|
2606
|
+
13764,
|
|
2599
2607
|
"Configures discovery of Model Context Protocol servers from configuration from various other applications. The GitHub Copilot CLI configuration is discovered by default; other applications must be enabled explicitly."
|
|
2600
2608
|
))
|
|
2601
2609
|
},
|
|
@@ -2605,7 +2613,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2605
2613
|
scope: ConfigurationScope.WINDOW,
|
|
2606
2614
|
tags: ["experimental"],
|
|
2607
2615
|
markdownDescription: ( localize(
|
|
2608
|
-
|
|
2616
|
+
13765,
|
|
2609
2617
|
"Offer the workspace root `.mcp.json` file when adding MCP servers manually. When `.vscode/mcp.json` exists, choose which file to add to. Marketplace installations continue to use `.vscode/mcp.json`. Existing `.mcp.json` files can be opened and read independently of this setting."
|
|
2610
2618
|
))
|
|
2611
2619
|
},
|
|
@@ -2614,14 +2622,14 @@ configurationRegistry.registerConfiguration({
|
|
|
2614
2622
|
default: false,
|
|
2615
2623
|
tags: ["preview"],
|
|
2616
2624
|
description: ( localize(
|
|
2617
|
-
|
|
2625
|
+
13766,
|
|
2618
2626
|
"Enables the default Marketplace for Model Context Protocol (MCP) servers."
|
|
2619
2627
|
)),
|
|
2620
2628
|
included: product.quality === "stable"
|
|
2621
2629
|
},
|
|
2622
2630
|
[mcpGalleryServiceUrlConfig]: {
|
|
2623
2631
|
type: "string",
|
|
2624
|
-
description: ( localize(
|
|
2632
|
+
description: ( localize(13767, "Configure the MCP Gallery service URL to connect to")),
|
|
2625
2633
|
default: "",
|
|
2626
2634
|
scope: ConfigurationScope.APPLICATION,
|
|
2627
2635
|
tags: ["usesOnlineServices", "advanced"],
|
|
@@ -2634,16 +2642,16 @@ configurationRegistry.registerConfiguration({
|
|
|
2634
2642
|
localization: {
|
|
2635
2643
|
description: {
|
|
2636
2644
|
key: "mcp.gallery.serviceUrl",
|
|
2637
|
-
value: ( localize(
|
|
2645
|
+
value: ( localize(13767, "Configure the MCP Gallery service URL to connect to"))
|
|
2638
2646
|
}
|
|
2639
2647
|
}
|
|
2640
2648
|
}
|
|
2641
2649
|
},
|
|
2642
2650
|
[PromptsConfig.INSTRUCTIONS_LOCATION_KEY]: {
|
|
2643
2651
|
type: "object",
|
|
2644
|
-
title: ( localize(
|
|
2652
|
+
title: ( localize(13768, "Instructions File Locations")),
|
|
2645
2653
|
markdownDescription: ( localize(
|
|
2646
|
-
|
|
2654
|
+
13769,
|
|
2647
2655
|
"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.\n\nLocations configured here are only observed by the Local agent harness. Other harnesses running in VS Code receive instructions from all additional locations configured here, in addition to their built-in locations. To use instructions with independent agent harnesses, such as Copilot CLI, review the {2} in the Agent Customizations editor to migrate them to supported locations.",
|
|
2648
2656
|
INSTRUCTION_FILE_EXTENSION,
|
|
2649
2657
|
getDocumentationUrl(PromptsType.instructions),
|
|
@@ -2663,7 +2671,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2663
2671
|
propertyNames: {
|
|
2664
2672
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
2665
2673
|
patternErrorMessage: ( localize(
|
|
2666
|
-
|
|
2674
|
+
13770,
|
|
2667
2675
|
"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."
|
|
2668
2676
|
))
|
|
2669
2677
|
},
|
|
@@ -2678,9 +2686,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2678
2686
|
},
|
|
2679
2687
|
[PromptsConfig.PROMPT_LOCATIONS_KEY]: {
|
|
2680
2688
|
type: "object",
|
|
2681
|
-
title: ( localize(
|
|
2689
|
+
title: ( localize(13771, "Prompt File Locations")),
|
|
2682
2690
|
markdownDescription: ( localize(
|
|
2683
|
-
|
|
2691
|
+
13772,
|
|
2684
2692
|
"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.\n\nThis setting is only used by the Local agent harness.",
|
|
2685
2693
|
PROMPT_FILE_EXTENSION,
|
|
2686
2694
|
getDocumentationUrl(PromptsType.prompt)
|
|
@@ -2689,7 +2697,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2689
2697
|
[PROMPT_DEFAULT_SOURCE_FOLDER]: true
|
|
2690
2698
|
},
|
|
2691
2699
|
markdownDeprecationMessage: ( localize(
|
|
2692
|
-
|
|
2700
|
+
13773,
|
|
2693
2701
|
"This setting and the Local agent harness will be removed in a future release. Review the {0} in the Agent Customizations editor to convert prompt files into skills.",
|
|
2694
2702
|
migrationsTabLink
|
|
2695
2703
|
)),
|
|
@@ -2703,7 +2711,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2703
2711
|
propertyNames: {
|
|
2704
2712
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
2705
2713
|
patternErrorMessage: ( localize(
|
|
2706
|
-
|
|
2714
|
+
13774,
|
|
2707
2715
|
"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."
|
|
2708
2716
|
))
|
|
2709
2717
|
},
|
|
@@ -2718,9 +2726,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2718
2726
|
},
|
|
2719
2727
|
[PromptsConfig.MODE_LOCATION_KEY]: {
|
|
2720
2728
|
type: "object",
|
|
2721
|
-
title: ( localize(
|
|
2729
|
+
title: ( localize(13775, "Mode File Locations")),
|
|
2722
2730
|
markdownDescription: ( localize(
|
|
2723
|
-
|
|
2731
|
+
13776,
|
|
2724
2732
|
"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.\n\nThis setting is only used by the Local agent harness.",
|
|
2725
2733
|
LEGACY_MODE_FILE_EXTENSION,
|
|
2726
2734
|
getDocumentationUrl(PromptsType.agent)
|
|
@@ -2729,7 +2737,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2729
2737
|
[LEGACY_MODE_DEFAULT_SOURCE_FOLDER]: true
|
|
2730
2738
|
},
|
|
2731
2739
|
markdownDeprecationMessage: ( localize(
|
|
2732
|
-
|
|
2740
|
+
13777,
|
|
2733
2741
|
"This setting and the Local agent harness will be removed in a future release. Chat modes are now called custom agents and are located in `.github/agents`. Review the {0} in the Agent Customizations editor to move them into supported locations.",
|
|
2734
2742
|
migrationsTabLink
|
|
2735
2743
|
)),
|
|
@@ -2757,9 +2765,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2757
2765
|
},
|
|
2758
2766
|
[PromptsConfig.AGENTS_LOCATION_KEY]: {
|
|
2759
2767
|
type: "object",
|
|
2760
|
-
title: ( localize(
|
|
2768
|
+
title: ( localize(13778, "Agent File Locations")),
|
|
2761
2769
|
markdownDescription: ( localize(
|
|
2762
|
-
|
|
2770
|
+
13779,
|
|
2763
2771
|
"Specify location(s) of custom agent files (`*{0}`). [Learn More]({1}).\n\nRelative paths are resolved from the root folder(s) of your workspace.\n\nLocations configured here are only observed by the Local agent harness. Other harnesses running in VS Code receive agents from all additional locations configured here, in addition to their built-in locations. To use agents with independent agent harnesses, such as Copilot CLI, review the {2} in the Agent Customizations editor to migrate them to supported locations.",
|
|
2764
2772
|
AGENT_FILE_EXTENSION,
|
|
2765
2773
|
getDocumentationUrl(PromptsType.agent),
|
|
@@ -2776,7 +2784,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2776
2784
|
propertyNames: {
|
|
2777
2785
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
2778
2786
|
patternErrorMessage: ( localize(
|
|
2779
|
-
|
|
2787
|
+
13780,
|
|
2780
2788
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported."
|
|
2781
2789
|
))
|
|
2782
2790
|
},
|
|
@@ -2793,9 +2801,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2793
2801
|
},
|
|
2794
2802
|
[PromptsConfig.USE_AGENT_MD]: {
|
|
2795
2803
|
type: "boolean",
|
|
2796
|
-
title: ( localize(
|
|
2804
|
+
title: ( localize(13781, "Use AGENTS.md file")),
|
|
2797
2805
|
markdownDescription: ( localize(
|
|
2798
|
-
|
|
2806
|
+
13782,
|
|
2799
2807
|
"Controls whether instructions from `AGENTS.md` file found in a workspace roots are attached to all chat requests. This setting is only used by the Local agent harness."
|
|
2800
2808
|
)),
|
|
2801
2809
|
default: true,
|
|
@@ -2805,9 +2813,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2805
2813
|
},
|
|
2806
2814
|
[PromptsConfig.USE_NESTED_AGENT_MD]: {
|
|
2807
2815
|
type: "boolean",
|
|
2808
|
-
title: ( localize(
|
|
2816
|
+
title: ( localize(13783, "Use nested AGENTS.md files")),
|
|
2809
2817
|
markdownDescription: ( localize(
|
|
2810
|
-
|
|
2818
|
+
13784,
|
|
2811
2819
|
"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. This setting is only used by the Local agent harness."
|
|
2812
2820
|
)),
|
|
2813
2821
|
default: false,
|
|
@@ -2823,9 +2831,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2823
2831
|
},
|
|
2824
2832
|
[PromptsConfig.USE_CLAUDE_MD]: {
|
|
2825
2833
|
type: "boolean",
|
|
2826
|
-
title: ( localize(
|
|
2834
|
+
title: ( localize(13785, "Use CLAUDE.md file")),
|
|
2827
2835
|
markdownDescription: ( localize(
|
|
2828
|
-
|
|
2836
|
+
13786,
|
|
2829
2837
|
"Controls whether instructions from `CLAUDE.md` file found in workspace roots, .claude and ~/.claude folder are attached to all chat requests. This setting is only used by the Local agent harness."
|
|
2830
2838
|
)),
|
|
2831
2839
|
default: true,
|
|
@@ -2835,9 +2843,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2835
2843
|
},
|
|
2836
2844
|
[PromptsConfig.USE_AGENT_SKILLS]: {
|
|
2837
2845
|
type: "boolean",
|
|
2838
|
-
title: ( localize(
|
|
2846
|
+
title: ( localize(13787, "Use Agent skills")),
|
|
2839
2847
|
markdownDescription: ( localize(
|
|
2840
|
-
|
|
2848
|
+
13788,
|
|
2841
2849
|
"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). This setting is only used by the Local agent harness."
|
|
2842
2850
|
)),
|
|
2843
2851
|
default: true,
|
|
@@ -2847,9 +2855,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2847
2855
|
},
|
|
2848
2856
|
[PromptsConfig.USE_SKILL_ADHERENCE_PROMPT]: {
|
|
2849
2857
|
type: "boolean",
|
|
2850
|
-
title: ( localize(
|
|
2858
|
+
title: ( localize(13789, "Use Skill Adherence Prompt")),
|
|
2851
2859
|
markdownDescription: ( localize(
|
|
2852
|
-
|
|
2860
|
+
13790,
|
|
2853
2861
|
"Controls whether a stronger skill adherence prompt is used that encourages the model to immediately invoke skills when relevant rather than just announcing them. This setting is only used by the Local agent harness."
|
|
2854
2862
|
)),
|
|
2855
2863
|
default: false,
|
|
@@ -2868,9 +2876,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2868
2876
|
},
|
|
2869
2877
|
[PromptsConfig.INCLUDE_APPLYING_INSTRUCTIONS]: {
|
|
2870
2878
|
type: "boolean",
|
|
2871
|
-
title: ( localize(
|
|
2879
|
+
title: ( localize(13791, "Include Applying Instructions")),
|
|
2872
2880
|
markdownDescription: ( localize(
|
|
2873
|
-
|
|
2881
|
+
13792,
|
|
2874
2882
|
"Controls whether instructions with a matching 'applyTo' attribute are automatically included in chat requests. This setting is only used by the Local agent harness."
|
|
2875
2883
|
)),
|
|
2876
2884
|
default: true,
|
|
@@ -2880,9 +2888,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2880
2888
|
},
|
|
2881
2889
|
[PromptsConfig.INCLUDE_REFERENCED_INSTRUCTIONS]: {
|
|
2882
2890
|
type: "boolean",
|
|
2883
|
-
title: ( localize(
|
|
2891
|
+
title: ( localize(13793, "Include Referenced Instructions")),
|
|
2884
2892
|
markdownDescription: ( localize(
|
|
2885
|
-
|
|
2893
|
+
13794,
|
|
2886
2894
|
"Controls whether referenced instructions are automatically included in chat requests. This setting is only used by the Local agent harness."
|
|
2887
2895
|
)),
|
|
2888
2896
|
default: false,
|
|
@@ -2892,9 +2900,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2892
2900
|
},
|
|
2893
2901
|
[PromptsConfig.USE_CUSTOMIZATIONS_IN_PARENT_REPOS]: {
|
|
2894
2902
|
type: "boolean",
|
|
2895
|
-
title: ( localize(
|
|
2903
|
+
title: ( localize(13795, "Use Customizations in Parent Repositories")),
|
|
2896
2904
|
markdownDescription: ( localize(
|
|
2897
|
-
|
|
2905
|
+
13796,
|
|
2898
2906
|
"Controls whether to use chat customization files in parent repositories. This setting is only used by the Local agent harness."
|
|
2899
2907
|
)),
|
|
2900
2908
|
default: false,
|
|
@@ -2904,9 +2912,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2904
2912
|
},
|
|
2905
2913
|
[PromptsConfig.SKILLS_LOCATION_KEY]: {
|
|
2906
2914
|
type: "object",
|
|
2907
|
-
title: ( localize(
|
|
2915
|
+
title: ( localize(13797, "Agent Skills Locations")),
|
|
2908
2916
|
markdownDescription: ( localize(
|
|
2909
|
-
|
|
2917
|
+
13798,
|
|
2910
2918
|
"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.\n\nLocations configured here are only observed by the Local agent harness. Other harnesses running in VS Code receive skills from all additional locations configured here, in addition to their built-in locations. To use skills with independent agent harnesses, such as Copilot CLI, review the {2} in the Agent Customizations editor to migrate them to supported locations.",
|
|
2911
2919
|
SKILL_FILENAME,
|
|
2912
2920
|
getDocumentationUrl(PromptsType.skill),
|
|
@@ -2926,7 +2934,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2926
2934
|
propertyNames: {
|
|
2927
2935
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
2928
2936
|
patternErrorMessage: ( localize(
|
|
2929
|
-
|
|
2937
|
+
13799,
|
|
2930
2938
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported."
|
|
2931
2939
|
))
|
|
2932
2940
|
},
|
|
@@ -2943,9 +2951,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2943
2951
|
},
|
|
2944
2952
|
[PromptsConfig.HOOKS_LOCATION_KEY]: {
|
|
2945
2953
|
type: "object",
|
|
2946
|
-
title: ( localize(
|
|
2954
|
+
title: ( localize(13800, "Hook File Locations")),
|
|
2947
2955
|
markdownDescription: ( localize(
|
|
2948
|
-
|
|
2956
|
+
13801,
|
|
2949
2957
|
"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`).\n\nThis setting is only used by the Local agent harness.",
|
|
2950
2958
|
getDocumentationUrl(PromptsType.hook)
|
|
2951
2959
|
)),
|
|
@@ -2963,7 +2971,7 @@ configurationRegistry.registerConfiguration({
|
|
|
2963
2971
|
propertyNames: {
|
|
2964
2972
|
pattern: VALID_PROMPT_FOLDER_PATTERN,
|
|
2965
2973
|
patternErrorMessage: ( localize(
|
|
2966
|
-
|
|
2974
|
+
13802,
|
|
2967
2975
|
"Paths must be relative or start with '~/'. Absolute paths and '\\' separators are not supported."
|
|
2968
2976
|
))
|
|
2969
2977
|
},
|
|
@@ -2985,9 +2993,9 @@ configurationRegistry.registerConfiguration({
|
|
|
2985
2993
|
},
|
|
2986
2994
|
[PromptsConfig.USE_CHAT_HOOKS]: {
|
|
2987
2995
|
type: "boolean",
|
|
2988
|
-
title: ( localize(
|
|
2996
|
+
title: ( localize(13803, "Use Chat Hooks")),
|
|
2989
2997
|
markdownDescription: ( localize(
|
|
2990
|
-
|
|
2998
|
+
13804,
|
|
2991
2999
|
"Controls whether chat hooks are executed at strategic points during an agent's workflow. Hooks are loaded from the files configured in `#chat.hookFilesLocations#`. This setting is only used by the Local agent harness."
|
|
2992
3000
|
)),
|
|
2993
3001
|
default: true,
|
|
@@ -3003,7 +3011,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3003
3011
|
description: {
|
|
3004
3012
|
key: "chat.useHooks.description",
|
|
3005
3013
|
value: ( localize(
|
|
3006
|
-
|
|
3014
|
+
13804,
|
|
3007
3015
|
"Controls whether chat hooks are executed at strategic points during an agent's workflow. Hooks are loaded from the files configured in `#chat.hookFilesLocations#`. This setting is only used by the Local agent harness."
|
|
3008
3016
|
))
|
|
3009
3017
|
}
|
|
@@ -3012,9 +3020,9 @@ configurationRegistry.registerConfiguration({
|
|
|
3012
3020
|
},
|
|
3013
3021
|
[PromptsConfig.USE_CLAUDE_HOOKS]: {
|
|
3014
3022
|
type: "boolean",
|
|
3015
|
-
title: ( localize(
|
|
3023
|
+
title: ( localize(13805, "Use Claude Hooks")),
|
|
3016
3024
|
markdownDescription: ( localize(
|
|
3017
|
-
|
|
3025
|
+
13806,
|
|
3018
3026
|
"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#`. This setting is only used by the Local agent harness."
|
|
3019
3027
|
)),
|
|
3020
3028
|
default: false,
|
|
@@ -3025,9 +3033,9 @@ configurationRegistry.registerConfiguration({
|
|
|
3025
3033
|
[PromptsConfig.PROMPT_FILES_SUGGEST_KEY]: {
|
|
3026
3034
|
type: "object",
|
|
3027
3035
|
scope: ConfigurationScope.RESOURCE,
|
|
3028
|
-
title: ( localize(
|
|
3036
|
+
title: ( localize(13807, "Prompt File Recommendations")),
|
|
3029
3037
|
markdownDescription: ( localize(
|
|
3030
|
-
|
|
3038
|
+
13808,
|
|
3031
3039
|
"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`."
|
|
3032
3040
|
)),
|
|
3033
3041
|
default: {},
|
|
@@ -3049,64 +3057,16 @@ configurationRegistry.registerConfiguration({
|
|
|
3049
3057
|
type: "boolean",
|
|
3050
3058
|
default: true,
|
|
3051
3059
|
description: ( localize(
|
|
3052
|
-
|
|
3060
|
+
13809,
|
|
3053
3061
|
"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."
|
|
3054
3062
|
))
|
|
3055
3063
|
},
|
|
3056
|
-
|
|
3057
|
-
type: "string",
|
|
3058
|
-
default: "fixedScrolling",
|
|
3059
|
-
enum: ["collapsed", "collapsedPreview", "fixedScrolling"],
|
|
3060
|
-
enumDescriptions: [( localize(11682, "Thinking parts will be collapsed by default.")), ( localize(
|
|
3061
|
-
11683,
|
|
3062
|
-
"Thinking parts will be expanded first, then collapse once we reach a part that is not thinking."
|
|
3063
|
-
)), ( localize(
|
|
3064
|
-
11684,
|
|
3065
|
-
"Show thinking in a fixed-height streaming panel that auto-scrolls; click header to expand to full height."
|
|
3066
|
-
))],
|
|
3067
|
-
description: ( localize(
|
|
3068
|
-
11685,
|
|
3069
|
-
"Controls how thinking is rendered. Read-only chats always use the collapsed preview style."
|
|
3070
|
-
)),
|
|
3071
|
-
tags: ["experimental"]
|
|
3072
|
-
},
|
|
3073
|
-
[ChatConfiguration.ThinkingGenerateTitles]: {
|
|
3074
|
-
type: "boolean",
|
|
3075
|
-
default: true,
|
|
3076
|
-
description: ( localize(
|
|
3077
|
-
11686,
|
|
3078
|
-
"Controls whether to use an LLM to generate summary titles for thinking sections."
|
|
3079
|
-
)),
|
|
3080
|
-
tags: ["experimental"]
|
|
3081
|
-
},
|
|
3082
|
-
"chat.agent.thinking.collapsedTools": {
|
|
3083
|
-
type: "string",
|
|
3084
|
-
default: "always",
|
|
3085
|
-
enum: ["off", "withThinking", "always"],
|
|
3086
|
-
enumDescriptions: [( localize(11687, "Tool calls are shown separately, not collapsed into thinking.")), ( localize(
|
|
3087
|
-
11688,
|
|
3088
|
-
"Tool calls are collapsed into thinking sections when thinking is present."
|
|
3089
|
-
)), ( localize(11689, "Tool calls are always collapsed, even without thinking."))],
|
|
3090
|
-
markdownDescription: ( localize(
|
|
3091
|
-
11690,
|
|
3092
|
-
"Controls how tool calls are displayed in relation to thinking sections."
|
|
3093
|
-
)),
|
|
3094
|
-
tags: ["experimental"]
|
|
3095
|
-
},
|
|
3096
|
-
[ChatConfiguration.TerminalToolsInThinking]: {
|
|
3097
|
-
type: "boolean",
|
|
3098
|
-
default: true,
|
|
3099
|
-
markdownDescription: ( localize(
|
|
3100
|
-
11691,
|
|
3101
|
-
"When enabled, terminal tool calls are displayed inside the thinking dropdown with a simplified view."
|
|
3102
|
-
)),
|
|
3103
|
-
tags: ["experimental"]
|
|
3104
|
-
},
|
|
3064
|
+
...legacyChatThinkingConfigurationProperties,
|
|
3105
3065
|
[ChatConfiguration.SimpleTerminalCollapsible]: {
|
|
3106
3066
|
type: "boolean",
|
|
3107
3067
|
default: true,
|
|
3108
3068
|
markdownDescription: ( localize(
|
|
3109
|
-
|
|
3069
|
+
13810,
|
|
3110
3070
|
"When enabled, terminal tool calls are always displayed in a collapsible container with a simplified view."
|
|
3111
3071
|
)),
|
|
3112
3072
|
tags: ["experimental"]
|
|
@@ -3115,7 +3075,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3115
3075
|
type: "boolean",
|
|
3116
3076
|
default: true,
|
|
3117
3077
|
description: ( localize(
|
|
3118
|
-
|
|
3078
|
+
13811,
|
|
3119
3079
|
"Controls whether terminal output in chat reflows to fit the available width. When disabled, previews use the terminal's column count, or 80 columns when no terminal is available, and scroll horizontally when needed. This does not resize the terminal running the command."
|
|
3120
3080
|
))
|
|
3121
3081
|
},
|
|
@@ -3123,7 +3083,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3123
3083
|
type: "boolean",
|
|
3124
3084
|
default: false,
|
|
3125
3085
|
markdownDescription: ( localize(
|
|
3126
|
-
|
|
3086
|
+
13812,
|
|
3127
3087
|
"Post-process tool output (for example `git diff`, `ls -l`, or `npm install`) to reduce token usage before it is sent to the model."
|
|
3128
3088
|
)),
|
|
3129
3089
|
tags: ["preview"],
|
|
@@ -3131,53 +3091,18 @@ configurationRegistry.registerConfiguration({
|
|
|
3131
3091
|
mode: "auto"
|
|
3132
3092
|
}
|
|
3133
3093
|
},
|
|
3134
|
-
[ChatConfiguration.ThinkingPhrases]: {
|
|
3135
|
-
type: "object",
|
|
3136
|
-
default: {
|
|
3137
|
-
mode: "append",
|
|
3138
|
-
phrases: []
|
|
3139
|
-
},
|
|
3140
|
-
properties: {
|
|
3141
|
-
mode: {
|
|
3142
|
-
type: "string",
|
|
3143
|
-
enum: ["replace", "append"],
|
|
3144
|
-
default: "append",
|
|
3145
|
-
description: ( localize(
|
|
3146
|
-
11695,
|
|
3147
|
-
"'replace' replaces all default phrases entirely; 'append' adds your phrases to all default categories."
|
|
3148
|
-
))
|
|
3149
|
-
},
|
|
3150
|
-
phrases: {
|
|
3151
|
-
type: "array",
|
|
3152
|
-
items: {
|
|
3153
|
-
type: "string"
|
|
3154
|
-
},
|
|
3155
|
-
default: [],
|
|
3156
|
-
description: ( localize(
|
|
3157
|
-
11696,
|
|
3158
|
-
"Custom loading messages to show during thinking, working progress, terminal, and tool operations."
|
|
3159
|
-
))
|
|
3160
|
-
}
|
|
3161
|
-
},
|
|
3162
|
-
additionalProperties: false,
|
|
3163
|
-
markdownDescription: ( localize(
|
|
3164
|
-
11697,
|
|
3165
|
-
"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."
|
|
3166
|
-
)),
|
|
3167
|
-
tags: ["experimental"]
|
|
3168
|
-
},
|
|
3169
3094
|
[ChatConfiguration.AutoExpandToolFailures]: {
|
|
3170
3095
|
type: "boolean",
|
|
3171
3096
|
default: true,
|
|
3172
3097
|
markdownDescription: ( localize(
|
|
3173
|
-
|
|
3098
|
+
13813,
|
|
3174
3099
|
"When enabled, terminal tool failures are automatically expanded in the chat UI to show error details."
|
|
3175
3100
|
))
|
|
3176
3101
|
},
|
|
3177
3102
|
[ChatAIDisabledSettingId]: {
|
|
3178
3103
|
type: "boolean",
|
|
3179
3104
|
description: ( localize(
|
|
3180
|
-
|
|
3105
|
+
13814,
|
|
3181
3106
|
"Disable and hide built-in AI features provided by GitHub Copilot, including chat and inline suggestions."
|
|
3182
3107
|
)),
|
|
3183
3108
|
default: false,
|
|
@@ -3190,17 +3115,40 @@ configurationRegistry.registerConfiguration({
|
|
|
3190
3115
|
description: {
|
|
3191
3116
|
key: "chat.disableAIFeatures",
|
|
3192
3117
|
value: ( localize(
|
|
3193
|
-
|
|
3118
|
+
13814,
|
|
3194
3119
|
"Disable and hide built-in AI features provided by GitHub Copilot, including chat and inline suggestions."
|
|
3195
3120
|
))
|
|
3196
3121
|
}
|
|
3197
3122
|
}
|
|
3198
3123
|
}
|
|
3199
3124
|
},
|
|
3125
|
+
[ChatConfiguration.CopilotCliCommandEnabled]: {
|
|
3126
|
+
type: "boolean",
|
|
3127
|
+
markdownDescription: ( localize(
|
|
3128
|
+
13815,
|
|
3129
|
+
"Controls whether integrated terminals include the `copilot` command that ships with VS Code. The command runs GitHub Copilot CLI and offers to install it when it's missing. A GitHub Copilot CLI that you installed yourself isn't affected."
|
|
3130
|
+
)),
|
|
3131
|
+
default: true,
|
|
3132
|
+
scope: ConfigurationScope.APPLICATION,
|
|
3133
|
+
policy: {
|
|
3134
|
+
name: "CopilotCliCommand",
|
|
3135
|
+
category: PolicyCategory.InteractiveSession,
|
|
3136
|
+
minimumVersion: "1.143",
|
|
3137
|
+
localization: {
|
|
3138
|
+
description: {
|
|
3139
|
+
key: "chat.copilotCliCommand.enabled.policy",
|
|
3140
|
+
value: ( localize(
|
|
3141
|
+
13816,
|
|
3142
|
+
"Controls whether VS Code provides the copilot command for GitHub Copilot CLI. When disabled, VS Code setup on Windows and the Linux DEB and RPM packages don't add the command to PATH and remove the entry they added, VS Code doesn't install GitHub Copilot CLI, and integrated terminals don't include the command. A GitHub Copilot CLI that was installed separately isn't affected."
|
|
3143
|
+
))
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
},
|
|
3200
3148
|
[ChatConfiguration.TitleBarSignInEnabled]: {
|
|
3201
3149
|
type: "boolean",
|
|
3202
3150
|
description: ( localize(
|
|
3203
|
-
|
|
3151
|
+
13817,
|
|
3204
3152
|
"Controls whether the Copilot Sign In button is shown in the title bar when signed out. When disabled, the Sign In affordance falls back to the status bar."
|
|
3205
3153
|
)),
|
|
3206
3154
|
default: true
|
|
@@ -3208,10 +3156,62 @@ configurationRegistry.registerConfiguration({
|
|
|
3208
3156
|
[ChatConfiguration.WelcomePageSignInEnabled]: {
|
|
3209
3157
|
type: "boolean",
|
|
3210
3158
|
description: ( localize(
|
|
3211
|
-
|
|
3159
|
+
13818,
|
|
3212
3160
|
"Controls whether the Welcome page shows a GitHub sign-in button instead of the Agents window button when signed out."
|
|
3213
3161
|
)),
|
|
3214
|
-
default:
|
|
3162
|
+
default: true,
|
|
3163
|
+
tags: ["experimental"],
|
|
3164
|
+
experiment: {
|
|
3165
|
+
mode: "auto"
|
|
3166
|
+
}
|
|
3167
|
+
},
|
|
3168
|
+
[ChatConfiguration.WelcomePageAgentsWindowGraphic]: {
|
|
3169
|
+
type: "string",
|
|
3170
|
+
enum: [
|
|
3171
|
+
AgentsWindowGraphicVariant.None,
|
|
3172
|
+
AgentsWindowGraphicVariant.WindowComparison,
|
|
3173
|
+
AgentsWindowGraphicVariant.ManyWindowsToOne,
|
|
3174
|
+
AgentsWindowGraphicVariant.Auto
|
|
3175
|
+
],
|
|
3176
|
+
enumDescriptions: [( localize(13819, "Show no graphic.")), ( localize(13820, "Show the editor window and the Agents window side by side.")), ( localize(
|
|
3177
|
+
13821,
|
|
3178
|
+
"Show how editor windows for several projects become one Agents window."
|
|
3179
|
+
)), ( localize(
|
|
3180
|
+
13822,
|
|
3181
|
+
"Show 'manyWindowsToOne' when more than one editor window is open, and 'windowComparison' otherwise."
|
|
3182
|
+
))],
|
|
3183
|
+
description: ( localize(
|
|
3184
|
+
13823,
|
|
3185
|
+
"Controls which graphic explains the Agents window above the Agents window button on the Welcome page."
|
|
3186
|
+
)),
|
|
3187
|
+
default: AgentsWindowGraphicVariant.None,
|
|
3188
|
+
tags: ["experimental"],
|
|
3189
|
+
experiment: {
|
|
3190
|
+
mode: "auto"
|
|
3191
|
+
}
|
|
3192
|
+
},
|
|
3193
|
+
[ChatConfiguration.WelcomePageAgentsWindowSectionStyle]: {
|
|
3194
|
+
type: "string",
|
|
3195
|
+
enum: [
|
|
3196
|
+
AgentsWindowSectionStyle.None,
|
|
3197
|
+
AgentsWindowSectionStyle.Card,
|
|
3198
|
+
AgentsWindowSectionStyle.Outline,
|
|
3199
|
+
AgentsWindowSectionStyle.Tint,
|
|
3200
|
+
AgentsWindowSectionStyle.Band,
|
|
3201
|
+
AgentsWindowSectionStyle.Separator
|
|
3202
|
+
],
|
|
3203
|
+
enumDescriptions: [( localize(13824, "Don't set the section apart.")), ( localize(13825, "Show the section on a subtle surface, like the walkthrough tiles.")), ( localize(13826, "Outline the section with a subtle border.")), ( localize(13827, "Show the section on a surface tinted with the accent color.")), ( localize(
|
|
3204
|
+
13828,
|
|
3205
|
+
"Show the section on a subtle surface across the width of the page's content."
|
|
3206
|
+
)), ( localize(
|
|
3207
|
+
13829,
|
|
3208
|
+
"Separate the section from the rest of the page with lines above and below it."
|
|
3209
|
+
))],
|
|
3210
|
+
description: ( localize(
|
|
3211
|
+
13830,
|
|
3212
|
+
"Controls how the Agents window graphic, its captions and the Agents window button are set apart from the rest of the Welcome page. Applies only while a graphic is shown."
|
|
3213
|
+
)),
|
|
3214
|
+
default: AgentsWindowSectionStyle.Outline,
|
|
3215
3215
|
tags: ["experimental"],
|
|
3216
3216
|
experiment: {
|
|
3217
3217
|
mode: "auto"
|
|
@@ -3220,18 +3220,30 @@ configurationRegistry.registerConfiguration({
|
|
|
3220
3220
|
[ChatConfiguration.TitleBarOpenInAgentsWindowEnabled]: {
|
|
3221
3221
|
type: "boolean",
|
|
3222
3222
|
description: ( localize(
|
|
3223
|
-
|
|
3223
|
+
13831,
|
|
3224
3224
|
"Controls whether the Open in Agents Window button is shown in the title bar."
|
|
3225
3225
|
)),
|
|
3226
3226
|
default: true
|
|
3227
3227
|
},
|
|
3228
|
-
[ChatConfiguration.
|
|
3229
|
-
type: "
|
|
3228
|
+
[ChatConfiguration.TitleBarOpenInAgentsWindowRichHover]: {
|
|
3229
|
+
type: "string",
|
|
3230
|
+
enum: [
|
|
3231
|
+
OpenInAgentsTitleBarHoverVariant.None,
|
|
3232
|
+
OpenInAgentsTitleBarHoverVariant.ManyWindowsToOne,
|
|
3233
|
+
OpenInAgentsTitleBarHoverVariant.WindowComparison
|
|
3234
|
+
],
|
|
3235
|
+
enumDescriptions: [( localize(13832, "Show a simple tooltip, and grow the button to show its label.")), ( localize(
|
|
3236
|
+
13833,
|
|
3237
|
+
"Show a hover card with a graphic of editor windows for several projects becoming one Agents window, and keep the button an icon."
|
|
3238
|
+
)), ( localize(
|
|
3239
|
+
13834,
|
|
3240
|
+
"Show a hover card with a graphic of the editor window and the Agents window side by side, and keep the button an icon."
|
|
3241
|
+
))],
|
|
3230
3242
|
description: ( localize(
|
|
3231
|
-
|
|
3232
|
-
"Controls whether Open in Agents Window
|
|
3243
|
+
13835,
|
|
3244
|
+
"Controls whether hovering or focusing the Open in Agents Window button in the title bar shows a hover card that explains the Agents window, and which graphic the card shows. Applies to users who have created fewer than two sessions in the Agents window; other users always see a simple tooltip."
|
|
3233
3245
|
)),
|
|
3234
|
-
default:
|
|
3246
|
+
default: OpenInAgentsTitleBarHoverVariant.None,
|
|
3235
3247
|
tags: ["experimental"],
|
|
3236
3248
|
experiment: {
|
|
3237
3249
|
mode: "auto"
|
|
@@ -3244,7 +3256,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3244
3256
|
type: "string"
|
|
3245
3257
|
},
|
|
3246
3258
|
description: ( localize(
|
|
3247
|
-
|
|
3259
|
+
13836,
|
|
3248
3260
|
"List of GitHub organization logins whose members are permitted to use AI features. When set to a non-empty list, AI features are disabled until the user signs into a GitHub account that belongs to one of the specified organizations and account-level policy data has been resolved. Set to '*' to allow any authenticated GitHub or GitHub Enterprise account."
|
|
3249
3261
|
)),
|
|
3250
3262
|
default: [],
|
|
@@ -3257,7 +3269,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3257
3269
|
description: {
|
|
3258
3270
|
key: "chat.approvedAccountOrganizations.policy.description",
|
|
3259
3271
|
value: ( localize(
|
|
3260
|
-
|
|
3272
|
+
13837,
|
|
3261
3273
|
"Setting this policy to a non-empty list activates the Approved Account gate: all AI features are disabled until the user signs into a GitHub account whose organizations intersect this list AND the account-side policy data has resolved. Comparison is case-insensitive. Use '*' as a wildcard to accept any signed-in GitHub or GHE account (use this for GHE deployments where the organization list is not surfaced)."
|
|
3262
3274
|
))
|
|
3263
3275
|
}
|
|
@@ -3266,7 +3278,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3266
3278
|
},
|
|
3267
3279
|
"chat.allowAnonymousAccess": {
|
|
3268
3280
|
type: "boolean",
|
|
3269
|
-
description: ( localize(
|
|
3281
|
+
description: ( localize(13838, "Controls whether anonymous access is allowed in chat.")),
|
|
3270
3282
|
default: false,
|
|
3271
3283
|
included: false,
|
|
3272
3284
|
tags: ["experimental"],
|
|
@@ -3277,7 +3289,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3277
3289
|
[ChatConfiguration.GrowthNotificationEnabled]: {
|
|
3278
3290
|
type: "boolean",
|
|
3279
3291
|
description: ( localize(
|
|
3280
|
-
|
|
3292
|
+
13839,
|
|
3281
3293
|
"Controls whether to show a growth notification in the agent sessions view to encourage new users to try Copilot."
|
|
3282
3294
|
)),
|
|
3283
3295
|
default: false,
|
|
@@ -3292,13 +3304,13 @@ configurationRegistry.registerConfiguration({
|
|
|
3292
3304
|
ChatClosedPromoNotification.None,
|
|
3293
3305
|
ChatClosedPromoNotification.CopilotIconPopup
|
|
3294
3306
|
],
|
|
3295
|
-
enumItemLabels: [( localize(
|
|
3296
|
-
enumDescriptions: [( localize(
|
|
3297
|
-
|
|
3307
|
+
enumItemLabels: [( localize(13840, "None")), ( localize(13841, "Copilot Icon Popup"))],
|
|
3308
|
+
enumDescriptions: [( localize(13842, "Do not show a promo on the Copilot icon when Chat is closed.")), ( localize(
|
|
3309
|
+
13843,
|
|
3298
3310
|
"Show a promo tooltip when hovering or clicking the Copilot status icon while Chat is closed. Viewing the offer clears its indicator; the offer remains available for the current window session. Choosing Try dismisses the offer and its chat banner."
|
|
3299
3311
|
))],
|
|
3300
3312
|
description: ( localize(
|
|
3301
|
-
|
|
3313
|
+
13844,
|
|
3302
3314
|
"Controls whether a live model promo is shown on the Copilot icon when Chat is closed. When explicitly set, this overrides the experiment without an experiment lookup. Otherwise, eligible promos use the experiment treatment."
|
|
3303
3315
|
)),
|
|
3304
3316
|
default: ChatClosedPromoNotification.None,
|
|
@@ -3307,7 +3319,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3307
3319
|
[ChatConfiguration.RestoreLastPanelSession]: {
|
|
3308
3320
|
type: "boolean",
|
|
3309
3321
|
description: ( localize(
|
|
3310
|
-
|
|
3322
|
+
13845,
|
|
3311
3323
|
"Controls whether the last session is restored in panel after restart."
|
|
3312
3324
|
)),
|
|
3313
3325
|
default: false
|
|
@@ -3315,7 +3327,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3315
3327
|
[ChatConfiguration.ExitAfterDelegation]: {
|
|
3316
3328
|
type: "boolean",
|
|
3317
3329
|
description: ( localize(
|
|
3318
|
-
|
|
3330
|
+
13846,
|
|
3319
3331
|
"Controls whether the chat panel automatically exits after delegating a request to another session."
|
|
3320
3332
|
)),
|
|
3321
3333
|
default: false,
|
|
@@ -3324,7 +3336,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3324
3336
|
"chat.extensionUnification.enabled": {
|
|
3325
3337
|
type: "boolean",
|
|
3326
3338
|
description: ( localize(
|
|
3327
|
-
|
|
3339
|
+
13847,
|
|
3328
3340
|
"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."
|
|
3329
3341
|
)),
|
|
3330
3342
|
default: true,
|
|
@@ -3335,9 +3347,9 @@ configurationRegistry.registerConfiguration({
|
|
|
3335
3347
|
},
|
|
3336
3348
|
[ChatConfiguration.SubagentsAllowInvocationsFromSubagents]: {
|
|
3337
3349
|
type: "boolean",
|
|
3338
|
-
description: ( localize(
|
|
3350
|
+
description: ( localize(13848, "Allow subagents to invoke subagents.")),
|
|
3339
3351
|
markdownDescription: ( localize(
|
|
3340
|
-
|
|
3352
|
+
13849,
|
|
3341
3353
|
"Controls whether subagents can invoke other subagents. When enabled, nesting is limited to a maximum depth of 5."
|
|
3342
3354
|
)),
|
|
3343
3355
|
default: false,
|
|
@@ -3345,22 +3357,10 @@ configurationRegistry.registerConfiguration({
|
|
|
3345
3357
|
mode: "auto"
|
|
3346
3358
|
}
|
|
3347
3359
|
},
|
|
3348
|
-
[ChatConfiguration.SubagentsDefaultToAuto]: {
|
|
3349
|
-
type: "boolean",
|
|
3350
|
-
markdownDescription: ( localize(
|
|
3351
|
-
11718,
|
|
3352
|
-
"Controls whether local subagents use the Auto model when neither the tool call nor the selected agent specifies a model. Explicit tool and agent model selections take precedence. Subagents of a BYOK main model continue to use that model. Auto routing is not constrained by the main model's fixed cost tier."
|
|
3353
|
-
)),
|
|
3354
|
-
default: false,
|
|
3355
|
-
tags: ["experimental"],
|
|
3356
|
-
experiment: {
|
|
3357
|
-
mode: "auto"
|
|
3358
|
-
}
|
|
3359
|
-
},
|
|
3360
3360
|
[ChatConfiguration.SubagentsShowCreditUsage]: {
|
|
3361
3361
|
type: "boolean",
|
|
3362
3362
|
description: ( localize(
|
|
3363
|
-
|
|
3363
|
+
13850,
|
|
3364
3364
|
"Controls whether AI credit usage is shown next to the duration for subagents."
|
|
3365
3365
|
)),
|
|
3366
3366
|
default: false
|
|
@@ -3368,7 +3368,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3368
3368
|
[ChatConfiguration.TerminalAgentHostEnabled]: {
|
|
3369
3369
|
type: "boolean",
|
|
3370
3370
|
description: ( localize(
|
|
3371
|
-
|
|
3371
|
+
13851,
|
|
3372
3372
|
"Controls whether Terminal Chat is backed by the Agent Host instead of the extension host. Applied on startup."
|
|
3373
3373
|
)),
|
|
3374
3374
|
default: false,
|
|
@@ -3380,7 +3380,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3380
3380
|
[ChatConfiguration.InlineChatAgentHostEnabled]: {
|
|
3381
3381
|
type: "boolean",
|
|
3382
3382
|
description: ( localize(
|
|
3383
|
-
|
|
3383
|
+
13852,
|
|
3384
3384
|
"Controls whether editor inline chat is backed by the Agent Host instead of the extension host. Applied on startup."
|
|
3385
3385
|
)),
|
|
3386
3386
|
default: false,
|
|
@@ -3392,7 +3392,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3392
3392
|
[ChatConfiguration.CollectInstructionsInExtension]: {
|
|
3393
3393
|
type: "boolean",
|
|
3394
3394
|
description: ( localize(
|
|
3395
|
-
|
|
3395
|
+
13853,
|
|
3396
3396
|
"When enabled, automatic instruction collection (.instructions.md, agent instructions, customizations index) is performed by the GitHub Copilot Chat extension instead of the core workbench."
|
|
3397
3397
|
)),
|
|
3398
3398
|
default: false,
|
|
@@ -3402,33 +3402,17 @@ configurationRegistry.registerConfiguration({
|
|
|
3402
3402
|
type: "boolean",
|
|
3403
3403
|
tags: ["preview"],
|
|
3404
3404
|
description: ( localize(
|
|
3405
|
-
|
|
3405
|
+
13854,
|
|
3406
3406
|
"Controls whether the Chat Customizations editor shows a structured preview for markdown customization files (agents, skills, instructions, prompts). When disabled, the editor always opens the raw markdown in the embedded code editor."
|
|
3407
3407
|
)),
|
|
3408
3408
|
default: false
|
|
3409
3409
|
},
|
|
3410
3410
|
...customizationMarketplaceConfigurationProperties,
|
|
3411
|
-
[CustomizationMarketplaceConfiguration.CopilotConnectorsEnabled]: {
|
|
3412
|
-
type: "boolean",
|
|
3413
|
-
tags: ["experimental", "advanced"],
|
|
3414
|
-
description: ( localize(
|
|
3415
|
-
11724,
|
|
3416
|
-
"Enables Copilot connectors in the unified marketplace and exposes connected connector MCP servers in Chat Customizations and Copilot agent sessions."
|
|
3417
|
-
)),
|
|
3418
|
-
default: false,
|
|
3419
|
-
scope: ConfigurationScope.APPLICATION,
|
|
3420
|
-
experiment: {
|
|
3421
|
-
mode: "auto"
|
|
3422
|
-
},
|
|
3423
|
-
agentHost: {
|
|
3424
|
-
key: AgentHostMcpConnectorsEnabledConfigKey
|
|
3425
|
-
}
|
|
3426
|
-
},
|
|
3427
3411
|
[ChatConfiguration.ChatCustomizationsPromptMigrationEnabled]: {
|
|
3428
3412
|
type: "boolean",
|
|
3429
3413
|
tags: ["experimental"],
|
|
3430
3414
|
description: ( localize(
|
|
3431
|
-
|
|
3415
|
+
13855,
|
|
3432
3416
|
"Controls whether the Chat Customizations editor offers to convert prompt files into skills for agent-host harnesses, which ignore prompt files. When disabled, the migration card and sidebar shortcut are hidden."
|
|
3433
3417
|
)),
|
|
3434
3418
|
default: true
|
|
@@ -3437,7 +3421,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3437
3421
|
type: "boolean",
|
|
3438
3422
|
tags: ["experimental"],
|
|
3439
3423
|
description: ( localize(
|
|
3440
|
-
|
|
3424
|
+
13856,
|
|
3441
3425
|
"Controls whether VS Code shows customization migration actions, hints, compatibility badges, and compatibility details for the active Agent Host harness."
|
|
3442
3426
|
)),
|
|
3443
3427
|
default: true,
|
|
@@ -3449,7 +3433,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3449
3433
|
type: "boolean",
|
|
3450
3434
|
tags: ["experimental"],
|
|
3451
3435
|
description: ( localize(
|
|
3452
|
-
|
|
3436
|
+
13857,
|
|
3453
3437
|
"Controls whether the Chat Customizations editor offers to move agents and instructions stored in user data to the active agent-host harness, which ignores the user data location. When disabled, the migration card and sidebar shortcut are hidden."
|
|
3454
3438
|
)),
|
|
3455
3439
|
default: false
|
|
@@ -3458,7 +3442,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3458
3442
|
type: "boolean",
|
|
3459
3443
|
tags: ["experimental"],
|
|
3460
3444
|
description: ( localize(
|
|
3461
|
-
|
|
3445
|
+
13858,
|
|
3462
3446
|
"Controls whether the Chat Customizations editor offers to move agents, instructions, and skills from configured locations that are not supported by the active agent-host harness. When disabled, the migration card and sidebar shortcut are hidden."
|
|
3463
3447
|
)),
|
|
3464
3448
|
default: false
|
|
@@ -3467,7 +3451,7 @@ configurationRegistry.registerConfiguration({
|
|
|
3467
3451
|
type: "boolean",
|
|
3468
3452
|
tags: ["experimental"],
|
|
3469
3453
|
description: ( localize(
|
|
3470
|
-
|
|
3454
|
+
13859,
|
|
3471
3455
|
"Controls whether VS Code shows MCP server migration actions, hints, compatibility badges, and compatibility details. Migration moves eligible workspace MCP servers out of .vscode/mcp.json and into a .mcp.json file at the workspace root, where the active agent-host harness discovers them directly."
|
|
3472
3456
|
)),
|
|
3473
3457
|
default: false
|
|
@@ -3475,15 +3459,15 @@ configurationRegistry.registerConfiguration({
|
|
|
3475
3459
|
}
|
|
3476
3460
|
});
|
|
3477
3461
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
3478
|
-
EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(
|
|
3462
|
+
EditorPaneDescriptor.create(ChatEditor, ChatEditorInput.EditorID, ( localize(13860, "Chat"))),
|
|
3479
3463
|
[( new SyncDescriptor(ChatEditorInput))]
|
|
3480
3464
|
);
|
|
3481
3465
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
3482
|
-
EditorPaneDescriptor.create(ChatDebugEditor, ChatDebugEditorInput.ID, ( localize(
|
|
3466
|
+
EditorPaneDescriptor.create(ChatDebugEditor, ChatDebugEditorInput.ID, ( localize(13861, "Debug View"))),
|
|
3483
3467
|
[( new SyncDescriptor(ChatDebugEditorInput))]
|
|
3484
3468
|
);
|
|
3485
3469
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
3486
|
-
EditorPaneDescriptor.create(AgentPluginEditor, AgentPluginEditor.ID, ( localize(
|
|
3470
|
+
EditorPaneDescriptor.create(AgentPluginEditor, AgentPluginEditor.ID, ( localize(13862, "Agent Plugin"))),
|
|
3487
3471
|
[( new SyncDescriptor(AgentPluginEditorInput))]
|
|
3488
3472
|
);
|
|
3489
3473
|
function isStringKeyedObject(value) {
|
|
@@ -3534,21 +3518,17 @@ function migrateAgentMergeMergePullRequest(value) {
|
|
|
3534
3518
|
migrateFn: () => ({
|
|
3535
3519
|
value: undefined
|
|
3536
3520
|
})
|
|
3537
|
-
},
|
|
3538
|
-
|
|
3521
|
+
},
|
|
3522
|
+
...[
|
|
3523
|
+
"chat.agentSessions.sessionCatalog.enabled",
|
|
3524
|
+
"chat.agentHost.sessionCatalog.enabled"
|
|
3525
|
+
].map(key => ({
|
|
3526
|
+
key,
|
|
3539
3527
|
includeApplication: true,
|
|
3540
|
-
migrateFn: (
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
if (accessor(ChatConfiguration.SessionCatalogEnabled) === undefined) {
|
|
3545
|
-
pairs.push([ChatConfiguration.SessionCatalogEnabled, {
|
|
3546
|
-
value
|
|
3547
|
-
}]);
|
|
3548
|
-
}
|
|
3549
|
-
return pairs;
|
|
3550
|
-
}
|
|
3551
|
-
}, {
|
|
3528
|
+
migrateFn: () => ({
|
|
3529
|
+
value: undefined
|
|
3530
|
+
})
|
|
3531
|
+
})), {
|
|
3552
3532
|
key: "chat.experimental.detectParticipant.enabled",
|
|
3553
3533
|
migrateFn: (value, _accessor) => ([["chat.experimental.detectParticipant.enabled", {
|
|
3554
3534
|
value: undefined
|
|
@@ -3725,7 +3705,7 @@ let ChatResolverContribution = class ChatResolverContribution extends Disposable
|
|
|
3725
3705
|
_registerEditor(scheme) {
|
|
3726
3706
|
this._editorRegistrations.set(scheme, this.editorResolverService.registerEditor(`${scheme}:**/**`, {
|
|
3727
3707
|
id: ChatEditorInput.EditorID,
|
|
3728
|
-
label: ( localize(
|
|
3708
|
+
label: ( localize(13860, "Chat")),
|
|
3729
3709
|
priority: RegisteredEditorPriority.builtin
|
|
3730
3710
|
}, {
|
|
3731
3711
|
singlePerResource: true,
|
|
@@ -3777,7 +3757,7 @@ let ChatDebugResolverContribution = class ChatDebugResolverContribution {
|
|
|
3777
3757
|
constructor(editorResolverService) {
|
|
3778
3758
|
editorResolverService.registerEditor(`${ChatDebugEditorInput.RESOURCE.scheme}:**/**`, {
|
|
3779
3759
|
id: ChatDebugEditorInput.ID,
|
|
3780
|
-
label: ( localize(
|
|
3760
|
+
label: ( localize(13861, "Debug View")),
|
|
3781
3761
|
priority: RegisteredEditorPriority.exclusive
|
|
3782
3762
|
}, {
|
|
3783
3763
|
singlePerResource: true,
|
|
@@ -3816,13 +3796,13 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
3816
3796
|
this.experimentService.getTreatment(treatmentId).then(value => {
|
|
3817
3797
|
const node = {
|
|
3818
3798
|
id: "chatSidebar",
|
|
3819
|
-
title: ( localize(
|
|
3799
|
+
title: ( localize(13493, "Chat")),
|
|
3820
3800
|
type: "object",
|
|
3821
3801
|
properties: {
|
|
3822
3802
|
"chat.agent.maxRequests": {
|
|
3823
3803
|
type: "number",
|
|
3824
3804
|
markdownDescription: ( localize(
|
|
3825
|
-
|
|
3805
|
+
13863,
|
|
3826
3806
|
"The maximum number of requests to allow per-turn when using an agent. When the limit is reached, will ask to confirm to continue."
|
|
3827
3807
|
)),
|
|
3828
3808
|
default: value ?? 50,
|
|
@@ -3859,13 +3839,13 @@ let ChatAgentSettingContribution = class ChatAgentSettingContribution extends Di
|
|
|
3859
3839
|
this.experimentService.getTreatment("chatDefaultNewSessionMode").then(value => {
|
|
3860
3840
|
const node = {
|
|
3861
3841
|
id: "chatSidebar",
|
|
3862
|
-
title: ( localize(
|
|
3842
|
+
title: ( localize(13493, "Chat")),
|
|
3863
3843
|
type: "object",
|
|
3864
3844
|
properties: {
|
|
3865
3845
|
[ChatConfiguration.DefaultNewSessionMode]: {
|
|
3866
3846
|
type: "string",
|
|
3867
3847
|
description: ( localize(
|
|
3868
|
-
|
|
3848
|
+
13698,
|
|
3869
3849
|
"The default mode for new chat sessions. When empty, the chat view's default mode is used."
|
|
3870
3850
|
)),
|
|
3871
3851
|
default: typeof value === "string" ? value : ""
|
|
@@ -4040,7 +4020,7 @@ let ToolReferenceNamesContribution = class ToolReferenceNamesContribution extend
|
|
|
4040
4020
|
for (const tool of tools) {
|
|
4041
4021
|
toolReferenceNameEnumValues.push(tool.toolReferenceName);
|
|
4042
4022
|
toolReferenceNameEnumDescriptions.push(( localize(
|
|
4043
|
-
|
|
4023
|
+
13864,
|
|
4044
4024
|
"{0} - {1}",
|
|
4045
4025
|
tool.toolReferenceName,
|
|
4046
4026
|
tool.userDescription || tool.displayName
|
|
@@ -4071,7 +4051,10 @@ AccessibleViewRegistry.register(( new EditsChatAccessibilityHelp()));
|
|
|
4071
4051
|
AccessibleViewRegistry.register(( new AgentChatAccessibilityHelp()));
|
|
4072
4052
|
AccessibleViewRegistry.register(( new ChatFindAccessibilityHelp()));
|
|
4073
4053
|
AccessibleViewRegistry.register(( new ChatPetAchievementsAccessibilityHelp()));
|
|
4054
|
+
AccessibleViewRegistry.register(( new ChatPetJumpGameAccessibleView(AccessibleViewType.Help)));
|
|
4055
|
+
AccessibleViewRegistry.register(( new ChatPetJumpGameAccessibleView(AccessibleViewType.View)));
|
|
4074
4056
|
registerEditorFeature(ChatInputBoxContentProvider);
|
|
4057
|
+
registerEditorFeature(ChatInputSessionLinkProvider);
|
|
4075
4058
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(ChatEditorInput.TypeID, ChatEditorInputSerializer);
|
|
4076
4059
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(ChatDebugEditorInput.ID, ChatDebugEditorInputSerializer);
|
|
4077
4060
|
registerWorkbenchContribution2(
|
|
@@ -4119,6 +4102,16 @@ registerWorkbenchContribution2(
|
|
|
4119
4102
|
ChatSlashCommandsContribution,
|
|
4120
4103
|
WorkbenchPhase.Eventually
|
|
4121
4104
|
);
|
|
4105
|
+
registerWorkbenchContribution2(
|
|
4106
|
+
BtwSlashCommandContribution.ID,
|
|
4107
|
+
BtwSlashCommandContribution,
|
|
4108
|
+
WorkbenchPhase.Eventually
|
|
4109
|
+
);
|
|
4110
|
+
registerWorkbenchContribution2(
|
|
4111
|
+
EditorSideChatProviderContribution.ID,
|
|
4112
|
+
EditorSideChatProviderContribution,
|
|
4113
|
+
WorkbenchPhase.Eventually
|
|
4114
|
+
);
|
|
4122
4115
|
registerWorkbenchContribution2(
|
|
4123
4116
|
ChatSessionOptionSlashCommandsContribution.ID,
|
|
4124
4117
|
ChatSessionOptionSlashCommandsContribution,
|
|
@@ -4411,4 +4404,7 @@ agentPluginDiscoveryRegistry.register(( new SyncDescriptor(ConfiguredAgentPlugin
|
|
|
4411
4404
|
agentPluginDiscoveryRegistry.register(( new SyncDescriptor(MarketplaceAgentPluginDiscovery)), AgentPluginDiscoveryPriority.Marketplace);
|
|
4412
4405
|
agentPluginDiscoveryRegistry.register(( new SyncDescriptor(ExtensionAgentPluginDiscovery)), AgentPluginDiscoveryPriority.Extension);
|
|
4413
4406
|
agentPluginDiscoveryRegistry.register(( new SyncDescriptor(CopilotCliAgentPluginDiscovery)), AgentPluginDiscoveryPriority.CopilotCli);
|
|
4407
|
+
registerAction2(ContinueAgentHostChatInCopilotAction);
|
|
4414
4408
|
ChatWidget.CONTRIBS.push(ChatDynamicVariableModel);
|
|
4409
|
+
ChatWidget.CONTRIBS.push(EditorResponseSelectionSideChatContribution);
|
|
4410
|
+
registerAction2(AskSelectionInSideChatAction);
|