sync: kernel v0.8.0 → template

This commit is contained in:
2026-03-21 20:03:39 +01:00
parent e40e22c949
commit 7e4986e8c6
22 changed files with 5824 additions and 75 deletions

View File

@@ -116,6 +116,18 @@ if [ -d "$BRAIN_ROOT/contexts" ]; then
echo "$ctx_count contexts"
fi
# --- Brain-UI (source + dist) ---
echo ""
echo "── brain-ui/ ──────────────────────────────────"
if [ -d "$BRAIN_ROOT/brain-ui" ]; then
if [ -z "$DRY" ]; then
rsync -a --delete \
--exclude='node_modules/' \
"$BRAIN_ROOT/brain-ui/" "$TEMPLATE_DIR/brain-ui/"
fi
echo " ✅ brain-ui (src + dist)"
fi
# --- Gitkeep ---
[ -z "$DRY" ] && mkdir -p "$TEMPLATE_DIR/locks" && \
touch "$TEMPLATE_DIR/locks/.gitkeep"