aidevops 2.100.9 → 2.100.11

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.100.9
1
+ 2.100.11
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.100.9
6
+ # Version: 2.100.10
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.100.9",
3
+ "version": "2.100.11",
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
@@ -3,7 +3,7 @@
3
3
  # AI Assistant Server Access Framework Setup Script
4
4
  # Helps developers set up the framework for their infrastructure
5
5
  #
6
- # Version: 2.100.9
6
+ # Version: 2.100.10
7
7
  #
8
8
  # Quick Install (one-liner):
9
9
  # bash <(curl -fsSL https://aidevops.dev/install)
@@ -2629,7 +2629,7 @@ setup_osgrep() {
2629
2629
  if ! command -v node &> /dev/null; then
2630
2630
  print_warning "Node.js not found - osgrep setup skipped"
2631
2631
  print_info "Install Node.js 18+ to enable osgrep"
2632
- return
2632
+ return 0
2633
2633
  fi
2634
2634
 
2635
2635
  local node_version
@@ -2637,31 +2637,58 @@ setup_osgrep() {
2637
2637
  if [[ $node_version -lt 18 ]]; then
2638
2638
  print_warning "Node.js 18+ required for osgrep, found v$node_version"
2639
2639
  print_info "Install: brew install node@18 (macOS) or nvm install 18"
2640
- return
2640
+ return 0
2641
2641
  fi
2642
2642
 
2643
2643
  # Check if osgrep is installed
2644
2644
  if ! command -v osgrep &> /dev/null; then
2645
- print_warning "osgrep CLI not found"
2646
- print_info "Install with: npm install -g osgrep"
2647
- print_info "Then run: osgrep setup (downloads ~150MB embedding models)"
2648
- return
2645
+ echo ""
2646
+ print_info "osgrep provides 100% local semantic search (no cloud, no auth)"
2647
+ echo " Search code by meaning, not just keywords"
2648
+ echo " • Works offline with ~150MB local embedding models"
2649
+ echo " • Supports: OpenCode, Cursor, Claude Code, Zed, Gemini CLI"
2650
+ echo ""
2651
+
2652
+ read -r -p "Install osgrep CLI? [Y/n]: " install_osgrep
2653
+ if [[ "$install_osgrep" =~ ^[Yy]?$ ]]; then
2654
+ if run_with_spinner "Installing osgrep CLI" npm install -g osgrep; then
2655
+ print_info "Now downloading embedding models (~150MB)..."
2656
+ # osgrep setup is interactive, don't use spinner
2657
+ if osgrep setup; then
2658
+ print_success "osgrep installed and configured"
2659
+ else
2660
+ print_warning "Model download failed - run manually: osgrep setup"
2661
+ fi
2662
+ else
2663
+ print_warning "Installation failed - try manually: npm install -g osgrep"
2664
+ return 0
2665
+ fi
2666
+ else
2667
+ print_info "Skipped osgrep installation"
2668
+ print_info "Install later: npm install -g osgrep && osgrep setup"
2669
+ return 0
2670
+ fi
2649
2671
  fi
2650
2672
 
2651
2673
  # Check if models are downloaded
2652
2674
  if [[ ! -d "$HOME/.osgrep" ]]; then
2653
2675
  print_warning "osgrep models not yet downloaded"
2654
- print_info "Run: osgrep setup"
2655
- print_info "This downloads ~150MB of embedding models for local semantic search"
2676
+ read -r -p "Download embedding models now (~150MB)? [Y/n]: " download_models
2677
+ if [[ "$download_models" =~ ^[Yy]?$ ]]; then
2678
+ if osgrep setup; then
2679
+ print_success "osgrep models downloaded"
2680
+ else
2681
+ print_warning "Model download failed - run manually: osgrep setup"
2682
+ fi
2683
+ else
2684
+ print_info "Download later: osgrep setup"
2685
+ fi
2656
2686
  else
2657
- print_success "osgrep CLI found and configured"
2687
+ print_success "osgrep CLI installed and configured"
2658
2688
  fi
2659
2689
 
2660
- # Note about Claude Code integration
2661
- print_info "osgrep provides 100% local semantic search (no cloud, no auth)"
2662
- print_info "For Claude Code: osgrep install-claude-code"
2663
- print_info "Supported tools: OpenCode, Cursor, Gemini CLI, Claude Code, Zed"
2664
2690
  print_info "Verification: 'Search for authentication handling in this codebase'"
2691
+ return 0
2665
2692
  }
2666
2693
 
2667
2694
  # Setup Beads - Task Graph Visualization
@@ -2720,10 +2747,10 @@ setup_beads() {
2720
2747
  setup_beads_ui() {
2721
2748
  echo ""
2722
2749
  print_info "Beads UI tools provide enhanced visualization:"
2723
- echo " • beads_viewer (Python) - PageRank, critical path, graph analytics"
2724
- echo " • beads-ui (Node.js) - Web dashboard with live updates"
2725
- echo " • bdui (Node.js) - React/Ink terminal UI"
2726
- echo " • perles (Rust) - BQL query language TUI"
2750
+ echo " • bv (Go) - PageRank, critical path, graph analytics TUI"
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"
2727
2754
  echo ""
2728
2755
 
2729
2756
  read -r -p "Install optional Beads UI tools? [Y/n]: " install_beads_ui
@@ -2735,24 +2762,45 @@ setup_beads_ui() {
2735
2762
 
2736
2763
  local installed_count=0
2737
2764
 
2738
- # beads_viewer (Python) - use pipx for isolated install
2739
- if command -v pipx &> /dev/null || command -v pip3 &> /dev/null || command -v pip &> /dev/null; then
2740
- read -r -p " Install beads_viewer (Python TUI with graph analytics)? [Y/n]: " install_viewer
2741
- if [[ "$install_viewer" =~ ^[Yy]?$ ]]; then
2742
- if command -v pipx &> /dev/null; then
2743
- if run_with_spinner "Installing beads_viewer via pipx" pipx install beads-viewer; then
2744
- print_info "Run: beads-viewer"
2765
+ # bv (beads_viewer) - Go TUI installed via Homebrew
2766
+ # https://github.com/Dicklesworthstone/beads_viewer
2767
+ read -r -p " Install bv (TUI with PageRank, critical path, graph analytics)? [Y/n]: " install_viewer
2768
+ if [[ "$install_viewer" =~ ^[Yy]?$ ]]; then
2769
+ if command -v brew &> /dev/null; then
2770
+ # brew install user/tap/formula auto-taps
2771
+ if run_with_spinner "Installing bv via Homebrew" brew install dicklesworthstone/tap/bv; then
2772
+ print_info "Run: bv (in a beads-enabled project)"
2773
+ ((installed_count++))
2774
+ else
2775
+ print_warning "Homebrew install failed - try manually:"
2776
+ print_info " brew install dicklesworthstone/tap/bv"
2777
+ fi
2778
+ else
2779
+ # No Homebrew - try install script or Go
2780
+ print_warning "Homebrew not found"
2781
+ if command -v go &> /dev/null; then
2782
+ # Go available - use go install
2783
+ if run_with_spinner "Installing bv via Go" go install github.com/Dicklesworthstone/beads_viewer/cmd/bv@latest; then
2784
+ print_info "Run: bv (in a beads-enabled project)"
2745
2785
  ((installed_count++))
2746
2786
  else
2747
- print_info "Try manually: pipx install beads-viewer"
2787
+ print_warning "Go install failed"
2748
2788
  fi
2749
2789
  else
2750
- if run_with_spinner "Installing beads_viewer" pip3 install --user beads-viewer; then
2751
- ((installed_count++))
2752
- elif run_with_spinner "Installing beads_viewer" pip install --user beads-viewer; then
2753
- ((installed_count++))
2790
+ # Offer curl install script
2791
+ read -r -p " Install bv via install script? [Y/n]: " use_script
2792
+ if [[ "$use_script" =~ ^[Yy]?$ ]]; then
2793
+ if run_with_spinner "Installing bv via script" bash -c 'curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/beads_viewer/main/install.sh" | bash'; then
2794
+ print_info "Run: bv (in a beads-enabled project)"
2795
+ ((installed_count++))
2796
+ else
2797
+ print_warning "Install script failed - try manually:"
2798
+ print_info " curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/beads_viewer/main/install.sh | bash"
2799
+ fi
2754
2800
  else
2755
- print_info "On macOS, install pipx first: brew install pipx && pipx ensurepath"
2801
+ print_info "Install later:"
2802
+ print_info " Homebrew: brew tap dicklesworthstone/tap && brew install dicklesworthstone/tap/bv"
2803
+ print_info " Go: go install github.com/Dicklesworthstone/beads_viewer/cmd/bv@latest"
2756
2804
  fi
2757
2805
  fi
2758
2806
  fi