@@ -19,10 +19,9 @@ declare module 'vscode' {
1919 readonly prompt : string ;
2020
2121 /**
22- * The ID of the chat agent to which this request was directed.
22+ * The name of the chat agent and contributing extension to which this request was directed.
2323 */
24- // TODO@API NAME: agentId shouldbe agentName or just agent (because it is ChatAgent#name)
25- readonly agent : { readonly extensionId : string ; readonly agent : string ; readonly agentId : string } ;
24+ readonly agent : { readonly extensionId : string ; readonly agent : string } ;
2625
2726 /**
2827 * The name of the {@link ChatAgentCommand command} that was selected for this request.
@@ -34,7 +33,7 @@ declare module 'vscode' {
3433 */
3534 readonly variables : ChatAgentResolvedVariable [ ] ;
3635
37- private constructor ( prompt : string , command : string | undefined , variables : ChatAgentResolvedVariable [ ] , agent : { extensionId : string ; agentId : string } ) ;
36+ private constructor ( prompt : string , command : string | undefined , variables : ChatAgentResolvedVariable [ ] , agent : { extensionId : string ; agent : string } ) ;
3837 }
3938
4039 // TODO@API name: Turn?
@@ -50,10 +49,12 @@ declare module 'vscode' {
5049 */
5150 readonly result : ChatAgentResult2 ;
5251
53- // TODO@API NAME: agentId shouldbe agentName or just agent (because it is ChatAgent#name)
54- readonly agent : { readonly extensionId : string ; readonly agent : string ; readonly agentId : string } ;
52+ /**
53+ * The name of the chat agent and contributing extension to which this request was directed.
54+ */
55+ readonly agent : { readonly extensionId : string ; readonly agent : string } ;
5556
56- private constructor ( response : ReadonlyArray < ChatResponseTextPart | ChatResponseMarkdownPart | ChatResponseFileTreePart | ChatResponseAnchorPart | ChatResponseCommandButtonPart > , result : ChatAgentResult2 , agentId : { extensionId : string ; agentId : string } ) ;
57+ private constructor ( response : ReadonlyArray < ChatResponseTextPart | ChatResponseMarkdownPart | ChatResponseFileTreePart | ChatResponseAnchorPart | ChatResponseCommandButtonPart > , result : ChatAgentResult2 , agentId : { extensionId : string ; agent : string } ) ;
5758 }
5859
5960 export interface ChatAgentContext {
0 commit comments