()
| 1418 | } |
| 1419 | |
| 1420 | export async function shouldShowClaudeMdExternalIncludesWarning(): Promise<boolean> { |
| 1421 | const config = getCurrentProjectConfig() |
| 1422 | if ( |
| 1423 | config.hasClaudeMdExternalIncludesApproved || |
| 1424 | config.hasClaudeMdExternalIncludesWarningShown |
| 1425 | ) { |
| 1426 | return false |
| 1427 | } |
| 1428 | |
| 1429 | return hasExternalClaudeMdIncludes(await getMemoryFiles(true)) |
| 1430 | } |
| 1431 | |
| 1432 | /** |
| 1433 | * Check if a file path is a memory file (CLAUDE.md, CLAUDE.local.md, or .claude/rules/*.md) |
no test coverage detected