()
| 29 | } |
| 30 | |
| 31 | export function buildQueryConfig(): QueryConfig { |
| 32 | return { |
| 33 | sessionId: getSessionId(), |
| 34 | gates: { |
| 35 | streamingToolExecution: checkStatsigFeatureGate_CACHED_MAY_BE_STALE( |
| 36 | 'tengu_streaming_tool_execution2', |
| 37 | ), |
| 38 | emitToolUseSummaries: isEnvTruthy( |
| 39 | process.env.CLAUDE_CODE_EMIT_TOOL_USE_SUMMARIES, |
| 40 | ), |
| 41 | isAnt: process.env.USER_TYPE === 'ant', |
| 42 | // Inlined from fastMode.ts to avoid pulling its heavy module graph |
| 43 | // (axios, settings, auth, model, oauth, config) into test shards that |
| 44 | // didn't previously load it — changes init order and breaks unrelated tests. |
| 45 | fastModeEnabled: !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_FAST_MODE), |
| 46 | }, |
| 47 | } |
| 48 | } |
no test coverage detected