aidevops 2.100.10 → 2.100.12

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.
Files changed (3) hide show
  1. package/VERSION +1 -1
  2. package/package.json +1 -1
  3. package/setup.sh +45 -44
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.100.10
1
+ 2.100.12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "2.100.10",
3
+ "version": "2.100.12",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/setup.sh CHANGED
@@ -2089,8 +2089,16 @@ check_skill_updates() {
2089
2089
  fi
2090
2090
 
2091
2091
  # Get latest commit from GitHub API (silent, with timeout)
2092
- local latest_commit
2093
- latest_commit=$(curl -s --max-time 5 "https://api.github.com/repos/$owner_repo/commits?per_page=1" 2>/dev/null | jq -r '.[0].sha // empty')
2092
+ local api_response latest_commit
2093
+ api_response=$(curl -s --max-time 5 "https://api.github.com/repos/$owner_repo/commits?per_page=1" 2>/dev/null)
2094
+
2095
+ # Check if response is an array (success) or object (error like rate limit)
2096
+ if echo "$api_response" | jq -e 'type == "array"' >/dev/null 2>&1; then
2097
+ latest_commit=$(echo "$api_response" | jq -r '.[0].sha // empty')
2098
+ else
2099
+ # API returned error object, skip this skill
2100
+ continue
2101
+ fi
2094
2102
 
2095
2103
  if [[ -n "$latest_commit" && "$latest_commit" != "$upstream_commit" ]]; then
2096
2104
  ((updates_available++))
@@ -2747,10 +2755,10 @@ setup_beads() {
2747
2755
  setup_beads_ui() {
2748
2756
  echo ""
2749
2757
  print_info "Beads UI tools provide enhanced visualization:"
2750
- echo " • beads_viewer (Python) - PageRank, critical path, graph analytics"
2751
- echo " • beads-ui (Node.js) - Web dashboard with live updates"
2752
- echo " • bdui (Node.js) - React/Ink terminal UI"
2753
- echo " • perles (Rust) - BQL query language TUI"
2758
+ echo " • bv (Go) - PageRank, critical path, graph analytics TUI"
2759
+ echo " • beads-ui (Node.js) - Web dashboard with live updates"
2760
+ echo " • bdui (Node.js) - React/Ink terminal UI"
2761
+ echo " • perles (Rust) - BQL query language TUI"
2754
2762
  echo ""
2755
2763
 
2756
2764
  read -r -p "Install optional Beads UI tools? [Y/n]: " install_beads_ui
@@ -2762,53 +2770,46 @@ setup_beads_ui() {
2762
2770
 
2763
2771
  local installed_count=0
2764
2772
 
2765
- # beads_viewer (Python) - use pipx for isolated install (recommended)
2766
- # pip install --user often fails on macOS due to PEP 668 (externally-managed-environment)
2767
- read -r -p " Install beads_viewer (Python TUI with graph analytics)? [Y/n]: " install_viewer
2773
+ # bv (beads_viewer) - Go TUI installed via Homebrew
2774
+ # https://github.com/Dicklesworthstone/beads_viewer
2775
+ read -r -p " Install bv (TUI with PageRank, critical path, graph analytics)? [Y/n]: " install_viewer
2768
2776
  if [[ "$install_viewer" =~ ^[Yy]?$ ]]; then
2769
- if command -v pipx &> /dev/null; then
2770
- # pipx available - use it (best option)
2771
- if run_with_spinner "Installing beads_viewer via pipx" pipx install beads-viewer; then
2772
- print_info "Run: beads-viewer"
2777
+ if command -v brew &> /dev/null; then
2778
+ # brew install user/tap/formula auto-taps
2779
+ if run_with_spinner "Installing bv via Homebrew" brew install dicklesworthstone/tap/bv; then
2780
+ print_info "Run: bv (in a beads-enabled project)"
2773
2781
  ((installed_count++))
2774
2782
  else
2775
- print_warning "pipx install failed - try manually: pipx install beads-viewer"
2776
- fi
2777
- elif command -v brew &> /dev/null; then
2778
- # macOS with Homebrew - offer to install pipx first
2779
- print_info "pipx recommended for Python CLI tools (isolated environments)"
2780
- read -r -p " Install pipx first? [Y/n]: " install_pipx
2781
- if [[ "$install_pipx" =~ ^[Yy]?$ ]]; then
2782
- if run_with_spinner "Installing pipx" brew install pipx; then
2783
- # Ensure pipx is in PATH
2784
- pipx ensurepath > /dev/null 2>&1
2785
- export PATH="$HOME/.local/bin:$PATH"
2786
- if run_with_spinner "Installing beads_viewer via pipx" pipx install beads-viewer; then
2787
- print_info "Run: beads-viewer"
2788
- ((installed_count++))
2789
- else
2790
- print_warning "Installation failed - try manually: pipx install beads-viewer"
2791
- fi
2792
- else
2793
- print_warning "pipx installation failed"
2794
- fi
2795
- else
2796
- print_info "Skipped beads_viewer (requires pipx)"
2797
- print_info "Install later: brew install pipx && pipx install beads-viewer"
2783
+ print_warning "Homebrew install failed - try manually:"
2784
+ print_info " brew install dicklesworthstone/tap/bv"
2798
2785
  fi
2799
2786
  else
2800
- # No pipx, no brew - try pip as last resort
2801
- print_warning "pipx not found - trying pip (may fail on macOS)"
2802
- if command -v pip3 &> /dev/null; then
2803
- if run_with_spinner "Installing beads_viewer" pip3 install --user beads-viewer; then
2804
- print_info "Run: beads-viewer"
2787
+ # No Homebrew - try install script or Go
2788
+ print_warning "Homebrew not found"
2789
+ if command -v go &> /dev/null; then
2790
+ # Go available - use go install
2791
+ if run_with_spinner "Installing bv via Go" go install github.com/Dicklesworthstone/beads_viewer/cmd/bv@latest; then
2792
+ print_info "Run: bv (in a beads-enabled project)"
2805
2793
  ((installed_count++))
2806
2794
  else
2807
- print_warning "pip install failed - install pipx first"
2808
- print_info "Linux: pip install pipx && pipx install beads-viewer"
2795
+ print_warning "Go install failed"
2809
2796
  fi
2810
2797
  else
2811
- print_warning "Neither pipx nor pip3 found"
2798
+ # Offer curl install script
2799
+ read -r -p " Install bv via install script? [Y/n]: " use_script
2800
+ if [[ "$use_script" =~ ^[Yy]?$ ]]; then
2801
+ if run_with_spinner "Installing bv via script" bash -c 'curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/beads_viewer/main/install.sh" | bash'; then
2802
+ print_info "Run: bv (in a beads-enabled project)"
2803
+ ((installed_count++))
2804
+ else
2805
+ print_warning "Install script failed - try manually:"
2806
+ print_info " curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/beads_viewer/main/install.sh | bash"
2807
+ fi
2808
+ else
2809
+ print_info "Install later:"
2810
+ print_info " Homebrew: brew tap dicklesworthstone/tap && brew install dicklesworthstone/tap/bv"
2811
+ print_info " Go: go install github.com/Dicklesworthstone/beads_viewer/cmd/bv@latest"
2812
+ fi
2812
2813
  fi
2813
2814
  fi
2814
2815
  fi