@codingame/monaco-vscode-chat-service-override 37.6.1 → 38.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common.js +64 -2
- package/index.js +3 -3
- package/package.json +5 -5
- package/session.js +5 -1
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.d.ts +13 -2
- package/vscode/src/vs/platform/agentHost/browser/agentHostConnectionsService.js +164 -12
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.d.ts +4 -2
- package/vscode/src/vs/platform/agentHost/browser/agentHostIpcChannelTransport.js +8 -2
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.d.ts +34 -4
- package/vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js +345 -48
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.d.ts +135 -0
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.js +510 -0
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.d.ts +4 -1
- package/vscode/src/vs/platform/agentHost/browser/webSocketClientTransport.js +12 -2
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.d.ts +2 -11
- package/vscode/src/vs/platform/agentHost/common/agentHostCustomizationConfig.js +14 -27
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.d.ts +6 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostOperatingSystem.js +43 -0
- package/vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js +158 -73
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/artifactToolsConfiguration.js +26 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.d.ts +273 -0
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.js +61 -0
- package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.d.ts +3 -0
- package/vscode/src/vs/platform/agentHost/common/codexAccountPlan.js +30 -0
- package/vscode/src/vs/platform/agentHost/common/copilotConfigSlashCommands.js +8 -8
- package/vscode/src/vs/platform/agentHost/common/meta/agentHostChatInputState.d.ts +2 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.d.ts +7 -0
- package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.js +17 -0
- package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.js +48 -0
- package/vscode/src/vs/platform/agentHost/common/meta/{agentCustomizationMeta.js → vscode/agentCustomizationMeta.js} +2 -2
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentHostChatInputState.d.ts +16 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentHostChatInputState.js +16 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelConfigurationMeta.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelConfigurationMeta.js +20 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.d.ts +8 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelPricing.js +141 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.d.ts +12 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentPermissionResponseMeta.js +25 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.d.ts +5 -0
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentSandboxDiagnostics.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/meta/{clientPluginCustomizationMeta.d.ts → vscode/clientPluginCustomizationMeta.d.ts} +10 -0
- package/vscode/src/vs/platform/agentHost/common/meta/{clientPluginCustomizationMeta.js → vscode/clientPluginCustomizationMeta.js} +7 -1
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.d.ts +35 -24
- package/vscode/src/vs/platform/agentHost/common/sandboxConfigSchema.js +85 -20
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.d.ts +440 -0
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.js +11 -0
- package/vscode/src/vs/platform/agentHost/common/sessionDataService.service.d.ts +104 -0
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.d.ts +48 -0
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.js +238 -0
- package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.d.ts +35 -0
- package/vscode/src/vs/platform/agentHost/common/titleGenerationConfiguration.js +49 -0
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.d.ts +9 -0
- package/vscode/src/vs/platform/agentHost/common/vscodeSandboxPaths.js +13 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.d.ts +102 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.js +260 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.d.ts +102 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.js +115 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.d.ts +46 -0
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.js +92 -0
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.d.ts +22 -0
- package/vscode/src/vs/platform/customizationMarketplace/common/mcpGalleryMarketplaceProvider.js +158 -0
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.d.ts +4 -2
- package/vscode/src/vs/platform/networkFilter/common/networkFilterService.js +12 -5
- package/vscode/src/vs/platform/otel/common/chatUserInteraction.d.ts +20 -0
- package/vscode/src/vs/platform/otel/common/chatUserInteraction.js +45 -0
- package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.d.ts +1 -4
- package/vscode/src/vs/platform/sandbox/browser/sandboxHelperService.js +0 -9
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.d.ts +1 -4
- package/vscode/src/vs/platform/sandbox/common/sandboxHelperIpc.js +0 -15
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxCommandRules.d.ts +1 -1
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.d.ts +6 -24
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxEngine.js +51 -109
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxReadAllowList.d.ts +1 -1
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxRuntimeConfigurationPerOperation.d.ts +1 -1
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileDiffView.js +7 -7
- package/vscode/src/vs/sessions/browser/parts/mobile/contributions/mobileMultiDiffView.js +8 -8
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.d.ts +1 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/aiCustomizationWorkspaceService.js +11 -10
- package/vscode/src/vs/sessions/contrib/chat/browser/branchChatSessionAction.js +2 -2
- package/vscode/src/vs/sessions/contrib/chat/browser/btwSlashCommand.contribution.js +6 -6
- package/vscode/src/vs/sessions/contrib/chat/browser/chat.contribution.js +460 -94
- package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.d.ts +35 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/chatBackgroundTint.js +652 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSession.d.ts +9 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.d.ts +11 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionAction.js +118 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionFolderQuickPickAction.js +4 -4
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionOnboardingTargets.d.ts +7 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionOnboardingTargets.js +36 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.d.ts +26 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/newSessionPickerTryout.js +145 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.d.ts +1 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.js +24 -6
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptAction.js +94 -89
- package/vscode/src/vs/sessions/contrib/chat/browser/runScriptCustomTaskWidget.js +21 -21
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.d.ts +0 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionTurnChanges.js +28 -29
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.d.ts +7 -0
- package/vscode/src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.js +501 -107
- package/vscode/src/vs/sessions/contrib/chat/browser/voiceBridge.contribution.js +5 -1
- package/vscode/src/vs/sessions/contrib/chat/browser/workbenchSessionTaskRunner.d.ts +3 -3
- package/vscode/src/vs/sessions/contrib/chat/browser/workbenchSessionTaskRunner.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.d.ts +8 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostAgentPicker.js +214 -17
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettings.contribution.js +16 -9
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettings.contribution.js +7 -6
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatPhoneInputPresenter.js +226 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openAgentHostStateFileAction.js +1 -1
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.d.ts +11 -0
- package/vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.js +122 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.d.ts +67 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.js +695 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.d.ts +4 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.js +39 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessions.contribution.js +39 -22
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.d.ts +1 -19
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.js +42 -158
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.d.ts +87 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.js +176 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.d.ts +422 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.js +2444 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.d.ts +91 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.js +620 -0
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.d.ts +5 -4
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/modePicker.js +21 -12
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHost.contribution.js +2 -11
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.d.ts +46 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.js +321 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.d.ts +104 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.js +345 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.d.ts +14 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/entryDrivenProviderContribution.js +20 -3
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.d.ts +7 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.js +8 -12
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.d.ts +8 -4
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilterActionViewItem.js +88 -84
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/manageRemoteAgentHosts.js +74 -20
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/managedReconnectAgentHostContribution.js +2 -2
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostFilter.css +34 -19
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/media/hostPickerSheet.css +35 -3
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.d.ts +37 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.js +305 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.d.ts +4 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/mobileHostFilterActionViewItem.js +75 -20
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.d.ts +1 -80
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHost.contribution.js +19 -548
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.d.ts +4 -0
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.js +218 -122
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.d.ts +5 -4
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.js +43 -8
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/wslAgentHost.contribution.js +1 -1
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/media/sessionWorktreeCleanupEditor.css +223 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionStorageCleanupConfiguration.d.ts +2 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionStorageCleanupConfiguration.js +16 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.d.ts +15 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupAccessibilityHelp.js +49 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.d.ts +66 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditor.js +458 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.d.ts +13 -0
- package/vscode/src/vs/sessions/contrib/sessionInputBanners/browser/sessionWorktreeCleanupEditorInput.js +35 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.d.ts +15 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.js +37 -0
- package/vscode/src/vs/sessions/contrib/sessions/browser/mobile/mobileOverlayContribution.js +4 -4
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.d.ts +1 -1
- package/vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.js +5 -1
- package/vscode/src/vs/sessions/skills/create-draft-pr/SKILL.md +1 -1
- package/vscode/src/vs/sessions/skills/create-pr/SKILL.md +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +1 -0
- package/vscode/src/vs/workbench/api/browser/mainThreadChatSessions.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +56 -31
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +21 -21
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +3 -3
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +3 -3
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +6 -6
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +14 -14
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +11 -11
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +9 -9
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +5 -5
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +2 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +30 -29
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js +44 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatBackgroundShellOutputAccessibleView.d.ts +11 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatBackgroundShellOutputAccessibleView.js +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatResponseAccessibleView.js +85 -29
- package/vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatTerminalOutputAccessibleView.js +33 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +318 -103
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAgentRecommendationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCodeblockActions.js +60 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatContextActions.js +41 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatCopyActions.js +49 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatDeveloperActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFileTreeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatFindActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatImportExport.js +5 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatLanguageModelActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatMoveActions.js +15 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatNewActions.js +16 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatOpenAgentDebugPanelAction.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPromptNavigationActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQueueActions.js +24 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.js +44 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/createPluginAction.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/openAgentHostStateFileAction.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginCommands.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditor.js +22 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginEditor/agentPluginEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginRepositoryService.js +180 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentPluginsView.js +82 -69
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentCustomizationItemProvider.js +32 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHost.contribution.js +12 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.js +37 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +53 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatInputState.js +144 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCopilotCliSettingsContribution.js +88 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.d.ts +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationMarketplaceInstallProvider.js +642 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFirstResponseTelemetry.d.ts +118 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostFirstResponseTelemetry.js +35 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.js +49 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.d.ts +21 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLocalCustomizations.js +38 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerMigrationProvider.js +415 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.d.ts +12 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupport.js +124 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostMcpServerSupportScope.js +116 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostModeSynchronizer.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPermissionUiContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostPromptCacheNotification.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRemoteByokNotification.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRemoteByokNotification.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.d.ts +14 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostResponseFileChanges.js +286 -126
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostRootConfigForwarder.js +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotification.js +94 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.d.ts +14 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSandboxNotifications.js +63 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.d.ts +52 -88
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionHandler.js +1030 -349
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.d.ts +20 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionInputPills.js +722 -114
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListController.js +88 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.d.ts +16 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionListStore.js +87 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectorySynchronizer.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettings.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSettingsFileSystemProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSignedOutModelsNotification.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostTerminalContribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolUtils.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.d.ts +12 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js +191 -60
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettings.contribution.js +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentSessionSettingsFileSystemProvider.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSessionConfig.js +27 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/applyAgentHostSubmitConfig.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuation.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuation.contribution.js +127 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.d.ts +44 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationGuide.js +415 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationPresenter.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/codexContinuationPresenter.js +160 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/copilotConfigSlashSubmitHandler.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/openSessionLinkOpener.contribution.js +122 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.d.ts +22 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/syncedCustomizationBundler.js +74 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.js +89 -68
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjection.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionsExperiments.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusWidget.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccess.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/unifiedQuickAccessActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/localAgentSessionsController.js +50 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.js +122 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.d.ts +81 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessionsConfiguration.js +213 -13
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js +136 -100
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationUrlHandler.d.ts +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationUrlHandler.js +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.d.ts +139 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.js +944 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplace.contribution.js +119 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.d.ts +110 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.js +1485 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallationAssociation.d.ts +38 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallationAssociation.js +48 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.d.ts +50 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.js +213 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationAccessibility.js +19 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.d.ts +6 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js +87 -263
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.js +217 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/githubMcpRegistryIcons.js +605 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.d.ts +11 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/mcpServerCustomizationMigration.js +377 -184
- package/vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.contribution.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +753 -617
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/agentHostChatDebugProvider.js +118 -40
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatCustomizationDiscoveryRenderer.js +32 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheExplorerView.js +124 -124
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugCacheInsights.js +72 -72
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugDetailPanel.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEnablement.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventDetailRenderer.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEventList.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFilters.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowChartView.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugFlowGraph.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHomeView.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugHookContentRenderer.js +17 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugLogsView.js +24 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugMessageContentRenderer.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugModelTurnContentRenderer.js +23 -23
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugOverviewView.js +35 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugToolCallContentRenderer.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugWireLogView.js +47 -42
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCheckpointTimelineImpl.js +29 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingCodeEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingDeletedFileEntry.js +6 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorOverlay.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationModelManager.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingExplanationWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedDocumentEntry.js +10 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.d.ts +5 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedFileEntry.js +11 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingModifiedNotebookEntry.js +10 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingServiceImpl.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingSession.js +24 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingTextModelChangeService.js +16 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookCellEntry.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/notebook/chatEditingNotebookEditorIntegration.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatGoalSummaryService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.d.ts +12 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImageCarouselService.js +52 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagement.contribution.js +17 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditor.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatManagement/chatManagementEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatNetworkConfiguration.js +136 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatParticipant.contribution.js +52 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievements.contribution.js +71 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.d.ts +12 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditor.js +104 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetAchievementsWidget.js +84 -64
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.d.ts +29 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPetColorsWidget.js +221 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatProgressConfiguration.js +72 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatPromoNotification.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotaNotification.js +25 -25
- package/vscode/src/vs/workbench/contrib/chat/browser/chatRepoInfo.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSessions/chatSessionDescription.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupContributions.js +52 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupController.js +65 -57
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupGrowthSession.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.d.ts +82 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.js +213 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupProviders.js +29 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.d.ts +5 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupRunner.js +93 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommands.js +54 -55
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusEntry.js +51 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusPromo.js +230 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatStatus/codexStatusEntry.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipCatalog.js +30 -19
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatTipStorageKeys.js +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.js +88 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWindowNotifier.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/claudePluginRecommendations.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/defaultModelContribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/editorChatUsage.contribution.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/editorChatUsage.contribution.js +121 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/enablementStatusWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.js +192 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyPromptContribution.js +11 -24
- package/vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatPetAchievements.css +232 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.js +85 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackEditorOverlay.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.d.ts +0 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js +11 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginGitHubAuthentication.js +18 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.d.ts +13 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js +250 -92
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginSources.js +39 -47
- package/vscode/src/vs/workbench/contrib/chat/browser/pluginUrlHandler.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/chatModeActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptCodingAgentActionOverlay.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolSetsCodeLensProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptToolsCodeLensProvider.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/promptUrlHandler.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/runPromptAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/saveAsPromptFileActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptSyntax/skillActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimeline.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineCard.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineGutterRail.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineRulerRail.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/promptTimeline/promptTimelineStickyHeader.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.js +561 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.d.ts +133 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.js +1176 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.js +76 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.d.ts +54 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.js +220 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.d.ts +21 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.js +184 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.js +165 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.js +162 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.js +129 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.d.ts +166 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.js +838 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.d.ts +40 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.js +604 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.js +251 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.d.ts +289 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.js +497 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.d.ts +46 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.js +277 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.js +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.js +178 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.d.ts +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.js +398 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.d.ts +45 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.js +296 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js +96 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.d.ts +75 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.js +559 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.js +26 -0
- package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostCustomizationHarness.d.ts +1 -1
- package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostCustomizationHarness.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/clientToolSetsContribution.js +26 -10
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js +39 -39
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js +45 -31
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/renameTool.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/toolHelpers.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/tools/usagesTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/utilityModelContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatUpdateRequiredView.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatUpdateRequiredView.js +110 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcomeHandler.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatFind/chatFindAccessibilityHelp.js +15 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatWidgetService.js +39 -35
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/chatQueuePickerActionItem.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/agentHostInputCompletions.js +68 -16
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCommandArgumentHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.d.ts +16 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputCompletions.js +23 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorContrib.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/input/editor/chatInputEditorHover.js +7 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/all_/_.png.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-insiders-96.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-insiders-96.spritesheet.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-stable-96.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/media/chatPet/buddy-painting-stable-96.spritesheet.png +0 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/chatQuick.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/editor/chatEditor.js +15 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.d.ts +17 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.js +122 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.d.ts +7 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +46 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewPane.css +16 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/media/chatViewTitleControl.css +18 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.d.ts +24 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceImpl.js +406 -193
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.d.ts +58 -0
- package/vscode/src/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.js +60 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatModelStore.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionOperationLog.js +5 -1
- package/vscode/src/vs/workbench/contrib/chat/common/model/chatSessionStore.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/modelPickerTryout.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/modelPickerTryout.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/newSessionPickerTryout.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/onboarding/newSessionPickerTryout.js +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.d.ts +17 -22
- package/vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js +455 -237
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/chatPromptFilesContribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.js +25 -17
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptCodeActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHeaderAutocompletion.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptHovers.js +11 -14
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptLinkProvider.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/languageProviders/promptValidator.js +156 -155
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.d.ts +43 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.js +225 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/manageTodoListTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/reviewPlanTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/runSubagentTool.js +65 -9
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactRulesTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/builtinTools/setArtifactsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.js +11 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/languageModelToolsContribution.js +22 -22
- package/vscode/src/vs/workbench/contrib/chat/common/voiceChatService.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js +46 -24
- package/vscode/src/vs/workbench/contrib/github/browser/githubCommitResolver.d.ts +15 -0
- package/vscode/src/vs/workbench/contrib/github/browser/githubCommitResolver.js +92 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditor.js +22 -15
- package/vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarouselEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +15 -15
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatDefaultModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatEditReviewSession.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/mcp/browser/mcpPromptArgumentPick.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chat/notebookChatUtils.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
- package/vscode/src/vs/workbench/contrib/onboarding/browser/onboarding.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/spotlightStep.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatActions.js +20 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatSessionResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/agentHostSandboxForwarder.js +3 -25
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/runInTerminalHelpers.js +6 -6
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js +4 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/autoApprove/npmScriptAutoApprover.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineAutoApproveAnalyzer.js +12 -12
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineAnalyzer/commandLineFileWriteAnalyzer.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/commandLineRewriter/commandLineSandboxRewriter.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalLastCommandTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalOutputTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/getTerminalSelectionTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/killTerminalTool.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring/outputMonitor.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalConfirmationTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.js +79 -82
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sandboxOutputAnalyzer.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/sendToTerminalTool.js +10 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.d.ts +9 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/createAndRunTaskTool.js +103 -26
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/getTaskOutputTool.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/runTaskTool.js +14 -14
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/task/taskHelpers.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/treeSitterCommandParser.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/sandboxSettingsReader.js +8 -4
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.d.ts +1 -5
- package/vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.js +16 -60
- package/vscode/src/vs/workbench/services/agentEditorComments/browser/agentEditorCommentsOverlayWidget.js +3 -3
- package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/agentHost/browser/agentSdkSetupService.js +1 -1
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuation.d.ts +31 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuation.js +86 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuationService.d.ts +76 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/codexContinuationService.js +409 -0
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.d.ts +14 -2
- package/vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js +56 -7
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.d.ts +0 -8
- package/vscode/src/vs/platform/agentHost/common/agentHostFileSystemService.js +0 -19
- package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.d.ts +0 -24
- package/vscode/src/vs/platform/agentHost/common/agentModelByokMeta.js +0 -13
- package/vscode/src/vs/platform/agentHost/common/agentModelPricing.js +0 -53
- package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.d.ts +0 -53
- package/vscode/src/vs/platform/agentHost/common/agentSdkSetup.js +0 -45
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.d.ts +0 -108
- package/vscode/src/vs/platform/sandbox/common/terminalSandboxService.js +0 -15
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/branchPicker.d.ts +0 -31
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/branchPicker.js +0 -150
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/mobilePermissionPicker.contribution.js +0 -37
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/sandboxPicker.d.ts +0 -26
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/sandboxPicker.js +0 -86
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatPluginActions.js +0 -241
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.d.ts +0 -142
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth.js +0 -746
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.d.ts +0 -164
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.js +0 -485
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.d.ts +0 -137
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatSubagentOpenChat.js +0 -714
- package/vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/media/chatSubagentOpenChat.css +0 -379
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.d.ts +0 -219
- package/vscode/src/vs/workbench/contrib/chat/common/chatService/chatServiceTelemetry.js +0 -222
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.d.ts +0 -16
- package/vscode/src/vs/workbench/services/agentHost/common/agentHostFileSystemService.js +0 -39
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentChatSurfaceMeta.d.ts → vscode/agentChatSurfaceMeta.d.ts} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentChatSurfaceMeta.js → vscode/agentChatSurfaceMeta.js} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentCustomizationMeta.d.ts → vscode/agentCustomizationMeta.d.ts} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentEphemeralSessionMeta.d.ts → vscode/agentEphemeralSessionMeta.d.ts} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/meta/{agentEphemeralSessionMeta.js → vscode/agentEphemeralSessionMeta.js} +0 -0
- /package/vscode/src/vs/platform/agentHost/common/{agentModelPricing.d.ts → meta/vscode/agentModelPricing.d.ts} +0 -0
- /package/vscode/src/vs/sessions/contrib/providers/{copilotChatSessions/browser/mobilePermissionPicker.contribution.d.ts → agentHost/browser/mobile/mobileChatPhoneInputPresenter.d.ts} +0 -0
- /package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostLogForwarder.d.ts +0 -0
- /package/vscode/src/vs/{sessions/contrib/providers/remoteAgentHost/browser → workbench/contrib/chat/browser/remoteAgentHost}/remoteAgentHostLogForwarder.js +0 -0
package/common.js
CHANGED
|
@@ -4,6 +4,12 @@ import { IAgentHostConnectionsService } from '@codingame/monaco-vscode-api/vscod
|
|
|
4
4
|
import { IAgentHostEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostEnablementService.service';
|
|
5
5
|
import { IAgentHostResourceService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostResourceService.service';
|
|
6
6
|
import { IAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service';
|
|
7
|
+
import { ICloudSandboxAgentHostService, ICloudSandboxApiService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost.service';
|
|
8
|
+
import { IMissionControlSharingService, IMissionControlEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/missionControlEnvironment.service';
|
|
9
|
+
import { CopilotConnectorsRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/copilotConnectors/common/copilotConnectorsRequestService';
|
|
10
|
+
import { ICopilotConnectorsRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/copilotConnectors/common/copilotConnectorsRequestService.service';
|
|
11
|
+
import { ICustomizationMarketplaceService } from '@codingame/monaco-vscode-api/vscode/vs/platform/customizationMarketplace/common/customizationMarketplaceService.service';
|
|
12
|
+
import { IPlatformCustomizationMarketplaceService } from '@codingame/monaco-vscode-api/vscode/vs/platform/customizationMarketplace/common/platformCustomizationMarketplaceService.service';
|
|
7
13
|
import { ILinkPresentationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/dataChannel/common/dataChannel.service';
|
|
8
14
|
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
9
15
|
import { AgentNetworkFilterService } from './vscode/src/vs/platform/networkFilter/common/networkFilterService.js';
|
|
@@ -36,6 +42,8 @@ import { AgentHostToolSetEnablementService } from '@codingame/monaco-vscode-api/
|
|
|
36
42
|
import { IAgentHostToolSetEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostToolSetEnablementService.service';
|
|
37
43
|
import { AgentHostUntitledProvisionalSessionService } from './vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.js';
|
|
38
44
|
import { IAgentHostUntitledProvisionalSessionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostUntitledProvisionalSessionService.service';
|
|
45
|
+
import { ChatTerminalOutputTextModelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/chatTerminalOutputTextModelContentProvider';
|
|
46
|
+
import { IChatTerminalOutputTextModelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/chatTerminalOutputTextModelContentProvider.service';
|
|
39
47
|
import { AgentSessionsService } from './vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.js';
|
|
40
48
|
import { IAgentSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service';
|
|
41
49
|
import { AgentSessionProjectionService } from './vscode/src/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentSessionProjectionService.js';
|
|
@@ -44,7 +52,13 @@ import { AgentTitleBarStatusService } from '@codingame/monaco-vscode-api/vscode/
|
|
|
44
52
|
import { IAgentTitleBarStatusService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/experiments/agentTitleBarStatusService.service';
|
|
45
53
|
import { SessionSummaryHoverService } from './vscode/src/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.js';
|
|
46
54
|
import { ISessionSummaryHoverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/sessionSummaryHoverService.service';
|
|
55
|
+
import { CopilotConnectorsService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.js';
|
|
56
|
+
import { ICopilotConnectorsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/aiCustomization/copilotConnectorsService.service';
|
|
57
|
+
import { CustomizationMarketplaceInstallService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceInstallService.js';
|
|
58
|
+
import { CustomizationMarketplaceWorkbenchService, PlatformCustomizationMarketplaceWorkbenchService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMarketplaceWorkbenchService.js';
|
|
47
59
|
import { CustomizationMigrationService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationMigrationServiceImpl.js';
|
|
60
|
+
import { CustomizationsTelemetryService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.js';
|
|
61
|
+
import { ICustomizationsTelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/aiCustomization/customizationsTelemetryService.service';
|
|
48
62
|
import { ChatAttachmentResolveService } from './vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.js';
|
|
49
63
|
import { IChatAttachmentResolveService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/attachments/chatAttachmentResolveService.service';
|
|
50
64
|
import { ChatAttachmentWidgetRegistry } from './vscode/src/vs/workbench/contrib/chat/browser/attachments/chatAttachmentWidgetRegistry.js';
|
|
@@ -68,16 +82,22 @@ import { ChatPetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
68
82
|
import { IChatPetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatPetService.service';
|
|
69
83
|
import { IChatResponseFileChangesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service';
|
|
70
84
|
import { ChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution';
|
|
85
|
+
import { ChatMicrosoftSignInProbeService } from './vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.js';
|
|
86
|
+
import { IChatMicrosoftSignInProbeService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.service';
|
|
71
87
|
import { ChatStatusItemService } from './vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.js';
|
|
72
88
|
import { IChatStatusItemService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.service';
|
|
73
89
|
import { ChatSubmitRequestHandlerService } from './vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.js';
|
|
74
90
|
import { IChatSubmitRequestHandlerService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.service';
|
|
75
91
|
import { ChatTipService } from './vscode/src/vs/workbench/contrib/chat/browser/chatTipService.js';
|
|
76
92
|
import { IChatTipService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatTipService.service';
|
|
93
|
+
import { ChatUserInteractionOTelService } from './vscode/src/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.js';
|
|
94
|
+
import { IChatUserInteractionOTelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatUserInteractionOTel.service';
|
|
77
95
|
import { ChatCodeBlockContextProviderService } from './vscode/src/vs/workbench/contrib/chat/browser/codeBlockContextProviderService.js';
|
|
78
96
|
import { ChatContextService } from './vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.js';
|
|
79
97
|
import { IChatContextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/contextContrib/chatContextService.service';
|
|
80
98
|
import { EditorChatResponseFileChangesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/editorChatResponseFileChangesService';
|
|
99
|
+
import { ChatHarnessSwitchFeedbackSurveyService } from './vscode/src/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.js';
|
|
100
|
+
import { IChatHarnessSwitchFeedbackSurveyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/feedbackSurvey/chatHarnessSwitchFeedbackSurveyService.service';
|
|
81
101
|
import { ChatModelFeedbackSurveyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService';
|
|
82
102
|
import { IChatModelFeedbackSurveyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/feedbackSurvey/chatModelFeedbackSurveyService.service';
|
|
83
103
|
import { LanguageModelsConfigurationService } from './vscode/src/vs/workbench/contrib/chat/browser/languageModelsConfigurationService.js';
|
|
@@ -85,6 +105,18 @@ import { PlanReviewFeedbackService } from './vscode/src/vs/workbench/contrib/cha
|
|
|
85
105
|
import { IPlanReviewFeedbackService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service';
|
|
86
106
|
import { BrowserPluginGitCommandService } from './vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js';
|
|
87
107
|
import { PluginInstallService } from './vscode/src/vs/workbench/contrib/chat/browser/pluginInstallService.js';
|
|
108
|
+
import { CloudSandboxAgentHostService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.js';
|
|
109
|
+
import { CloudSandboxApiService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.js';
|
|
110
|
+
import { CloudSandboxModelCatalogService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.js';
|
|
111
|
+
import { ICloudSandboxModelCatalogService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.service';
|
|
112
|
+
import { CloudSandboxTelemetryService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.js';
|
|
113
|
+
import { ICloudSandboxTelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.service';
|
|
114
|
+
import { MissionControlEnvironmentService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.js';
|
|
115
|
+
import { MissionControlSharingService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.js';
|
|
116
|
+
import { RemoteAgentHostAuthenticationService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.js';
|
|
117
|
+
import { IRemoteAgentHostAuthenticationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.service';
|
|
118
|
+
import { RemoteAgentHostConnectionCustomizationService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.js';
|
|
119
|
+
import { IRemoteAgentHostConnectionCustomizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.service';
|
|
88
120
|
import { ChatSpeechToTextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService';
|
|
89
121
|
import { IChatSpeechToTextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service';
|
|
90
122
|
import { DictationOnboardingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding';
|
|
@@ -136,6 +168,7 @@ import { ChatService } from './vscode/src/vs/workbench/contrib/chat/common/chatS
|
|
|
136
168
|
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
137
169
|
import { ChatSideChatService } from './vscode/src/vs/workbench/contrib/chat/common/chatSideChatService.js';
|
|
138
170
|
import { IChatSideChatService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSideChatService.service';
|
|
171
|
+
import { ICustomizationMarketplaceInstallService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/customizationMarketplaceInstallService.service';
|
|
139
172
|
import { CodeMapperService } from './vscode/src/vs/workbench/contrib/chat/common/editing/chatCodeMapperService.js';
|
|
140
173
|
import { ICodeMapperService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatCodeMapperService.service';
|
|
141
174
|
import { IChatEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatEditingService.service';
|
|
@@ -152,6 +185,8 @@ import { ChatAgentNameService, ChatAgentService } from '@codingame/monaco-vscode
|
|
|
152
185
|
import { IChatAgentNameService, IChatAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service';
|
|
153
186
|
import { ChatSlashCommandService } from './vscode/src/vs/workbench/contrib/chat/common/participants/chatSlashCommands.js';
|
|
154
187
|
import { IChatSlashCommandService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatSlashCommands.service';
|
|
188
|
+
import { AgentPluginEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement';
|
|
189
|
+
import { IAgentPluginEnablementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginEnablement.service';
|
|
155
190
|
import { IAgentPluginRepositoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginRepositoryService.service';
|
|
156
191
|
import { IAgentPluginService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginService.service';
|
|
157
192
|
import { AgentPluginService } from './vscode/src/vs/workbench/contrib/chat/common/plugins/agentPluginServiceImpl.js';
|
|
@@ -162,6 +197,8 @@ import { IPluginMarketplaceService } from '@codingame/monaco-vscode-api/vscode/v
|
|
|
162
197
|
import { WorkspacePluginSettingsService } from './vscode/src/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.js';
|
|
163
198
|
import { IWorkspacePluginSettingsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/workspacePluginSettingsService.service';
|
|
164
199
|
import { ICustomizationMigrationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationService.service';
|
|
200
|
+
import { CustomizationMigrationTelemetryService } from './vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.js';
|
|
201
|
+
import { ICustomizationMigrationTelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/service/customizationMigrationTelemetryService.service';
|
|
165
202
|
import { SessionChatPillVisibility } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/sessionChatPills';
|
|
166
203
|
import { ISessionChatPillVisibilityService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/sessionChatPills.service';
|
|
167
204
|
import { ChatArtifactsService } from './vscode/src/vs/workbench/contrib/chat/common/tools/chatArtifactsService.js';
|
|
@@ -194,9 +231,11 @@ import { AgentSdkSetupService } from './vscode/src/vs/workbench/services/agentHo
|
|
|
194
231
|
import { IAgentSdkSetupService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/browser/agentSdkSetupService.service';
|
|
195
232
|
import { CodexAccountService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/browser/codexAccountService';
|
|
196
233
|
import { ICodexAccountService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/browser/codexAccountService.service';
|
|
234
|
+
import { CodexContinuationService } from './vscode/src/vs/workbench/services/agentHost/browser/codexContinuationService.js';
|
|
235
|
+
import { ICodexContinuationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/browser/codexContinuationService.service';
|
|
197
236
|
import { EditorRemoteAgentHostServiceClient } from './vscode/src/vs/workbench/services/agentHost/browser/editorRemoteAgentHostServiceClient.js';
|
|
198
237
|
import { WebAgentHostEnablementService } from './vscode/src/vs/workbench/services/agentHost/browser/webAgentHostEnablementService.js';
|
|
199
|
-
import { AgentHostFileSystemService } from '
|
|
238
|
+
import { AgentHostFileSystemService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/common/agentHostFileSystemService';
|
|
200
239
|
import { IAgentHostFileSystemService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/agentHost/common/agentHostFileSystemService.service';
|
|
201
240
|
import { AgentHostResourceService } from './vscode/src/vs/workbench/services/agentHost/common/agentHostResourceService.js';
|
|
202
241
|
import { ChatEntitlementService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService';
|
|
@@ -221,6 +260,8 @@ import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/ag
|
|
|
221
260
|
import './vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.js';
|
|
222
261
|
import './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.js';
|
|
223
262
|
import './vscode/src/vs/workbench/contrib/chat/browser/contextContrib/chatContext.contribution.js';
|
|
263
|
+
import './vscode/src/vs/workbench/contrib/chat/browser/onboarding/modelPickerTryout.contribution.js';
|
|
264
|
+
import './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js';
|
|
224
265
|
import './vscode/src/vs/workbench/contrib/chat/browser/attachments/chatReferenceAttachmentWidget.contribution.js';
|
|
225
266
|
import './vscode/src/vs/workbench/contrib/chat/browser/attachments/transcriptContextAttachmentWidget.contribution.js';
|
|
226
267
|
import './vscode/src/vs/workbench/api/browser/mainThreadLanguageModels.js';
|
|
@@ -372,7 +413,28 @@ function getServiceOverride({ defaultAccount } = {}) {
|
|
|
372
413
|
[IAgentHostService.toString()]: new SyncDescriptor(EditorRemoteAgentHostServiceClient, [], true),
|
|
373
414
|
[ILinkPresentationService.toString()]: new SyncDescriptor(LinkPresentationService, [], true),
|
|
374
415
|
[IAgentHostByokLmHandler.toString()]: new SyncDescriptor(AgentHostByokLmHandler, [], true),
|
|
375
|
-
[IAICustomizationItemsModel.toString()]: new SyncDescriptor(AICustomizationItemsModel, [], true)
|
|
416
|
+
[IAICustomizationItemsModel.toString()]: new SyncDescriptor(AICustomizationItemsModel, [], true),
|
|
417
|
+
[IPlatformCustomizationMarketplaceService.toString()]: new SyncDescriptor(PlatformCustomizationMarketplaceWorkbenchService, [], true),
|
|
418
|
+
[ICustomizationMarketplaceService.toString()]: new SyncDescriptor(CustomizationMarketplaceWorkbenchService, [], true),
|
|
419
|
+
[ICopilotConnectorsService.toString()]: new SyncDescriptor(CopilotConnectorsService, [], true),
|
|
420
|
+
[ICopilotConnectorsRequestService.toString()]: new SyncDescriptor(CopilotConnectorsRequestService, [], true),
|
|
421
|
+
[ICustomizationMarketplaceInstallService.toString()]: new SyncDescriptor(CustomizationMarketplaceInstallService, [], true),
|
|
422
|
+
[IChatTerminalOutputTextModelService.toString()]: new SyncDescriptor(ChatTerminalOutputTextModelService, [], true),
|
|
423
|
+
[IChatHarnessSwitchFeedbackSurveyService.toString()]: new SyncDescriptor(ChatHarnessSwitchFeedbackSurveyService, [], true),
|
|
424
|
+
[IAgentPluginEnablementService.toString()]: new SyncDescriptor(AgentPluginEnablementService, [], true),
|
|
425
|
+
[ICustomizationMigrationTelemetryService.toString()]: new SyncDescriptor(CustomizationMigrationTelemetryService, [], true),
|
|
426
|
+
[ICustomizationsTelemetryService.toString()]: new SyncDescriptor(CustomizationsTelemetryService, [], true),
|
|
427
|
+
[IChatMicrosoftSignInProbeService.toString()]: new SyncDescriptor(ChatMicrosoftSignInProbeService, [], true),
|
|
428
|
+
[IChatUserInteractionOTelService.toString()]: new SyncDescriptor(ChatUserInteractionOTelService, [], true),
|
|
429
|
+
[ICloudSandboxTelemetryService.toString()]: new SyncDescriptor(CloudSandboxTelemetryService, [], true),
|
|
430
|
+
[ICloudSandboxApiService.toString()]: new SyncDescriptor(CloudSandboxApiService, [], true),
|
|
431
|
+
[ICloudSandboxModelCatalogService.toString()]: new SyncDescriptor(CloudSandboxModelCatalogService, [], true),
|
|
432
|
+
[ICloudSandboxAgentHostService.toString()]: new SyncDescriptor(CloudSandboxAgentHostService, [], true),
|
|
433
|
+
[IMissionControlEnvironmentService.toString()]: new SyncDescriptor(MissionControlEnvironmentService, [], true),
|
|
434
|
+
[IMissionControlSharingService.toString()]: new SyncDescriptor(MissionControlSharingService, [], true),
|
|
435
|
+
[IRemoteAgentHostConnectionCustomizationService.toString()]: new SyncDescriptor(RemoteAgentHostConnectionCustomizationService, [], true),
|
|
436
|
+
[IRemoteAgentHostAuthenticationService.toString()]: new SyncDescriptor(RemoteAgentHostAuthenticationService, [], true),
|
|
437
|
+
[ICodexContinuationService.toString()]: new SyncDescriptor(CodexContinuationService, [], true)
|
|
376
438
|
};
|
|
377
439
|
}
|
|
378
440
|
|
package/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
3
|
-
import {
|
|
3
|
+
import { EditorWindowRemoteAgentHostService } from './vscode/src/vs/platform/agentHost/browser/remoteAgentHostServiceImpl.js';
|
|
4
4
|
import { IRemoteAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService.service';
|
|
5
5
|
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
6
6
|
import { AgentsVoiceWindowService } from './vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.js';
|
|
7
7
|
import { IAgentsVoiceWindowService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/agentsVoice/common/agentsVoice.service';
|
|
8
|
-
import { NullAgentHostCustomizationService } from '
|
|
8
|
+
import { NullAgentHostCustomizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService';
|
|
9
9
|
import { IAgentHostCustomizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service';
|
|
10
10
|
import { AICustomizationWorkspaceService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js';
|
|
11
11
|
import { CustomizationHarnessService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/customizationHarnessService.js';
|
|
@@ -34,7 +34,7 @@ function getServiceOverride({ defaultAccount } = {}) {
|
|
|
34
34
|
[IPromptsService.toString()]: new SyncDescriptor(PromptsService, [], true),
|
|
35
35
|
[IAICustomizationWorkspaceService.toString()]: new SyncDescriptor(AICustomizationWorkspaceService, [], true),
|
|
36
36
|
[ICustomizationHarnessService.toString()]: new SyncDescriptor(CustomizationHarnessService, [], true),
|
|
37
|
-
[IRemoteAgentHostService.toString()]: new SyncDescriptor(
|
|
37
|
+
[IRemoteAgentHostService.toString()]: new SyncDescriptor(EditorWindowRemoteAgentHostService, [], true),
|
|
38
38
|
[IAgentsVoiceWindowService.toString()]: new SyncDescriptor(AgentsVoiceWindowService, [], true),
|
|
39
39
|
[IAgentHostCustomizationService.toString()]: new SyncDescriptor(NullAgentHostCustomizationService, [], true),
|
|
40
40
|
[IInlineChatSessionResolver.toString()]: new SyncDescriptor(InlineChatSessionResolver, [], true)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "38.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - chat service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
19
|
-
"@codingame/monaco-vscode-files-service-override": "
|
|
20
|
-
"@codingame/monaco-vscode-katex-common": "
|
|
21
|
-
"@codingame/monaco-vscode-xterm-common": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "38.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-files-service-override": "38.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-katex-common": "38.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-xterm-common": "38.0.0"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
package/session.js
CHANGED
|
@@ -13,6 +13,8 @@ import { SessionsAICustomizationWorkspaceService } from './vscode/src/vs/session
|
|
|
13
13
|
import { SessionsCustomizationHarnessService } from '@codingame/monaco-vscode-api/vscode/vs/sessions/contrib/chat/browser/customizationHarnessService';
|
|
14
14
|
import { NullInlineChatSessionService } from './vscode/src/vs/sessions/contrib/chat/browser/nullInlineChatSessionService.js';
|
|
15
15
|
import { AgenticPromptsService } from './vscode/src/vs/sessions/contrib/chat/browser/promptsService.js';
|
|
16
|
+
import { AICustomizationMcpServerCountService } from './vscode/src/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.js';
|
|
17
|
+
import { IAICustomizationMcpServerCountService } from '@codingame/monaco-vscode-api/vscode/vs/sessions/contrib/sessions/browser/customizationMcpServerCount.service';
|
|
16
18
|
import { AgentHostCustomizationService } from './vscode/src/vs/sessions/services/agentHost/browser/agentHostCustomizationService.js';
|
|
17
19
|
import getServiceOverride$1 from './common.js';
|
|
18
20
|
import { IChatResponseFileChangesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service';
|
|
@@ -30,8 +32,9 @@ import './vscode/src/vs/sessions/contrib/chat/browser/sideChatProvider.contribut
|
|
|
30
32
|
import './vscode/src/vs/sessions/contrib/chat/browser/voiceBridge.contribution.js';
|
|
31
33
|
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettings.contribution.js';
|
|
32
34
|
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettings.contribution.js';
|
|
35
|
+
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatPhoneInputPresenter.js';
|
|
36
|
+
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.js';
|
|
33
37
|
import './vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessions.contribution.js';
|
|
34
|
-
import './vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/mobilePermissionPicker.contribution.js';
|
|
35
38
|
import './vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHost.contribution.js';
|
|
36
39
|
import './vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.js';
|
|
37
40
|
import './vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostTerminal.contribution.js';
|
|
@@ -60,6 +63,7 @@ function getServiceOverride({ defaultAccount } = {}) {
|
|
|
60
63
|
[ICustomizationHarnessService.toString()]: new SyncDescriptor(SessionsCustomizationHarnessService, [], true),
|
|
61
64
|
[IRemoteAgentHostService.toString()]: new SyncDescriptor(AgentsWindowRemoteAgentHostService, [], true),
|
|
62
65
|
[IAgentHostCustomizationService.toString()]: new SyncDescriptor(AgentHostCustomizationService, [], true),
|
|
66
|
+
[IAICustomizationMcpServerCountService.toString()]: new SyncDescriptor(AICustomizationMcpServerCountService, [], true),
|
|
63
67
|
[IChatResponseFileChangesService.toString()]: new SyncDescriptor(SessionsChatResponseFileChangesService, [], true),
|
|
64
68
|
[IChangesViewService.toString()]: new SyncDescriptor(ChangesViewService, [], true),
|
|
65
69
|
[IWSLRemoteAgentHostService.toString()]: new SyncDescriptor(NullWSLRemoteAgentHostService, [], true)
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
2
|
import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
4
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
5
|
+
import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/platform/path/common/pathService.service";
|
|
3
6
|
import { IAgentConnection } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService";
|
|
4
7
|
import { IAgentHostService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service";
|
|
5
8
|
import { IAgentHostConnectionInfo, IAgentHostSessionIdentity, IAgentHostSessionResolution, IAgentHostSessionResolutionPolicy } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostConnectionsService";
|
|
6
9
|
import { IAgentHostConnectionsService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostConnectionsService.service";
|
|
7
10
|
import { IRemoteAgentHostService } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService.service";
|
|
8
|
-
import type { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
9
11
|
/**
|
|
10
12
|
* Default {@link IAgentHostConnectionsService} that composes the ambient
|
|
11
13
|
* `IAgentHostService` with the `IRemoteAgentHostService` registry. Works in
|
|
@@ -15,20 +17,29 @@ import type { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri
|
|
|
15
17
|
export declare class AgentHostConnectionsService extends Disposable implements IAgentHostConnectionsService {
|
|
16
18
|
private readonly _agentHostService;
|
|
17
19
|
private readonly _remoteAgentHostService;
|
|
20
|
+
private readonly _logService;
|
|
18
21
|
readonly _serviceBrand: undefined;
|
|
19
22
|
private readonly _onDidChangeConnections;
|
|
20
23
|
readonly onDidChangeConnections: Event<void>;
|
|
21
24
|
private readonly _onDidChangeSessionResolution;
|
|
22
25
|
readonly onDidChangeSessionResolution: Event<void>;
|
|
23
26
|
private readonly _sessionResolutionPolicies;
|
|
24
|
-
|
|
27
|
+
private readonly _backendSessions;
|
|
28
|
+
private readonly _connectionListeners;
|
|
29
|
+
constructor(_agentHostService: IAgentHostService, _remoteAgentHostService: IRemoteAgentHostService, pathService: IPathService, _logService: ILogService);
|
|
25
30
|
private _fireConnectionsChanged;
|
|
31
|
+
private _watchConnections;
|
|
26
32
|
get ambientConnection(): IAgentConnection;
|
|
27
33
|
get connections(): readonly IAgentHostConnectionInfo[];
|
|
28
34
|
getConnectionByAuthority(authority: string): IAgentConnection | undefined;
|
|
35
|
+
private get _ambientResourceAuthority();
|
|
36
|
+
private _getOperatingSystem;
|
|
29
37
|
getConnectionByAddress(address: string): IAgentConnection | undefined;
|
|
30
38
|
registerSessionResolutionPolicy(authority: string, policy: IAgentHostSessionResolutionPolicy): IDisposable;
|
|
31
39
|
resolveSessionResource(sessionResource: URI): IAgentHostSessionResolution | undefined;
|
|
40
|
+
registerSessionResource(backendSession: URI, authority?: string, advertisedProvider?: string): URI;
|
|
41
|
+
findSessionResource(backendSession: URI, authority?: string): URI | undefined;
|
|
42
|
+
getSessionResource(backendSession: URI, authority?: string): URI | undefined;
|
|
32
43
|
resolveSessionResourceIdentity(sessionResource: URI): IAgentHostSessionIdentity | undefined;
|
|
33
44
|
private _createSessionIdentity;
|
|
34
45
|
}
|
|
@@ -1,27 +1,40 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
4
|
-
import { Disposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { Disposable, DisposableMap, DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
6
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
5
7
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
8
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
9
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
10
|
+
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/platform/path/common/pathService.service';
|
|
7
11
|
import { AgentSession } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agent';
|
|
8
12
|
import { IAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service';
|
|
9
13
|
import { AMBIENT_AGENT_HOST_AUTHORITY, LOCAL_AGENT_HOST_SCHEME_PREFIX } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostConnectionsService';
|
|
10
14
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
11
|
-
import { isRemoteAgentHostSessionType, findRemoteAgentHostSessionTypeAuthority
|
|
12
|
-
import { agentHostAuthority } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostUri';
|
|
15
|
+
import { remoteAgentHostSessionTypeAuthorityPrefix, isRemoteAgentHostSessionType, findRemoteAgentHostSessionTypeAuthority } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostSessionType';
|
|
16
|
+
import { AGENT_HOST_SCHEME, agentHostAuthority } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostUri';
|
|
13
17
|
import { IRemoteAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService.service';
|
|
18
|
+
import { getAgentHostOperatingSystem } from '../common/agentHostOperatingSystem.js';
|
|
19
|
+
import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
20
|
+
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
14
21
|
|
|
15
22
|
let AgentHostConnectionsService = class AgentHostConnectionsService extends Disposable {
|
|
16
|
-
constructor(_agentHostService, _remoteAgentHostService) {
|
|
23
|
+
constructor(_agentHostService, _remoteAgentHostService, pathService, _logService) {
|
|
17
24
|
super();
|
|
18
25
|
this._agentHostService = _agentHostService;
|
|
19
26
|
this._remoteAgentHostService = _remoteAgentHostService;
|
|
27
|
+
this._logService = _logService;
|
|
20
28
|
this._onDidChangeConnections = this._register(( new Emitter()));
|
|
21
29
|
this.onDidChangeConnections = this._onDidChangeConnections.event;
|
|
22
30
|
this._onDidChangeSessionResolution = this._register(( new Emitter()));
|
|
23
31
|
this.onDidChangeSessionResolution = this._onDidChangeSessionResolution.event;
|
|
24
32
|
this._sessionResolutionPolicies = ( new Map());
|
|
33
|
+
this._backendSessions = ( new ResourceMap());
|
|
34
|
+
this._connectionListeners = this._register(( new DisposableMap()));
|
|
35
|
+
this._register(pathService.registerPathProvider(AGENT_HOST_SCHEME, {
|
|
36
|
+
getOperatingSystem: resource => this._getOperatingSystem(resource)
|
|
37
|
+
}));
|
|
25
38
|
this._register(
|
|
26
39
|
this._remoteAgentHostService.onDidChangeConnections(() => this._fireConnectionsChanged())
|
|
27
40
|
);
|
|
@@ -31,11 +44,39 @@ let AgentHostConnectionsService = class AgentHostConnectionsService extends Disp
|
|
|
31
44
|
this._register(
|
|
32
45
|
this._agentHostService.onAgentHostExit(() => this._fireConnectionsChanged())
|
|
33
46
|
);
|
|
47
|
+
this._watchConnections();
|
|
34
48
|
}
|
|
35
49
|
_fireConnectionsChanged() {
|
|
50
|
+
this._watchConnections();
|
|
36
51
|
this._onDidChangeConnections.fire();
|
|
37
52
|
this._onDidChangeSessionResolution.fire();
|
|
38
53
|
}
|
|
54
|
+
_watchConnections() {
|
|
55
|
+
const connections = ( new Set());
|
|
56
|
+
for (const info of this.connections) {
|
|
57
|
+
const connection = info.connection;
|
|
58
|
+
if (!connection) {
|
|
59
|
+
continue;
|
|
60
|
+
}
|
|
61
|
+
connections.add(connection);
|
|
62
|
+
if (!( this._connectionListeners.has(connection))) {
|
|
63
|
+
const store = ( new DisposableStore());
|
|
64
|
+
this._connectionListeners.set(connection, store);
|
|
65
|
+
if (connection.onDidNotification) {
|
|
66
|
+
store.add(connection.onDidNotification(notification => {
|
|
67
|
+
if (notification.type === "root/sessionAdded") {
|
|
68
|
+
this.registerSessionResource(( URI.parse(notification.summary.resource)), info.authority, notification.summary.provider);
|
|
69
|
+
}
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
for (const connection of ( this._connectionListeners.keys())) {
|
|
75
|
+
if (!( connections.has(connection))) {
|
|
76
|
+
this._connectionListeners.deleteAndDispose(connection);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
39
80
|
get ambientConnection() {
|
|
40
81
|
return this._agentHostService;
|
|
41
82
|
}
|
|
@@ -43,7 +84,7 @@ let AgentHostConnectionsService = class AgentHostConnectionsService extends Disp
|
|
|
43
84
|
const result = [{
|
|
44
85
|
authority: AMBIENT_AGENT_HOST_AUTHORITY,
|
|
45
86
|
address: undefined,
|
|
46
|
-
name: ( localize(
|
|
87
|
+
name: ( localize(1861, "Local")),
|
|
47
88
|
isAmbient: true,
|
|
48
89
|
connection: this._agentHostService
|
|
49
90
|
}];
|
|
@@ -59,11 +100,37 @@ let AgentHostConnectionsService = class AgentHostConnectionsService extends Disp
|
|
|
59
100
|
return result;
|
|
60
101
|
}
|
|
61
102
|
getConnectionByAuthority(authority) {
|
|
62
|
-
if (authority === AMBIENT_AGENT_HOST_AUTHORITY) {
|
|
103
|
+
if (authority === AMBIENT_AGENT_HOST_AUTHORITY || authority === this._ambientResourceAuthority) {
|
|
63
104
|
return this._agentHostService;
|
|
64
105
|
}
|
|
65
106
|
return this._remoteAgentHostService.getConnectionByAuthority(authority);
|
|
66
107
|
}
|
|
108
|
+
get _ambientResourceAuthority() {
|
|
109
|
+
const resource = this._agentHostService.resourceUris.fromAgentHost(( URI.from({
|
|
110
|
+
scheme: Schemas.file,
|
|
111
|
+
path: "/"
|
|
112
|
+
})));
|
|
113
|
+
return resource.scheme === AGENT_HOST_SCHEME ? resource.authority : undefined;
|
|
114
|
+
}
|
|
115
|
+
async _getOperatingSystem(resource) {
|
|
116
|
+
const remote = this._remoteAgentHostService.connections.find(info => agentHostAuthority(info.address) === resource.authority);
|
|
117
|
+
if (remote?.operatingSystem !== undefined) {
|
|
118
|
+
return remote.operatingSystem;
|
|
119
|
+
}
|
|
120
|
+
const connection = this.getConnectionByAuthority(resource.authority);
|
|
121
|
+
if (!connection) {
|
|
122
|
+
return undefined;
|
|
123
|
+
}
|
|
124
|
+
try {
|
|
125
|
+
return await getAgentHostOperatingSystem(connection);
|
|
126
|
+
} catch (error) {
|
|
127
|
+
this._logService.error(
|
|
128
|
+
`[AgentHostConnections] Failed to resolve the operating system for authority ${resource.authority}`,
|
|
129
|
+
error
|
|
130
|
+
);
|
|
131
|
+
return undefined;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
67
134
|
getConnectionByAddress(address) {
|
|
68
135
|
return this._remoteAgentHostService.getConnection(address);
|
|
69
136
|
}
|
|
@@ -93,12 +160,84 @@ let AgentHostConnectionsService = class AgentHostConnectionsService extends Disp
|
|
|
93
160
|
connection
|
|
94
161
|
} : undefined;
|
|
95
162
|
}
|
|
163
|
+
registerSessionResource(
|
|
164
|
+
backendSession,
|
|
165
|
+
authority = AMBIENT_AGENT_HOST_AUTHORITY,
|
|
166
|
+
advertisedProvider
|
|
167
|
+
) {
|
|
168
|
+
const prefix = authority === AMBIENT_AGENT_HOST_AUTHORITY ? LOCAL_AGENT_HOST_SCHEME_PREFIX : remoteAgentHostSessionTypeAuthorityPrefix(authority);
|
|
169
|
+
if (!advertisedProvider) {
|
|
170
|
+
const known = this.findSessionResource(backendSession, authority);
|
|
171
|
+
if (known) {
|
|
172
|
+
return known;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
const backend = advertisedProvider ?? AgentSession.provider(backendSession);
|
|
176
|
+
const alias = this._sessionResolutionPolicies.get(authority)?.sessionSchemeAlias;
|
|
177
|
+
const provider = advertisedProvider ?? (alias && alias.backend === backendSession.scheme ? alias.ui : backend);
|
|
178
|
+
if (!provider) {
|
|
179
|
+
throw ( new Error(`Session has no advertised provider: ${( backendSession.toString())}`));
|
|
180
|
+
}
|
|
181
|
+
const resource = backendSession.with({
|
|
182
|
+
scheme: `${prefix}${provider}`
|
|
183
|
+
});
|
|
184
|
+
const previous = this._backendSessions.get(resource.with({
|
|
185
|
+
fragment: ""
|
|
186
|
+
}));
|
|
187
|
+
if (previous && !isEqual(previous.backend, backendSession)) {
|
|
188
|
+
throw ( new Error(`Conflicting backend identities for ${( resource.toString())}`));
|
|
189
|
+
}
|
|
190
|
+
this._backendSessions.set(resource.with({
|
|
191
|
+
fragment: ""
|
|
192
|
+
}), {
|
|
193
|
+
backend: backendSession,
|
|
194
|
+
authority,
|
|
195
|
+
provider
|
|
196
|
+
});
|
|
197
|
+
if (!previous) {
|
|
198
|
+
this._onDidChangeSessionResolution.fire();
|
|
199
|
+
}
|
|
200
|
+
return resource;
|
|
201
|
+
}
|
|
202
|
+
findSessionResource(backendSession, authority = AMBIENT_AGENT_HOST_AUTHORITY) {
|
|
203
|
+
return [...this._backendSessions].find(
|
|
204
|
+
([, identity]) => identity.authority === authority && isEqual(identity.backend, backendSession)
|
|
205
|
+
)?.[0];
|
|
206
|
+
}
|
|
207
|
+
getSessionResource(backendSession, authority = AMBIENT_AGENT_HOST_AUTHORITY) {
|
|
208
|
+
const known = this.findSessionResource(backendSession, authority);
|
|
209
|
+
if (known) {
|
|
210
|
+
return known;
|
|
211
|
+
}
|
|
212
|
+
if (backendSession.authority || backendSession.query || backendSession.fragment) {
|
|
213
|
+
return undefined;
|
|
214
|
+
}
|
|
215
|
+
const backend = AgentSession.provider(backendSession);
|
|
216
|
+
const alias = this._sessionResolutionPolicies.get(authority)?.sessionSchemeAlias;
|
|
217
|
+
const provider = alias && alias.backend === backendSession.scheme ? alias.ui : backend;
|
|
218
|
+
if (!provider) {
|
|
219
|
+
return undefined;
|
|
220
|
+
}
|
|
221
|
+
const prefix = authority === AMBIENT_AGENT_HOST_AUTHORITY ? LOCAL_AGENT_HOST_SCHEME_PREFIX : remoteAgentHostSessionTypeAuthorityPrefix(authority);
|
|
222
|
+
const resource = backendSession.with({
|
|
223
|
+
scheme: `${prefix}${provider}`
|
|
224
|
+
});
|
|
225
|
+
return isEqual(
|
|
226
|
+
this.resolveSessionResourceIdentity(resource)?.backendSession,
|
|
227
|
+
backendSession
|
|
228
|
+
) ? resource : undefined;
|
|
229
|
+
}
|
|
96
230
|
resolveSessionResourceIdentity(sessionResource) {
|
|
231
|
+
const known = this._backendSessions.get(sessionResource.with({
|
|
232
|
+
fragment: ""
|
|
233
|
+
}));
|
|
234
|
+
if (known) {
|
|
235
|
+
return this._createSessionIdentity(known.authority, known.provider, sessionResource);
|
|
236
|
+
}
|
|
97
237
|
const scheme = sessionResource.scheme;
|
|
98
|
-
const rawSessionId = sessionResource.path.substring(1);
|
|
99
238
|
if (scheme.startsWith(LOCAL_AGENT_HOST_SCHEME_PREFIX)) {
|
|
100
239
|
const provider = scheme.substring(LOCAL_AGENT_HOST_SCHEME_PREFIX.length);
|
|
101
|
-
return provider ? this._createSessionIdentity(AMBIENT_AGENT_HOST_AUTHORITY, provider,
|
|
240
|
+
return provider ? this._createSessionIdentity(AMBIENT_AGENT_HOST_AUTHORITY, provider, sessionResource) : undefined;
|
|
102
241
|
}
|
|
103
242
|
if (isRemoteAgentHostSessionType(scheme)) {
|
|
104
243
|
const authorities = ( new Set([
|
|
@@ -109,23 +248,36 @@ let AgentHostConnectionsService = class AgentHostConnectionsService extends Disp
|
|
|
109
248
|
if (authority) {
|
|
110
249
|
const provider = scheme.substring(remoteAgentHostSessionTypeAuthorityPrefix(authority).length);
|
|
111
250
|
if (provider) {
|
|
112
|
-
return this._createSessionIdentity(authority, provider,
|
|
251
|
+
return this._createSessionIdentity(authority, provider, sessionResource);
|
|
113
252
|
}
|
|
114
253
|
}
|
|
115
254
|
}
|
|
116
255
|
return undefined;
|
|
117
256
|
}
|
|
118
|
-
_createSessionIdentity(authority, provider,
|
|
257
|
+
_createSessionIdentity(authority, provider, sessionResource) {
|
|
119
258
|
const policy = this._sessionResolutionPolicies.get(authority);
|
|
120
259
|
const alias = policy?.sessionSchemeAlias;
|
|
121
260
|
const backendProvider = alias?.ui === provider ? alias.backend : provider;
|
|
122
261
|
return {
|
|
123
262
|
connectionAuthority: authority,
|
|
124
|
-
|
|
263
|
+
...(policy?.connectionAddress !== undefined ? {
|
|
264
|
+
connectionAddress: policy.connectionAddress
|
|
265
|
+
} : {}),
|
|
266
|
+
backendSession: this._backendSessions.get(sessionResource.with({
|
|
267
|
+
fragment: ""
|
|
268
|
+
}))?.backend ?? sessionResource.with({
|
|
269
|
+
scheme: backendProvider,
|
|
270
|
+
fragment: ""
|
|
271
|
+
}),
|
|
272
|
+
...(( this._backendSessions.has(sessionResource.with({
|
|
273
|
+
fragment: ""
|
|
274
|
+
}))) ? {
|
|
275
|
+
backendSessionIsAdvertised: true
|
|
276
|
+
} : {}),
|
|
125
277
|
defaultChangesetKind: policy?.defaultChangesetKind
|
|
126
278
|
};
|
|
127
279
|
}
|
|
128
280
|
};
|
|
129
|
-
AgentHostConnectionsService = ( __decorate([( __param(0, IAgentHostService)), ( __param(1, IRemoteAgentHostService))], AgentHostConnectionsService));
|
|
281
|
+
AgentHostConnectionsService = ( __decorate([( __param(0, IAgentHostService)), ( __param(1, IRemoteAgentHostService)), ( __param(2, IPathService)), ( __param(3, ILogService))], AgentHostConnectionsService));
|
|
130
282
|
|
|
131
283
|
export { AgentHostConnectionsService };
|
|
@@ -2,6 +2,7 @@ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/l
|
|
|
2
2
|
import type { IChannel } from "@codingame/monaco-vscode-api/vscode/vs/base/parts/ipc/common/ipc";
|
|
3
3
|
import { AhpJsonlLogger } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/ahpJsonlLogger";
|
|
4
4
|
import { AgentHostClientConnectionKind } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostTelemetry";
|
|
5
|
+
import type { IAgentHostIpcConnectionOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService";
|
|
5
6
|
import type { AhpServerNotification, JsonRpcResponse, ProtocolMessage } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionProtocol";
|
|
6
7
|
import type { IClientTransport } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionTransport";
|
|
7
8
|
/**
|
|
@@ -12,13 +13,14 @@ import type { IClientTransport } from "@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
12
13
|
* Wire shape:
|
|
13
14
|
* - `listen('frame')` → emits each upstream JSON frame as a string.
|
|
14
15
|
* - `listen('close')` → fires when the upstream connection closes.
|
|
15
|
-
* - `call('connect')` → opens the upstream connection
|
|
16
|
+
* - `call('connect', { env, debugEnv }?)` → supplies server-owned launch overrides and opens the upstream connection.
|
|
16
17
|
* - `call('send', frame)` → forwards a JSON frame upstream.
|
|
17
18
|
*/
|
|
18
19
|
export declare class AgentHostIpcChannelTransport extends Disposable implements IClientTransport {
|
|
19
20
|
private readonly _channel;
|
|
20
21
|
private readonly _ahpLogger?;
|
|
21
22
|
readonly clientConnectionKind: AgentHostClientConnectionKind;
|
|
23
|
+
private readonly _resolveConnectionOptions?;
|
|
22
24
|
private readonly _onMessage;
|
|
23
25
|
readonly onMessage: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<ProtocolMessage>;
|
|
24
26
|
private readonly _onClose;
|
|
@@ -26,7 +28,7 @@ export declare class AgentHostIpcChannelTransport extends Disposable implements
|
|
|
26
28
|
private _isOpen;
|
|
27
29
|
private _closeFired;
|
|
28
30
|
private _malformedFrames;
|
|
29
|
-
constructor(_channel: IChannel, _ahpLogger?: AhpJsonlLogger | undefined, clientConnectionKind?: AgentHostClientConnectionKind);
|
|
31
|
+
constructor(_channel: IChannel, _ahpLogger?: AhpJsonlLogger | undefined, clientConnectionKind?: AgentHostClientConnectionKind, _resolveConnectionOptions?: (() => Promise<IAgentHostIpcConnectionOptions | undefined>) | undefined);
|
|
30
32
|
get isOpen(): boolean;
|
|
31
33
|
connect(): Promise<void>;
|
|
32
34
|
send(message: ProtocolMessage | AhpServerNotification | JsonRpcResponse): void;
|