1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-12 04:09:00 +00:00

feat: Add AI agent documentation, expand critical application protection for AI/LLM tools, and enhance user cache cleaning safety

This commit is contained in:
Tw93
2025-12-14 08:53:19 +08:00
parent 87c1cafd73
commit 37c7b7e743
7 changed files with 34 additions and 5 deletions

View File

@@ -137,7 +137,9 @@ clean_sandboxed_app_caches() {
# Clean contents safely
# We know this is a user cache path, so rm -rf is acceptable here
# provided we keep the Cache directory itself
rm -rf "${cache_dir:?}"/* 2> /dev/null || true
for item in "${cache_dir:?}"/*; do
safe_remove "$item" true || true
done
fi
fi
fi