Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
build(ragfs): clean stale .venv ragfs_python artifacts to avoid site-packages override (#3318)
baojun-zhangdad04e37b8df
diff --git a/Makefile b/Makefileindex d815257f9..02c50a988 100644--- a/Makefile+++ b/Makefile@@ -86,6 +86,12 @@ check-deps:fibuild: check-deps check-pip build-studio+ @echo "Cleaning stale ragfs-python native artifacts from project .venv..."+ @if [ -x .venv/bin/python ]; then \+ .venv/bin/python -c 'import sysconfig; from pathlib import Path; roots = {Path(sysconfig.get_path("platlib")), Path(sysconfig.get_path("purelib"))}; removed = []; [removed.append(path) or path.unlink() for root in roots if root.exists() for path in root.rglob("*") if path.is_file() and path.name.startswith("ragfs_python") and path.suffix in {".so", ".pyd", ".dylib"}]; print(" [OK] removed stale ragfs artifacts from .venv" if removed else " [OK] no stale ragfs artifacts found in .venv")'; \+ else \+ echo " [SKIP] project .venv not found; skip ragfs native cleanup"; \+ fi@echo "Starting build process via setup.py..."$(PYTHON) $(SETUP_PY) build_ext --inplace@if command -v uv > /dev/null 2>&1 && uv pip --help > /dev/null 2>&1; then \