MCPcopy Index your code
hub / github.com/codeaashu/claude-code / shouldAutoEnableClaudeInChrome

Function shouldAutoEnableClaudeInChrome

src/utils/claudeInChrome/setup.ts:72–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70let shouldAutoEnable: boolean | undefined = undefined
71
72export function shouldAutoEnableClaudeInChrome(): boolean {
73 if (shouldAutoEnable !== undefined) {
74 return shouldAutoEnable
75 }
76
77 shouldAutoEnable =
78 getIsInteractive() &&
79 isChromeExtensionInstalled_CACHED_MAY_BE_STALE() &&
80 (process.env.USER_TYPE === 'ant' ||
81 getFeatureValue_CACHED_MAY_BE_STALE('tengu_chrome_auto_enable', false))
82
83 return shouldAutoEnable
84}
85
86/**
87 * Setup Claude in Chrome MCP server and tools

Callers 3

runFunction · 0.85
initBundledSkillsFunction · 0.85

Tested by

no test coverage detected