aidevops 3.8.63 → 3.8.64
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 +1 -1
- package/package.json +1 -1
- package/setup-modules/agent-deploy.sh +12 -0
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.8.
|
|
1
|
+
3.8.64
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
|
@@ -600,6 +600,18 @@ deploy_aidevops_agents() {
|
|
|
600
600
|
# were correct but the running pulse kept using old code in memory.
|
|
601
601
|
_restart_pulse_if_running
|
|
602
602
|
|
|
603
|
+
# Write deployed-SHA stamp so aidevops-update-check.sh can detect
|
|
604
|
+
# script drift between this deploy and future canonical-repo commits.
|
|
605
|
+
# Written AFTER pulse restart so the stamp reflects a fully-applied deploy.
|
|
606
|
+
# t2156: enables auto-redeploy when local commits land between releases.
|
|
607
|
+
local deployed_sha
|
|
608
|
+
deployed_sha=$(git -C "$repo_dir" rev-parse HEAD 2>/dev/null || echo "")
|
|
609
|
+
if [[ -n "$deployed_sha" ]]; then
|
|
610
|
+
local aidevops_dir="${HOME}/.aidevops"
|
|
611
|
+
mkdir -p "$aidevops_dir"
|
|
612
|
+
printf '%s\n' "$deployed_sha" >"${aidevops_dir}/.deployed-sha"
|
|
613
|
+
fi
|
|
614
|
+
|
|
603
615
|
return 0
|
|
604
616
|
}
|
|
605
617
|
|
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.64
|
|
16
16
|
#
|
|
17
17
|
# Quick Install:
|
|
18
18
|
# npm install -g aidevops && aidevops update (recommended)
|