worker: make/jq/gopls in base image + per-repo .lvmh/setup.sh hook (agent-driven persistent setup)
This commit is contained in:
+17
-17
@@ -7,27 +7,27 @@ SRC="${LVMH_PI_AGENT_DIR:-$HOME/.dotfiles/pi/agent}"
|
||||
DEST="$(dirname "$0")/../docker/pi-agent"
|
||||
|
||||
if [ ! -f "$SRC/settings.json" ]; then
|
||||
echo "rsync-pi-agent: $SRC/settings.json not found — skipping dotfiles sync" >&2
|
||||
exit 0
|
||||
echo "rsync-pi-agent: $SRC/settings.json not found — skipping dotfiles sync" >&2
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p "$DEST"
|
||||
rsync -a --delete \
|
||||
--exclude 'auth.json' \
|
||||
--exclude 'models.json' \
|
||||
--exclude 'models-store.json' \
|
||||
--exclude 'sessions/' \
|
||||
--exclude 'cache/' \
|
||||
--exclude 'npm/' \
|
||||
--exclude 'git/' \
|
||||
--exclude 'trust.json' \
|
||||
--exclude 'mcp-*' \
|
||||
--exclude 'run-history*' \
|
||||
--exclude 'vibes' \
|
||||
--exclude '*.log' \
|
||||
--exclude 'scratch/' \
|
||||
--exclude '.pi/' \
|
||||
"$SRC/" "$DEST/"
|
||||
--exclude 'auth.json' \
|
||||
--exclude 'models.json' \
|
||||
--exclude 'models-store.json' \
|
||||
--exclude 'sessions/' \
|
||||
--exclude 'cache/' \
|
||||
--exclude 'npm/' \
|
||||
--exclude 'git/' \
|
||||
--exclude 'trust.json' \
|
||||
--exclude 'mcp-*' \
|
||||
--exclude 'run-history*' \
|
||||
--exclude 'vibes' \
|
||||
--exclude '*.log' \
|
||||
--exclude 'scratch/' \
|
||||
--exclude '.pi/' \
|
||||
"$SRC/" "$DEST/"
|
||||
|
||||
# Container sessions cannot run git: package postinstalls (e.g. husky) — keep
|
||||
# registry (npm:) packages only in the baked settings.json.
|
||||
|
||||
Reference in New Issue
Block a user