feat: add universal skill sync and runtime linking

This commit is contained in:
Jason Woltje
2026-02-17 10:56:48 -06:00
parent a658550ba1
commit bf911e4042
3 changed files with 166 additions and 0 deletions

View File

@@ -17,4 +17,14 @@ chmod +x "$TARGET_DIR"/bin/*
chmod +x "$TARGET_DIR"/install.sh
echo "[mosaic-install] Installed framework to $TARGET_DIR"
echo "[mosaic-install] Syncing universal skills"
if [[ "${MOSAIC_SKIP_SKILLS_SYNC:-0}" == "1" ]]; then
echo "[mosaic-install] Skipping skills sync (MOSAIC_SKIP_SKILLS_SYNC=1)"
else
if ! "$TARGET_DIR/bin/mosaic-sync-skills"; then
echo "[mosaic-install] WARNING: skills sync failed (framework install still complete)" >&2
fi
fi
echo "[mosaic-install] Add to PATH: export PATH=\"$TARGET_DIR/bin:$PATH\""