MCPcopy
hub / github.com/codeaashu/claude-code / isJsonlTranscriptEnabled

Function isJsonlTranscriptEnabled

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

Source from the content-addressed store, hash-verified

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

Callers 1

toCompactBlockFunction · 0.85

Calls 3

isEnvTruthyFunction · 0.85
isEnvDefinedFalsyFunction · 0.85

Tested by

no test coverage detected