MCPcopy
hub / github.com/claude-code-best/claude-code / isEssentialTrafficOnly

Function isEssentialTrafficOnly

src/utils/privacyLevel.ts:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 * Equivalent to the old `process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` check.
33 */
34export function isEssentialTrafficOnly(): boolean {
35 return getPrivacyLevel() === 'essential-traffic'
36}
37
38/**
39 * True when telemetry/analytics should be suppressed.

Callers 15

submitFeedbackFunction · 0.85
preconnectAnthropicApiFunction · 0.85
fetchAndStoreChangelogFunction · 0.85
prefetchFastModeStatusFunction · 0.85
logErrorFunction · 0.85
refreshModelCapabilitiesFunction · 0.85
enrollTrustedDeviceFunction · 0.85
index.tsFile · 0.85
checkQuotaStatusFunction · 0.85
isPolicyAllowedFunction · 0.85
grove.tsFile · 0.85

Calls 1

getPrivacyLevelFunction · 0.85

Tested by

no test coverage detected