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