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 / hooks / environment / environment.ts
20 lines · 820 BRaw
1/**
2 * What the plugin reads of the environment before each row: the
3 * build's user type and every switch that turns the CLI's analytics off.
4 *
5 * Each field is the variable's value as `$.env.get` answers it, undefined
6 * when unset; analytics-off/ decides what they mean together.
7 */
8export type Environment = {
9 readonly userType: string | undefined
10 readonly disableTelemetry: string | undefined
11 readonly disableNonessentialTraffic: string | undefined
12 readonly doNotTrack: string | undefined
13 readonly customOauthUrl: string | undefined
14 readonly useBedrock: string | undefined
15 readonly useVertex: string | undefined
16 readonly useFoundry: string | undefined
17 readonly useAnthropicAws: string | undefined
18 readonly useAnthropicGoogleCloud: string | undefined
19 readonly useMantle: string | undefined
20}