aidevops 3.1.31 → 3.1.33
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/tool-install.sh +61 -0
- package/setup.sh +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.33
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
|
@@ -896,6 +896,67 @@ setup_recommended_tools() {
|
|
|
896
896
|
print_success "All recommended tools installed!"
|
|
897
897
|
fi
|
|
898
898
|
|
|
899
|
+
# Check for Cursor CLI (agent) — independent of the missing_tools flow
|
|
900
|
+
# since it uses a curl installer, not brew
|
|
901
|
+
setup_cursor_cli
|
|
902
|
+
|
|
903
|
+
return 0
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
setup_cursor_cli() {
|
|
907
|
+
print_info "Checking Cursor CLI (agent)..."
|
|
908
|
+
|
|
909
|
+
if command -v agent >/dev/null 2>&1; then
|
|
910
|
+
local cursor_version
|
|
911
|
+
cursor_version=$(agent --version 2>/dev/null || echo "unknown")
|
|
912
|
+
print_success "Cursor CLI found: $cursor_version"
|
|
913
|
+
return 0
|
|
914
|
+
fi
|
|
915
|
+
|
|
916
|
+
# Check ~/.local/bin specifically (may not be in PATH yet)
|
|
917
|
+
if [[ -x "$HOME/.local/bin/agent" ]]; then
|
|
918
|
+
local cursor_version
|
|
919
|
+
cursor_version=$("$HOME/.local/bin/agent" --version 2>/dev/null || echo "unknown")
|
|
920
|
+
print_success "Cursor CLI found at ~/.local/bin/agent: $cursor_version"
|
|
921
|
+
print_info "Ensure ~/.local/bin is in your PATH"
|
|
922
|
+
return 0
|
|
923
|
+
fi
|
|
924
|
+
|
|
925
|
+
echo " Cursor CLI provides access to Cursor's AI models (including Composer 2)"
|
|
926
|
+
echo " from the terminal. Also usable as an OpenCode provider via the"
|
|
927
|
+
echo " opencode-cursor plugin for OAuth-based model access."
|
|
928
|
+
echo ""
|
|
929
|
+
|
|
930
|
+
local install_cursor
|
|
931
|
+
if [[ "${NON_INTERACTIVE:-}" != "true" ]]; then
|
|
932
|
+
read -r -p "Install Cursor CLI? [Y/n]: " install_cursor
|
|
933
|
+
else
|
|
934
|
+
install_cursor="Y"
|
|
935
|
+
fi
|
|
936
|
+
|
|
937
|
+
if [[ "$install_cursor" =~ ^[Yy]?$ ]]; then
|
|
938
|
+
print_info "Installing Cursor CLI..."
|
|
939
|
+
if verified_install "Cursor CLI" "https://cursor.com/install"; then
|
|
940
|
+
# Ensure ~/.local/bin is in PATH for this session
|
|
941
|
+
if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then
|
|
942
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
943
|
+
print_info "Added ~/.local/bin to PATH for this session"
|
|
944
|
+
fi
|
|
945
|
+
print_success "Cursor CLI installed"
|
|
946
|
+
echo ""
|
|
947
|
+
echo " Next steps:"
|
|
948
|
+
echo " agent login # Authenticate with your Cursor account"
|
|
949
|
+
echo " agent models # List available models"
|
|
950
|
+
echo " agent status # Check auth status"
|
|
951
|
+
else
|
|
952
|
+
print_warning "Failed to install Cursor CLI"
|
|
953
|
+
echo " Install manually: curl https://cursor.com/install -fsS | bash"
|
|
954
|
+
fi
|
|
955
|
+
else
|
|
956
|
+
print_info "Skipped Cursor CLI installation"
|
|
957
|
+
echo " Install later: curl https://cursor.com/install -fsS | bash"
|
|
958
|
+
fi
|
|
959
|
+
|
|
899
960
|
return 0
|
|
900
961
|
}
|
|
901
962
|
|
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.33
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|