aidevops 3.8.91 → 3.8.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/aidevops.sh +28 -1
- package/package.json +1 -1
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.8.
|
|
1
|
+
3.8.93
|
package/aidevops.sh
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# AI DevOps Framework CLI
|
|
6
6
|
# Usage: aidevops <command> [options]
|
|
7
7
|
#
|
|
8
|
-
# Version: 3.8.
|
|
8
|
+
# Version: 3.8.93
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -556,6 +556,33 @@ cmd_update() {
|
|
|
556
556
|
print_warning "Deployed agents ($deployed_version) don't match repo ($repo_version)"
|
|
557
557
|
print_info "Re-running setup to sync agents..."
|
|
558
558
|
bash "$INSTALL_DIR/setup.sh" --non-interactive
|
|
559
|
+
else
|
|
560
|
+
# t2706: VERSION matches but .deployed-sha may lag HEAD when
|
|
561
|
+
# fixes land between releases. Detect and redeploy on framework
|
|
562
|
+
# code drift (inline so bootstrap doesn't depend on the deployed
|
|
563
|
+
# aidevops-update-check.sh already carrying the same check).
|
|
564
|
+
# Docs-only drift is intentionally skipped — no runtime impact.
|
|
565
|
+
local stamp_file="$HOME/.aidevops/.deployed-sha"
|
|
566
|
+
if [[ -f "$stamp_file" ]]; then
|
|
567
|
+
local deployed_sha has_code_drift=0
|
|
568
|
+
deployed_sha=$(tr -d '[:space:]' <"$stamp_file" 2>/dev/null) || deployed_sha=""
|
|
569
|
+
if [[ -n "$deployed_sha" && "$deployed_sha" != "$local_hash" ]]; then
|
|
570
|
+
# Per Gemini code-review on PR #20342: use git's path filter +
|
|
571
|
+
# `grep -q .` to detect drift across the full set of deploy-affecting
|
|
572
|
+
# paths (not just .agents/ subdirs — also setup.sh, setup-modules/,
|
|
573
|
+
# and aidevops.sh itself, which are deployed/sourced by setup).
|
|
574
|
+
if git -C "$INSTALL_DIR" diff --name-only "$deployed_sha" "$local_hash" -- \
|
|
575
|
+
.agents/scripts/ .agents/agents/ .agents/workflows/ .agents/prompts/ .agents/hooks/ \
|
|
576
|
+
setup.sh setup-modules/ aidevops.sh 2>/dev/null | grep -q .; then
|
|
577
|
+
has_code_drift=1
|
|
578
|
+
fi
|
|
579
|
+
if [[ "$has_code_drift" -eq 1 ]]; then
|
|
580
|
+
print_warning "Deployed scripts drifted (${deployed_sha:0:7}→${local_hash:0:7})"
|
|
581
|
+
print_info "Re-running setup to deploy latest scripts..."
|
|
582
|
+
bash "$INSTALL_DIR/setup.sh" --non-interactive
|
|
583
|
+
fi
|
|
584
|
+
fi
|
|
585
|
+
fi
|
|
559
586
|
fi
|
|
560
587
|
git checkout -- . 2>/dev/null || true
|
|
561
588
|
else
|
package/package.json
CHANGED
package/setup.sh
CHANGED
|
@@ -12,7 +12,7 @@ shopt -s inherit_errexit 2>/dev/null || true
|
|
|
12
12
|
# AI Assistant Server Access Framework Setup Script
|
|
13
13
|
# Helps developers set up the framework for their infrastructure
|
|
14
14
|
#
|
|
15
|
-
# Version: 3.8.
|
|
15
|
+
# Version: 3.8.93
|
|
16
16
|
#
|
|
17
17
|
# Quick Install:
|
|
18
18
|
# npm install -g aidevops && aidevops update (recommended)
|