This commit is contained in:
kuberwastaken 2026-03-31 16:25:52 +05:30
commit ec53fcbe95
1905 changed files with 513762 additions and 0 deletions

View file

@ -0,0 +1,14 @@
import { getFeatureValue_CACHED_MAY_BE_STALE } from '../../services/analytics/growthbook.js'
/**
* Runtime gate for /ultrareview. GB config's `enabled` field controls
* visibility isEnabled() on the command filters it from getCommands()
* when false, so ungated users don't see the command at all.
*/
export function isUltrareviewEnabled(): boolean {
const cfg = getFeatureValue_CACHED_MAY_BE_STALE<Record<
string,
unknown
> | null>('tengu_review_bughunter_config', null)
return cfg?.enabled === true
}