@@ -55,7 +55,7 @@ import { ICodeMapperRequest, ICodeMapperResult } from '../../contrib/chat/common
55
55
import { IChatRelatedFile , IChatRelatedFileProviderMetadata as IChatRelatedFilesProviderMetadata , IChatRequestDraft } from '../../contrib/chat/common/chatEditingService.js' ;
56
56
import { IChatProgressHistoryResponseContent } from '../../contrib/chat/common/chatModel.js' ;
57
57
import { IChatContentInlineReference , IChatFollowup , IChatProgress , IChatResponseErrorDetails , IChatTask , IChatTaskDto , IChatUserActionEvent , IChatVoteAction } from '../../contrib/chat/common/chatService.js' ;
58
- import { IChatRequestVariableValue , IChatVariableData , IChatVariableResolverProgress } from '../../contrib/chat/common/chatVariables.js' ;
58
+ import { IChatRequestVariableValue } from '../../contrib/chat/common/chatVariables.js' ;
59
59
import { IChatMessage , IChatResponseFragment , ILanguageModelChatMetadata , ILanguageModelChatSelector , ILanguageModelsChangeEvent } from '../../contrib/chat/common/languageModels.js' ;
60
60
import { IPreparedToolInvocation , IToolData , IToolInvocation , IToolResult } from '../../contrib/chat/common/languageModelToolsService.js' ;
61
61
import { DebugConfigurationProviderTriggerKind , IAdapterDescriptor , IConfig , IDebugSessionReplMode , IDebugTestRunReference , IDebugVisualization , IDebugVisualizationContext , IDebugVisualizationTreeItem , MainThreadDebugVisualization } from '../../contrib/debug/common/debug.js' ;
@@ -1354,15 +1354,6 @@ export interface IChatParticipantDetectionResult {
1354
1354
command ?: string ;
1355
1355
}
1356
1356
1357
- export type IChatVariableResolverProgressDto =
1358
- | Dto < IChatVariableResolverProgress > ;
1359
-
1360
- export interface MainThreadChatVariablesShape extends IDisposable {
1361
- $registerVariable ( handle : number , data : IChatVariableData ) : void ;
1362
- $handleProgressChunk ( requestId : string , progress : IChatVariableResolverProgressDto ) : Promise < number | void > ;
1363
- $unregisterVariable ( handle : number ) : void ;
1364
- }
1365
-
1366
1357
export type IToolDataDto = Omit < IToolData , 'when' > ;
1367
1358
1368
1359
export interface MainThreadLanguageModelToolsShape extends IDisposable {
@@ -1375,10 +1366,6 @@ export interface MainThreadLanguageModelToolsShape extends IDisposable {
1375
1366
1376
1367
export type IChatRequestVariableValueDto = Dto < IChatRequestVariableValue > ;
1377
1368
1378
- export interface ExtHostChatVariablesShape {
1379
- $resolveVariable ( handle : number , requestId : string , messageText : string , token : CancellationToken ) : Promise < IChatRequestVariableValueDto | undefined > ;
1380
- }
1381
-
1382
1369
export interface ExtHostLanguageModelToolsShape {
1383
1370
$onDidChangeTools ( tools : IToolDataDto [ ] ) : void ;
1384
1371
$invokeTool ( dto : IToolInvocation , token : CancellationToken ) : Promise < IToolResult > ;
@@ -3017,7 +3004,6 @@ export const MainContext = {
3017
3004
MainThreadEmbeddings : createProxyIdentifier < MainThreadEmbeddingsShape > ( 'MainThreadEmbeddings' ) ,
3018
3005
MainThreadChatAgents2 : createProxyIdentifier < MainThreadChatAgentsShape2 > ( 'MainThreadChatAgents2' ) ,
3019
3006
MainThreadCodeMapper : createProxyIdentifier < MainThreadCodeMapperShape > ( 'MainThreadCodeMapper' ) ,
3020
- MainThreadChatVariables : createProxyIdentifier < MainThreadChatVariablesShape > ( 'MainThreadChatVariables' ) ,
3021
3007
MainThreadLanguageModelTools : createProxyIdentifier < MainThreadLanguageModelToolsShape > ( 'MainThreadChatSkills' ) ,
3022
3008
MainThreadClipboard : createProxyIdentifier < MainThreadClipboardShape > ( 'MainThreadClipboard' ) ,
3023
3009
MainThreadCommands : createProxyIdentifier < MainThreadCommandsShape > ( 'MainThreadCommands' ) ,
@@ -3138,7 +3124,6 @@ export const ExtHostContext = {
3138
3124
ExtHostNotebookDocumentSaveParticipant : createProxyIdentifier < ExtHostNotebookDocumentSaveParticipantShape > ( 'ExtHostNotebookDocumentSaveParticipant' ) ,
3139
3125
ExtHostInteractive : createProxyIdentifier < ExtHostInteractiveShape > ( 'ExtHostInteractive' ) ,
3140
3126
ExtHostChatAgents2 : createProxyIdentifier < ExtHostChatAgentsShape2 > ( 'ExtHostChatAgents' ) ,
3141
- ExtHostChatVariables : createProxyIdentifier < ExtHostChatVariablesShape > ( 'ExtHostChatVariables' ) ,
3142
3127
ExtHostLanguageModelTools : createProxyIdentifier < ExtHostLanguageModelToolsShape > ( 'ExtHostChatSkills' ) ,
3143
3128
ExtHostChatProvider : createProxyIdentifier < ExtHostLanguageModelsShape > ( 'ExtHostChatProvider' ) ,
3144
3129
ExtHostSpeech : createProxyIdentifier < ExtHostSpeechShape > ( 'ExtHostSpeech' ) ,
0 commit comments