MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isUsingExternalPermissions

Function isUsingExternalPermissions

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

Source from the content-addressed store, hash-verified

69/* eslint-enable custom-rules/no-process-env-top-level, @typescript-eslint/no-require-imports */
70
71function isUsingExternalPermissions(): boolean {
72 if (process.env.USER_TYPE !== 'ant') return true
73 const config = getFeatureValue_CACHED_MAY_BE_STALE(
74 'tengu_auto_mode_config',
75 {} as AutoModeConfig,
76 )
77 return config?.forceExternalPermissions === true
78}
79
80/**
81 * Shape of the settings.autoMode config — the three classifier prompt

Callers 1

buildYoloSystemPromptFunction · 0.85

Tested by

no test coverage detected