()
| 711 | // Check if we should process rate limits even without subscription |
| 712 | // This is for Ant employees testing with mocks |
| 713 | export function shouldProcessMockLimits(): boolean { |
| 714 | if (process.env.USER_TYPE !== 'ant') { |
| 715 | return false |
| 716 | } |
| 717 | return mockEnabled || Boolean(process.env.CLAUDE_MOCK_HEADERLESS_429) |
| 718 | } |
| 719 | |
| 720 | export function getCurrentMockScenario(): MockScenario | null { |
| 721 | if (!mockEnabled) { |
no outgoing calls
no test coverage detected