plugin: benign-reconnect overflow-notice fix (maxAssignedSeq gate), null-id reconnect timer clear; rsync: mkdir before early exit

This commit is contained in:
Raphael Westphal
2026-08-18 19:04:05 +02:00
parent 6aac763563
commit 95d2b5da4b
2 changed files with 36 additions and 14 deletions
+4 -2
View File
@@ -6,12 +6,14 @@ set -euo pipefail
SRC="${LVMH_PI_AGENT_DIR:-$HOME/.dotfiles/pi/agent}"
DEST="$(dirname "$0")/../docker/pi-agent"
# DEST must exist even without dotfiles: the worker Dockerfile COPYs it
# unconditionally (a missing dir would fail the build).
mkdir -p "$DEST"
if [ ! -f "$SRC/settings.json" ]; then
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' \