Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mempalace/entity_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ def _get_stopwords(languages: tuple) -> frozenset:
".next",
"coverage",
".mempalace",
"target",
"Pods",
".build",
"DerivedData",
".terraform",
"vendor",
"target",
Expand Down
6 changes: 5 additions & 1 deletion mempalace/room_detector_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ def detect_rooms_from_folders(project_dir: str) -> list:
"build",
".next",
"coverage",
"target",
"Pods",
".build",
"DerivedData",
}

# Check top-level directories first (most reliable signal)
Expand Down Expand Up @@ -200,7 +204,7 @@ def detect_rooms_from_files(project_dir: str) -> list:
project_path = Path(project_dir).expanduser().resolve()
keyword_counts = defaultdict(int)

SKIP_DIRS = {".git", "node_modules", "__pycache__", ".venv", "venv", "dist", "build"}
SKIP_DIRS = {".git", "node_modules", "__pycache__", ".venv", "venv", "dist", "build", "target", "Pods", ".build", "DerivedData"}

for root, dirs, filenames in os.walk(project_path):
dirs[:] = [d for d in dirs if d not in SKIP_DIRS]
Expand Down