v1.0.6-preview.0
Pre-release
Pre-release
Feature: experimental GitHub telemetry redirection
All SDKs now support an optional onGitHubTelemetry callback in ClientOptions that lets hosts receive per-session GitHub telemetry events forwarded by the runtime. When a handler is registered, the client automatically opts sessions in via enableGitHubTelemetryRedirection and dispatches each incoming gitHubTelemetry.event notification to the callback. This feature is experimental, intentionally hidden from public IDE completion in C# ([EditorBrowsable(Never)]) and Rust (#[doc(hidden)]). (#1835)
const client = new CopilotClient({
onGitHubTelemetry: (notification) => { /* handle telemetry event */ },
});var client = new CopilotClient(new CopilotClientOptions
{
OnGitHubTelemetry = (notification) => { /* handle telemetry event */ return Task.CompletedTask; },
});Generated by Release Changelog Generator · sonnet46 1.2M