aidevops 3.11.15 → 3.11.16
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 +22 -1
- package/package.json +1 -1
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.11.
|
|
1
|
+
3.11.16
|
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.11.
|
|
8
|
+
# Version: 3.11.16
|
|
9
9
|
|
|
10
10
|
set -euo pipefail
|
|
11
11
|
|
|
@@ -651,6 +651,27 @@ cmd_update() {
|
|
|
651
651
|
_update_check_daemon_health
|
|
652
652
|
fi
|
|
653
653
|
|
|
654
|
+
# t2914: ensure pulse is running after every update. The existing
|
|
655
|
+
# restart paths (setup.sh:1329, agent-deploy.sh:601) call
|
|
656
|
+
# pulse-lifecycle-helper.sh restart-if-running which is a silent no-op
|
|
657
|
+
# when pulse is dead — so a dead pulse stays dead through any number
|
|
658
|
+
# of subsequent updates. The 'start' subcommand is idempotent
|
|
659
|
+
# (pulse-lifecycle-helper.sh:127-131): no-op when running, starts when
|
|
660
|
+
# dead. This belt-and-braces call after the daemon health check
|
|
661
|
+
# guarantees the pulse is alive when 'aidevops update' returns,
|
|
662
|
+
# regardless of whether scripts were redeployed.
|
|
663
|
+
#
|
|
664
|
+
# Honour AIDEVOPS_SKIP_PULSE_RESTART=1 at the call site (the helper's
|
|
665
|
+
# 'start' subcommand does not check it directly — only 'restart' and
|
|
666
|
+
# 'restart-if-running' do). Non-fatal: a pulse start failure should
|
|
667
|
+
# not fail the update.
|
|
668
|
+
if [[ "${AIDEVOPS_SKIP_PULSE_RESTART:-0}" != "1" ]]; then
|
|
669
|
+
local _pulse_helper="${HOME}/.aidevops/agents/scripts/pulse-lifecycle-helper.sh"
|
|
670
|
+
if [[ -x "$_pulse_helper" ]]; then
|
|
671
|
+
"$_pulse_helper" start >/dev/null 2>&1 || print_warning "Pulse start failed (non-fatal)"
|
|
672
|
+
fi
|
|
673
|
+
fi
|
|
674
|
+
|
|
654
675
|
return 0
|
|
655
676
|
}
|
|
656
677
|
|
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.11.
|
|
15
|
+
# Version: 3.11.16
|
|
16
16
|
#
|
|
17
17
|
# Quick Install:
|
|
18
18
|
# npm install -g aidevops && aidevops update (recommended)
|