aidevops 2.71.0 → 2.72.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 +1 -1
- package/aidevops.sh +1 -1
- package/package.json +1 -1
- package/setup.sh +86 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.72.0
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
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.
|
|
6
|
+
# Version: 2.72.0
|
|
7
7
|
#
|
|
8
8
|
# Quick Install (one-liner):
|
|
9
9
|
# bash <(curl -fsSL https://aidevops.dev/install)
|
|
@@ -1003,6 +1003,90 @@ setup_recommended_tools() {
|
|
|
1003
1003
|
return 0
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
|
+
# Setup MiniSim - iOS/Android emulator launcher (macOS only)
|
|
1007
|
+
setup_minisim() {
|
|
1008
|
+
# Only available on macOS
|
|
1009
|
+
if [[ "$(uname)" != "Darwin" ]]; then
|
|
1010
|
+
return 0
|
|
1011
|
+
fi
|
|
1012
|
+
|
|
1013
|
+
print_info "Setting up MiniSim (iOS/Android emulator launcher)..."
|
|
1014
|
+
|
|
1015
|
+
# Check if MiniSim is already installed
|
|
1016
|
+
if [[ -d "/Applications/MiniSim.app" ]]; then
|
|
1017
|
+
print_success "MiniSim already installed"
|
|
1018
|
+
print_info "Global shortcut: Option + Shift + E"
|
|
1019
|
+
return 0
|
|
1020
|
+
fi
|
|
1021
|
+
|
|
1022
|
+
# Check if Xcode or Android Studio is installed (MiniSim needs at least one)
|
|
1023
|
+
local has_xcode=false
|
|
1024
|
+
local has_android=false
|
|
1025
|
+
|
|
1026
|
+
if command -v xcrun >/dev/null 2>&1 && xcrun simctl list devices >/dev/null 2>&1; then
|
|
1027
|
+
has_xcode=true
|
|
1028
|
+
fi
|
|
1029
|
+
|
|
1030
|
+
if [[ -n "${ANDROID_HOME:-}" ]] || [[ -n "${ANDROID_SDK_ROOT:-}" ]] || [[ -d "$HOME/Library/Android/sdk" ]]; then
|
|
1031
|
+
has_android=true
|
|
1032
|
+
fi
|
|
1033
|
+
|
|
1034
|
+
if [[ "$has_xcode" == "false" && "$has_android" == "false" ]]; then
|
|
1035
|
+
print_info "MiniSim requires Xcode (iOS) or Android Studio (Android)"
|
|
1036
|
+
print_info "Install one of these first, then re-run setup to install MiniSim"
|
|
1037
|
+
return 0
|
|
1038
|
+
fi
|
|
1039
|
+
|
|
1040
|
+
# Show what's available
|
|
1041
|
+
local available_for=""
|
|
1042
|
+
if [[ "$has_xcode" == "true" ]]; then
|
|
1043
|
+
available_for="iOS simulators"
|
|
1044
|
+
fi
|
|
1045
|
+
if [[ "$has_android" == "true" ]]; then
|
|
1046
|
+
if [[ -n "$available_for" ]]; then
|
|
1047
|
+
available_for="$available_for and Android emulators"
|
|
1048
|
+
else
|
|
1049
|
+
available_for="Android emulators"
|
|
1050
|
+
fi
|
|
1051
|
+
fi
|
|
1052
|
+
|
|
1053
|
+
print_info "MiniSim is a menu bar app for launching $available_for"
|
|
1054
|
+
echo " Features:"
|
|
1055
|
+
echo " - Global shortcut: Option + Shift + E"
|
|
1056
|
+
echo " - Launch/manage iOS simulators and Android emulators"
|
|
1057
|
+
echo " - Copy device UDID/ADB ID"
|
|
1058
|
+
echo " - Cold boot Android emulators"
|
|
1059
|
+
echo " - Run Android emulators without audio (saves Bluetooth battery)"
|
|
1060
|
+
echo ""
|
|
1061
|
+
|
|
1062
|
+
# Check if Homebrew is available
|
|
1063
|
+
if ! command -v brew >/dev/null 2>&1; then
|
|
1064
|
+
print_warning "Homebrew not found - cannot install MiniSim automatically"
|
|
1065
|
+
echo " Install manually: https://github.com/okwasniewski/MiniSim/releases"
|
|
1066
|
+
return 0
|
|
1067
|
+
fi
|
|
1068
|
+
|
|
1069
|
+
local install_minisim
|
|
1070
|
+
read -r -p "Install MiniSim? (y/n): " install_minisim
|
|
1071
|
+
|
|
1072
|
+
if [[ "$install_minisim" == "y" ]]; then
|
|
1073
|
+
print_info "Installing MiniSim..."
|
|
1074
|
+
if brew install --cask minisim; then
|
|
1075
|
+
print_success "MiniSim installed successfully"
|
|
1076
|
+
print_info "Global shortcut: Option + Shift + E"
|
|
1077
|
+
print_info "Documentation: ~/.aidevops/agents/tools/mobile/minisim.md"
|
|
1078
|
+
else
|
|
1079
|
+
print_warning "Failed to install MiniSim via Homebrew"
|
|
1080
|
+
echo " Install manually: https://github.com/okwasniewski/MiniSim/releases"
|
|
1081
|
+
fi
|
|
1082
|
+
else
|
|
1083
|
+
print_info "Skipped MiniSim installation"
|
|
1084
|
+
print_info "Install later: brew install --cask minisim"
|
|
1085
|
+
fi
|
|
1086
|
+
|
|
1087
|
+
return 0
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1006
1090
|
# Setup SSH key if needed
|
|
1007
1091
|
setup_ssh_key() {
|
|
1008
1092
|
print_info "Checking SSH key setup..."
|
|
@@ -2757,6 +2841,7 @@ main() {
|
|
|
2757
2841
|
# Optional steps with confirmation in interactive mode
|
|
2758
2842
|
confirm_step "Check optional dependencies (bun, node, python)" && check_optional_deps
|
|
2759
2843
|
confirm_step "Setup recommended tools (Tabby, Zed, etc.)" && setup_recommended_tools
|
|
2844
|
+
confirm_step "Setup MiniSim (iOS/Android emulator launcher)" && setup_minisim
|
|
2760
2845
|
confirm_step "Setup Git CLIs (gh, glab, tea)" && setup_git_clis
|
|
2761
2846
|
confirm_step "Setup file discovery tools (fd, ripgrep)" && setup_file_discovery_tools
|
|
2762
2847
|
confirm_step "Setup Worktrunk (git worktree management)" && setup_worktrunk
|