257
/** The restricted GH/MSFT telemetry surface, present when the agent-host telemetry service is wired. */
258
private get _restricted(): IAgentHostRestrictedTelemetry | undefined {
260
>
return typeof ts.sendEnhancedGHTelemetryEvent === 'function' ? ts as IAgentHostRestrictedTelemetry : undefined;
261
>
}
262
263
userMessageSent(provider: string, session: string, sessionState: ISessionWithDefaultChat | undefined, source: AgentHostUserMessageSentSource, attachments: readonly MessageAttachment[] | undefined): void {