aidevops 3.5.462 → 3.5.463
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/migrations.sh +6 -0
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.5.
|
|
1
|
+
3.5.463
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
|
@@ -582,6 +582,11 @@ _migrate_mcp_npx_to_binary() {
|
|
|
582
582
|
local tmp_config="$1"
|
|
583
583
|
_cleanup_count=0
|
|
584
584
|
|
|
585
|
+
# Early return if config has no .mcp key — nothing to migrate (GH#14220)
|
|
586
|
+
if ! jq -e '.mcp' "$tmp_config" >/dev/null 2>&1; then
|
|
587
|
+
return 0
|
|
588
|
+
fi
|
|
589
|
+
|
|
585
590
|
# Parallel arrays avoid bash associative array issues with @ in package names
|
|
586
591
|
local -a mcp_pkgs=(
|
|
587
592
|
"chrome-devtools-mcp"
|
|
@@ -605,6 +610,7 @@ _migrate_mcp_npx_to_binary() {
|
|
|
605
610
|
local pkg="${mcp_pkgs[$i]}"
|
|
606
611
|
local bin_name="${mcp_bins[$i]}"
|
|
607
612
|
# Find MCP key using npx/bunx/pipx for this package (single query)
|
|
613
|
+
# Use (.mcp // {}) for null-safety — .mcp may not exist in minimal configs (GH#14220)
|
|
608
614
|
local mcp_key
|
|
609
615
|
mcp_key=$(jq -r --arg pkg "$pkg" '(.mcp // {}) | to_entries[]? | select(.value.command != null) | select(.value.command | join(" ") | test("npx.*" + $pkg + "|bunx.*" + $pkg + "|pipx.*run.*" + $pkg)) | .key' "$tmp_config" 2>/dev/null | head -1)
|
|
610
616
|
|
package/setup.sh
CHANGED
|
@@ -10,7 +10,7 @@ shopt -s inherit_errexit 2>/dev/null || true
|
|
|
10
10
|
# AI Assistant Server Access Framework Setup Script
|
|
11
11
|
# Helps developers set up the framework for their infrastructure
|
|
12
12
|
#
|
|
13
|
-
# Version: 3.5.
|
|
13
|
+
# Version: 3.5.463
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|