()
| 69 | /* eslint-enable custom-rules/no-process-env-top-level, @typescript-eslint/no-require-imports */ |
| 70 | |
| 71 | function isUsingExternalPermissions(): boolean { |
| 72 | if (process.env.USER_TYPE !== 'ant') return true |
| 73 | const config = getFeatureValue_CACHED_MAY_BE_STALE( |
| 74 | 'tengu_auto_mode_config', |
| 75 | {} as AutoModeConfig, |
| 76 | ) |
| 77 | return config?.forceExternalPermissions === true |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Shape of the settings.autoMode config — the three classifier prompt |
no test coverage detected