spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / tests / fixtures / environments / analytics-off-environments.ts
20 lines · 700 BRaw
1/**
2 * One environment per switch that turns Claude Code's analytics off: the
3 * plugin sends nothing under any of them.
4 */
5export const ANALYTICS_OFF_ENVIRONMENTS: readonly Readonly<
6 Record<string, string>
7>[] = [
8 { DISABLE_TELEMETRY: '0' },
9 { CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: '1' },
10 { DO_NOT_TRACK: 'true' },
11 { NODE_ENV: 'test' },
12 { CLAUDE_CODE_USE_GATEWAY: '1' },
13 { CLAUDE_CODE_USE_BEDROCK: '1' },
14 { CLAUDE_CODE_USE_VERTEX: 'yes' },
15 { CLAUDE_CODE_USE_FOUNDRY: 'on' },
16 { CLAUDE_CODE_USE_ANTHROPIC_AWS: 'TRUE' },
17 { CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD: '1' },
18 { CLAUDE_CODE_USE_MANTLE: '1' },
19 { CLAUDE_CODE_CUSTOM_OAUTH_URL: 'https://auth.example.invalid' },
20]