Download mods/telemetry/hooks/environment/environment.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 820 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/telemetry/hooks/environment/environment.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/telemetry/hooks/environment/environment.ts
-
curl -L -o environment.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/telemetry/hooks/environment/environment.ts
820 Bytes
| /** | |
| * What the plugin reads of the environment before each row: the | |
| * build's user type and every switch that turns the CLI's analytics off. | |
| * | |
| * Each field is the variable's value as `$.env.get` answers it, undefined | |
| * when unset; analytics-off/ decides what they mean together. | |
| */ | |
| export type Environment = { | |
| readonly userType: string | undefined | |
| readonly disableTelemetry: string | undefined | |
| readonly disableNonessentialTraffic: string | undefined | |
| readonly doNotTrack: string | undefined | |
| readonly customOauthUrl: string | undefined | |
| readonly useBedrock: string | undefined | |
| readonly useVertex: string | undefined | |
| readonly useFoundry: string | undefined | |
| readonly useAnthropicAws: string | undefined | |
| readonly useAnthropicGoogleCloud: string | undefined | |
| readonly useMantle: string | undefined | |
| } | |