aidevops 3.1.25 → 3.1.26
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/mcp-setup.sh +11 -21
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.26
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
|
@@ -456,26 +456,20 @@ setup_opencode_plugins() {
|
|
|
456
456
|
mkdir -p "$plugins_dir"
|
|
457
457
|
|
|
458
458
|
# Register plugin if needed; treat broken symlinks as unregistered.
|
|
459
|
-
if [[ -L "$aidevops_plugin_dst"
|
|
459
|
+
if [[ -L "$aidevops_plugin_dst" ]]; then
|
|
460
|
+
if [[ ! -e "$aidevops_plugin_dst" ]]; then
|
|
461
|
+
print_warning "Broken aidevops plugin symlink detected; recreating ~/.config/opencode/plugins/opencode-aidevops"
|
|
462
|
+
ln -sfn "$aidevops_plugin_src" "$aidevops_plugin_dst"
|
|
463
|
+
fi
|
|
460
464
|
print_success "aidevops plugin already registered at ~/.config/opencode/plugins/"
|
|
461
|
-
setup_track_configured "OpenCode plugins"
|
|
462
|
-
pool_plugin_registered="true"
|
|
463
|
-
elif [[ -L "$aidevops_plugin_dst" ]]; then
|
|
464
|
-
print_warning "Broken aidevops plugin symlink detected; recreating ~/.config/opencode/plugins/opencode-aidevops"
|
|
465
|
-
ln -sfn "$aidevops_plugin_src" "$aidevops_plugin_dst"
|
|
466
|
-
print_success "aidevops plugin registered at ~/.config/opencode/plugins/"
|
|
467
|
-
setup_track_configured "OpenCode plugins"
|
|
468
|
-
pool_plugin_registered="true"
|
|
469
465
|
elif [[ -d "$aidevops_plugin_dst" && -f "$aidevops_plugin_dst/index.mjs" ]]; then
|
|
470
466
|
print_success "aidevops plugin already registered at ~/.config/opencode/plugins/"
|
|
471
|
-
setup_track_configured "OpenCode plugins"
|
|
472
|
-
pool_plugin_registered="true"
|
|
473
467
|
else
|
|
474
468
|
ln -sfn "$aidevops_plugin_src" "$aidevops_plugin_dst"
|
|
475
469
|
print_success "aidevops plugin registered at ~/.config/opencode/plugins/"
|
|
476
|
-
setup_track_configured "OpenCode plugins"
|
|
477
|
-
pool_plugin_registered="true"
|
|
478
470
|
fi
|
|
471
|
+
setup_track_configured "OpenCode plugins"
|
|
472
|
+
pool_plugin_registered="true"
|
|
479
473
|
|
|
480
474
|
# Note: opencode-anthropic-auth is built into OpenCode v1.1.36+
|
|
481
475
|
# Adding it as an external plugin causes TypeError due to double-loading.
|
|
@@ -488,20 +482,16 @@ setup_opencode_plugins() {
|
|
|
488
482
|
oc_raw_version=$(opencode --version 2>/dev/null | head -1 | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1 || echo "0.0.0")
|
|
489
483
|
|
|
490
484
|
local oc_major oc_minor oc_patch
|
|
491
|
-
|
|
492
|
-
oc_minor=$(printf '%s' "$oc_raw_version" | cut -d. -f2)
|
|
493
|
-
oc_patch=$(printf '%s' "$oc_raw_version" | cut -d. -f3)
|
|
485
|
+
IFS='.' read -r oc_major oc_minor oc_patch <<<"$oc_raw_version"
|
|
494
486
|
oc_major="${oc_major:-0}"
|
|
495
487
|
oc_minor="${oc_minor:-0}"
|
|
496
488
|
oc_patch="${oc_patch:-0}"
|
|
497
489
|
|
|
498
490
|
# Compare against 1.2.30 (where built-in anthropic-auth was removed)
|
|
499
491
|
local builtin_auth_removed="false"
|
|
500
|
-
if [[ "$oc_major" -gt 1 ]]
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
builtin_auth_removed="true"
|
|
504
|
-
elif [[ "$oc_major" -eq 1 && "$oc_minor" -eq 2 && "$oc_patch" -ge 30 ]]; then
|
|
492
|
+
if [[ "$oc_major" -gt 1 ]] ||
|
|
493
|
+
[[ "$oc_major" -eq 1 && "$oc_minor" -gt 2 ]] ||
|
|
494
|
+
[[ "$oc_major" -eq 1 && "$oc_minor" -eq 2 && "$oc_patch" -ge 30 ]]; then
|
|
505
495
|
builtin_auth_removed="true"
|
|
506
496
|
fi
|
|
507
497
|
|
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.1.
|
|
13
|
+
# Version: 3.1.26
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|