MCPcopy Index your code
hub / github.com/Noumena-Network/code / buildQueryConfig

Function buildQueryConfig

src/query/config.ts:30–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30export 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}

Callers 2

queryLoopFunction · 0.85
config.test.tsFile · 0.85

Calls 4

isEnvTruthyFunction · 0.90
getSessionIdFunction · 0.85
isInternalBuildFunction · 0.85

Tested by

no test coverage detected