Skip to content

Commit 7d03767

Browse files
James Mtendamemacursoragent
andcommitted
feat(privacy): remove extension LLM telemetry; gateway-only server logs
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent f721430 commit 7d03767

4 files changed

Lines changed: 11 additions & 223 deletions

File tree

PRIVACY.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,17 @@ go—and, importantly, where they don't.
4040
We retain telemetry only as long as needed for product analytics and debugging.
4141
Telemetry does **not** collect your code or AI prompts, and you can opt out at
4242
any time through the settings.
43-
- **Zoo Code Observability (Authenticated Subscribers Only):** If you sign in to
44-
Zoo Code and have an active subscription, Zoo Code will send LLM usage
45-
telemetry to the Zoo Code backend (zoocode.dev). This includes task ID, AI
46-
provider name, model name, token counts (input/output/cache), and estimated
47-
cost. This data is linked to your authenticated Zoo Code account. You can stop
48-
this collection at any time by signing out via the Zoo Code badge in the chat
49-
area.
43+
- **Zoo Gateway usage logs (Zoo Gateway only):** The extension does **not**
44+
send LLM usage telemetry to zoocode.dev for bring-your-own-key (BYOK)
45+
providers. If you choose **Zoo Gateway** as your AI provider while signed in,
46+
your requests are processed through zoocode.dev and we record metadata-only
47+
API request logs on our servers (model identifier, token counts, USD cost,
48+
request timing, status code, task/session/mode context, editor and extension
49+
version) for billing and dashboard analytics, as described in the
50+
[zoocode.dev Privacy Policy](https://www.zoocode.dev/legal/privacy). We do
51+
not record the content of your prompts, your code, or the model's response
52+
text. Free plan users can view gateway usage in the dashboard for the most
53+
recent 7 days; Pro and higher plan users can view the full retention window.
5054
- **Marketplace Requests**: When you browse or search the Marketplace for Model
5155
Configuration Profiles (MCPs) or Custom Modes, Zoo Code makes a secure API
5256
call to Zoo Code's backend servers to retrieve listing information. These

src/core/task/Task.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3013,27 +3013,6 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
30133013
cacheReadTokens: tokens.cacheRead,
30143014
cost: tokens.total ?? costResult.totalCost,
30153015
})
3016-
3017-
// Zoo Code observability telemetry
3018-
import("../../services/zoo-telemetry")
3019-
.then(async ({ sendLlmTelemetry }) => {
3020-
const mode = await this.getTaskMode().catch(() => "unknown")
3021-
return sendLlmTelemetry({
3022-
taskId: this.taskId,
3023-
provider: this.apiConfiguration?.apiProvider ?? "unknown",
3024-
model: this.apiConfiguration
3025-
? (getModelId(this.apiConfiguration) ?? "unknown")
3026-
: "unknown",
3027-
mode,
3028-
inputTokens: costResult.totalInputTokens,
3029-
outputTokens: costResult.totalOutputTokens,
3030-
cacheReadTokens: tokens.cacheRead ?? 0,
3031-
cacheWriteTokens: tokens.cacheWrite ?? 0,
3032-
totalCost: tokens.total ?? costResult.totalCost,
3033-
status,
3034-
}).catch(() => {})
3035-
})
3036-
.catch(() => {})
30373016
}
30383017
}
30393018

src/services/__tests__/zoo-telemetry.test.ts

Lines changed: 0 additions & 132 deletions
This file was deleted.

src/services/zoo-telemetry.ts

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)