@codingame/monaco-vscode-chat-service-override 37.6.1 → 38.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 +64 -2
- package/index.js +3 -3
- package/package.json +5 -5
- package/session.js +5 -1
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +13 -2
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +164 -12
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.d.ts +4 -2
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.js +8 -2
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +34 -4
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +345 -48
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.d.ts +135 -0
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.js +510 -0
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +4 -1
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +12 -2
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +2 -11
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +14 -27
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.js +43 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +158 -73
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.js +26 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.d.ts +273 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.js +61 -0
- package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.d.ts +3 -0
- package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.js +30 -0
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +8 -8
- package/vscode/src/vs/platform/agentHost/common/meta/agentHostChatInputState.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.js +17 -0
- package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.js +48 -0
- package/vscode/src/vs/platform/agentHost/common/meta/{agentCustomizationMeta.js → vscode/agentCustomizationMeta.js} +2 -2
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentHostChatInputState.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentHostChatInputState.js +16 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelConfigurationMeta.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelConfigurationMeta.js +20 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelPricing.js +141 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.js +25 -0
- 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 +11 -0
- package/vscode/src/vs/platform/agentHost/common/meta/{clientPluginCustomizationMeta.d.ts → vscode/clientPluginCustomizationMeta.d.ts} +10 -0
- package/vscode/src/vs/platform/agentHost/common/meta/{clientPluginCustomizationMeta.js → vscode/clientPluginCustomizationMeta.js} +7 -1
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +35 -24
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +85 -20
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.d.ts +440 -0
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.service.d.ts +104 -0
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.d.ts +48 -0
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.js +238 -0
- package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.d.ts +35 -0
- package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.js +49 -0
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.js +13 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.d.ts +102 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.js +260 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.d.ts +102 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.js +115 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.d.ts +46 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.js +92 -0
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.d.ts +22 -0
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.js +158 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +4 -2
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +12 -5
- package/vscode/src/vs/platform/otel/common/chatUserInteraction.d.ts +20 -0
- package/vscode/src/vs/platform/otel/common/chatUserInteraction.js +45 -0
- package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.d.ts +1 -4
- package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.js +0 -9
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.d.ts +1 -4
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.js +0 -15
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxCommandRules.d.ts +1 -1
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.d.ts +6 -24
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.js +51 -109
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.d.ts +1 -1
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxRuntimeConfigurationPerOperation.d.ts +1 -1
- 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 +1 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.js +11 -10
- package/vscode/src/vs/sessions/contrib/chat/browser/branchChatSessionAction.js +2 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/btwSlashCommand.contribution.js +6 -6
- package/vscode/src/vs/sessions/contrib/chat/browser/chat.contribution.js +460 -94
- package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.d.ts +35 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.js +652 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSession.d.ts +9 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.d.ts +11 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.js +118 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionFolderQuickPickAction.js +4 -4
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionOnboardingTargets.d.ts +7 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionOnboardingTargets.js +36 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.d.ts +26 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.js +145 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.d.ts +1 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.js +24 -6
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptAction.js +94 -89
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptCustomTaskWidget.js +21 -21
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.d.ts +0 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.js +28 -29
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.d.ts +7 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.js +501 -107
- package/vscode/src/vs/sessions/contrib/chat/browser/voiceBridge.contribution.js +5 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/workbenchSessionTaskRunner.d.ts +3 -3
- package/vscode/src/vs/sessions/contrib/chat/browser/workbenchSessionTaskRunner.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.d.ts +8 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.js +214 -17
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettings.contribution.js +16 -9
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettings.contribution.js +7 -6
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatPhoneInputPresenter.js +226 -0
- 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 +11 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.js +122 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.d.ts +67 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.js +695 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.d.ts +4 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.js +39 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessions.contribution.js +39 -22
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.d.ts +1 -19
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.js +42 -158
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.d.ts +87 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.js +176 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.d.ts +422 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.js +2444 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.d.ts +91 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.js +620 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.d.ts +5 -4
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.js +21 -12
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHost.contribution.js +2 -11
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.d.ts +46 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.js +321 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.d.ts +104 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.js +345 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.d.ts +14 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.js +20 -3
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.d.ts +7 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.js +8 -12
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.d.ts +8 -4
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.js +88 -84
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/manageRemoteAgentHosts.js +74 -20
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/managedReconnectAgentHostContribution.js +2 -2
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostFilter.css +34 -19
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostPickerSheet.css +35 -3
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.d.ts +37 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.js +305 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.d.ts +4 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.js +75 -20
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.d.ts +1 -80
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.js +19 -548
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.d.ts +4 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.js +218 -122
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.d.ts +5 -4
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.js +43 -8
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/wslAgentHost.contribution.js +1 -1
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/media/sessionWorktreeCleanupEditor.css +223 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionStorageCleanupConfiguration.d.ts +2 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionStorageCleanupConfiguration.js +16 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.d.ts +15 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.js +49 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.d.ts +66 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.js +458 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.d.ts +13 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.js +35 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.d.ts +15 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.js +37 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/mobile/mobileOverlayContribution.js +4 -4
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.d.ts +1 -1
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.js +5 -1
- package/vscode/src/vs/sessions/skills/create-draft-pr/SKILL.md +1 -1
- package/vscode/src/vs/sessions/skills/create-pr/SKILL.md +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +1 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +56 -31
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +21 -21
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +3 -3
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +3 -3
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +6 -6
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +14 -14
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +11 -11
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +9 -9
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +5 -5
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +30 -29
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +44 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatBackgroundShellOutputAccessibleView.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatBackgroundShellOutputAccessibleView.js +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +85 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatTerminalOutputAccessibleView.js +33 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +318 -103
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +60 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +41 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +49 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +5 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +15 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +16 -15
- 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 +24 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +44 -31
- 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/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 +22 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +180 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +82 -69
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +32 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +37 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +53 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.js +144 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +88 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.js +642 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFirstResponseTelemetry.d.ts +118 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFirstResponseTelemetry.js +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.js +49 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +21 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +38 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.js +415 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.js +124 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.js +116 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
- 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.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRemoteByokNotification.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.d.ts +14 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +286 -126
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.js +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.js +94 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.js +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +52 -88
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +1030 -349
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.d.ts +20 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +722 -114
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +88 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +16 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +87 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +1 -1
- 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/agentHostSignedOutModelsNotification.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +12 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +191 -60
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.js +27 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.d.ts +2 -0
- 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.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuation.contribution.js +127 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.js +415 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationPresenter.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationPresenter.js +160 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +122 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +22 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +74 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +89 -68
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +25 -25
- 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/agentSessions/localAgentSessionsController.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +50 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.js +122 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.d.ts +81 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +213 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +136 -100
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationUrlHandler.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationUrlHandler.js +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.d.ts +139 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.js +944 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.js +119 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.js +1485 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallationAssociation.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallationAssociation.js +48 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.js +213 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +19 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.d.ts +6 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +87 -263
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.js +217 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.js +605 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.d.ts +11 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.js +377 -184
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +753 -617
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +118 -40
- 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/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +3 -3
- 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 +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +47 -42
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +29 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.js +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +10 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +11 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +10 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +24 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +16 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.d.ts +12 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +52 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +17 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.js +136 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +52 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +71 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.d.ts +12 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +104 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +84 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.js +221 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.js +72 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +4 -2
- 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/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +52 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +65 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.js +213 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +5 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +93 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +54 -55
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +51 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.js +230 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +30 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.js +88 -0
- 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.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/editorChatUsage.contribution.js +121 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.js +192 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyPromptContribution.js +11 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatPetAchievements.css +232 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.js +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +11 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.js +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +13 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +250 -92
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +39 -47
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -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.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/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 +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +1 -1
- 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/cloudSandboxAgentHostService.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.js +561 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.d.ts +133 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.js +1176 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.js +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.d.ts +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.js +220 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.js +184 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.js +165 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.js +162 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.js +129 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.d.ts +166 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.js +838 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.js +604 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.js +251 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.d.ts +289 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.js +497 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.js +277 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.js +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.js +178 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.d.ts +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.js +398 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.js +296 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js +96 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.js +559 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.js +26 -0
- package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostCustomizationHarness.d.ts +1 -1
- package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostCustomizationHarness.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +26 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +45 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatUpdateRequiredView.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatUpdateRequiredView.js +110 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +39 -35
- 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.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +68 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +16 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +23 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +7 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/all_/_.png.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-insiders-96.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-insiders-96.spritesheet.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-stable-96.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-stable-96.spritesheet.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +15 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +17 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +122 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +46 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css +18 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +24 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +406 -193
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/modelPickerTryout.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/modelPickerTryout.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/newSessionPickerTryout.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/newSessionPickerTryout.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +17 -22
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +455 -237
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +25 -17
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +11 -14
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +156 -155
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.js +225 -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 +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +65 -9
- 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/chatArtifactsService.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.js +11 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +46 -24
- package/vscode/src/vs/workbench/contrib/github/browser/githubCommitResolver.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/github/browser/githubCommitResolver.js +92 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +22 -15
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.js +1 -1
- 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/onboarding/browser/onboarding.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/spotlightStep.d.ts +10 -0
- 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/terminalChatSessionResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.js +3 -25
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +6 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +4 -5
- 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 +12 -12
- 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/commandLineRewriter/commandLineSandboxRewriter.js +1 -1
- 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 +4 -4
- 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.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +79 -82
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +3 -3
- 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.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +103 -26
- 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/browser/treeSitterCommandParser.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.js +8 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +1 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +16 -60
- package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +3 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.js +1 -1
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuation.d.ts +31 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuation.js +86 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuationService.d.ts +76 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuationService.js +409 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +14 -2
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +56 -7
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.d.ts +0 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.js +0 -19
- package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.d.ts +0 -24
- package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.js +0 -13
- package/vscode/src/vs/platform/agentHost/common/agentModelPricing.js +0 -53
- package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.d.ts +0 -53
- package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.js +0 -45
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +0 -108
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.js +0 -15
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/branchPicker.d.ts +0 -31
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/branchPicker.js +0 -150
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/mobilePermissionPicker.contribution.js +0 -37
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/sandboxPicker.d.ts +0 -26
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/sandboxPicker.js +0 -86
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +0 -241
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.d.ts +0 -142
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.js +0 -746
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.d.ts +0 -164
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.js +0 -485
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.d.ts +0 -137
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js +0 -714
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentOpenChat.css +0 -379
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.d.ts +0 -219
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +0 -222
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.d.ts +0 -16
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +0 -39
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentChatSurfaceMeta.d.ts → vscode/agentChatSurfaceMeta.d.ts} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentChatSurfaceMeta.js → vscode/agentChatSurfaceMeta.js} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentCustomizationMeta.d.ts → vscode/agentCustomizationMeta.d.ts} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentEphemeralSessionMeta.d.ts → vscode/agentEphemeralSessionMeta.d.ts} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentEphemeralSessionMeta.js → vscode/agentEphemeralSessionMeta.js} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/{agentModelPricing.d.ts → meta/vscode/agentModelPricing.d.ts} +0 -0
- /package/vscode/src/vs/sessions/contrib/providers/{copilotChatSessions/browser/mobilePermissionPicker.contribution.d.ts → agentHost/browser/mobile/mobileChatPhoneInputPresenter.d.ts} +0 -0
- /package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostLogForwarder.d.ts +0 -0
- /package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostLogForwarder.js +0 -0
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
4
|
+
import { encodeHex, VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
|
|
4
5
|
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
5
6
|
import { Iterable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/iterator';
|
|
6
7
|
import { parse } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
|
|
7
8
|
import { untildify } from '@codingame/monaco-vscode-api/vscode/vs/base/common/labels';
|
|
8
|
-
import { Disposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
9
|
+
import { Disposable, DisposableStore, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
10
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
9
11
|
import { equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
|
|
10
12
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
11
|
-
import {
|
|
12
|
-
import { joinPath, isEqual, basename, isEqualOrParent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
13
|
+
import { joinPath, isEqual, basename, isEqualOrParent, dirname, extUriBiasedIgnorePathCase } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
13
14
|
import { hasKey } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
|
|
14
|
-
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
15
15
|
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
16
16
|
import { ConfigurationTarget, getConfigValueInTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration';
|
|
17
17
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
18
|
+
import { toFileOperationResult, FileOperationResult, FileChangeType } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
|
|
18
19
|
import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
|
|
19
20
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
20
21
|
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
21
22
|
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
22
23
|
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
24
|
+
import { COPILOT_CLI_AGENT_PROVIDER_ID } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agent';
|
|
25
|
+
import { IAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service';
|
|
23
26
|
import { observableConfigValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/observable/common/platformObservableUtils';
|
|
24
|
-
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
25
27
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
26
28
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
27
29
|
import { IDialogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
@@ -31,22 +33,24 @@ import { detectPluginFormat, readPluginManifest, getPluginManifestComponent, res
|
|
|
31
33
|
export { convertBareEnvVarsToVsCodeSyntax, resolveMcpServersMap, shellQuotePluginRootInCommand } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentPlugins/common/pluginParsers';
|
|
32
34
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionFeatures';
|
|
33
35
|
import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
|
|
34
|
-
import
|
|
36
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService';
|
|
35
37
|
import { ChatConfiguration } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
36
|
-
import { EnablementModel, ContributionEnablementState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/enablement';
|
|
37
38
|
import { AUTOMATION_BLUEPRINT_FILE_SUFFIX, parseAutomationBlueprint } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/automations/automationBlueprint';
|
|
38
39
|
import { HookType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/hookTypes';
|
|
39
|
-
import { getCanonicalAgentPluginCollisionGroups, isAgentPluginBlockedByPolicy, AgentPluginCollisionEnablementModel, getSortedAgentPlugins, getAgentPluginPolicyId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement';
|
|
40
|
+
import { getAgentPluginPolicyEnablement, getCanonicalAgentPluginCollisionGroups, isAgentPluginBlockedByPolicy, isAgentPluginForceEnabledByPolicy, AgentPluginCollisionEnablementModel, getSortedAgentPlugins, getAgentPluginPolicyId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement';
|
|
41
|
+
import { IAgentPluginEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.service';
|
|
40
42
|
import { IAgentPluginRepositoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service';
|
|
41
43
|
import { agentPluginDiscoveryRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginService';
|
|
44
|
+
import { IPluginInstallService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginInstallService.service';
|
|
42
45
|
import { IPluginMarketplaceService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/pluginMarketplaceService.service';
|
|
43
|
-
import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
|
|
44
46
|
import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
|
|
45
47
|
import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValue';
|
|
46
48
|
import { derived, derivedOpts } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/derived';
|
|
47
49
|
import { ObservablePromise } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils/promise';
|
|
48
50
|
import { observableSignal } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableSignal';
|
|
51
|
+
import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
|
|
49
52
|
import { transaction } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/transaction';
|
|
53
|
+
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/platform/path/common/pathService.service';
|
|
50
54
|
|
|
51
55
|
function toAgentPluginHooks(groups) {
|
|
52
56
|
return groups.filter(g => ( Object.values(HookType)).includes(g.type)).map(g => ({
|
|
@@ -63,9 +67,13 @@ function resolveWorkspaceRoot(pluginUri, workspaceContextService) {
|
|
|
63
67
|
return folder?.uri;
|
|
64
68
|
}
|
|
65
69
|
let AgentPluginService = class AgentPluginService extends Disposable {
|
|
66
|
-
constructor(
|
|
70
|
+
constructor(
|
|
71
|
+
instantiationService,
|
|
72
|
+
configurationService,
|
|
73
|
+
baseEnablementModel,
|
|
74
|
+
logService
|
|
75
|
+
) {
|
|
67
76
|
super();
|
|
68
|
-
const baseEnablementModel = this._register(( new EnablementModel("agentPlugins.enablement", storageService)));
|
|
69
77
|
const pluginsEnabled = observableConfigValue(ChatConfiguration.PluginsEnabled, true, configurationService);
|
|
70
78
|
const discoveries = [];
|
|
71
79
|
for (const registration of agentPluginDiscoveryRegistry.getAll()) {
|
|
@@ -81,6 +89,24 @@ let AgentPluginService = class AgentPluginService extends Disposable {
|
|
|
81
89
|
configurationService.onDidChangeConfiguration,
|
|
82
90
|
e => e.affectsConfiguration(ChatConfiguration.EnabledPlugins)
|
|
83
91
|
), () => configurationService.inspect(ChatConfiguration.EnabledPlugins).policyValue);
|
|
92
|
+
const policyEnablement = derived(reader => {
|
|
93
|
+
const discoveredPlugins = readDiscoveredAgentPlugins(discoveries, reader);
|
|
94
|
+
const policy = enabledPluginsPolicy.read(reader);
|
|
95
|
+
const result = ( new Map());
|
|
96
|
+
if (discoveredPlugins && policy) {
|
|
97
|
+
for (const {
|
|
98
|
+
plugins
|
|
99
|
+
} of discoveredPlugins) {
|
|
100
|
+
for (const plugin of plugins) {
|
|
101
|
+
const policyValue = getAgentPluginPolicyEnablement(plugin, policy);
|
|
102
|
+
if (policyValue !== undefined) {
|
|
103
|
+
result.set(( plugin.uri.toString()), policyValue);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return result;
|
|
109
|
+
});
|
|
84
110
|
const collisionGroups = derived(reader => {
|
|
85
111
|
if (!pluginsEnabled.read(reader)) {
|
|
86
112
|
return ( new Map());
|
|
@@ -90,9 +116,13 @@ let AgentPluginService = class AgentPluginService extends Disposable {
|
|
|
90
116
|
return ( new Map());
|
|
91
117
|
}
|
|
92
118
|
const policy = enabledPluginsPolicy.read(reader);
|
|
93
|
-
return getCanonicalAgentPluginCollisionGroups(
|
|
119
|
+
return getCanonicalAgentPluginCollisionGroups(
|
|
120
|
+
discoveredPlugins,
|
|
121
|
+
plugin => isAgentPluginBlockedByPolicy(plugin, policy),
|
|
122
|
+
plugin => isAgentPluginForceEnabledByPolicy(plugin, policy)
|
|
123
|
+
);
|
|
94
124
|
});
|
|
95
|
-
this.enablementModel = ( new AgentPluginCollisionEnablementModel(baseEnablementModel, collisionGroups));
|
|
125
|
+
this.enablementModel = ( new AgentPluginCollisionEnablementModel(baseEnablementModel, collisionGroups, policyEnablement));
|
|
96
126
|
for (const {
|
|
97
127
|
discovery
|
|
98
128
|
} of discoveries) {
|
|
@@ -113,10 +143,10 @@ let AgentPluginService = class AgentPluginService extends Disposable {
|
|
|
113
143
|
const policy = enabledPluginsPolicy.read(reader);
|
|
114
144
|
transaction(tx => {
|
|
115
145
|
for (const plugin of plugins) {
|
|
116
|
-
const
|
|
117
|
-
if (
|
|
146
|
+
const policyValue = getAgentPluginPolicyEnablement(plugin, policy);
|
|
147
|
+
if (setPolicyEnablement(plugin, policyValue, tx) && policyValue !== undefined) {
|
|
118
148
|
logService.debug(
|
|
119
|
-
`[AgentPluginService] Plugin '${getAgentPluginPolicyId(plugin) ?? ( plugin.uri.toString())}'
|
|
149
|
+
`[AgentPluginService] Plugin '${getAgentPluginPolicyId(plugin) ?? ( plugin.uri.toString())}' ${policyValue ? "enabled" : "disabled"} by ChatEnabledPlugins policy`
|
|
120
150
|
);
|
|
121
151
|
}
|
|
122
152
|
}
|
|
@@ -124,7 +154,7 @@ let AgentPluginService = class AgentPluginService extends Disposable {
|
|
|
124
154
|
}));
|
|
125
155
|
}
|
|
126
156
|
};
|
|
127
|
-
AgentPluginService = ( __decorate([( __param(0, IInstantiationService)), ( __param(1, IConfigurationService)), ( __param(2,
|
|
157
|
+
AgentPluginService = ( __decorate([( __param(0, IInstantiationService)), ( __param(1, IConfigurationService)), ( __param(2, IAgentPluginEnablementService)), ( __param(3, ILogService))], AgentPluginService));
|
|
128
158
|
function readDiscoveredAgentPlugins(discoveries, reader) {
|
|
129
159
|
const result = [];
|
|
130
160
|
for (const {
|
|
@@ -144,13 +174,13 @@ function readDiscoveredAgentPlugins(discoveries, reader) {
|
|
|
144
174
|
}
|
|
145
175
|
return result;
|
|
146
176
|
}
|
|
147
|
-
function
|
|
148
|
-
const obs = plugin.
|
|
177
|
+
function setPolicyEnablement(plugin, policyValue, tx) {
|
|
178
|
+
const obs = plugin.policyEnablement;
|
|
149
179
|
if (obs && typeof obs.set === "function") {
|
|
150
|
-
if (obs.get() ===
|
|
180
|
+
if (obs.get() === policyValue) {
|
|
151
181
|
return false;
|
|
152
182
|
}
|
|
153
|
-
obs.set(
|
|
183
|
+
obs.set(policyValue, tx);
|
|
154
184
|
return true;
|
|
155
185
|
}
|
|
156
186
|
return false;
|
|
@@ -196,7 +226,9 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
196
226
|
source.uri,
|
|
197
227
|
format,
|
|
198
228
|
source.fromMarketplace,
|
|
229
|
+
source.copilotCliInstallation,
|
|
199
230
|
source.repositoryUri,
|
|
231
|
+
source.watchPluginContents !== false,
|
|
200
232
|
source.remove,
|
|
201
233
|
version
|
|
202
234
|
);
|
|
@@ -216,22 +248,23 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
216
248
|
_isCurrentRefresh(version) {
|
|
217
249
|
return version === this._discoverVersion && !this._store.isDisposed;
|
|
218
250
|
}
|
|
219
|
-
async
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
251
|
+
async _toPlugin(
|
|
252
|
+
uri,
|
|
253
|
+
format,
|
|
254
|
+
fromMarketplace,
|
|
255
|
+
copilotCliInstallation,
|
|
256
|
+
repositoryUri,
|
|
257
|
+
watchPluginContents,
|
|
258
|
+
removeCallback,
|
|
259
|
+
version
|
|
260
|
+
) {
|
|
228
261
|
const key = ( uri.toString());
|
|
229
262
|
const existing = this._pluginEntries.get(key);
|
|
230
263
|
if (existing) {
|
|
231
264
|
if (!this._isCurrentRefresh(version)) {
|
|
232
265
|
return existing.plugin;
|
|
233
266
|
}
|
|
234
|
-
if (existing.format.format !== format.format) {
|
|
267
|
+
if (!watchPluginContents || existing.format.format !== format.format) {
|
|
235
268
|
existing.store.dispose();
|
|
236
269
|
this._pluginEntries.delete(key);
|
|
237
270
|
} else {
|
|
@@ -240,10 +273,9 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
240
273
|
}
|
|
241
274
|
}
|
|
242
275
|
const store = ( new DisposableStore());
|
|
243
|
-
const
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
);
|
|
276
|
+
const policyEnablement = observableValue("policyEnablement", undefined);
|
|
277
|
+
const policyBlocked = derived(reader => policyEnablement.read(reader) === false);
|
|
278
|
+
const enablement = derived(r => this._enablementModel.readEnabled(key, r));
|
|
247
279
|
const initialManifest = await readPluginManifest(uri, format, this._fileService);
|
|
248
280
|
const manifest = observableValue("agentPluginManifest", initialManifest);
|
|
249
281
|
const pluginVersion = derived(reader => {
|
|
@@ -276,13 +308,15 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
276
308
|
}
|
|
277
309
|
}
|
|
278
310
|
const dirs = resolvePluginComponentDirs(uri, format, prop, defaultPath, section, repositoryUri);
|
|
279
|
-
|
|
280
|
-
const
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
311
|
+
if (watchPluginContents) {
|
|
312
|
+
for (const d of dirs) {
|
|
313
|
+
const watcher = this._fileService.createWatcher(d, {
|
|
314
|
+
recursive: false,
|
|
315
|
+
excludes: []
|
|
316
|
+
});
|
|
317
|
+
reader.store.add(watcher);
|
|
318
|
+
reader.store.add(watcher.onDidChange(() => changeTrigger.trigger(undefined)));
|
|
319
|
+
}
|
|
286
320
|
}
|
|
287
321
|
return {
|
|
288
322
|
kind: "dirs",
|
|
@@ -329,6 +363,11 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
329
363
|
);
|
|
330
364
|
const readManifest = async () => {
|
|
331
365
|
try {
|
|
366
|
+
const stat = await this._fileService.resolve(uri);
|
|
367
|
+
if (!stat.isDirectory) {
|
|
368
|
+
await this._refreshPlugins();
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
332
371
|
const latestFormat = await detectPluginFormat(uri, this._fileService);
|
|
333
372
|
if (latestFormat.format !== format.format) {
|
|
334
373
|
await this._refreshPlugins();
|
|
@@ -336,27 +375,33 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
336
375
|
}
|
|
337
376
|
manifest.set(await readPluginManifest(uri, format, this._fileService), undefined);
|
|
338
377
|
} catch (error) {
|
|
378
|
+
if (toFileOperationResult(error) === FileOperationResult.FILE_NOT_FOUND) {
|
|
379
|
+
await this._refreshPlugins();
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
339
382
|
manifest.set(undefined, undefined);
|
|
340
383
|
this._logService.warn(`[AgentPluginDiscovery] Rejected updated plugin '${( uri.toString())}': ${error instanceof Error ? error.message : String(error)}`);
|
|
341
384
|
}
|
|
342
385
|
};
|
|
343
386
|
const agentManifestUri = joinPath(uri, "plugin.json");
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
387
|
+
if (watchPluginContents) {
|
|
388
|
+
const rootWatcher = this._fileService.createWatcher(uri, {
|
|
389
|
+
recursive: false,
|
|
390
|
+
excludes: []
|
|
391
|
+
});
|
|
392
|
+
store.add(rootWatcher);
|
|
393
|
+
store.add(rootWatcher.onDidChange(change => {
|
|
394
|
+
if (change.affects(agentManifestUri)) {
|
|
395
|
+
void readManifest();
|
|
396
|
+
}
|
|
397
|
+
}));
|
|
398
|
+
}
|
|
354
399
|
store.add(this._fileService.onDidRunOperation(event => {
|
|
355
400
|
if (isEqual(event.resource, agentManifestUri)) {
|
|
356
401
|
void readManifest();
|
|
357
402
|
}
|
|
358
403
|
}));
|
|
359
|
-
if (!isEqual(manifestUri, agentManifestUri)) {
|
|
404
|
+
if (watchPluginContents && !isEqual(manifestUri, agentManifestUri)) {
|
|
360
405
|
const manifestWatcher = this._fileService.createWatcher(manifestUri, {
|
|
361
406
|
recursive: false,
|
|
362
407
|
excludes: []
|
|
@@ -371,6 +416,7 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
371
416
|
label: fromMarketplace?.name ?? manifestName ?? basename(uri),
|
|
372
417
|
version: pluginVersion,
|
|
373
418
|
enablement,
|
|
419
|
+
policyEnablement,
|
|
374
420
|
policyBlocked,
|
|
375
421
|
remove: removeCallback,
|
|
376
422
|
hooks,
|
|
@@ -380,7 +426,8 @@ class AbstractAgentPluginDiscovery extends Disposable {
|
|
|
380
426
|
instructions,
|
|
381
427
|
mcpServerDefinitions,
|
|
382
428
|
automations,
|
|
383
|
-
fromMarketplace
|
|
429
|
+
fromMarketplace,
|
|
430
|
+
copilotCliInstallation
|
|
384
431
|
};
|
|
385
432
|
if (this._isCurrentRefresh(version)) {
|
|
386
433
|
this._pluginEntries.set(key, {
|
|
@@ -519,54 +566,35 @@ let ConfiguredAgentPluginDiscovery = class ConfiguredAgentPluginDiscovery extend
|
|
|
519
566
|
this._configurationService = _configurationService;
|
|
520
567
|
this._pluginMarketplaceService = _pluginMarketplaceService;
|
|
521
568
|
this._pluginLocationsConfig = observableConfigValue(ChatConfiguration.PluginLocations, {}, _configurationService);
|
|
522
|
-
this._enterpriseEnabledPluginsConfig = observableFromEvent(this, Event.filter(
|
|
523
|
-
this._configurationService.onDidChangeConfiguration,
|
|
524
|
-
e => e.affectsConfiguration(ChatConfiguration.EnabledPlugins)
|
|
525
|
-
), () => {
|
|
526
|
-
const inspected = this._configurationService.inspect(ChatConfiguration.EnabledPlugins);
|
|
527
|
-
return {
|
|
528
|
-
...inspected.defaultValue,
|
|
529
|
-
...inspected.userValue,
|
|
530
|
-
...inspected.policyValue
|
|
531
|
-
};
|
|
532
|
-
});
|
|
533
569
|
}
|
|
534
570
|
start(enablementModel) {
|
|
535
571
|
this._enablementModel = enablementModel;
|
|
536
572
|
const scheduler = this._register(( new RunOnceScheduler(() => this._refreshPlugins(), 0)));
|
|
537
573
|
this._register(autorun(reader => {
|
|
538
574
|
this._pluginLocationsConfig.read(reader);
|
|
539
|
-
this._enterpriseEnabledPluginsConfig.read(reader);
|
|
540
575
|
scheduler.schedule();
|
|
541
576
|
}));
|
|
542
577
|
scheduler.schedule();
|
|
543
578
|
}
|
|
544
579
|
async _discoverPluginSources() {
|
|
545
580
|
const sources = [];
|
|
546
|
-
const userHome = await this.
|
|
581
|
+
const userHome = await this._pathService.userHome();
|
|
582
|
+
const copilotCliRoot = joinPath(userHome, COPILOT_CLI_INSTALLED_PLUGINS_DIR);
|
|
547
583
|
for (const [key, enabled] of Object.entries(this._pluginLocationsConfig.get())) {
|
|
548
584
|
const trimmed = key.trim();
|
|
549
585
|
if (!trimmed || enabled === false) {
|
|
550
586
|
continue;
|
|
551
587
|
}
|
|
552
|
-
for (const resource of this._resolvePluginPath(trimmed, userHome)) {
|
|
588
|
+
for (const resource of await this._resolvePluginPath(trimmed, userHome)) {
|
|
589
|
+
if (isEqualOrParent(resource, copilotCliRoot)) {
|
|
590
|
+
this._logService.debug(
|
|
591
|
+
`[ConfiguredAgentPluginDiscovery] Skipping redundant Copilot CLI cache path: ${( resource.toString())}`
|
|
592
|
+
);
|
|
593
|
+
continue;
|
|
594
|
+
}
|
|
553
595
|
await this._addPluginSource(sources, resource, "plugin path", () => this._removePluginPath(key));
|
|
554
596
|
}
|
|
555
597
|
}
|
|
556
|
-
for (const [key, enabled] of Object.entries(this._enterpriseEnabledPluginsConfig.get())) {
|
|
557
|
-
const trimmed = key.trim();
|
|
558
|
-
if (!trimmed || enabled === false) {
|
|
559
|
-
continue;
|
|
560
|
-
}
|
|
561
|
-
const resource = this._resolveEnterprisePluginId(trimmed, userHome);
|
|
562
|
-
if (!resource) {
|
|
563
|
-
this._logService.debug(
|
|
564
|
-
`[ConfiguredAgentPluginDiscovery] Skipping enterprise plugin entry that is not in <plugin>@<marketplace> form: ${trimmed}`
|
|
565
|
-
);
|
|
566
|
-
continue;
|
|
567
|
-
}
|
|
568
|
-
await this._addPluginSource(sources, resource, "enterprise plugin path");
|
|
569
|
-
}
|
|
570
598
|
return sources;
|
|
571
599
|
}
|
|
572
600
|
async _addPluginSource(sources, resource, label, remove) {
|
|
@@ -591,26 +619,21 @@ let ConfiguredAgentPluginDiscovery = class ConfiguredAgentPluginDiscovery extend
|
|
|
591
619
|
remove
|
|
592
620
|
});
|
|
593
621
|
}
|
|
594
|
-
async
|
|
595
|
-
const
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
if (path.startsWith("~")) {
|
|
600
|
-
path = untildify(path, userHome);
|
|
622
|
+
async _resolvePluginPath(path, userHome) {
|
|
623
|
+
const targetPath = await this._pathService.path;
|
|
624
|
+
if (/^~($|\/|\\)/.test(path)) {
|
|
625
|
+
const uri = await this._pathService.fileURI(untildify(path, userHome.path));
|
|
626
|
+
return [this._toTargetResource(uri, userHome)];
|
|
601
627
|
}
|
|
602
|
-
if (
|
|
603
|
-
|
|
628
|
+
if (targetPath.isAbsolute(path)) {
|
|
629
|
+
const uri = await this._pathService.fileURI(path);
|
|
630
|
+
return [this._toTargetResource(uri, userHome)];
|
|
604
631
|
}
|
|
605
|
-
|
|
632
|
+
const relativePath = targetPath.sep === "\\" ? path.replace(/\\/g, "/") : path;
|
|
633
|
+
return this._workspaceContextService.getWorkspace().folders.map(folder => joinPath(folder.uri, relativePath));
|
|
606
634
|
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
if (!idMatch) {
|
|
610
|
-
return undefined;
|
|
611
|
-
}
|
|
612
|
-
const [, plugin, marketplace] = idMatch;
|
|
613
|
-
return URI.file(`${userHome}/.copilot/installed-plugins/${marketplace}/${plugin}`);
|
|
635
|
+
_toTargetResource(uri, userHome) {
|
|
636
|
+
return toTargetResource(uri, userHome);
|
|
614
637
|
}
|
|
615
638
|
async _removePluginPath(configKey) {
|
|
616
639
|
const inspected = this._configurationService.inspect(ChatConfiguration.PluginLocations);
|
|
@@ -640,6 +663,7 @@ ConfiguredAgentPluginDiscovery = ( __decorate([( __param(0, IConfigurationServic
|
|
|
640
663
|
let MarketplaceAgentPluginDiscovery = class MarketplaceAgentPluginDiscovery extends AbstractAgentPluginDiscovery {
|
|
641
664
|
constructor(
|
|
642
665
|
_pluginMarketplaceService,
|
|
666
|
+
_pluginInstallService,
|
|
643
667
|
_pluginRepositoryService,
|
|
644
668
|
fileService,
|
|
645
669
|
pathService,
|
|
@@ -648,13 +672,33 @@ let MarketplaceAgentPluginDiscovery = class MarketplaceAgentPluginDiscovery exte
|
|
|
648
672
|
) {
|
|
649
673
|
super(fileService, pathService, logService, workspaceContextService);
|
|
650
674
|
this._pluginMarketplaceService = _pluginMarketplaceService;
|
|
675
|
+
this._pluginInstallService = _pluginInstallService;
|
|
651
676
|
this._pluginRepositoryService = _pluginRepositoryService;
|
|
652
677
|
}
|
|
653
678
|
start(enablementModel) {
|
|
654
679
|
this._enablementModel = enablementModel;
|
|
655
680
|
const scheduler = this._register(( new RunOnceScheduler(() => this._refreshPlugins(), 0)));
|
|
656
681
|
this._register(autorun(reader => {
|
|
657
|
-
this._pluginMarketplaceService.installedPlugins.read(reader);
|
|
682
|
+
const installed = this._pluginMarketplaceService.installedPlugins.read(reader);
|
|
683
|
+
const watchedParents = [];
|
|
684
|
+
for (const entry of installed) {
|
|
685
|
+
const parent = dirname(entry.pluginUri);
|
|
686
|
+
if (( watchedParents.some(candidate => isEqual(candidate, parent)))) {
|
|
687
|
+
continue;
|
|
688
|
+
}
|
|
689
|
+
watchedParents.push(parent);
|
|
690
|
+
const watcher = reader.store.add(this._fileService.createWatcher(parent, {
|
|
691
|
+
recursive: false,
|
|
692
|
+
excludes: []
|
|
693
|
+
}));
|
|
694
|
+
reader.store.add(watcher.onDidChange(change => {
|
|
695
|
+
if (( installed.some(
|
|
696
|
+
candidate => isEqual(dirname(candidate.pluginUri), parent) && change.affects(candidate.pluginUri)
|
|
697
|
+
))) {
|
|
698
|
+
scheduler.schedule();
|
|
699
|
+
}
|
|
700
|
+
}));
|
|
701
|
+
}
|
|
658
702
|
scheduler.schedule();
|
|
659
703
|
}));
|
|
660
704
|
scheduler.schedule();
|
|
@@ -685,174 +729,348 @@ let MarketplaceAgentPluginDiscovery = class MarketplaceAgentPluginDiscovery exte
|
|
|
685
729
|
repositoryUri,
|
|
686
730
|
remove: async () => {
|
|
687
731
|
this._enablementModel.remove(( stat.resource.toString()));
|
|
688
|
-
this.
|
|
689
|
-
const remaining = this._pluginMarketplaceService.installedPlugins.get();
|
|
690
|
-
this._pluginRepositoryService.cleanupPluginSource(entry.plugin, remaining.map(e => e.plugin.sourceDescriptor)).catch(error => {
|
|
691
|
-
this._logService.error(
|
|
692
|
-
"[MarketplaceAgentPluginDiscovery] Failed to clean up plugin source",
|
|
693
|
-
error
|
|
694
|
-
);
|
|
695
|
-
});
|
|
696
|
-
return true;
|
|
732
|
+
return this._pluginInstallService.uninstallPlugin(entry.pluginUri);
|
|
697
733
|
}
|
|
698
734
|
});
|
|
699
735
|
}
|
|
700
736
|
return sources;
|
|
701
737
|
}
|
|
702
738
|
};
|
|
703
|
-
MarketplaceAgentPluginDiscovery = ( __decorate([( __param(0, IPluginMarketplaceService)), ( __param(1,
|
|
739
|
+
MarketplaceAgentPluginDiscovery = ( __decorate([( __param(0, IPluginMarketplaceService)), ( __param(1, IPluginInstallService)), ( __param(2, IAgentPluginRepositoryService)), ( __param(3, IFileService)), ( __param(4, IPathService)), ( __param(5, ILogService)), ( __param(6, IWorkspaceContextService))], MarketplaceAgentPluginDiscovery));
|
|
704
740
|
const COPILOT_CLI_INSTALLED_PLUGINS_DIR = ".copilot/installed-plugins";
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
super(fileService, pathService, logService, workspaceContextService);
|
|
714
|
-
this._dialogService = _dialogService;
|
|
741
|
+
const COPILOT_CLI_CONFIG_FILE = ".copilot/config.json";
|
|
742
|
+
async function getCopilotCliDirectSourceId(source) {
|
|
743
|
+
const normalized = typeof source === "string" ? {
|
|
744
|
+
source: "github",
|
|
745
|
+
repo: source
|
|
746
|
+
} : source && typeof source === "object" && !Array.isArray(source) ? source : undefined;
|
|
747
|
+
if (!normalized) {
|
|
748
|
+
return undefined;
|
|
715
749
|
}
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
750
|
+
const field = name => {
|
|
751
|
+
const value = Reflect.get(normalized, name);
|
|
752
|
+
return typeof value === "string" ? value : "";
|
|
753
|
+
};
|
|
754
|
+
const kind = field("source");
|
|
755
|
+
let canonical;
|
|
756
|
+
if (kind === "github" || kind === "url") {
|
|
757
|
+
const descriptor = {
|
|
758
|
+
source: kind,
|
|
759
|
+
[kind === "github" ? "repo" : "url"]: field(kind === "github" ? "repo" : "url"),
|
|
760
|
+
ref: field("ref")
|
|
761
|
+
};
|
|
762
|
+
if (typeof Reflect.get(normalized, "sha") === "string") {
|
|
763
|
+
descriptor.sha = field("sha");
|
|
764
|
+
}
|
|
765
|
+
descriptor.path = field("path");
|
|
766
|
+
canonical = JSON.stringify(descriptor);
|
|
767
|
+
} else if (kind === "local") {
|
|
768
|
+
canonical = JSON.stringify({
|
|
769
|
+
source: kind,
|
|
770
|
+
path: field("path")
|
|
771
|
+
});
|
|
772
|
+
} else {
|
|
773
|
+
return undefined;
|
|
774
|
+
}
|
|
775
|
+
const digest = await crypto.subtle.digest("SHA-256", ( new TextEncoder()).encode(canonical));
|
|
776
|
+
return encodeHex(VSBuffer.wrap(( new Uint8Array(digest))));
|
|
777
|
+
}
|
|
778
|
+
function toCopilotCliPluginInstallSource(source) {
|
|
779
|
+
const normalized = typeof source === "string" ? {
|
|
780
|
+
source: "github",
|
|
781
|
+
repo: source
|
|
782
|
+
} : source && typeof source === "object" && !Array.isArray(source) ? source : undefined;
|
|
783
|
+
if (!normalized) {
|
|
784
|
+
return undefined;
|
|
785
|
+
}
|
|
786
|
+
const field = name => {
|
|
787
|
+
const value = Reflect.get(normalized, name);
|
|
788
|
+
return typeof value === "string" && value ? value : undefined;
|
|
789
|
+
};
|
|
790
|
+
const kind = field("source");
|
|
791
|
+
if (kind === "github") {
|
|
792
|
+
const repository = field("repo");
|
|
793
|
+
return repository ? {
|
|
794
|
+
kind,
|
|
795
|
+
repository,
|
|
796
|
+
ref: field("ref"),
|
|
797
|
+
sha: field("sha"),
|
|
798
|
+
path: field("path")
|
|
799
|
+
} : undefined;
|
|
800
|
+
}
|
|
801
|
+
if (kind === "url") {
|
|
802
|
+
const url = field("url");
|
|
803
|
+
return url ? {
|
|
804
|
+
kind,
|
|
805
|
+
url,
|
|
806
|
+
ref: field("ref"),
|
|
807
|
+
sha: field("sha"),
|
|
808
|
+
path: field("path")
|
|
809
|
+
} : undefined;
|
|
810
|
+
}
|
|
811
|
+
if (kind === "local") {
|
|
812
|
+
const path = field("path");
|
|
813
|
+
return path ? {
|
|
814
|
+
kind,
|
|
815
|
+
path
|
|
816
|
+
} : undefined;
|
|
817
|
+
}
|
|
818
|
+
return undefined;
|
|
819
|
+
}
|
|
820
|
+
class CopilotCliInstalledPluginsStore extends Disposable {
|
|
821
|
+
constructor(_fileService, _pathService, _logService, _onDidChange) {
|
|
822
|
+
super();
|
|
823
|
+
this._fileService = _fileService;
|
|
824
|
+
this._pathService = _pathService;
|
|
825
|
+
this._logService = _logService;
|
|
826
|
+
this._onDidChange = _onDidChange;
|
|
827
|
+
this._watcher = this._register(( new MutableDisposable()));
|
|
828
|
+
this._setupVersion = 0;
|
|
829
|
+
this._setupWatcherScheduler = this._register(( new RunOnceScheduler(() => {
|
|
830
|
+
this._setupWatcher().catch(error => this._logService.warn(
|
|
831
|
+
"[CopilotCliInstalledPluginsStore] Failed to watch installed plugin state",
|
|
832
|
+
error
|
|
833
|
+
));
|
|
834
|
+
}, 0)));
|
|
835
|
+
this._refreshScheduler = this._register(( new RunOnceScheduler(() => {
|
|
836
|
+
this._refresh().catch(error => this._logService.warn(
|
|
837
|
+
"[CopilotCliInstalledPluginsStore] Failed to refresh installed plugin state",
|
|
838
|
+
error
|
|
839
|
+
));
|
|
840
|
+
}, 200)));
|
|
841
|
+
this._setupWatcherScheduler.schedule();
|
|
842
|
+
}
|
|
843
|
+
async getInstalledPlugins() {
|
|
844
|
+
if (!this._installedPlugins) {
|
|
845
|
+
this._installedPlugins = (await this._readInstalledPlugins()) ?? [];
|
|
846
|
+
}
|
|
847
|
+
return this._installedPlugins;
|
|
848
|
+
}
|
|
849
|
+
async _setupWatcher() {
|
|
850
|
+
const version = ++this._setupVersion;
|
|
851
|
+
const configFile = await getCopilotCliConfigFile(this._pathService);
|
|
852
|
+
const configDirectory = dirname(configFile);
|
|
853
|
+
let watchRoot = configDirectory;
|
|
854
|
+
let pathToWatch = configFile;
|
|
855
|
+
while (!(await this._pathExists(watchRoot))) {
|
|
856
|
+
pathToWatch = watchRoot;
|
|
857
|
+
const parent = dirname(watchRoot);
|
|
858
|
+
if (isEqual(parent, watchRoot)) {
|
|
758
859
|
return;
|
|
759
860
|
}
|
|
760
|
-
|
|
861
|
+
watchRoot = parent;
|
|
862
|
+
}
|
|
863
|
+
if (version !== this._setupVersion || this._store.isDisposed) {
|
|
864
|
+
return;
|
|
865
|
+
}
|
|
866
|
+
const store = ( new DisposableStore());
|
|
867
|
+
const onDidChange = event => {
|
|
868
|
+
const watchedPathChanged = event.affects(pathToWatch) || event.contains(watchRoot, FileChangeType.DELETED);
|
|
869
|
+
if (!watchedPathChanged) {
|
|
761
870
|
return;
|
|
762
871
|
}
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
}
|
|
767
|
-
const watcher = this._fileService.createWatcher(marketplaceDir.resource, {
|
|
768
|
-
recursive: false,
|
|
769
|
-
excludes: []
|
|
770
|
-
});
|
|
771
|
-
watcherStore.add(watcher);
|
|
772
|
-
watcherStore.add(watcher.onDidChange(() => scheduler.schedule()));
|
|
872
|
+
this._refreshScheduler.schedule();
|
|
873
|
+
if (!isEqual(watchRoot, configDirectory) || event.contains(watchRoot, FileChangeType.DELETED)) {
|
|
874
|
+
this._setupWatcherScheduler.schedule();
|
|
773
875
|
}
|
|
774
876
|
};
|
|
775
|
-
|
|
776
|
-
|
|
877
|
+
const watcher = store.add(this._fileService.createWatcher(watchRoot, {
|
|
878
|
+
recursive: false,
|
|
879
|
+
excludes: []
|
|
880
|
+
}));
|
|
881
|
+
store.add(watcher.onDidChange(onDidChange));
|
|
882
|
+
this._watcher.value = store;
|
|
883
|
+
this._refreshScheduler.schedule(0);
|
|
777
884
|
}
|
|
778
|
-
async
|
|
779
|
-
const
|
|
780
|
-
|
|
885
|
+
async _refresh() {
|
|
886
|
+
const installedPlugins = await this._readInstalledPlugins();
|
|
887
|
+
if (!installedPlugins || equalsCopilotCliInstalledPlugins(this._installedPlugins, installedPlugins)) {
|
|
888
|
+
return;
|
|
889
|
+
}
|
|
890
|
+
this._installedPlugins = installedPlugins;
|
|
891
|
+
this._onDidChange();
|
|
781
892
|
}
|
|
782
|
-
async
|
|
783
|
-
const
|
|
784
|
-
|
|
785
|
-
try {
|
|
786
|
-
rootStat = await this._fileService.resolve(root);
|
|
787
|
-
} catch {
|
|
893
|
+
async _readInstalledPlugins() {
|
|
894
|
+
const configFile = await getCopilotCliConfigFile(this._pathService);
|
|
895
|
+
if (!(await this._fileService.exists(configFile))) {
|
|
788
896
|
return [];
|
|
789
897
|
}
|
|
790
|
-
|
|
898
|
+
let content;
|
|
899
|
+
try {
|
|
900
|
+
content = ( (await this._fileService.readFile(configFile)).value.toString());
|
|
901
|
+
} catch (error) {
|
|
902
|
+
this._logService.warn(`[CopilotCliInstalledPluginsStore] Failed to read '${( configFile.toString())}': ${error instanceof Error ? error.message : String(error)}`);
|
|
903
|
+
return undefined;
|
|
904
|
+
}
|
|
905
|
+
const errors = [];
|
|
906
|
+
const parsed = parse(content, errors);
|
|
907
|
+
if (errors.length || !parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
|
|
908
|
+
this._logService.warn(`[CopilotCliInstalledPluginsStore] Ignoring invalid '${( configFile.toString())}'`);
|
|
909
|
+
return undefined;
|
|
910
|
+
}
|
|
911
|
+
const installedPlugins = Reflect.get(parsed, "installedPlugins") ?? Reflect.get(parsed, "installed_plugins");
|
|
912
|
+
if (installedPlugins === undefined) {
|
|
791
913
|
return [];
|
|
792
914
|
}
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
915
|
+
if (!Array.isArray(installedPlugins)) {
|
|
916
|
+
this._logService.warn(
|
|
917
|
+
`[CopilotCliInstalledPluginsStore] Ignoring invalid installedPlugins state in '${( configFile.toString())}'`
|
|
918
|
+
);
|
|
919
|
+
return undefined;
|
|
920
|
+
}
|
|
921
|
+
const userHome = await this._pathService.userHome();
|
|
922
|
+
const installedPluginsRoot = joinPath(userHome, COPILOT_CLI_INSTALLED_PLUGINS_DIR);
|
|
923
|
+
const result = [];
|
|
924
|
+
const seen = ( new Set());
|
|
925
|
+
for (const entry of installedPlugins) {
|
|
926
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
|
|
927
|
+
this._logService.warn(
|
|
928
|
+
"[CopilotCliInstalledPluginsStore] Skipping malformed installed plugin record"
|
|
929
|
+
);
|
|
796
930
|
continue;
|
|
797
931
|
}
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
932
|
+
const name = Reflect.get(entry, "name");
|
|
933
|
+
const marketplace = Reflect.get(entry, "marketplace");
|
|
934
|
+
if (typeof name !== "string" || !name.trim() || typeof marketplace !== "string") {
|
|
935
|
+
this._logService.warn(
|
|
936
|
+
"[CopilotCliInstalledPluginsStore] Skipping installed plugin record without a valid name and marketplace"
|
|
937
|
+
);
|
|
938
|
+
continue;
|
|
939
|
+
}
|
|
940
|
+
const cachePath = Reflect.get(entry, "cache_path");
|
|
941
|
+
let uri;
|
|
942
|
+
if (typeof cachePath === "string" && cachePath.trim()) {
|
|
943
|
+
uri = toTargetResource(await this._pathService.fileURI(cachePath), userHome);
|
|
944
|
+
} else if (marketplace) {
|
|
945
|
+
const canonicalLegacyUri = joinPath(installedPluginsRoot, `${name}@${marketplace}`);
|
|
946
|
+
const marketplaceLegacyUri = joinPath(installedPluginsRoot, marketplace, name);
|
|
947
|
+
uri = (await this._fileService.exists(canonicalLegacyUri)) || !(await this._fileService.exists(marketplaceLegacyUri)) ? canonicalLegacyUri : marketplaceLegacyUri;
|
|
948
|
+
} else {
|
|
949
|
+
this._logService.warn(
|
|
950
|
+
`[CopilotCliInstalledPluginsStore] Skipping legacy direct plugin '${name}' without a cache path`
|
|
951
|
+
);
|
|
802
952
|
continue;
|
|
803
953
|
}
|
|
804
|
-
if (!
|
|
954
|
+
if (!extUriBiasedIgnorePathCase.isEqualOrParent(uri, installedPluginsRoot)) {
|
|
955
|
+
this._logService.warn(
|
|
956
|
+
`[CopilotCliInstalledPluginsStore] Skipping plugin cache path outside the installed root: ${( uri.toString())}`
|
|
957
|
+
);
|
|
805
958
|
continue;
|
|
806
959
|
}
|
|
807
|
-
|
|
808
|
-
|
|
960
|
+
const key = extUriBiasedIgnorePathCase.getComparisonKey(uri);
|
|
961
|
+
if (( seen.has(key))) {
|
|
962
|
+
continue;
|
|
963
|
+
}
|
|
964
|
+
seen.add(key);
|
|
965
|
+
const rawSource = Reflect.get(entry, "source");
|
|
966
|
+
const directSourceId = marketplace ? undefined : await getCopilotCliDirectSourceId(rawSource);
|
|
967
|
+
result.push({
|
|
968
|
+
uri,
|
|
969
|
+
name,
|
|
970
|
+
marketplace,
|
|
971
|
+
directSourceId,
|
|
972
|
+
source: toCopilotCliPluginInstallSource(rawSource),
|
|
973
|
+
revision: JSON.stringify({
|
|
974
|
+
version: Reflect.get(entry, "version"),
|
|
975
|
+
installedAt: Reflect.get(entry, "installed_at"),
|
|
976
|
+
sourceSha: Reflect.get(entry, "source_sha")
|
|
977
|
+
})
|
|
978
|
+
});
|
|
979
|
+
}
|
|
980
|
+
result.sort((a, b) => ( a.uri.toString()).localeCompare(( b.uri.toString())));
|
|
981
|
+
return result;
|
|
982
|
+
}
|
|
983
|
+
async _pathExists(resource) {
|
|
984
|
+
try {
|
|
985
|
+
await this._fileService.resolve(resource);
|
|
986
|
+
return true;
|
|
987
|
+
} catch {
|
|
988
|
+
return false;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
async function getCopilotCliConfigFile(pathService) {
|
|
993
|
+
const userHome = await pathService.userHome();
|
|
994
|
+
return joinPath(userHome, COPILOT_CLI_CONFIG_FILE);
|
|
995
|
+
}
|
|
996
|
+
function toTargetResource(uri, userHome) {
|
|
997
|
+
if (userHome.scheme === Schemas.file) {
|
|
998
|
+
return uri;
|
|
999
|
+
}
|
|
1000
|
+
const path = uri.authority ? `//${uri.authority}${uri.path}` : uri.path;
|
|
1001
|
+
return userHome.with({
|
|
1002
|
+
path: path.startsWith("/") ? path : `/${path}`
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
function equalsCopilotCliInstalledPlugins(first, second) {
|
|
1006
|
+
return !!first && first.length === second.length && first.every((plugin, index) => ( plugin.uri.toString()) === ( second[index].uri.toString()) && plugin.name === second[index].name && plugin.marketplace === second[index].marketplace && plugin.directSourceId === second[index].directSourceId && JSON.stringify(plugin.source) === JSON.stringify(second[index].source) && plugin.revision === second[index].revision);
|
|
1007
|
+
}
|
|
1008
|
+
let CopilotCliAgentPluginDiscovery = class CopilotCliAgentPluginDiscovery extends AbstractAgentPluginDiscovery {
|
|
1009
|
+
constructor(
|
|
1010
|
+
fileService,
|
|
1011
|
+
pathService,
|
|
1012
|
+
logService,
|
|
1013
|
+
workspaceContextService,
|
|
1014
|
+
_agentHostService
|
|
1015
|
+
) {
|
|
1016
|
+
super(fileService, pathService, logService, workspaceContextService);
|
|
1017
|
+
this._agentHostService = _agentHostService;
|
|
1018
|
+
this._installedPlugins = this._register(( new CopilotCliInstalledPluginsStore(
|
|
1019
|
+
this._fileService,
|
|
1020
|
+
this._pathService,
|
|
1021
|
+
this._logService,
|
|
1022
|
+
() => this._refreshScheduler?.schedule()
|
|
1023
|
+
)));
|
|
1024
|
+
}
|
|
1025
|
+
start(enablementModel) {
|
|
1026
|
+
this._enablementModel = enablementModel;
|
|
1027
|
+
const scheduler = this._register(( new RunOnceScheduler(() => this._refreshPlugins(), 200)));
|
|
1028
|
+
this._refreshScheduler = scheduler;
|
|
1029
|
+
scheduler.schedule(0);
|
|
1030
|
+
}
|
|
1031
|
+
async _discoverPluginSources() {
|
|
1032
|
+
const sources = [];
|
|
1033
|
+
for (const installedPlugin of await this._installedPlugins.getInstalledPlugins()) {
|
|
1034
|
+
try {
|
|
1035
|
+
const stat = await this._fileService.resolve(installedPlugin.uri);
|
|
1036
|
+
if (!stat.isDirectory) {
|
|
809
1037
|
continue;
|
|
810
1038
|
}
|
|
1039
|
+
const canUninstall = !!installedPlugin.marketplace || !!installedPlugin.directSourceId;
|
|
811
1040
|
sources.push({
|
|
812
|
-
uri:
|
|
1041
|
+
uri: stat.resource,
|
|
813
1042
|
fromMarketplace: undefined,
|
|
814
|
-
|
|
1043
|
+
copilotCliInstallation: {
|
|
1044
|
+
name: installedPlugin.name,
|
|
1045
|
+
marketplace: installedPlugin.marketplace,
|
|
1046
|
+
directSourceId: installedPlugin.directSourceId,
|
|
1047
|
+
source: installedPlugin.source
|
|
1048
|
+
},
|
|
1049
|
+
watchPluginContents: false,
|
|
1050
|
+
remove: this._agentHostService.uninstallPlugin && canUninstall ? async () => {
|
|
1051
|
+
await this._agentHostService.uninstallPlugin(COPILOT_CLI_AGENT_PROVIDER_ID, {
|
|
1052
|
+
name: installedPlugin.name,
|
|
1053
|
+
marketplace: installedPlugin.marketplace,
|
|
1054
|
+
...(installedPlugin.directSourceId ? {
|
|
1055
|
+
directSourceId: installedPlugin.directSourceId
|
|
1056
|
+
} : {})
|
|
1057
|
+
});
|
|
1058
|
+
this._enablementModel.remove(( stat.resource.toString()));
|
|
1059
|
+
return true;
|
|
1060
|
+
} : undefined
|
|
815
1061
|
});
|
|
1062
|
+
} catch {
|
|
1063
|
+
continue;
|
|
816
1064
|
}
|
|
817
1065
|
}
|
|
818
1066
|
return sources;
|
|
819
1067
|
}
|
|
820
|
-
async _promptRemove(resource) {
|
|
821
|
-
const {
|
|
822
|
-
confirmed
|
|
823
|
-
} = await this._dialogService.confirm({
|
|
824
|
-
message: ( localize(
|
|
825
|
-
12619,
|
|
826
|
-
"This plugin was installed by the Copilot CLI. Remove it from disk?"
|
|
827
|
-
)),
|
|
828
|
-
detail: ( localize(
|
|
829
|
-
12620,
|
|
830
|
-
"The plugin directory '{0}' will be moved to the trash. You can reinstall it later via the Copilot CLI.",
|
|
831
|
-
resource.fsPath
|
|
832
|
-
)),
|
|
833
|
-
primaryButton: ( localize(12621, "Remove"))
|
|
834
|
-
});
|
|
835
|
-
if (!confirmed) {
|
|
836
|
-
return false;
|
|
837
|
-
}
|
|
838
|
-
try {
|
|
839
|
-
await this._fileService.del(resource, {
|
|
840
|
-
recursive: true,
|
|
841
|
-
useTrash: true
|
|
842
|
-
});
|
|
843
|
-
this._enablementModel.remove(( resource.toString()));
|
|
844
|
-
return true;
|
|
845
|
-
} catch (error) {
|
|
846
|
-
this._logService.error("[CopilotCliAgentPluginDiscovery] Failed to remove plugin", error);
|
|
847
|
-
throw error;
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
1068
|
};
|
|
851
|
-
CopilotCliAgentPluginDiscovery = ( __decorate([( __param(0, IFileService)), ( __param(1, IPathService)), ( __param(2, ILogService)), ( __param(3, IWorkspaceContextService)), ( __param(4,
|
|
1069
|
+
CopilotCliAgentPluginDiscovery = ( __decorate([( __param(0, IFileService)), ( __param(1, IPathService)), ( __param(2, ILogService)), ( __param(3, IWorkspaceContextService)), ( __param(4, IAgentHostService))], CopilotCliAgentPluginDiscovery));
|
|
852
1070
|
const epPlugins = ExtensionsRegistry.registerExtensionPoint({
|
|
853
1071
|
extensionPoint: "chatPlugins",
|
|
854
1072
|
jsonSchema: {
|
|
855
|
-
description: ( localize(
|
|
1073
|
+
description: ( localize(14991, "Contributes agent plugins for chat.")),
|
|
856
1074
|
type: "array",
|
|
857
1075
|
items: {
|
|
858
1076
|
additionalProperties: false,
|
|
@@ -866,13 +1084,13 @@ const epPlugins = ExtensionsRegistry.registerExtensionPoint({
|
|
|
866
1084
|
properties: {
|
|
867
1085
|
path: {
|
|
868
1086
|
description: ( localize(
|
|
869
|
-
|
|
1087
|
+
14992,
|
|
870
1088
|
"Path to the agent plugin root directory relative to the extension root."
|
|
871
1089
|
)),
|
|
872
1090
|
type: "string"
|
|
873
1091
|
},
|
|
874
1092
|
when: {
|
|
875
|
-
description: ( localize(
|
|
1093
|
+
description: ( localize(14993, "(Optional) A condition which must be true to enable this plugin.")),
|
|
876
1094
|
type: "string"
|
|
877
1095
|
}
|
|
878
1096
|
}
|
|
@@ -909,7 +1127,7 @@ let ExtensionAgentPluginDiscovery = class ExtensionAgentPluginDiscovery extends
|
|
|
909
1127
|
for (const raw of ext.value) {
|
|
910
1128
|
if (!raw.path) {
|
|
911
1129
|
ext.collector.error(( localize(
|
|
912
|
-
|
|
1130
|
+
14994,
|
|
913
1131
|
"Extension '{0}' cannot register a chatPlugins entry without a path.",
|
|
914
1132
|
ext.description.identifier.value
|
|
915
1133
|
)));
|
|
@@ -918,7 +1136,7 @@ let ExtensionAgentPluginDiscovery = class ExtensionAgentPluginDiscovery extends
|
|
|
918
1136
|
const pluginUri = joinPath(ext.description.extensionLocation, raw.path);
|
|
919
1137
|
if (!isEqualOrParent(pluginUri, ext.description.extensionLocation)) {
|
|
920
1138
|
ext.collector.error(( localize(
|
|
921
|
-
|
|
1139
|
+
14995,
|
|
922
1140
|
"Extension '{0}' chatPlugins entry '{1}' resolves outside the extension.",
|
|
923
1141
|
ext.description.identifier.value,
|
|
924
1142
|
raw.path
|
|
@@ -930,7 +1148,7 @@ let ExtensionAgentPluginDiscovery = class ExtensionAgentPluginDiscovery extends
|
|
|
930
1148
|
whenExpr = ContextKeyExpr.deserialize(raw.when);
|
|
931
1149
|
if (!whenExpr) {
|
|
932
1150
|
ext.collector.error(( localize(
|
|
933
|
-
|
|
1151
|
+
14996,
|
|
934
1152
|
"Extension '{0}' chatPlugins entry '{1}' has an invalid when clause: '{2}'.",
|
|
935
1153
|
ext.description.identifier.value,
|
|
936
1154
|
raw.path,
|
|
@@ -1002,7 +1220,7 @@ let ExtensionAgentPluginDiscovery = class ExtensionAgentPluginDiscovery extends
|
|
|
1002
1220
|
confirmed
|
|
1003
1221
|
} = await this._dialogService.confirm({
|
|
1004
1222
|
message: ( localize(
|
|
1005
|
-
|
|
1223
|
+
14997,
|
|
1006
1224
|
"This plugin is provided by the extension '{0}'. Do you want to uninstall the extension?",
|
|
1007
1225
|
extensionId
|
|
1008
1226
|
))
|
|
@@ -1037,7 +1255,7 @@ class ChatPluginsDataRenderer extends Disposable {
|
|
|
1037
1255
|
dispose: () => {}
|
|
1038
1256
|
};
|
|
1039
1257
|
}
|
|
1040
|
-
const headers = [( localize(
|
|
1258
|
+
const headers = [( localize(14998, "Path")), ( localize(14999, "When"))];
|
|
1041
1259
|
const rows = contributions.map(d => [d.path, d.when ?? "-"]);
|
|
1042
1260
|
return {
|
|
1043
1261
|
data: {
|
|
@@ -1050,7 +1268,7 @@ class ChatPluginsDataRenderer extends Disposable {
|
|
|
1050
1268
|
}
|
|
1051
1269
|
( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
|
|
1052
1270
|
id: "chatPlugins",
|
|
1053
|
-
label: ( localize(
|
|
1271
|
+
label: ( localize(15000, "Chat Plugins")),
|
|
1054
1272
|
access: {
|
|
1055
1273
|
canToggle: false
|
|
1056
1274
|
},
|