Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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/convo_miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
"build",
".next",
".mempalace",
"target",
"Pods",
".build",
"DerivedData",
}

MIN_CHUNK_SIZE = 30
Expand Down
4 changes: 4 additions & 0 deletions mempalace/entity_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@
".next",
"coverage",
".mempalace",
"target",
"Pods",
".build",
"DerivedData",
}


Expand Down
4 changes: 4 additions & 0 deletions mempalace/miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
".next",
"coverage",
".mempalace",
"target",
"Pods",
".build",
"DerivedData",
}

CHUNK_SIZE = 800 # chars per drawer
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 @@ -114,6 +114,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 @@ -173,7 +177,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
Loading