Roo-Code/packages/telemetry
Chris Estreich aaed043cb0
Git repo cloud telemetry (#5119)
This PR adds filtering of git repository properties from telemetry data and includes git info in telemetry properties, with comprehensive tests.

Behavior:
PostHogTelemetryClient now filters out repositoryUrl, repositoryName, and defaultBranch from telemetry events.
ClineProvider includes git repository information in telemetry properties, filtered by clients.
Functions:
Added isPropertyCapturable() in BaseTelemetryClient to allow property filtering.
Implemented getGitRepositoryInfo() and getWorkspaceGitInfo() in git.ts to extract git info.
Tests:
Added tests for isPropertyCapturable() in PostHogTelemetryClient.test.ts.
Added tests for getGitRepositoryInfo() and getWorkspaceGitInfo() in git.spec.ts.
2025-06-25 17:01:32 -07:00
..
src Git repo cloud telemetry (#5119) 2025-06-25 17:01:32 -07:00
eslint.config.mjs Roo Code Cloud (#4069) 2025-05-28 20:43:30 -07:00
package.json fix(deps): update dependency posthog-node to v5 (#4805) 2025-06-19 00:52:40 -07:00
tsconfig.json Roo Code Cloud (#4069) 2025-05-28 20:43:30 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00