Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/ai-brain-core / healers/heal_apps.sh |
| Date | Not specified in source |
| Repository | Janady13/ai-brain-core |
| Revision | f7275582f13ada80bfb3b1008089800ca26f4a23 |
| Branch | main |
| Path or archive member | healers/heal_apps.sh |
| Original SHA-256 | e53e2ff41ad6c0ad5a44bbd49a24b34e5d898a4657e382bdfec428e91f9d4e5f |
| Git blob SHA | 200b93cb7719804bdc35b9ac9141d11f9915ee08 |
| Reading-copy SHA-256 | e53e2ff41ad6c0ad5a44bbd49a24b34e5d898a4657e382bdfec428e91f9d4e5f |
Every recorded occurrence
These 3 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/ai-brain-core / healers/heal_apps.sh | main | f7275582f13ada80bfb3b1008089800ca26f4a23 | Open original |
| Janady13/ai-brain-core / healers/heal_apps.sh | claude/agi-architecture-diagram-01GJ7CohfKvLb77yiKpHqd6d | 365850e27004318edd582881225024026b118c2d | Open original |
| Janady13/ai-brain-core / healers/heal_apps.sh | healer-core | 0fe4cbbaa91912149f1a8e32205371ff67017268 | Open original |
Recovered source transcript
Download complete source text ↓24 lines · 0.8 KB
#!/bin/bash
BASE="$HOME/Desktop/AI_Brain"
LOG_DIR="$BASE/logs"
APP_LOG="$LOG_DIR/heal_apps.log"
echo "🛠️ [heal_apps] Checking for missing dependencies..." | tee -a "$APP_LOG"
# Fix Python packages
if command -v pip >/dev/null 2>&1; then
MISSING=$(grep -i "ModuleNotFoundError" "$LOG_DIR"/*.log 2>/dev/null | awk -F"'" '{print $2}' | sort -u)
for pkg in $MISSING; do
echo "📦 Installing missing Python package: $pkg" | tee -a "$APP_LOG"
pip install "$pkg" >>"$APP_LOG" 2>&1 || echo "⚠️ Failed to install $pkg"
done
fi
# Fix Node packages
if command -v npm >/dev/null 2>&1 && [[ -f package.json ]]; then
echo "📦 Running npm install..." | tee -a "$APP_LOG"
npm install >>"$APP_LOG" 2>&1
fi
echo "✅ Application healing complete" | tee -a "$APP_LOG"