aidevops 3.20.8 → 3.20.10
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.sh +6 -4
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.20.
|
|
1
|
+
3.20.10
|
package/aidevops.sh
CHANGED
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.20.
|
|
15
|
+
# Version: 3.20.10
|
|
16
16
|
#
|
|
17
17
|
# Quick Install:
|
|
18
18
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -523,9 +523,11 @@ _comment_out_deprecated_model_vars() {
|
|
|
523
523
|
local deprecated_vars="AIDEVOPS_HEADLESS_MODELS|PULSE_MODEL"
|
|
524
524
|
local deprecation_note="# DEPRECATED by aidevops v3.7+ — model routing is now automatic (GH#17769)"
|
|
525
525
|
[[ -f "$file" ]] || return 0
|
|
526
|
-
# Only process
|
|
527
|
-
|
|
528
|
-
|
|
526
|
+
# Only process active assignments/exports (not already commented). Some old
|
|
527
|
+
# credentials used VAR=... followed by export VAR, so clean both shapes.
|
|
528
|
+
if grep -qE "^[[:space:]]*(export[[:space:]]+)?(${deprecated_vars})=" "$file" 2>/dev/null; then
|
|
529
|
+
sed -i.bak -E "s/^([[:space:]]*)((export[[:space:]]+)?(${deprecated_vars})=.*)$/\\1${deprecation_note}\\
|
|
530
|
+
\\1# \\2/" "$file"
|
|
529
531
|
rm -f "${file}.bak"
|
|
530
532
|
print_info "Commented out deprecated model env vars in $(basename "$file")"
|
|
531
533
|
fi
|