@codingame/monaco-vscode-chat-service-override 38.1.2 → 39.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.js +46 -10
- package/index.js +5 -1
- package/package.json +6 -5
- package/session.js +9 -2
- package/vscode/src/vs/editor/common/diff/documentDiffProvider.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostClientProxy.d.ts +37 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostClientProxy.js +120 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +52 -22
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.js +2 -1
- package/vscode/src/vs/platform/agentHost/browser/nullWslRemoteAgentHostService.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/browser/nullWslRemoteAgentHostService.js +3 -0
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +6 -6
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +78 -41
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +2 -1
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +5 -1
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +1 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +11 -19
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpOAuthMetadataService.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostMcpOAuthMetadataService.js +85 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.js +9 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +169 -106
- package/vscode/src/vs/platform/agentHost/common/agentModelCatalogStatus.d.ts +4 -0
- package/vscode/src/vs/platform/agentHost/common/agentModelCatalogStatus.js +15 -0
- package/vscode/src/vs/platform/agentHost/common/agentSessionMessage.d.ts +22 -0
- package/vscode/src/vs/platform/agentHost/common/agentSessionMessage.js +17 -0
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.d.ts +23 -0
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.js +33 -2
- package/vscode/src/vs/platform/agentHost/common/chatMoveConfiguration.d.ts +14 -0
- package/vscode/src/vs/platform/agentHost/common/chatMoveConfiguration.js +23 -0
- package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.js +1 -0
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.d.ts +3 -3
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +8 -8
- package/vscode/src/vs/platform/agentHost/common/dynamicAutoTiersConfiguration.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/dynamicAutoTiersConfiguration.js +22 -0
- package/vscode/src/vs/platform/agentHost/common/imageGenerationConfiguration.d.ts +52 -0
- package/vscode/src/vs/platform/agentHost/common/imageGenerationConfiguration.js +67 -0
- package/vscode/src/vs/platform/agentHost/common/logRedaction.d.ts +45 -0
- package/vscode/src/vs/platform/agentHost/common/logRedaction.js +82 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentCompletionAttachmentMeta.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCompletionAttachmentMeta.d.ts +121 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCompletionAttachmentMeta.js +88 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.d.ts +1 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.js +8 -2
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.d.ts +5 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.js +5 -1
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/customizationDiscoveryMeta.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/customizationDiscoveryMeta.js +24 -0
- package/vscode/src/vs/platform/agentHost/common/permissionRules.d.ts +58 -0
- package/vscode/src/vs/platform/agentHost/common/permissionRules.js +109 -0
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +4 -1
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +41 -26
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.d.ts +114 -8
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.service.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/common/terminalPermissionRules.d.ts +21 -0
- package/vscode/src/vs/platform/agentHost/common/terminalPermissionRules.js +57 -0
- package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.js +3 -3
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.d.ts +2 -1
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.js +1 -1
- package/vscode/src/vs/platform/agentHost/common/workspacelessScratchDir.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/workspacelessScratchDir.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/wslRemoteAgentHost.d.ts +1 -1
- package/vscode/src/vs/platform/agentHost/common/wslRemoteAgentHost.js +1 -1
- package/vscode/src/vs/platform/artifactIntegrations/common/artifactIntegrationRegistry.d.ts +28 -0
- package/vscode/src/vs/platform/artifactIntegrations/common/artifactIntegrationRegistry.js +170 -0
- package/vscode/src/vs/platform/github/common/content/content.d.ts +136 -0
- package/vscode/src/vs/platform/github/common/content/content.js +12 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +1 -1
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveEntryToRegex.d.ts +4 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveEntryToRegex.js +41 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveRuleKeyForm.d.ts +10 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/autoApproveRuleKeyForm.js +16 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/suggestAutoApproveRules.d.ts +5 -0
- package/vscode/src/vs/platform/terminal/common/autoApprove/suggestAutoApproveRules.js +64 -0
- package/vscode/src/vs/platform/url/common/urlApprovalPatterns.d.ts +36 -0
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileDiffView.js +7 -7
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileMultiDiffView.js +8 -8
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.d.ts +19 -7
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.js +83 -46
- package/vscode/src/vs/sessions/contrib/chat/browser/branchChatSessionAction.js +2 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/chat.contribution.js +312 -127
- package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.js +2 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/getThemeColorsTool.d.ts +21 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/getThemeColorsTool.js +138 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/modelPicker.d.ts +68 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/modelPicker.js +302 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.d.ts +3 -6
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.js +42 -9
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionFolderQuickPickAction.js +4 -4
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.js +1 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.d.ts +3 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.js +29 -18
- package/vscode/src/vs/sessions/contrib/chat/browser/promptsService.d.ts +2 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/promptsService.js +11 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptAction.js +91 -98
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptCustomTaskWidget.js +21 -21
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.js +5 -5
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.d.ts +2 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.js +511 -211
- package/vscode/src/vs/sessions/contrib/chat/browser/sharedChatInputComposer.contribution.d.ts +9 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sharedChatInputComposer.contribution.js +146 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatOrchestration.d.ts +13 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatOrchestration.js +14 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatProvider.contribution.d.ts +3 -8
- package/vscode/src/vs/sessions/contrib/chat/browser/sideChatProvider.contribution.js +10 -8
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionAutoEnablementTelemetry.d.ts +30 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionAutoEnablementTelemetry.js +178 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsAccessibilityHelp.d.ts +10 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsAccessibilityHelp.js +61 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsWidget.d.ts +100 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/agentsWindowExtensionsWidget.js +687 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/extensions.contribution.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/extensions.contribution.js +88 -0
- package/vscode/src/vs/sessions/contrib/extensions/browser/media/agentsWindowExtensions.css +182 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.d.ts +57 -6
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.js +94 -108
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostPolicyContinuationPresenter.d.ts +12 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostPolicyContinuationPresenter.js +48 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettings.contribution.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettingsShared.js +3 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettings.contribution.js +2 -2
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettingsFileSystemProvider.js +7 -7
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/localAgentHostSessionsProvider.d.ts +107 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/localAgentHostSessionsProvider.js +447 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatPhoneInputPresenter.js +15 -10
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openAgentHostStateFileAction.js +1 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.d.ts +2 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.js +92 -34
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.js +12 -5
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.js +1 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.js +1 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.js +15 -15
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/manageRemoteAgentHosts.js +9 -9
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/managedReconnectAgentHostContribution.js +5 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.d.ts +1 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.js +39 -25
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.js +13 -13
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.js +13 -13
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.js +110 -145
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.js +2 -4
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/wslAgentHost.contribution.js +6 -2
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/media/sessionWorktreeCleanupEditor.css +118 -90
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.d.ts +1 -1
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.js +48 -13
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.d.ts +89 -10
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.js +1375 -182
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.js +1 -1
- package/vscode/src/vs/sessions/contrib/sessions/browser/mobile/mobileOverlayContribution.js +3 -3
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.d.ts +3 -1
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.js +30 -3
- package/vscode/src/vs/sessions/skills/all_/SKILL.md.js +4 -3
- package/vscode/src/vs/sessions/skills/generate-chat-background/SKILL.md +34 -0
- package/vscode/src/vs/sessions/skills/troubleshoot/SKILL.md +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatArtifactIntegrations.d.ts +30 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatArtifactIntegrations.js +484 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.d.ts +1 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatDebug.js +7 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.d.ts +1 -19
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +4 -80
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatPetJumpGameAccessibleView.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatPetJumpGameAccessibleView.js +31 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +30 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +23 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +513 -171
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +133 -124
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +83 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +110 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.d.ts +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentHostCompletionAction.js +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +11 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +49 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationContentExpander.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +10 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +235 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +71 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatMoveEditors.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatMoveEditors.js +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +9 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +125 -53
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.d.ts +26 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.js +493 -162
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostEditReview.d.ts +187 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostEditReview.js +1000 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostImportConversationStore.d.ts +3 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalModelSupport.d.ts +97 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalModelSupport.js +407 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpAppToolsService.d.ts +52 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpAppToolsService.js +361 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.js +72 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionMirror.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionMirror.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuation.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuation.js +377 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuationEditor.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyContinuationEditor.js +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyUnavailableSession.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPolicyUnavailableSession.js +109 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRemoteByokNotification.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.d.ts +24 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +87 -51
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.d.ts +48 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.js +434 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.js +18 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxPathGrant.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxPathGrant.js +19 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +134 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +1627 -491
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.d.ts +60 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +572 -133
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +65 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +15 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +114 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +27 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +105 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutCompatibilityContribution.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutCompatibilityContribution.js +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.d.ts +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +6 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSteeringMessageHandoff.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSteeringMessageHandoff.js +138 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSubagentProgress.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +70 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.d.ts +13 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +96 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuation.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModel.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModel.contribution.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelActions.d.ts +61 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelActions.js +476 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelReadyNotification.d.ts +70 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelReadyNotification.js +422 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelSetupProgress.d.ts +108 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/localModelSetupProgress.js +744 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +36 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +21 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +112 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.d.ts +31 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +15 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +28 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +40 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +115 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotExtensionsService.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotExtensionsService.js +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js +39 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.js +28 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.js +159 -86
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +23 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.d.ts +20 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +281 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.js +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.js +390 -112
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerEnvironmentVariables.d.ts +56 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerEnvironmentVariables.js +298 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatReferenceAttachmentWidget.contribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/btwSlashCommand.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/btwSlashCommand.js +84 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +648 -652
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +14 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +74 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +124 -124
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.js +8 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.d.ts +3 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +6 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +35 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +60 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +88 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorAccessibility.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +43 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +13 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +18 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +9 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +20 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.js +21 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.d.ts +15 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +35 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.js +6 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +31 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +54 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +34 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.d.ts +69 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.js +164 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionCommit.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionCommit.js +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +25 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChatProvider.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSideChatProvider.js +114 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +78 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.js +13 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.d.ts +22 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +52 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/editorChatUsage.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/githubRepoFetcher.d.ts +5 -55
- package/vscode/src/vs/workbench/contrib/chat/browser/githubRepoFetcher.js +40 -220
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatPetAchievements.css +81 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatInputSpotlightTour.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatInputSpotlightTour.js +248 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatOnboardingEligibility.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/chatOnboardingEligibility.js +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.d.ts +6 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +128 -118
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +39 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +20 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.d.ts +26 -42
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +216 -165
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +7 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileActions.js +12 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptFileContributions.js +16 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +14 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +7 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +8 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +36 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +5 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxRepositoryPicker.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxRepositoryPicker.js +106 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.d.ts +19 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.js +165 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.d.ts +57 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.js +511 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.js +16 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js +137 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthenticationResolver.d.ts +24 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthenticationResolver.js +136 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.js +155 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostCustomizationHarness.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostCustomizationHarness.js +16 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +32 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +78 -48
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatPetWidgetService.js +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +9 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.d.ts +47 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +139 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +89 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +18 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +11 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputPlaceholderDecoration.js +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputSessionLinkProvider.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputSessionLinkProvider.js +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.d.ts +17 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +134 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/media/chatEditor.css +26 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +13 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +172 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatOpenDiagnosticsService.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatOpenDiagnosticsService.js +103 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +59 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +481 -271
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/remoteChatSessionRestorer.d.ts +148 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/remoteChatSessionRestorer.js +575 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.d.ts +13 -17
- package/vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatThinkingTitleService.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatThinkingTitleService.js +176 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatUtilityModelService.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatUtilityModelService.js +190 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatSessionReviewPreferences.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/editing/chatSessionReviewPreferences.js +25 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +17 -18
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.d.ts +27 -6
- package/vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.js +21 -2
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +26 -13
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +80 -52
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptBodyAutocompletion.js +57 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +27 -15
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptDocumentSemanticTokensProvider.js +27 -11
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +383 -51
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.d.ts +10 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +211 -32
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptModelResolver.d.ts +19 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptModelResolver.js +77 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptSkillResolver.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptSkillResolver.js +87 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptToolResolver.d.ts +18 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptToolResolver.js +53 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +26 -6
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +816 -195
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.d.ts +10 -11
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.js +135 -95
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/confirmationTool.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +1 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +13 -98
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +70 -73
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.d.ts +15 -19
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +122 -202
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselTypes.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/media/imageCarousel.css +19 -50
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +3 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.d.ts +1 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatService.js +2 -43
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/basicExecuteStrategy.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/noneExecuteStrategy.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/executeStrategy/strategyHelpers.js +15 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +42 -96
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalToolTelemetry.js +2 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +5 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +22 -13
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +76 -75
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +4 -4
- package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +3 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +20 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +56 -14
- package/vscode/src/vs/workbench/services/agentHost/browser/localModelService.d.ts +52 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/localModelService.js +294 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCustomizationMeta.d.ts +0 -27
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentCustomizationMeta.js +0 -14
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/clientPluginCustomizationMeta.d.ts +0 -17
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/clientPluginCustomizationMeta.js +0 -22
- package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.d.ts +0 -8
- package/vscode/src/vs/platform/agentHost/common/semanticSearchConstants.js +0 -8
- package/vscode/src/vs/platform/browserView/common/browserChatToolReferenceNames.d.ts +0 -23
- package/vscode/src/vs/platform/browserView/common/browserChatToolReferenceNames.js +0 -17
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.d.ts +0 -22
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.js +0 -158
- package/vscode/src/vs/sessions/contrib/chat/browser/btwSlashCommand.contribution.d.ts +0 -15
- package/vscode/src/vs/sessions/contrib/chat/browser/btwSlashCommand.contribution.js +0 -106
- package/vscode/src/vs/sessions/contrib/chat/browser/unifiedWorkspacePickerConfiguration.d.ts +0 -3
- package/vscode/src/vs/sessions/contrib/chat/browser/unifiedWorkspacePickerConfiguration.js +0 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationSyncProvider.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationSyncProvider.js +0 -55
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +0 -441
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.d.ts +0 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAllowSignedOutWhenUsableContribution.js +0 -46
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +0 -97
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +0 -241
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.d.ts +0 -141
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.js +0 -731
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.d.ts +0 -46
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.js +0 -313
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js +0 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.js +0 -58
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +0 -140
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +0 -358
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.d.ts +0 -139
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.js +0 -944
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.d.ts +0 -50
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.js +0 -213
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.js +0 -605
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +0 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.d.ts +0 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.js +0 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.d.ts +0 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +0 -261
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +0 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.js +0 -72
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/toolHelpers.js +0 -12
- package/vscode/src/vs/workbench/contrib/chat/common/workingDirectory.d.ts +0 -35
- package/vscode/src/vs/workbench/contrib/chat/common/workingDirectory.js +0 -36
- package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.d.ts +0 -47
- package/vscode/src/vs/workbench/services/agentHost/common/editorRemoteAgentHostTransport.js +0 -362
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
-
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
|
-
import { IObservable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/observable";
|
|
4
|
-
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
5
|
-
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
6
|
-
import { ICustomizationMcpServerCompatibilityScope } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/customizationHarnessService";
|
|
7
|
-
import { IMcpWorkbenchService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/common/mcpTypes.service";
|
|
8
|
-
import { IMcpService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/common/mcpTypes.service";
|
|
9
|
-
import { IConfigurationResolverService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/configurationResolver/common/configurationResolver.service";
|
|
10
|
-
import { AgentHostMcpSupportReason, IAgentHostMcpServerSupportSnapshot } from "./agentHostMcpServerSupport.js";
|
|
11
|
-
/** A refcounted reactive view of MCP support for one Agent Host working-directory scope. */
|
|
12
|
-
export interface IAgentHostMcpServerSupportScope extends IDisposable {
|
|
13
|
-
/** The latest settled support snapshot. */
|
|
14
|
-
readonly support: IObservable<IAgentHostMcpServerSupportSnapshot>;
|
|
15
|
-
/** Whether the latest scheduled support assessment has settled. */
|
|
16
|
-
readonly isResolved: IObservable<boolean>;
|
|
17
|
-
/** Resolves after the latest scheduled support assessment settles or the scope is disposed. */
|
|
18
|
-
whenResolved(): Promise<void>;
|
|
19
|
-
}
|
|
20
|
-
export declare function createCustomizationMcpServerCompatibilityScope(onDidChange: Event<void>, getWorkingDirectories: () => readonly URI[], acquireScope: (roots: readonly URI[]) => IAgentHostMcpServerSupportScope | undefined): ICustomizationMcpServerCompatibilityScope;
|
|
21
|
-
export declare function getMcpCompatibilityDetail(reason: AgentHostMcpSupportReason): string;
|
|
22
|
-
/** Owns MCP support assessment and refreshes it while at least one consumer holds a reference. */
|
|
23
|
-
export declare class AgentHostMcpServerSupportScope extends Disposable {
|
|
24
|
-
private readonly _sessionType;
|
|
25
|
-
private readonly _roots;
|
|
26
|
-
private readonly _windowRemoteAuthority;
|
|
27
|
-
private readonly _onDispose;
|
|
28
|
-
private readonly _mcpService;
|
|
29
|
-
private readonly _mcpWorkbenchService;
|
|
30
|
-
private readonly _configurationResolverService;
|
|
31
|
-
private readonly _configurationService;
|
|
32
|
-
private readonly _updateDelayer;
|
|
33
|
-
private readonly _support;
|
|
34
|
-
private readonly _isResolved;
|
|
35
|
-
private _latestResolution;
|
|
36
|
-
private _refCount;
|
|
37
|
-
private _updateSequence;
|
|
38
|
-
private _isDisposed;
|
|
39
|
-
constructor(_sessionType: string, _roots: readonly URI[] | undefined, _windowRemoteAuthority: string | null, _onDispose: () => void, _mcpService: IMcpService, _mcpWorkbenchService: IMcpWorkbenchService, _configurationResolverService: IConfigurationResolverService, _configurationService: IConfigurationService);
|
|
40
|
-
acquire(): IAgentHostMcpServerSupportScope;
|
|
41
|
-
dispose(): void;
|
|
42
|
-
private _whenResolved;
|
|
43
|
-
private _completeUpdate;
|
|
44
|
-
private _getCoverage;
|
|
45
|
-
private _release;
|
|
46
|
-
}
|
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
-
import { equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
|
|
4
|
-
import { DeferredPromise, Delayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
5
|
-
import { onUnexpectedError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
6
|
-
import { DisposableStore, Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/index';
|
|
8
|
-
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
9
|
-
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
10
|
-
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
11
|
-
import { mcpAccessConfig, McpAccessValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpManagement';
|
|
12
|
-
import { COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_CONFIG } from '@codingame/monaco-vscode-api/vscode/vs/platform/policy/common/copilotManagedSettings';
|
|
13
|
-
import { isStrictPluginOnlyCustomizationEnabled } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/customizationLockdown';
|
|
14
|
-
import { IMcpService, IMcpWorkbenchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mcp/common/mcpTypes.service';
|
|
15
|
-
import { IConfigurationResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/configurationResolver/common/configurationResolver.service';
|
|
16
|
-
import { AgentHostMcpServerApplicability, AgentHostMcpSupportReason, assessMcpServersForCopilotAgentHost, mergeInstalledMcpServersIntoAgentHostSupportAssessment } from './agentHostMcpServerSupport.js';
|
|
17
|
-
import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableValue';
|
|
18
|
-
import { observableFromEventOpts } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
|
|
19
|
-
import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
|
|
20
|
-
import { transaction } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/transaction';
|
|
21
|
-
|
|
22
|
-
const MCP_SUPPORT_UPDATE_DEBOUNCE_DELAY = 50;
|
|
23
|
-
function createEmptySupportSnapshot(coverage) {
|
|
24
|
-
return {
|
|
25
|
-
servers: [],
|
|
26
|
-
discoveryComplete: false,
|
|
27
|
-
coverage
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function createCustomizationMcpServerCompatibilityScope(onDidChange, getWorkingDirectories, acquireScope) {
|
|
31
|
-
const store = ( new DisposableStore());
|
|
32
|
-
const servers = observableValue("mcpServerCompatibility", []);
|
|
33
|
-
const isResolved = observableValue("mcpServerCompatibilityResolved", false);
|
|
34
|
-
const workingDirectories = observableFromEventOpts({
|
|
35
|
-
equalsFn: (a, b) => equals(a, b, isEqual)
|
|
36
|
-
}, onDidChange, getWorkingDirectories);
|
|
37
|
-
store.add(autorun(reader => {
|
|
38
|
-
const scope = acquireScope(workingDirectories.read(reader));
|
|
39
|
-
if (!scope) {
|
|
40
|
-
transaction(tx => {
|
|
41
|
-
servers.set([], tx);
|
|
42
|
-
isResolved.set(true, tx);
|
|
43
|
-
});
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
reader.store.add(scope);
|
|
47
|
-
reader.store.add(autorun(reader => {
|
|
48
|
-
const compatibility = scope.support.read(reader).servers.filter(
|
|
49
|
-
server => server.applicability !== AgentHostMcpServerApplicability.OutsideCurrentScope
|
|
50
|
-
).map(server => ({
|
|
51
|
-
id: server.id,
|
|
52
|
-
kind: server.compatibility.kind,
|
|
53
|
-
details: server.compatibility.kind === "supported" ? undefined : server.compatibility.reasons.map(getMcpCompatibilityDetail)
|
|
54
|
-
}));
|
|
55
|
-
const resolved = scope.isResolved.read(reader);
|
|
56
|
-
transaction(tx => {
|
|
57
|
-
servers.set(compatibility, tx);
|
|
58
|
-
isResolved.set(resolved, tx);
|
|
59
|
-
});
|
|
60
|
-
}));
|
|
61
|
-
}));
|
|
62
|
-
return {
|
|
63
|
-
servers,
|
|
64
|
-
isResolved,
|
|
65
|
-
dispose: () => store.dispose()
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function getMcpCompatibilityDetail(reason) {
|
|
69
|
-
switch (reason) {
|
|
70
|
-
case AgentHostMcpSupportReason.UnsupportedSourceLocation:
|
|
71
|
-
return localize(
|
|
72
|
-
9703,
|
|
73
|
-
"The current configuration location for this server is not supported by the Copilot harness.\nTo migrate this server, move its configuration to the workspace root .mcp.json file."
|
|
74
|
-
);
|
|
75
|
-
case AgentHostMcpSupportReason.CopilotHomeNotForwarded:
|
|
76
|
-
return localize(
|
|
77
|
-
9704,
|
|
78
|
-
"Servers from the GitHub Copilot CLI configuration are only used by Copilot CLI sessions on the machine that owns the configuration, so their settings and credentials are not shared with other agents or remote hosts.\nTo use this server in this session, add it to an MCP configuration for this agent or host."
|
|
79
|
-
);
|
|
80
|
-
case AgentHostMcpSupportReason.RequiresUserInteraction:
|
|
81
|
-
return localize(
|
|
82
|
-
9705,
|
|
83
|
-
"Input and command variables are not supported by the Copilot harness.\nTo migrate this server, replace them with concrete values or environment variables defined directly in the server configuration."
|
|
84
|
-
);
|
|
85
|
-
case AgentHostMcpSupportReason.UnresolvedConfiguration:
|
|
86
|
-
return localize(
|
|
87
|
-
9706,
|
|
88
|
-
"Unresolved configuration, environment, or workspace variables are not supported by the Copilot harness.\nTo migrate this server, define the missing variables or replace them with concrete values."
|
|
89
|
-
);
|
|
90
|
-
case AgentHostMcpSupportReason.LaunchNotRepresentable:
|
|
91
|
-
return localize(
|
|
92
|
-
9707,
|
|
93
|
-
"The launch configuration for this server is not supported by the Copilot harness.\nTo migrate this server, add a command for a local server or a valid URL for a remote server."
|
|
94
|
-
);
|
|
95
|
-
case AgentHostMcpSupportReason.EnvironmentFileIgnored:
|
|
96
|
-
return localize(
|
|
97
|
-
9708,
|
|
98
|
-
"Environment files are not supported by the Copilot harness.\nTo migrate this server, move required variables from the environment file into the server env configuration."
|
|
99
|
-
);
|
|
100
|
-
case AgentHostMcpSupportReason.WorkingDirectoryNotPortable:
|
|
101
|
-
return localize(
|
|
102
|
-
9709,
|
|
103
|
-
"Working directory settings cannot be migrated to the workspace root .mcp.json file.\nTo migrate this server, remove the cwd property."
|
|
104
|
-
);
|
|
105
|
-
case AgentHostMcpSupportReason.SseTransportNotPortable:
|
|
106
|
-
return localize(
|
|
107
|
-
9710,
|
|
108
|
-
"SSE transport settings cannot be migrated to the workspace root .mcp.json file.\nTo migrate this server, use the default HTTP transport."
|
|
109
|
-
);
|
|
110
|
-
case AgentHostMcpSupportReason.SandboxConfigurationIgnored:
|
|
111
|
-
return localize(
|
|
112
|
-
9711,
|
|
113
|
-
"Per-server sandboxing isn't supported. Migrating removes sandboxEnabled."
|
|
114
|
-
);
|
|
115
|
-
case AgentHostMcpSupportReason.DevelopmentModeIgnored:
|
|
116
|
-
return localize(9712, "Development mode isn't supported. Migrating removes dev.");
|
|
117
|
-
case AgentHostMcpSupportReason.OAuthClientConfigurationIgnored:
|
|
118
|
-
return localize(
|
|
119
|
-
9713,
|
|
120
|
-
"Custom OAuth client configuration is not supported by the Copilot harness.\nTo migrate this server, remove the custom OAuth client configuration and sign in when the Copilot harness prompts for authentication."
|
|
121
|
-
);
|
|
122
|
-
case AgentHostMcpSupportReason.DefinitionNotLoaded:
|
|
123
|
-
return localize(
|
|
124
|
-
9714,
|
|
125
|
-
"Compatibility cannot be determined because the server definition has not loaded.\nTo migrate this server, wait for MCP discovery to finish, then refresh this view. If the issue persists, check the server configuration for errors."
|
|
126
|
-
);
|
|
127
|
-
case AgentHostMcpSupportReason.SourceUnknown:
|
|
128
|
-
return localize(
|
|
129
|
-
9715,
|
|
130
|
-
"Compatibility cannot be determined because the server configuration source is unknown.\nTo migrate this server, move its configuration to a recognized location such as the workspace root .mcp.json file."
|
|
131
|
-
);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
let AgentHostMcpServerSupportScope = class AgentHostMcpServerSupportScope extends Disposable {
|
|
135
|
-
constructor(
|
|
136
|
-
_sessionType,
|
|
137
|
-
_roots,
|
|
138
|
-
_windowRemoteAuthority,
|
|
139
|
-
_onDispose,
|
|
140
|
-
_mcpService,
|
|
141
|
-
_mcpWorkbenchService,
|
|
142
|
-
_configurationResolverService,
|
|
143
|
-
_configurationService
|
|
144
|
-
) {
|
|
145
|
-
super();
|
|
146
|
-
this._sessionType = _sessionType;
|
|
147
|
-
this._roots = _roots;
|
|
148
|
-
this._windowRemoteAuthority = _windowRemoteAuthority;
|
|
149
|
-
this._onDispose = _onDispose;
|
|
150
|
-
this._mcpService = _mcpService;
|
|
151
|
-
this._mcpWorkbenchService = _mcpWorkbenchService;
|
|
152
|
-
this._configurationResolverService = _configurationResolverService;
|
|
153
|
-
this._configurationService = _configurationService;
|
|
154
|
-
this._support = observableValue("agentHostMcpServerSupport", {
|
|
155
|
-
servers: [],
|
|
156
|
-
discoveryComplete: false,
|
|
157
|
-
coverage: {
|
|
158
|
-
restrictedByMcpAccess: false,
|
|
159
|
-
restrictedByCustomizationPolicy: false
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
this._isResolved = observableValue("agentHostMcpServerSupportResolved", false);
|
|
163
|
-
this._latestResolution = ( new DeferredPromise());
|
|
164
|
-
this._refCount = 0;
|
|
165
|
-
this._updateSequence = 0;
|
|
166
|
-
this._isDisposed = false;
|
|
167
|
-
this._updateDelayer = this._register(( new Delayer(MCP_SUPPORT_UPDATE_DEBOUNCE_DELAY)));
|
|
168
|
-
const update = async sequence => {
|
|
169
|
-
try {
|
|
170
|
-
const lazyState = this._mcpService.lazyCollectionState.get();
|
|
171
|
-
const initialAssessment = await assessMcpServersForCopilotAgentHost(
|
|
172
|
-
this._mcpService.servers.get(),
|
|
173
|
-
this._configurationResolverService,
|
|
174
|
-
this._sessionType,
|
|
175
|
-
this._roots,
|
|
176
|
-
lazyState.state,
|
|
177
|
-
this._windowRemoteAuthority
|
|
178
|
-
);
|
|
179
|
-
if (!initialAssessment) {
|
|
180
|
-
this._completeUpdate(sequence, createEmptySupportSnapshot(this._getCoverage()));
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
if (sequence !== this._updateSequence || this._isDisposed) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
await this._mcpWorkbenchService.whenInitialLocalMcpServersLoaded;
|
|
187
|
-
if (sequence !== this._updateSequence || this._isDisposed) {
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
const installedServers = this._mcpWorkbenchService.local.flatMap(server => {
|
|
191
|
-
const local = server.local;
|
|
192
|
-
return local ? [{
|
|
193
|
-
id: local.id,
|
|
194
|
-
name: server.name,
|
|
195
|
-
label: server.label,
|
|
196
|
-
configuration: local.config,
|
|
197
|
-
configPath: this._mcpWorkbenchService.getMcpConfigPath(local),
|
|
198
|
-
sandbox: local.rootSandbox,
|
|
199
|
-
runtimeState: server.runtimeStatus?.state
|
|
200
|
-
}] : [];
|
|
201
|
-
});
|
|
202
|
-
const assessment = await mergeInstalledMcpServersIntoAgentHostSupportAssessment(
|
|
203
|
-
initialAssessment,
|
|
204
|
-
installedServers,
|
|
205
|
-
this._configurationResolverService,
|
|
206
|
-
this._roots
|
|
207
|
-
);
|
|
208
|
-
if (sequence !== this._updateSequence) {
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
this._completeUpdate(sequence, {
|
|
212
|
-
...assessment,
|
|
213
|
-
coverage: this._getCoverage()
|
|
214
|
-
});
|
|
215
|
-
} catch (error) {
|
|
216
|
-
onUnexpectedError(error);
|
|
217
|
-
this._completeUpdate(sequence, createEmptySupportSnapshot(this._getCoverage()));
|
|
218
|
-
} finally {
|
|
219
|
-
if (sequence === this._updateSequence && !this._latestResolution.isSettled) {
|
|
220
|
-
this._latestResolution.complete();
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
};
|
|
224
|
-
const scheduleUpdate = () => {
|
|
225
|
-
if (this._isDisposed) {
|
|
226
|
-
return;
|
|
227
|
-
}
|
|
228
|
-
const sequence = ++this._updateSequence;
|
|
229
|
-
const previousResolution = this._latestResolution;
|
|
230
|
-
this._latestResolution = ( new DeferredPromise());
|
|
231
|
-
transaction(tx => this._isResolved.set(false, tx));
|
|
232
|
-
if (!previousResolution.isSettled) {
|
|
233
|
-
previousResolution.complete();
|
|
234
|
-
}
|
|
235
|
-
this._updateDelayer.trigger(() => update(sequence)).catch(() => {});
|
|
236
|
-
};
|
|
237
|
-
this._register(autorun(reader => {
|
|
238
|
-
for (const server of this._mcpService.servers.read(reader)) {
|
|
239
|
-
server.readDefinitions().read(reader);
|
|
240
|
-
server.enablement.read(reader);
|
|
241
|
-
}
|
|
242
|
-
this._mcpService.lazyCollectionState.read(reader);
|
|
243
|
-
scheduleUpdate();
|
|
244
|
-
}));
|
|
245
|
-
this._register(this._mcpWorkbenchService.onChange(scheduleUpdate));
|
|
246
|
-
this._register(this._configurationService.onDidChangeConfiguration(event => {
|
|
247
|
-
if (event.affectsConfiguration(mcpAccessConfig) || event.affectsConfiguration(COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_CONFIG)) {
|
|
248
|
-
scheduleUpdate();
|
|
249
|
-
}
|
|
250
|
-
}));
|
|
251
|
-
}
|
|
252
|
-
acquire() {
|
|
253
|
-
this._refCount++;
|
|
254
|
-
let released = false;
|
|
255
|
-
return {
|
|
256
|
-
support: this._support,
|
|
257
|
-
isResolved: this._isResolved,
|
|
258
|
-
whenResolved: () => this._whenResolved(),
|
|
259
|
-
dispose: () => {
|
|
260
|
-
if (!released) {
|
|
261
|
-
released = true;
|
|
262
|
-
this._release();
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
dispose() {
|
|
268
|
-
if (this._isDisposed) {
|
|
269
|
-
return;
|
|
270
|
-
}
|
|
271
|
-
this._isDisposed = true;
|
|
272
|
-
this._updateSequence++;
|
|
273
|
-
if (!this._latestResolution.isSettled) {
|
|
274
|
-
this._latestResolution.complete();
|
|
275
|
-
}
|
|
276
|
-
super.dispose();
|
|
277
|
-
this._onDispose();
|
|
278
|
-
}
|
|
279
|
-
async _whenResolved() {
|
|
280
|
-
while (!this._isDisposed) {
|
|
281
|
-
const resolution = this._latestResolution;
|
|
282
|
-
await resolution.p;
|
|
283
|
-
if (resolution === this._latestResolution) {
|
|
284
|
-
return;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
_completeUpdate(sequence, snapshot) {
|
|
289
|
-
if (sequence !== this._updateSequence || this._isDisposed) {
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
transaction(tx => {
|
|
293
|
-
this._support.set(snapshot, tx);
|
|
294
|
-
this._isResolved.set(true, tx);
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
_getCoverage() {
|
|
298
|
-
const access = this._configurationService.getValue(mcpAccessConfig);
|
|
299
|
-
const strictPluginOnly = this._configurationService.getValue(COPILOT_STRICT_PLUGIN_ONLY_CUSTOMIZATION_CONFIG);
|
|
300
|
-
return {
|
|
301
|
-
restrictedByMcpAccess: access !== McpAccessValue.All,
|
|
302
|
-
restrictedByCustomizationPolicy: isStrictPluginOnlyCustomizationEnabled(strictPluginOnly)
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
_release() {
|
|
306
|
-
if (--this._refCount === 0) {
|
|
307
|
-
this.dispose();
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
AgentHostMcpServerSupportScope = ( __decorate([( __param(4, IMcpService)), ( __param(5, IMcpWorkbenchService)), ( __param(6, IConfigurationResolverService)), ( __param(7, IConfigurationService))], AgentHostMcpServerSupportScope));
|
|
312
|
-
|
|
313
|
-
export { AgentHostMcpServerSupportScope, createCustomizationMcpServerCompatibilityScope, getMcpCompatibilityDetail };
|
package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ToolDefinition } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state";
|
|
2
|
-
import type { IToolData } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService";
|
|
3
|
-
/**
|
|
4
|
-
* Converts an internal {@link IToolData} to a protocol {@link ToolDefinition}.
|
|
5
|
-
*/
|
|
6
|
-
export declare function toolDataToDefinition(tool: IToolData): ToolDefinition;
|
package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { withAgentToolPreferences } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/meta/agentToolCallMeta';
|
|
3
|
-
|
|
4
|
-
function toolDataToDefinition(tool) {
|
|
5
|
-
const definition = {
|
|
6
|
-
name: tool.toolReferenceName ?? tool.id,
|
|
7
|
-
title: tool.displayName,
|
|
8
|
-
description: tool.modelDescription,
|
|
9
|
-
};
|
|
10
|
-
if (tool.inputSchema?.type === 'object') {
|
|
11
|
-
definition.inputSchema = tool.inputSchema;
|
|
12
|
-
}
|
|
13
|
-
return withAgentToolPreferences(definition, tool.agentHostPreferences);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export { toolDataToDefinition };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
2
|
-
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
3
|
-
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
4
|
-
import { IAgentHostService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service";
|
|
5
|
-
import { IAgentHostConnectionsService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostConnectionsService.service";
|
|
6
|
-
import { ResolveSessionConfigResult } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/commands";
|
|
7
|
-
import { IAgentHostSessionWorkingDirectoryResolver } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service";
|
|
8
|
-
import { IAgentHostUntitledProvisionalSessionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service";
|
|
9
|
-
/**
|
|
10
|
-
* Services needed to apply a session-config change to an agent-host-backed chat
|
|
11
|
-
* session from the editor window.
|
|
12
|
-
*/
|
|
13
|
-
export interface IApplyAgentHostSessionConfigServices {
|
|
14
|
-
readonly agentHostService: IAgentHostService;
|
|
15
|
-
readonly connectionsService: IAgentHostConnectionsService;
|
|
16
|
-
readonly provisionalService: IAgentHostUntitledProvisionalSessionService;
|
|
17
|
-
readonly workingDirectoryResolver: IAgentHostSessionWorkingDirectoryResolver;
|
|
18
|
-
readonly workspaceContextService: IWorkspaceContextService;
|
|
19
|
-
readonly configurationService: IConfigurationService;
|
|
20
|
-
}
|
|
21
|
-
export declare function getAgentHostSessionConfig(sessionResource: URI, provisionalService: IAgentHostUntitledProvisionalSessionService, connectionsService: IAgentHostConnectionsService): ResolveSessionConfigResult | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Applies a partial session-config change (e.g. `autoApprove` and/or `mode`) to
|
|
24
|
-
* the agent-host session backing `sessionResource` in the editor window. This is
|
|
25
|
-
* the editor-window analogue of the Agents-window provider `setSessionConfigValue`
|
|
26
|
-
* path — it routes untitled sessions through the provisional service and existing
|
|
27
|
-
* sessions through an AHP `SessionConfigChanged` dispatch, matching how the
|
|
28
|
-
* agent-host chat-input pickers apply changes.
|
|
29
|
-
*
|
|
30
|
-
* An elevated `autoApprove` value is clamped back to `default` when enterprise
|
|
31
|
-
* policy disables global auto-approval, mirroring the pickers.
|
|
32
|
-
*
|
|
33
|
-
* @returns `true` when `sessionResource` is agent-host-backed and the change was
|
|
34
|
-
* dispatched, `false` otherwise (so callers can fall back).
|
|
35
|
-
*/
|
|
36
|
-
export declare function applyAgentHostSessionConfigChange(sessionResource: URI, config: Readonly<Record<string, string>>, services: IApplyAgentHostSessionConfigServices): Promise<boolean>;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { ActionType } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/common/actions';
|
|
3
|
-
import { StateComponents } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState';
|
|
4
|
-
import { isAutoApprovePolicyRestricted, normalizeSessionConfigValue } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/agentHostConfigPolicy';
|
|
5
|
-
import { isUntitledChatSession } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
|
|
6
|
-
import { resolveAgentHostChatSession, getLocalAgentHostSessionProvider, toAgentHostBackendSessionUri } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionUri';
|
|
7
|
-
|
|
8
|
-
function getAgentHostSessionConfig(sessionResource, provisionalService, connectionsService) {
|
|
9
|
-
const resolution = resolveAgentHostChatSession(
|
|
10
|
-
sessionResource,
|
|
11
|
-
provisionalService.get(sessionResource),
|
|
12
|
-
connectionsService
|
|
13
|
-
);
|
|
14
|
-
const snapshot = resolution?.connection.getSubscriptionUnmanaged(StateComponents.Session, resolution.backendSession)?.value;
|
|
15
|
-
return (snapshot && !(snapshot instanceof Error) ? snapshot.config : undefined) ?? provisionalService.getResolvedConfig(sessionResource);
|
|
16
|
-
}
|
|
17
|
-
async function applyAgentHostSessionConfigChange(sessionResource, config, services) {
|
|
18
|
-
const provider = getLocalAgentHostSessionProvider(sessionResource);
|
|
19
|
-
if (!provider) {
|
|
20
|
-
return false;
|
|
21
|
-
}
|
|
22
|
-
const {
|
|
23
|
-
agentHostService,
|
|
24
|
-
connectionsService,
|
|
25
|
-
provisionalService,
|
|
26
|
-
workingDirectoryResolver,
|
|
27
|
-
workspaceContextService,
|
|
28
|
-
configurationService
|
|
29
|
-
} = services;
|
|
30
|
-
const backendSession = toAgentHostBackendSessionUri(sessionResource, connectionsService);
|
|
31
|
-
const state = backendSession ? agentHostService.getSubscriptionUnmanaged(StateComponents.Session, backendSession)?.value : undefined;
|
|
32
|
-
const currentConfig = (state && !(state instanceof Error) ? state.config : undefined) ?? provisionalService.getResolvedConfig(sessionResource);
|
|
33
|
-
const policyRestricted = isAutoApprovePolicyRestricted(configurationService, currentConfig?.schema);
|
|
34
|
-
const partial = Object.fromEntries(Object.entries(config).map(
|
|
35
|
-
([key, value]) => [key, normalizeSessionConfigValue(key, value, policyRestricted)]
|
|
36
|
-
));
|
|
37
|
-
const workingDirectory = workingDirectoryResolver.resolve(sessionResource) ?? workspaceContextService.getWorkspace().folders[0]?.uri;
|
|
38
|
-
if (isUntitledChatSession(sessionResource)) {
|
|
39
|
-
await provisionalService.applyConfigChange(sessionResource, provider, workingDirectory, partial);
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
if (!backendSession) {
|
|
43
|
-
return false;
|
|
44
|
-
}
|
|
45
|
-
agentHostService.dispatch(( backendSession.toString()), {
|
|
46
|
-
type: ActionType.SessionConfigChanged,
|
|
47
|
-
config: partial
|
|
48
|
-
});
|
|
49
|
-
const currentValues = state && !(state instanceof Error) ? state.config?.values : undefined;
|
|
50
|
-
const nextConfig = {
|
|
51
|
-
...(currentValues ?? {}),
|
|
52
|
-
...partial
|
|
53
|
-
};
|
|
54
|
-
void provisionalService.refreshResolvedConfig(sessionResource, provider, workingDirectory, nextConfig);
|
|
55
|
-
return true;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export { applyAgentHostSessionConfigChange, getAgentHostSessionConfig };
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
3
|
-
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
4
|
-
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
5
|
-
import { IMcpServerConfiguration } from "@codingame/monaco-vscode-api/vscode/vs/platform/mcp/common/mcpPlatformTypes";
|
|
6
|
-
import { PromptsType } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/promptTypes";
|
|
7
|
-
import { AICustomizationSource } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService";
|
|
8
|
-
import { type ClientPluginCustomization } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionState";
|
|
9
|
-
import { type CustomizationEnablement } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/state";
|
|
10
|
-
import { SYNCED_CUSTOMIZATION_SCHEME } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/common/agentHostFileSystemService";
|
|
11
|
-
import { IAgentHostFileSystemService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/common/agentHostFileSystemService.service";
|
|
12
|
-
export { SYNCED_CUSTOMIZATION_SCHEME };
|
|
13
|
-
export interface ISyncableFile {
|
|
14
|
-
readonly uri: URI;
|
|
15
|
-
readonly type: PromptsType;
|
|
16
|
-
/**
|
|
17
|
-
* Where this file originally came from (extension, plugin, built-in, ...).
|
|
18
|
-
* Optional because it is only used to populate the provenance reverse map;
|
|
19
|
-
* files without it simply have no recoverable {@link ISyncedCustomizationOrigin}.
|
|
20
|
-
*/
|
|
21
|
-
readonly source?: AICustomizationSource;
|
|
22
|
-
/** Identifier of the contributing extension, when {@link source} is `extension`. */
|
|
23
|
-
readonly extensionId?: string;
|
|
24
|
-
/** Root URI of the contributing plugin, when {@link source} is `plugin`. */
|
|
25
|
-
readonly pluginUri?: URI;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Describes where a file bundled into the synthetic plugin originally came
|
|
29
|
-
* from. The bundle flattens files from many different sources (extensions,
|
|
30
|
-
* plugins, built-ins) into a single in-memory plugin, which erases their
|
|
31
|
-
* provenance. {@link SyncedCustomizationBundler.getOrigin} lets consumers
|
|
32
|
-
* recover it by mapping a synced (destination) URI back to this record.
|
|
33
|
-
*/
|
|
34
|
-
export interface ISyncedCustomizationOrigin {
|
|
35
|
-
/** The original local file URI before it was copied into the synthetic bundle. */
|
|
36
|
-
readonly uri: URI;
|
|
37
|
-
/** Where the file originally came from (extension, plugin, built-in, ...). */
|
|
38
|
-
readonly source: AICustomizationSource;
|
|
39
|
-
/** Identifier of the contributing extension, when {@link source} is `extension`. */
|
|
40
|
-
readonly extensionId?: string;
|
|
41
|
-
/** Root URI of the contributing plugin, when {@link source} is `plugin`. */
|
|
42
|
-
readonly pluginUri?: URI;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* An MCP server configured directly in VS Code (i.e. not contributed by an
|
|
46
|
-
* agent plugin) that should be bundled into the synthetic plugin so the
|
|
47
|
-
* agent host can launch it.
|
|
48
|
-
*/
|
|
49
|
-
export interface ISyncableMcpServer {
|
|
50
|
-
readonly name: string;
|
|
51
|
-
readonly configuration: IMcpServerConfiguration;
|
|
52
|
-
readonly defaultCwd?: URI;
|
|
53
|
-
readonly enablement: readonly CustomizationEnablement[];
|
|
54
|
-
}
|
|
55
|
-
export interface ISyncedCustomizationBundlerOptions {
|
|
56
|
-
/**
|
|
57
|
-
* Bundles standalone customizations: user and workspace skills and agents,
|
|
58
|
-
* and the MCP servers that VS Code forwards. The bundle is marked so that a
|
|
59
|
-
* host does not deliver its contents as plugin-provided, which lets the
|
|
60
|
-
* runtime apply `strictPluginOnlyCustomization` to them.
|
|
61
|
-
*/
|
|
62
|
-
readonly standalone?: boolean;
|
|
63
|
-
}
|
|
64
|
-
interface IBundleResult {
|
|
65
|
-
readonly ref: ClientPluginCustomization;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Bundles individual customization files into a synthetic Open Plugin
|
|
69
|
-
* backed by an in-memory filesystem.
|
|
70
|
-
*
|
|
71
|
-
* Each bundler instance is namespaced by its authority string so that
|
|
72
|
-
* multiple agent workspace scopes can coexist under the same scheme without
|
|
73
|
-
* conflicts.
|
|
74
|
-
* The plugin is mounted at `vscode-synced-customization:///{authority}/`
|
|
75
|
-
* and structured as:
|
|
76
|
-
*
|
|
77
|
-
* ```
|
|
78
|
-
* .plugin/plugin.json
|
|
79
|
-
* .mcp.json ← MCP servers configured in VS Code
|
|
80
|
-
* rules/ ← instruction files
|
|
81
|
-
* commands/ ← prompt files
|
|
82
|
-
* agents/ ← agent files
|
|
83
|
-
* skills/ ← skill directories
|
|
84
|
-
* ```
|
|
85
|
-
*
|
|
86
|
-
* The bundler computes a content-based nonce so the agent host can
|
|
87
|
-
* skip re-loading when nothing has changed.
|
|
88
|
-
*
|
|
89
|
-
* A standalone bundler ({@link ISyncedCustomizationBundlerOptions.standalone})
|
|
90
|
-
* carries standalone customizations separately from other synced content, so
|
|
91
|
-
* the host can keep them out of plugin delivery.
|
|
92
|
-
*/
|
|
93
|
-
export declare class SyncedCustomizationBundler extends Disposable {
|
|
94
|
-
private readonly _fileService;
|
|
95
|
-
private readonly _logService;
|
|
96
|
-
private readonly _fileOperationLimiter;
|
|
97
|
-
private readonly _authority;
|
|
98
|
-
private readonly _standalone;
|
|
99
|
-
private _lastNonce;
|
|
100
|
-
private _lastRef;
|
|
101
|
-
private _isDisposed;
|
|
102
|
-
/** Maps a synced (destination) URI string back to its original source location. Rebuilt on every {@link bundle}. */
|
|
103
|
-
private _originByDest;
|
|
104
|
-
constructor(authority: string, options: ISyncedCustomizationBundlerOptions | undefined, _fileService: IFileService, agentHostFileSystemService: IAgentHostFileSystemService, _logService: ILogService);
|
|
105
|
-
/**
|
|
106
|
-
* Root URI of the virtual plugin directory for this bundler.
|
|
107
|
-
* The authority is encoded into the path (not the URI authority) because
|
|
108
|
-
* {@link InMemoryFileSystemProvider} only routes by path.
|
|
109
|
-
*/
|
|
110
|
-
private get _rootUri();
|
|
111
|
-
private _queueFileOperation;
|
|
112
|
-
private _throwIfDisposed;
|
|
113
|
-
/**
|
|
114
|
-
* Bundles the given files and MCP servers into the in-memory plugin
|
|
115
|
-
* filesystem.
|
|
116
|
-
*
|
|
117
|
-
* Overwrites any previous bundle content. Returns a {@link ClientPluginCustomization}
|
|
118
|
-
* pointing at the virtual plugin directory with a content-based nonce.
|
|
119
|
-
*
|
|
120
|
-
* @returns The bundle result, or `undefined` if there is nothing to sync.
|
|
121
|
-
*/
|
|
122
|
-
bundle(files: readonly ISyncableFile[], mcpServers?: readonly ISyncableMcpServer[]): Promise<IBundleResult | undefined>;
|
|
123
|
-
private _bundle;
|
|
124
|
-
private _toMeta;
|
|
125
|
-
private _reuseLastBundle;
|
|
126
|
-
/**
|
|
127
|
-
* Returns the last computed nonce, or `undefined` if no bundle has been created.
|
|
128
|
-
*/
|
|
129
|
-
get lastNonce(): string | undefined;
|
|
130
|
-
isBundledMcpServer(pluginUri: string, serverName: string): boolean;
|
|
131
|
-
/**
|
|
132
|
-
* Recovers the original provenance of a file that was flattened into the
|
|
133
|
-
* synthetic bundle, given its synced (destination) URI. Returns `undefined`
|
|
134
|
-
* for URIs that are not part of the most recent bundle.
|
|
135
|
-
*/
|
|
136
|
-
getOrigin(syncedUri: URI): ISyncedCustomizationOrigin | undefined;
|
|
137
|
-
/** Finds the bundled URI for a source file in the most recent bundle. */
|
|
138
|
-
getSyncedUri(sourceUri: URI): URI | undefined;
|
|
139
|
-
dispose(): void;
|
|
140
|
-
}
|