aidevops 2.172.31 → 2.173.0

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 CHANGED
@@ -1 +1 @@
1
- 2.172.31
1
+ 2.173.0
package/aidevops.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  # AI DevOps Framework CLI
4
4
  # Usage: aidevops <command> [options]
5
5
  #
6
- # Version: 2.172.31
6
+ # Version: 2.173.0
7
7
 
8
8
  set -euo pipefail
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "2.172.31",
3
+ "version": "2.173.0",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "bin": {
@@ -425,11 +425,22 @@ check_requirements() {
425
425
  fi
426
426
 
427
427
  local missing_deps=()
428
+ local missing_packages=()
428
429
 
429
430
  # Check for required commands
430
- command -v jq >/dev/null 2>&1 || missing_deps+=("jq")
431
- command -v curl >/dev/null 2>&1 || missing_deps+=("curl")
432
- command -v ssh >/dev/null 2>&1 || missing_deps+=("ssh")
431
+ # Format: command-name package-name (same when identical)
432
+ if ! command -v jq >/dev/null 2>&1; then
433
+ missing_deps+=("jq")
434
+ missing_packages+=("jq")
435
+ fi
436
+ if ! command -v curl >/dev/null 2>&1; then
437
+ missing_deps+=("curl")
438
+ missing_packages+=("curl")
439
+ fi
440
+ if ! command -v rg >/dev/null 2>&1; then
441
+ missing_deps+=("rg")
442
+ missing_packages+=("ripgrep")
443
+ fi
433
444
 
434
445
  if [[ ${#missing_deps[@]} -gt 0 ]]; then
435
446
  print_warning "Missing required dependencies: ${missing_deps[*]}"
@@ -441,12 +452,12 @@ check_requirements() {
441
452
  print_error "Could not detect package manager"
442
453
  echo ""
443
454
  echo "Please install manually:"
444
- echo " macOS: brew install ${missing_deps[*]}"
445
- echo " Ubuntu/Debian: sudo apt-get install ${missing_deps[*]}"
446
- echo " Fedora: sudo dnf install ${missing_deps[*]}"
447
- echo " CentOS/RHEL: sudo yum install ${missing_deps[*]}"
448
- echo " Arch: sudo pacman -S ${missing_deps[*]}"
449
- echo " Alpine: sudo apk add ${missing_deps[*]}"
455
+ echo " macOS: brew install ${missing_packages[*]}"
456
+ echo " Ubuntu/Debian: sudo apt-get install ${missing_packages[*]}"
457
+ echo " Fedora: sudo dnf install ${missing_packages[*]}"
458
+ echo " CentOS/RHEL: sudo yum install ${missing_packages[*]}"
459
+ echo " Arch: sudo pacman -S ${missing_packages[*]}"
460
+ echo " Alpine: sudo apk add ${missing_packages[*]}"
450
461
  exit 1
451
462
  fi
452
463
 
@@ -460,8 +471,8 @@ check_requirements() {
460
471
  read -r -p "Install missing dependencies using $pkg_manager? [Y/n]: " install_deps
461
472
 
462
473
  if [[ "$install_deps" =~ ^[Yy]?$ ]]; then
463
- print_info "Installing ${missing_deps[*]}..."
464
- if install_packages "$pkg_manager" "${missing_deps[@]}"; then
474
+ print_info "Installing ${missing_packages[*]}..."
475
+ if install_packages "$pkg_manager" "${missing_packages[@]}"; then
465
476
  print_success "Dependencies installed successfully"
466
477
  else
467
478
  print_error "Failed to install dependencies"
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: 2.172.31
13
+ # Version: 2.173.0
14
14
  #
15
15
  # Quick Install:
16
16
  # npm install -g aidevops && aidevops update (recommended)