MCPcopy Create free account
hub / github.com/Noumena-Network/code / isJsonlTranscriptEnabled

Function isJsonlTranscriptEnabled

src/utils/permissions/yoloClassifier.ts:1381–1392  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1379}
1380
1381function isJsonlTranscriptEnabled(): boolean {
1382 if (isInternalBuild()) {
1383 const env = process.env.CLAUDE_CODE_JSONL_TRANSCRIPT
1384 if (isEnvTruthy(env)) return true
1385 if (isEnvDefinedFalsy(env)) return false
1386 }
1387 const config = getFeatureValue_CACHED_MAY_BE_STALE(
1388 'ncode_auto_mode_config',
1389 {} as AutoModeConfig,
1390 )
1391 return config?.jsonlTranscript === true
1392}
1393
1394/**
1395 * PowerShell-specific deny guidance for the classifier. Appended to the

Callers 1

toCompactBlockFunction · 0.85

Calls 4

isEnvTruthyFunction · 0.90
isInternalBuildFunction · 0.85
isEnvDefinedFalsyFunction · 0.85

Tested by

no test coverage detected