| ... | ... | @@ -12,6 +12,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstab |
| 12 | 12 | |
| 13 | 13 | import { AnalyticsService, type AnalyticsServiceShape } from "../Services/AnalyticsService.ts"; |
| 14 | 14 | import { getTelemetryIdentifier } from "../Identify.ts"; |
| 15 | import { version } from "../../../package.json" with { type: "json" }; |
| 15 | 16 | |
| 16 | 17 | interface BufferedAnalyticsEvent { |
| 17 | 18 | readonly event: string; |
| ... | ... | @@ -78,7 +79,10 @@ const makeAnalyticsService = Effect.gen(function* () { |
| 78 | 79 | properties: { |
| 79 | 80 | ...event.properties, |
| 80 | 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 | 87 | timestamp: event.capturedAt, |
| 84 | 88 | })), |