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