@codingame/monaco-vscode-chat-service-override 38.0.7 → 38.1.1
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 +0 -53
- package/index.js +0 -3
- package/package.json +5 -5
- package/session.js +0 -3
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/missionControlAgentHostContribution.js +1 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostChatContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.shared.contribution.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionListController.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/editorCloudSandboxContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostChatContribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js +1 -1
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.d.ts +0 -135
- package/vscode/src/vs/platform/agentHost/browser/webPubSubRelayTransport.js +0 -510
- package/vscode/src/vs/platform/agentHost/common/agentModelNotices.d.ts +0 -22
- package/vscode/src/vs/platform/agentHost/common/agentModelNotices.js +0 -21
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.d.ts +0 -273
- package/vscode/src/vs/platform/agentHost/common/cloudSandboxAgentHost.js +0 -61
- package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.d.ts +0 -7
- package/vscode/src/vs/platform/agentHost/common/meta/agentModelMeta.js +0 -17
- package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.d.ts +0 -12
- package/vscode/src/vs/platform/agentHost/common/meta/copilotd/cloudSandboxProjectMeta.js +0 -48
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.d.ts +0 -8
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelEnsembleMeta.js +0 -11
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelPricing.d.ts +0 -114
- package/vscode/src/vs/platform/agentHost/common/meta/vscode/agentModelPricing.js +0 -141
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.d.ts +0 -48
- package/vscode/src/vs/platform/agentHost/common/taskEventReplay.js +0 -238
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.d.ts +0 -102
- package/vscode/src/vs/platform/agentHost/common/webPubSub/chunking.js +0 -260
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.d.ts +0 -102
- package/vscode/src/vs/platform/agentHost/common/webPubSub/framing.js +0 -115
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.d.ts +0 -46
- package/vscode/src/vs/platform/agentHost/common/webPubSub/groups.js +0 -92
- package/vscode/src/vs/sessions/contrib/chat/browser/newSession.d.ts +0 -9
- package/vscode/src/vs/sessions/contrib/chat/browser/voiceBridge.contribution.d.ts +0 -14
- package/vscode/src/vs/sessions/contrib/chat/browser/voiceBridge.contribution.js +0 -385
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.d.ts +0 -67
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudAutomationStore.js +0 -695
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.d.ts +0 -4
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/cloudSandboxSessionConfig.js +0 -39
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessions.contribution.d.ts +0 -1
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessions.contribution.js +0 -59
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.d.ts +0 -1
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsActions.js +0 -83
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.d.ts +0 -87
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsChangesets.js +0 -176
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.d.ts +0 -422
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessionsProvider.js +0 -2444
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.d.ts +0 -91
- package/vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/githubCloudAutomationStore.js +0 -620
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHost.contribution.d.ts +0 -1
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHost.contribution.js +0 -5
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.d.ts +0 -46
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHostContribution.js +0 -321
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.d.ts +0 -104
- package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxSessionsProvider.js +0 -345
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js +0 -611
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceSessionsPicker.js +0 -85
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.d.ts +0 -200
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidget.js +0 -981
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.d.ts +0 -24
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWidgetBinding.js +0 -206
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.d.ts +0 -65
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.js +0 -368
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.d.ts +0 -10
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/confirmationComponent.js +0 -57
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.d.ts +0 -33
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/feedbackDialog.js +0 -98
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.d.ts +0 -32
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/headerComponent.js +0 -186
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.d.ts +0 -12
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/onboardingComponent.js +0 -116
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.d.ts +0 -32
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/sessionListComponent.js +0 -226
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.d.ts +0 -18
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/statusRowsComponent.js +0 -138
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.d.ts +0 -32
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/tokens.js +0 -29
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/transcriptComponent.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/transcriptComponent.js +0 -108
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.d.ts +0 -13
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/components/voiceBarComponent.js +0 -63
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/media/voiceModeOnboarding.css +0 -252
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscripts.contribution.js +0 -178
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.d.ts +0 -47
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/transcriptsView/voiceTranscriptsView.js +0 -322
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.d.ts +0 -146
- package/vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js +0 -890
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.d.ts +0 -132
- package/vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js +0 -237
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.d.ts +0 -120
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider.js +0 -234
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.d.ts +0 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker.js +0 -164
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker.js +0 -122
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.d.ts +0 -82
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe.js +0 -213
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService.js +0 -561
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.d.ts +0 -133
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService.js +0 -1176
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.d.ts +0 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization.js +0 -76
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.d.ts +0 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxCredentialRefresh.js +0 -220
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.d.ts +0 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxHistoryCache.js +0 -184
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxLegacySessionPreparation.js +0 -165
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.d.ts +0 -43
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels.js +0 -162
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxReadOnlySessionHandler.js +0 -129
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.d.ts +0 -166
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution.js +0 -838
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.d.ts +0 -40
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionHandler.js +0 -604
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.d.ts +0 -289
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry.js +0 -497
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlCredentialSealing.js +0 -41
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.d.ts +0 -73
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService.js +0 -398
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.d.ts +0 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService.js +0 -296
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.d.ts +0 -63
- package/vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.js +0 -361
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.d.ts +0 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.js +0 -198
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.d.ts +0 -131
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.js +0 -871
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.d.ts +0 -66
- package/vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js +0 -297
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.d.ts +0 -31
- package/vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.js +0 -118
package/common.js
CHANGED
|
@@ -4,8 +4,6 @@ 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
7
|
import { CopilotConnectorsRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/copilotConnectors/common/copilotConnectorsRequestService';
|
|
10
8
|
import { ICopilotConnectorsRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/copilotConnectors/common/copilotConnectorsRequestService.service';
|
|
11
9
|
import { ICustomizationMarketplaceService } from '@codingame/monaco-vscode-api/vscode/vs/platform/customizationMarketplace/common/customizationMarketplaceService.service';
|
|
@@ -16,10 +14,6 @@ import { AgentNetworkFilterService } from './vscode/src/vs/platform/networkFilte
|
|
|
16
14
|
import { IAgentNetworkFilterService } from '@codingame/monaco-vscode-api/vscode/vs/platform/networkFilter/common/networkFilterService.service';
|
|
17
15
|
import { NullSandboxHelperService } from './vscode/src/vs/platform/sandbox/browser/sandboxHelperService.js';
|
|
18
16
|
import { ISandboxHelperService } from '@codingame/monaco-vscode-api/vscode/vs/platform/sandbox/common/sandboxHelperService.service';
|
|
19
|
-
import { VoiceModeOnboardingService } from './vscode/src/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.js';
|
|
20
|
-
import { IVoiceModeOnboardingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/agentsVoice/browser/voiceModeOnboarding.service';
|
|
21
|
-
import { VoiceTranscriptStore } from './vscode/src/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.js';
|
|
22
|
-
import { IVoiceTranscriptStore } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/agentsVoice/common/voiceTranscriptStore.service';
|
|
23
17
|
import { ChatAccessibilityService } from './vscode/src/vs/workbench/contrib/chat/browser/accessibility/chatAccessibilityService.js';
|
|
24
18
|
import { BrowserAgentHostDebugLogsExportService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction';
|
|
25
19
|
import { IAgentHostDebugLogsExportService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.service';
|
|
@@ -82,8 +76,6 @@ import { ChatPetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
82
76
|
import { IChatPetService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatPetService.service';
|
|
83
77
|
import { IChatResponseFileChangesService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatResponseFileChangesService.service';
|
|
84
78
|
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';
|
|
87
79
|
import { ChatStatusItemService } from './vscode/src/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.js';
|
|
88
80
|
import { IChatStatusItemService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatStatus/chatStatusItemService.service';
|
|
89
81
|
import { ChatSubmitRequestHandlerService } from './vscode/src/vs/workbench/contrib/chat/browser/chatSubmitRequestHandlerService.js';
|
|
@@ -105,40 +97,17 @@ import { PlanReviewFeedbackService } from './vscode/src/vs/workbench/contrib/cha
|
|
|
105
97
|
import { IPlanReviewFeedbackService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/planReviewFeedback/planReviewFeedbackService.service';
|
|
106
98
|
import { BrowserPluginGitCommandService } from './vscode/src/vs/workbench/contrib/chat/browser/pluginGitCommandService.js';
|
|
107
99
|
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
100
|
import { RemoteAgentHostAuthenticationService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.js';
|
|
117
101
|
import { IRemoteAgentHostAuthenticationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.service';
|
|
118
102
|
import { RemoteAgentHostConnectionCustomizationService } from './vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.js';
|
|
119
103
|
import { IRemoteAgentHostConnectionCustomizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.service';
|
|
120
|
-
import { ChatSpeechToTextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService';
|
|
121
|
-
import { IChatSpeechToTextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service';
|
|
122
104
|
import { DictationOnboardingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding';
|
|
123
105
|
import { IDictationOnboardingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/dictationOnboarding.service';
|
|
124
|
-
import { VoiceCodeTranscriptionClient } from './vscode/src/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.js';
|
|
125
|
-
import { IVoiceCodeTranscriptionClient } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient.service';
|
|
126
106
|
import { ChatToolRiskAssessmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService';
|
|
127
107
|
import { IChatToolRiskAssessmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService.service';
|
|
128
108
|
import { LanguageModelToolsConfirmationService } from './vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsConfirmationService.js';
|
|
129
109
|
import { LanguageModelToolsService } from './vscode/src/vs/workbench/contrib/chat/browser/tools/languageModelToolsService.js';
|
|
130
110
|
import { ToolResultCompressorService } from './vscode/src/vs/workbench/contrib/chat/browser/tools/toolResultCompressorService.js';
|
|
131
|
-
import { MicCaptureService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService';
|
|
132
|
-
import { IMicCaptureService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService.service';
|
|
133
|
-
import { TtsPlaybackService } from './vscode/src/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.js';
|
|
134
|
-
import { ITtsPlaybackService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService.service';
|
|
135
|
-
import { VoiceClientService } from './vscode/src/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService.js';
|
|
136
|
-
import { VoiceSessionController } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController';
|
|
137
|
-
import { IVoiceSessionController } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController.service';
|
|
138
|
-
import { VoiceToolDispatchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService';
|
|
139
|
-
import { IVoiceToolDispatchService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService.service';
|
|
140
|
-
import { VoiceInputModeService } from './vscode/src/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.js';
|
|
141
|
-
import { IVoiceInputModeService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode.service';
|
|
142
111
|
import { ChatMarkdownAnchorService } from './vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.js';
|
|
143
112
|
import { IChatMarkdownAnchorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatMarkdownAnchorService.service';
|
|
144
113
|
import { ChatOutputPartStateCache } from './vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatOutputPartStateCache.js';
|
|
@@ -208,9 +177,6 @@ import { IChatTodoListService } from '@codingame/monaco-vscode-api/vscode/vs/wor
|
|
|
208
177
|
import { ILanguageModelToolsConfirmationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsConfirmationService.service';
|
|
209
178
|
import { ILanguageModelToolsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/languageModelToolsService.service';
|
|
210
179
|
import { IToolResultCompressor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/tools/toolResultCompressor.service';
|
|
211
|
-
import { IVoiceClientService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/voiceClient/voiceClientService.service';
|
|
212
|
-
import { VoicePlaybackService } from './vscode/src/vs/workbench/contrib/chat/common/voicePlaybackService.js';
|
|
213
|
-
import { IVoicePlaybackService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/voicePlaybackService.service';
|
|
214
180
|
import { IChatLayoutService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/widget/chatLayoutService.service';
|
|
215
181
|
import { ChatResponseResourceFileSystemProvider } from './vscode/src/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.js';
|
|
216
182
|
import { IChatResponseResourceFileSystemProvider } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/widget/chatResponseResourceFileSystemProvider.service';
|
|
@@ -251,7 +217,6 @@ import { IAICustomizationItemsModel } from '@codingame/monaco-vscode-api/vscode/
|
|
|
251
217
|
import { AICustomizationItemsModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationItemsModel';
|
|
252
218
|
import { registerAssets } from '@codingame/monaco-vscode-api/assets';
|
|
253
219
|
import './vscode/src/vs/platform/agentHost/common/agentHostStarter.config.contribution.js';
|
|
254
|
-
import './vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoice.contribution.js';
|
|
255
220
|
import './vscode/src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.js';
|
|
256
221
|
import './vscode/src/vs/workbench/contrib/remoteCodingAgents/browser/remoteCodingAgents.contribution.js';
|
|
257
222
|
import './vscode/src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/terminal.chatAgentTools.contribution.js';
|
|
@@ -368,13 +333,6 @@ function getServiceOverride({ defaultAccount } = {}) {
|
|
|
368
333
|
[IAgentHostToolSetEnablementService.toString()]: new SyncDescriptor(AgentHostToolSetEnablementService, [], true),
|
|
369
334
|
[IAgentHostTerminalService.toString()]: new SyncDescriptor(AgentHostTerminalService, [], true),
|
|
370
335
|
[IAgentHostConnectionsService.toString()]: new SyncDescriptor(AgentHostConnectionsService, [], true),
|
|
371
|
-
[IMicCaptureService.toString()]: new SyncDescriptor(MicCaptureService, [], true),
|
|
372
|
-
[ITtsPlaybackService.toString()]: new SyncDescriptor(TtsPlaybackService, [], true),
|
|
373
|
-
[IVoiceClientService.toString()]: new SyncDescriptor(VoiceClientService, [], true),
|
|
374
|
-
[IVoiceSessionController.toString()]: new SyncDescriptor(VoiceSessionController, [], true),
|
|
375
|
-
[IVoiceToolDispatchService.toString()]: new SyncDescriptor(VoiceToolDispatchService, [], true),
|
|
376
|
-
[IVoicePlaybackService.toString()]: new SyncDescriptor(VoicePlaybackService, [], true),
|
|
377
|
-
[IVoiceTranscriptStore.toString()]: new SyncDescriptor(VoiceTranscriptStore, [], true),
|
|
378
336
|
[IAgentHostActiveClientService.toString()]: new SyncDescriptor(AgentHostActiveClientService, [], true),
|
|
379
337
|
[IToolResultCompressor.toString()]: new SyncDescriptor(ToolResultCompressorService, [], true),
|
|
380
338
|
[IChatGoalSummaryService.toString()]: new SyncDescriptor(ChatGoalSummaryService, [], true),
|
|
@@ -399,16 +357,12 @@ function getServiceOverride({ defaultAccount } = {}) {
|
|
|
399
357
|
[IChatPetWidgetService.toString()]: new SyncDescriptor(ChatPetWidgetService, [], true),
|
|
400
358
|
[IChatRequestOriginService.toString()]: new SyncDescriptor(ChatRequestOriginService, [], true),
|
|
401
359
|
[IChatSideChatService.toString()]: new SyncDescriptor(ChatSideChatService, [], true),
|
|
402
|
-
[IChatSpeechToTextService.toString()]: new SyncDescriptor(ChatSpeechToTextService, [], true),
|
|
403
360
|
[IChatSubmitRequestHandlerService.toString()]: new SyncDescriptor(ChatSubmitRequestHandlerService, [], true),
|
|
404
361
|
[ICustomizationMigrationService.toString()]: new SyncDescriptor(CustomizationMigrationService, [], true),
|
|
405
362
|
[IDictationOnboardingService.toString()]: new SyncDescriptor(DictationOnboardingService, [], true),
|
|
406
363
|
[ISessionChatPillVisibilityService.toString()]: new SyncDescriptor(SessionChatPillVisibility, [], true),
|
|
407
364
|
[ISessionSummaryHoverService.toString()]: new SyncDescriptor(SessionSummaryHoverService, [], true),
|
|
408
365
|
[ITerminalChatSessionResolver.toString()]: new SyncDescriptor(TerminalChatSessionResolver, [], true),
|
|
409
|
-
[IVoiceCodeTranscriptionClient.toString()]: new SyncDescriptor(VoiceCodeTranscriptionClient, [], true),
|
|
410
|
-
[IVoiceInputModeService.toString()]: new SyncDescriptor(VoiceInputModeService, [], true),
|
|
411
|
-
[IVoiceModeOnboardingService.toString()]: new SyncDescriptor(VoiceModeOnboardingService, [], true),
|
|
412
366
|
[IAgentHostEnablementService.toString()]: new SyncDescriptor(WebAgentHostEnablementService, [], false),
|
|
413
367
|
[IAgentHostService.toString()]: new SyncDescriptor(EditorRemoteAgentHostServiceClient, [], true),
|
|
414
368
|
[ILinkPresentationService.toString()]: new SyncDescriptor(LinkPresentationService, [], true),
|
|
@@ -424,14 +378,7 @@ function getServiceOverride({ defaultAccount } = {}) {
|
|
|
424
378
|
[IAgentPluginEnablementService.toString()]: new SyncDescriptor(AgentPluginEnablementService, [], true),
|
|
425
379
|
[ICustomizationMigrationTelemetryService.toString()]: new SyncDescriptor(CustomizationMigrationTelemetryService, [], true),
|
|
426
380
|
[ICustomizationsTelemetryService.toString()]: new SyncDescriptor(CustomizationsTelemetryService, [], true),
|
|
427
|
-
[IChatMicrosoftSignInProbeService.toString()]: new SyncDescriptor(ChatMicrosoftSignInProbeService, [], true),
|
|
428
381
|
[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
382
|
[IRemoteAgentHostConnectionCustomizationService.toString()]: new SyncDescriptor(RemoteAgentHostConnectionCustomizationService, [], true),
|
|
436
383
|
[IRemoteAgentHostAuthenticationService.toString()]: new SyncDescriptor(RemoteAgentHostAuthenticationService, [], true),
|
|
437
384
|
[ICodexContinuationService.toString()]: new SyncDescriptor(CodexContinuationService, [], true)
|
package/index.js
CHANGED
|
@@ -3,8 +3,6 @@ import '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standal
|
|
|
3
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
|
-
import { AgentsVoiceWindowService } from './vscode/src/vs/workbench/contrib/agentsVoice/browser/agentsVoiceWindowService.js';
|
|
7
|
-
import { IAgentsVoiceWindowService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/agentsVoice/common/agentsVoice.service';
|
|
8
6
|
import { NullAgentHostCustomizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService';
|
|
9
7
|
import { IAgentHostCustomizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostCustomizationService.service';
|
|
10
8
|
import { AICustomizationWorkspaceService } from './vscode/src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationWorkspaceService.js';
|
|
@@ -35,7 +33,6 @@ function getServiceOverride({ defaultAccount } = {}) {
|
|
|
35
33
|
[IAICustomizationWorkspaceService.toString()]: new SyncDescriptor(AICustomizationWorkspaceService, [], true),
|
|
36
34
|
[ICustomizationHarnessService.toString()]: new SyncDescriptor(CustomizationHarnessService, [], true),
|
|
37
35
|
[IRemoteAgentHostService.toString()]: new SyncDescriptor(EditorWindowRemoteAgentHostService, [], true),
|
|
38
|
-
[IAgentsVoiceWindowService.toString()]: new SyncDescriptor(AgentsVoiceWindowService, [], true),
|
|
39
36
|
[IAgentHostCustomizationService.toString()]: new SyncDescriptor(NullAgentHostCustomizationService, [], true),
|
|
40
37
|
[IInlineChatSessionResolver.toString()]: new SyncDescriptor(InlineChatSessionResolver, [], true)
|
|
41
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.1.1",
|
|
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": "38.
|
|
19
|
-
"@codingame/monaco-vscode-files-service-override": "38.
|
|
20
|
-
"@codingame/monaco-vscode-katex-common": "38.
|
|
21
|
-
"@codingame/monaco-vscode-xterm-common": "38.
|
|
18
|
+
"@codingame/monaco-vscode-api": "38.1.1",
|
|
19
|
+
"@codingame/monaco-vscode-files-service-override": "38.1.1",
|
|
20
|
+
"@codingame/monaco-vscode-katex-common": "38.1.1",
|
|
21
|
+
"@codingame/monaco-vscode-xterm-common": "38.1.1"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
package/session.js
CHANGED
|
@@ -29,13 +29,10 @@ import './vscode/src/vs/sessions/contrib/chat/browser/customizationsDebugLog.con
|
|
|
29
29
|
import './vscode/src/vs/sessions/contrib/chat/browser/openSessionLinkOpener.contribution.js';
|
|
30
30
|
import './vscode/src/vs/sessions/contrib/chat/browser/requestOriginProvider.contribution.js';
|
|
31
31
|
import './vscode/src/vs/sessions/contrib/chat/browser/sideChatProvider.contribution.js';
|
|
32
|
-
import './vscode/src/vs/sessions/contrib/chat/browser/voiceBridge.contribution.js';
|
|
33
32
|
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentHostSettings.contribution.js';
|
|
34
33
|
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/agentSessionSettings.contribution.js';
|
|
35
34
|
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/mobile/mobileChatPhoneInputPresenter.js';
|
|
36
35
|
import './vscode/src/vs/sessions/contrib/providers/agentHost/browser/openSubagentChat.js';
|
|
37
|
-
import './vscode/src/vs/sessions/contrib/providers/copilotChatSessions/browser/copilotChatSessions.contribution.js';
|
|
38
|
-
import './vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/cloudSandboxAgentHost.contribution.js';
|
|
39
36
|
import './vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/hostFilter.contribution.js';
|
|
40
37
|
import './vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostTerminal.contribution.js';
|
|
41
38
|
import './vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/tunnelAgentHost.contribution.js';
|
|
@@ -14,7 +14,7 @@ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbenc
|
|
|
14
14
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
15
15
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
16
16
|
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
17
|
-
import { cloudSandboxAddress, cloudSandboxEnvironmentId } from '
|
|
17
|
+
import { cloudSandboxAddress, cloudSandboxEnvironmentId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost';
|
|
18
18
|
import { IMissionControlEnvironmentService, IMissionControlSharingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/missionControlEnvironment.service';
|
|
19
19
|
import { RemoteAgentHostEntryType, RemoteAgentHostAutoConnectSettingId, RemoteAgentHostsEnabledSettingId, RemoteAgentHostConnectionStatus } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService';
|
|
20
20
|
import { IRemoteAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService.service';
|
package/vscode/src/vs/sessions/contrib/providers/remoteAgentHost/browser/remoteAgentHostActions.js
CHANGED
|
@@ -3,7 +3,7 @@ import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls'
|
|
|
3
3
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
4
|
import { Action } from '@codingame/monaco-vscode-api/vscode/vs/base/common/actions';
|
|
5
5
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
6
|
-
import { cloudSandboxAddress } from '
|
|
6
|
+
import { cloudSandboxAddress } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost';
|
|
7
7
|
import { isCancellationError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
|
|
8
8
|
import { toErrorMessage } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errorMessage';
|
|
9
9
|
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
@@ -36,7 +36,7 @@ import { AgentHostMcpServerMigrationProvider } from './agentHostMcpServerMigrati
|
|
|
36
36
|
import { AgentHostCustomizationMarketplaceInstallProvider } from './agentHostCustomizationMarketplaceInstallProvider.js';
|
|
37
37
|
import { AgentHostDownloadProgress } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostDownloadProgress';
|
|
38
38
|
import { AgentHostAuthTokenCache, AgentHostAuthenticationRecovery, autoAuthenticateMcpServer, revokeAuthenticationForRemovedSessions, authenticateAgentProtectedResourcesWithToken, authenticateProtectedResources, authenticateProtectedResourcesWithToken, resolveAuthenticationInteractively } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth';
|
|
39
|
-
import { agentHostProviderSupportsAutoModel, AgentHostLanguageModelProvider } from '
|
|
39
|
+
import { agentHostProviderSupportsAutoModel, AgentHostLanguageModelProvider } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider';
|
|
40
40
|
import { AgentHostSessionHandler } from './agentHostSessionHandler.js';
|
|
41
41
|
import { AgentHostPromptCacheNotification } from './agentHostPromptCacheNotification.js';
|
|
42
42
|
import { IAgentHostActiveClientService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service';
|
|
@@ -137,7 +137,7 @@ import { PromptsDebugContribution } from './promptsDebugContribution.js';
|
|
|
137
137
|
import { PromptLanguageFeaturesProvider } from './promptSyntax/promptFileContributions.js';
|
|
138
138
|
import { DictationSettingId, DICTATION_MAI_MODEL_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService';
|
|
139
139
|
import { IChatSpeechToTextService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/chatSpeechToTextService.service';
|
|
140
|
-
import '
|
|
140
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/speechToText/voiceCodeTranscriptionClient';
|
|
141
141
|
import './telemetry/chatEditorTopologyTelemetry.js';
|
|
142
142
|
import './telemetry/chatModelCountTelemetry.js';
|
|
143
143
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/tools/chatToolRiskAssessmentService';
|
|
@@ -145,11 +145,11 @@ import { ClientToolSetsContribution } from './tools/clientToolSetsContribution.j
|
|
|
145
145
|
import { RenameToolContribution } from './tools/renameTool.js';
|
|
146
146
|
import { UsagesToolContribution } from './tools/usagesTool.js';
|
|
147
147
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/micCaptureService';
|
|
148
|
-
import '
|
|
149
|
-
import '
|
|
148
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/ttsPlaybackService';
|
|
149
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceClientService';
|
|
150
150
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceSessionController';
|
|
151
151
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceClient/voiceToolDispatchService';
|
|
152
|
-
import '
|
|
152
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputMode';
|
|
153
153
|
import { ChatVoiceInputModeAction, ChatVoiceInputModeToggleListenAction, registerVoiceInputModeSimulateActions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/voiceInputMode/voiceInputModeActionViewItem';
|
|
154
154
|
import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatContextKeys';
|
|
155
155
|
import { AICustomizationManagementCommands } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService';
|
|
@@ -212,7 +212,7 @@ import { ChatExpNotificationContribution } from './expNotification/chatExpNotifi
|
|
|
212
212
|
import { ChatQuotaNotificationContribution } from './chatQuotaNotification.js';
|
|
213
213
|
import { ChatRepoInfoContribution } from './chatRepoInfo.js';
|
|
214
214
|
import { ChatSetupContribution, ChatTeardownContribution } from './chatSetup/chatSetupContributions.js';
|
|
215
|
-
import { ChatMicrosoftSignInProbeContribution } from '
|
|
215
|
+
import { ChatMicrosoftSignInProbeContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatSetup/chatSetupMicrosoftProbe';
|
|
216
216
|
import { ChatSlashCommandsContribution, ChatSessionOptionSlashCommandsContribution } from './chatSlashCommands.js';
|
|
217
217
|
import { ChatStatusBarEntry } from './chatStatus/chatStatusEntry.js';
|
|
218
218
|
import { CodexStatusBarEntry } from './chatStatus/codexStatusEntry.js';
|
|
@@ -252,7 +252,7 @@ import './widget/input/editor/chatInputEditorContrib.js';
|
|
|
252
252
|
import './widget/input/editor/chatInputEditorHover.js';
|
|
253
253
|
import { ChatPasteProvidersFeature } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/widget/input/editor/chatPasteProviders';
|
|
254
254
|
import './widgetHosts/chatQuick.js';
|
|
255
|
-
import { PICK_REPOSITORY_COMMAND_ID, RepositoryPicker } from '
|
|
255
|
+
import { PICK_REPOSITORY_COMMAND_ID, RepositoryPicker } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/repositoryPicker';
|
|
256
256
|
import '../../notebook/browser/controller/chat/notebook.chat.contribution.js';
|
|
257
257
|
import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
|
|
258
258
|
import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/reactions/autorun';
|
|
@@ -7,7 +7,7 @@ import { RemoteAgentHostConnectionStatus } from "@codingame/monaco-vscode-api/vs
|
|
|
7
7
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
8
|
import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
|
|
9
9
|
import { IChatSessionItem, IChatSessionItemController, IChatSessionItemsDelta } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService";
|
|
10
|
-
import { ICloudSandboxSessionList } from "
|
|
10
|
+
import { ICloudSandboxSessionList } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution";
|
|
11
11
|
import { IRemoteAgentHostAuthenticationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.service";
|
|
12
12
|
export declare class CloudSandboxSessionListController extends Disposable implements ICloudSandboxSessionList, IChatSessionItemController {
|
|
13
13
|
private readonly _deleteSession;
|
|
@@ -15,7 +15,7 @@ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
|
15
15
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService';
|
|
16
16
|
import { agentHostAuthority, fromAgentHostUri } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostUri';
|
|
17
17
|
import { remoteAgentHostSessionTypeId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostSessionType';
|
|
18
|
-
import { CLOUD_SANDBOX_AGENT_PROVIDER, CLOUD_SANDBOX_SESSION_SCHEME } from '
|
|
18
|
+
import { CLOUD_SANDBOX_AGENT_PROVIDER, CLOUD_SANDBOX_SESSION_SCHEME } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost';
|
|
19
19
|
import { RemoteAgentHostConnectionStatus } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService';
|
|
20
20
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
21
21
|
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
@@ -21,7 +21,7 @@ import { ISCMService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/co
|
|
|
21
21
|
import { IChatSessionItemController } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService";
|
|
22
22
|
import { IChatSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service";
|
|
23
23
|
import { IAgentHostSessionWorkingDirectoryResolver } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service";
|
|
24
|
-
import { CloudSandboxSessionContribution, ICloudSandboxSessionEnvironment } from "
|
|
24
|
+
import { CloudSandboxSessionContribution, ICloudSandboxSessionEnvironment } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution";
|
|
25
25
|
import { CloudSandboxSessionListController } from "./cloudSandboxSessionListController.js";
|
|
26
26
|
import { IRemoteAgentHostConnectionCustomizationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.service";
|
|
27
27
|
export declare class EditorCloudSandboxSessionContribution extends CloudSandboxSessionContribution<CloudSandboxSessionListController> implements IChatSessionItemController {
|
|
@@ -10,7 +10,7 @@ import { IAgentHostConnectionsService } from '@codingame/monaco-vscode-api/vscod
|
|
|
10
10
|
import { IAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentService.service';
|
|
11
11
|
import { agentHostAuthority } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostUri';
|
|
12
12
|
import { ChangesetKind } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/changesetUri';
|
|
13
|
-
import { cloudSandboxAddress, CLOUD_SANDBOX_SESSION_SCHEME, CLOUD_SANDBOX_AGENT_PROVIDER } from '
|
|
13
|
+
import { cloudSandboxAddress, CLOUD_SANDBOX_SESSION_SCHEME, CLOUD_SANDBOX_AGENT_PROVIDER } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost';
|
|
14
14
|
import { ICloudSandboxAgentHostService, ICloudSandboxApiService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost.service';
|
|
15
15
|
import { IRemoteAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService.service';
|
|
16
16
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
@@ -29,7 +29,7 @@ import { ChatContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbenc
|
|
|
29
29
|
import { SessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService';
|
|
30
30
|
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
31
31
|
import { IAgentHostSessionWorkingDirectoryResolver } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service';
|
|
32
|
-
import { CloudSandboxSessionContribution } from '
|
|
32
|
+
import { CloudSandboxSessionContribution } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxSessionContribution';
|
|
33
33
|
import { CloudSandboxSessionListController } from './cloudSandboxSessionListController.js';
|
|
34
34
|
import { IRemoteAgentHostConnectionCustomizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostConnectionCustomization.service';
|
|
35
35
|
import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/observables/observableFromEvent';
|
|
@@ -8,7 +8,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/in
|
|
|
8
8
|
import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
|
|
9
9
|
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
10
10
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
11
|
-
import { cloudSandboxAddress } from '
|
|
11
|
+
import { cloudSandboxAddress } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost';
|
|
12
12
|
import { IMissionControlEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/missionControlEnvironment.service';
|
|
13
13
|
import { RemoteAgentHostsEnabledSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService';
|
|
14
14
|
import { IRemoteAgentHostService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService.service';
|
package/vscode/src/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHost.contribution.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
-
import { CloudSandboxAutoConnectOnOpenSettingId, CloudSandboxEnabledSettingId } from '
|
|
4
|
+
import { CloudSandboxAutoConnectOnOpenSettingId, CloudSandboxEnabledSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost';
|
|
5
5
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
6
6
|
import { RemoteAgentHostsEnabledSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/remoteAgentHostService';
|
|
7
7
|
import { Extensions, ConfigurationScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
8
8
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
9
9
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
10
10
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
14
|
-
import '
|
|
11
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxAgentHostService';
|
|
12
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxApiService';
|
|
13
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels';
|
|
14
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxTelemetry';
|
|
15
15
|
import { EditorCloudSandboxContribution } from './editorCloudSandboxContribution.js';
|
|
16
16
|
import { RemoteAgentHostContribution } from './remoteAgentHostChatContribution.js';
|
|
17
17
|
import './missionControlEnvironmentActions.js';
|
|
18
18
|
import { AgentHostRemoteConnectionsSettingId } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/missionControlEnvironment';
|
|
19
19
|
import { IMissionControlSharingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/missionControlEnvironment.service';
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
20
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlEnvironmentService';
|
|
21
|
+
import '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/missionControlSharingService';
|
|
22
22
|
import '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
23
23
|
|
|
24
24
|
let MissionControlContribution = class MissionControlContribution {
|
|
@@ -15,7 +15,7 @@ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/pl
|
|
|
15
15
|
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
16
16
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
17
17
|
import { AgentHostAuthTokenCache, AgentHostAuthenticationRecovery, autoAuthenticateMcpServer, revokeAuthenticationForRemovedSessions, authenticateAgentProtectedResourcesWithToken, authenticateProtectedResources, authenticateProtectedResourcesWithToken, resolveAuthenticationInteractively } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostAuth';
|
|
18
|
-
import { agentHostProviderSupportsAutoModel, AgentHostLanguageModelProvider } from '
|
|
18
|
+
import { agentHostProviderSupportsAutoModel, AgentHostLanguageModelProvider } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostLanguageModelProvider';
|
|
19
19
|
import { AgentHostSessionHandler } from '../agentSessions/agentHost/agentHostSessionHandler.js';
|
|
20
20
|
import { IAgentHostActiveClientService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostActiveClientService.service';
|
|
21
21
|
import { IAgentHostSessionWorkingDirectoryResolver } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentHost/agentHostSessionWorkingDirectoryResolver.service';
|
|
@@ -33,10 +33,10 @@ import { IRemoteAgentHostConnectionCustomizationService } from '@codingame/monac
|
|
|
33
33
|
import { IAgentHostTerminalService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/browser/agentHostTerminalService.service';
|
|
34
34
|
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
35
35
|
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
36
|
-
import { isCloudSandboxConnectionAddress } from '
|
|
36
|
+
import { isCloudSandboxConnectionAddress } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxConnectionCustomization';
|
|
37
37
|
import { IRemoteAgentHostAuthenticationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/remoteAgentHostAuthentication.service';
|
|
38
|
-
import { CloudSandboxModels } from '
|
|
39
|
-
import { CLOUD_SANDBOX_AGENT_PROVIDER } from '
|
|
38
|
+
import { CloudSandboxModels } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/remoteAgentHost/cloudSandboxModels';
|
|
39
|
+
import { CLOUD_SANDBOX_AGENT_PROVIDER } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/cloudSandboxAgentHost';
|
|
40
40
|
import { AuthRequiredReason } from '@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/protocol/common/notifications';
|
|
41
41
|
|
|
42
42
|
( Registry.as(ChatSessionsExtensions.AsyncActivation)).register({
|
package/vscode/src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewTitleControl.js
CHANGED
|
@@ -14,7 +14,7 @@ import { MenuWorkbenchToolBar, HiddenItemStrategy } from '@codingame/monaco-vsco
|
|
|
14
14
|
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
15
15
|
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
16
16
|
import { ActionViewItem } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionViewItems';
|
|
17
|
-
import { AgentSessionsPicker } from '
|
|
17
|
+
import { AgentSessionsPicker } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsPicker';
|
|
18
18
|
import { IChatSessionsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service';
|
|
19
19
|
import { getChatSessionType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatUri';
|
|
20
20
|
import { getAgentSessionProvider, getAgentSessionProviderName } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessions';
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
3
|
-
import { AgentHostClientConnectionKind } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/agentHostTelemetry";
|
|
4
|
-
import { AhpJsonlLogger } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/ahpJsonlLogger";
|
|
5
|
-
import { type AhpServerNotification, type JsonRpcNotification, type JsonRpcRequest, type JsonRpcResponse, type ProtocolMessage } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionProtocol";
|
|
6
|
-
import type { IClientTransport } from "@codingame/monaco-vscode-api/vscode/vs/platform/agentHost/common/state/sessionTransport";
|
|
7
|
-
import type { ParseGroupNameOptions } from "../common/webPubSub/groups.js";
|
|
8
|
-
/**
|
|
9
|
-
* Minimal structural subset of the browser `WebSocket` interface this transport
|
|
10
|
-
* depends on, so a fake socket can be injected in tests via
|
|
11
|
-
* {@link IWebPubSubRelayTransportOptions.webSocketFactory}.
|
|
12
|
-
*/
|
|
13
|
-
export interface IWebSocketLike {
|
|
14
|
-
send(data: string): void;
|
|
15
|
-
close(code?: number, reason?: string): void;
|
|
16
|
-
onopen: (() => void) | null;
|
|
17
|
-
onmessage: ((event: {
|
|
18
|
-
data: unknown;
|
|
19
|
-
}) => void) | null;
|
|
20
|
-
onclose: ((event: {
|
|
21
|
-
code: number;
|
|
22
|
-
reason: string;
|
|
23
|
-
}) => void) | null;
|
|
24
|
-
onerror: ((event: unknown) => void) | null;
|
|
25
|
-
}
|
|
26
|
-
/** Opens an {@link IWebSocketLike} for `url` negotiating `subprotocol`. */
|
|
27
|
-
export type WebSocketFactory = (url: string, subprotocol: string) => IWebSocketLike;
|
|
28
|
-
export interface IWebPubSubRelayTransportOptions {
|
|
29
|
-
readonly clientConnectionKind?: AgentHostClientConnectionKind.MissionControl | AgentHostClientConnectionKind.WebPubSub;
|
|
30
|
-
/** Mission Control's logical client ID, shared with the AHP initialize request. */
|
|
31
|
-
readonly clientId: string;
|
|
32
|
-
/** Full WebSocket URL (including the `access_token` and `clientId` query params). */
|
|
33
|
-
readonly url: string;
|
|
34
|
-
/** Group to publish outbound AHP messages to (the `to_host` lane). */
|
|
35
|
-
readonly toHostGroup: string;
|
|
36
|
-
/** Groups to join on connect (`broadcast` + `to_client`). */
|
|
37
|
-
readonly joinGroups: readonly string[];
|
|
38
|
-
/** Forwarded to {@link parseInbound} for uid/eid/cid pinning. */
|
|
39
|
-
readonly groupValidation?: ParseGroupNameOptions;
|
|
40
|
-
/** Opens the underlying WebSocket. Defaults to a real browser socket. */
|
|
41
|
-
readonly webSocketFactory?: WebSocketFactory;
|
|
42
|
-
/** Invoked for malformed frames or failed relay operations. */
|
|
43
|
-
readonly onProtocolError?: (err: unknown) => void;
|
|
44
|
-
/** Content-free receive counter, including control, malformed and chunk frames. */
|
|
45
|
-
readonly onDidReceiveFrame?: () => void;
|
|
46
|
-
/**
|
|
47
|
-
* Records every AHP frame to a JSONL transcript when
|
|
48
|
-
* `chat.agentHost.ahpJsonlLoggingEnabled` is on. Cloud sandbox hosts do not implement
|
|
49
|
-
* `vscode/collectAgentHostDebugLogs`, so this is the only way to see their frames.
|
|
50
|
-
*/
|
|
51
|
-
readonly ahpLogger?: AhpJsonlLogger;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* AHP client transport over the Web PubSub reliable JSON subprotocol.
|
|
55
|
-
*
|
|
56
|
-
* Lifecycle:
|
|
57
|
-
* 1. {@link connect} opens the WebSocket, waits for the WPS `connected` system
|
|
58
|
-
* event, joins the requested groups, then advertises receive capabilities
|
|
59
|
-
* and awaits its publish acknowledgement before resolving.
|
|
60
|
-
* 2. Inbound messages are acknowledged and deduplicated before group-fanout
|
|
61
|
-
* reassembly and delivery via {@link onMessage}; outbound messages are
|
|
62
|
-
* chunked and published to the `to_host` lane by {@link send}.
|
|
63
|
-
* 3. {@link dispose} (or a socket close/error) fires {@link onClose} once.
|
|
64
|
-
*/
|
|
65
|
-
export declare class WebPubSubRelayTransport extends Disposable implements IClientTransport {
|
|
66
|
-
private readonly _options;
|
|
67
|
-
private readonly _logService;
|
|
68
|
-
get clientConnectionKind(): AgentHostClientConnectionKind;
|
|
69
|
-
private readonly _onMessage;
|
|
70
|
-
readonly onMessage: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<ProtocolMessage>;
|
|
71
|
-
private readonly _onDidReceiveData;
|
|
72
|
-
/** Fires for each host chunk of a message that is still being reassembled. */
|
|
73
|
-
readonly onDidReceiveData: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
|
|
74
|
-
private readonly _onClose;
|
|
75
|
-
readonly onClose: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event<void>;
|
|
76
|
-
private readonly _reassembler;
|
|
77
|
-
private readonly _sweepTimer;
|
|
78
|
-
private readonly _publishAckTimer;
|
|
79
|
-
private readonly _handshakeTimer;
|
|
80
|
-
private _ws;
|
|
81
|
-
private _ackId;
|
|
82
|
-
private _lastReceivedSequenceId;
|
|
83
|
-
private readonly _pendingJoinAcks;
|
|
84
|
-
/** Publish acknowledgement deadlines in send order. */
|
|
85
|
-
private readonly _pendingPublishAcks;
|
|
86
|
-
private _rejectConnect;
|
|
87
|
-
private _initialCapabilitiesAckId;
|
|
88
|
-
/** Guards against firing onClose / resolving connect more than once. */
|
|
89
|
-
private _closed;
|
|
90
|
-
private _connectResolved;
|
|
91
|
-
private _generation;
|
|
92
|
-
private _handshakeId;
|
|
93
|
-
private readonly _requests;
|
|
94
|
-
private readonly _closedBeforeHandshake;
|
|
95
|
-
private readonly _watch;
|
|
96
|
-
private _publishAcknowledged;
|
|
97
|
-
private _hostFrames;
|
|
98
|
-
private _hostMessages;
|
|
99
|
-
private _lastHostFrameMs;
|
|
100
|
-
private _protocolErrors;
|
|
101
|
-
private _expiredAssemblies;
|
|
102
|
-
constructor(_options: IWebPubSubRelayTransportOptions, _logService: ILogService);
|
|
103
|
-
get isOpen(): boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Open a WPS WebSocket connection with the reliable JSON subprotocol and
|
|
106
|
-
* complete the join handshake. Resolves once connected, rejects on
|
|
107
|
-
* error/timeout/early-close.
|
|
108
|
-
*/
|
|
109
|
-
connect(): Promise<void>;
|
|
110
|
-
/**
|
|
111
|
-
* Handle a frame received during the connect handshake: the WPS `connected`
|
|
112
|
-
* system event, joinGroup acks, or (defensively) early payload frames.
|
|
113
|
-
*/
|
|
114
|
-
private _handleHandshakeFrame;
|
|
115
|
-
private _advertiseReceiveCapabilities;
|
|
116
|
-
/** Switch the socket handlers over to steady-state observation. */
|
|
117
|
-
private _startObserving;
|
|
118
|
-
/** Handle publish acknowledgements and reassemble incoming group frames. */
|
|
119
|
-
private _handleInboundFrame;
|
|
120
|
-
private _deliver;
|
|
121
|
-
/** Publish each chunk once; rejection or a missing acknowledgement after 30 seconds fails the transport. */
|
|
122
|
-
send(message: ProtocolMessage | AhpServerNotification | JsonRpcNotification | JsonRpcResponse | JsonRpcRequest): void;
|
|
123
|
-
private _publishFrame;
|
|
124
|
-
private _logProtocolMessage;
|
|
125
|
-
private _schedulePublishAckTimeout;
|
|
126
|
-
private _checkPublishAckTimeout;
|
|
127
|
-
private _sendRaw;
|
|
128
|
-
private _logContext;
|
|
129
|
-
private _reportProtocolError;
|
|
130
|
-
/** Fire onClose exactly once and stop background work. */
|
|
131
|
-
private _fireClose;
|
|
132
|
-
/** Stop background work and close the socket without firing onClose. */
|
|
133
|
-
private _closeSocket;
|
|
134
|
-
dispose(): void;
|
|
135
|
-
}
|