init claude-code
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user