From df937ceca1752ed809cf5ac64e20e2c24fb7235b Mon Sep 17 00:00:00 2001 From: Colby McHenry Date: Tue, 10 Feb 2026 16:43:10 -0600 Subject: [PATCH] Add site-packages and dist-packages to default exclude patterns Fixes #28 - Python site-packages directories (e.g. audio_tools/python/Lib/site-packages/) were not excluded by default, causing massive index bloat and FOREIGN KEY failures when indexing large libraries like tensorflow. The FK crash itself was already fixed via INSERT OR IGNORE, but excluding these directories prevents the bloat in the first place. --- src/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types.ts b/src/types.ts index 0c17ed7..a010afa 100644 --- a/src/types.ts +++ b/src/types.ts @@ -569,6 +569,8 @@ export const DEFAULT_CONFIG: CodeGraphConfig = { '**/__pycache__/**', '**/.venv/**', '**/venv/**', + '**/site-packages/**', + '**/dist-packages/**', '**/.pytest_cache/**', '**/.mypy_cache/**', '**/.ruff_cache/**',