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.
- package/VERSION +1 -1
- package/package.json +1 -1
- package/setup.sh +45 -44
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.100.
|
|
1
|
+
2.100.12
|
package/package.json
CHANGED
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
|
-
|
|
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 " •
|
|
2751
|
-
echo " • beads-ui (Node.js)
|
|
2752
|
-
echo " • bdui (Node.js)
|
|
2753
|
-
echo " • perles (Rust)
|
|
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
|
-
#
|
|
2766
|
-
#
|
|
2767
|
-
read -r -p " Install
|
|
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
|
|
2770
|
-
#
|
|
2771
|
-
if run_with_spinner "Installing
|
|
2772
|
-
print_info "Run: beads-
|
|
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 "
|
|
2776
|
-
|
|
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
|
|
2801
|
-
print_warning "
|
|
2802
|
-
if command -v
|
|
2803
|
-
|
|
2804
|
-
|
|
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 "
|
|
2808
|
-
print_info "Linux: pip install pipx && pipx install beads-viewer"
|
|
2795
|
+
print_warning "Go install failed"
|
|
2809
2796
|
fi
|
|
2810
2797
|
else
|
|
2811
|
-
|
|
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
|