| ... | @@ -12,6 +12,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstab | ... | @@ -12,6 +12,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstab |
| 12 | | 12 | |
| 13 | import { AnalyticsService, type AnalyticsServiceShape } from "../Services/AnalyticsService.ts"; | 13 | import { AnalyticsService, type AnalyticsServiceShape } from "../Services/AnalyticsService.ts"; |
| 14 | import { getTelemetryIdentifier } from "../Identify.ts"; | 14 | import { getTelemetryIdentifier } from "../Identify.ts"; |
| | 15 | import { version } from "../../../package.json" with { type: "json" }; |
| 15 | | 16 | |
| 16 | interface BufferedAnalyticsEvent { | 17 | interface BufferedAnalyticsEvent { |
| 17 | readonly event: string; | 18 | readonly event: string; |
| ... | @@ -78,7 +79,10 @@ const makeAnalyticsService = Effect.gen(function* () { | ... | @@ -78,7 +79,10 @@ const makeAnalyticsService = Effect.gen(function* () { |
| 78 | properties: { | 79 | properties: { |
| 79 | ...event.properties, | 80 | ...event.properties, |
| 80 | $process_person_profile: false, | 81 | $process_person_profile: false, |
| 81 | $lib: "t3code-server", | 82 | platform: process.platform, |
| | 83 | wsl: process.env.WSL_DISTRO_NAME, |
| | 84 | arch: process.arch, |
| | 85 | t3CodeVersion: version, |
| 82 | }, | 86 | }, |
| 83 | timestamp: event.capturedAt, | 87 | timestamp: event.capturedAt, |
| 84 | })), | 88 | })), |