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

Function hasRequiredSubscription

src/utils/computerUse/gates.ts:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37// regardless of subscription tier — not all ants are max/pro, and per
38// CLAUDE.md:281, USER_TYPE !== 'ant' branches get zero antfooding.
39function hasRequiredSubscription(): boolean {
40 if (process.env.USER_TYPE === 'ant') return true
41 const tier = getSubscriptionType()
42 return tier === 'max' || tier === 'pro'
43}
44
45export function getChicagoEnabled(): boolean {
46 // Disable for ants whose shell inherited monorepo dev config.

Callers 1

getChicagoEnabledFunction · 0.85

Calls 1

getSubscriptionTypeFunction · 0.85

Tested by

no test coverage detected