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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user