()
| 72 | let shouldAutoEnable: boolean | undefined = undefined |
| 73 | |
| 74 | export function shouldAutoEnableClaudeInChrome(): boolean { |
| 75 | if (shouldAutoEnable !== undefined) { |
| 76 | return shouldAutoEnable |
| 77 | } |
| 78 | |
| 79 | shouldAutoEnable = |
| 80 | getIsInteractive() && |
| 81 | isChromeExtensionInstalled_CACHED_MAY_BE_STALE() && |
| 82 | (isInternalBuild() || |
| 83 | getFeatureValue_CACHED_MAY_BE_STALE('ncode_chrome_auto_enable', false)) |
| 84 | |
| 85 | return shouldAutoEnable |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Setup Code in Chrome MCP server and tools |
no test coverage detected