aidevops 2.100.8 → 2.100.9
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 +31 -17
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.100.
|
|
1
|
+
2.100.9
|
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.100.
|
|
6
|
+
# Version: 2.100.9
|
|
7
7
|
#
|
|
8
8
|
# Quick Install (one-liner):
|
|
9
9
|
# bash <(curl -fsSL https://aidevops.dev/install)
|
|
@@ -1075,7 +1075,8 @@ setup_worktrunk() {
|
|
|
1075
1075
|
print_info "Shell integration not detected"
|
|
1076
1076
|
read -r -p "Install Worktrunk shell integration (enables 'wt switch' to change directories)? [Y/n]: " install_shell
|
|
1077
1077
|
if [[ "$install_shell" =~ ^[Yy]?$ ]]; then
|
|
1078
|
-
|
|
1078
|
+
print_info "Installing shell integration..."
|
|
1079
|
+
if wt config shell install; then
|
|
1079
1080
|
print_success "Shell integration installed"
|
|
1080
1081
|
print_info "Restart your terminal or run: source $shell_rc"
|
|
1081
1082
|
else
|
|
@@ -1107,8 +1108,10 @@ setup_worktrunk() {
|
|
|
1107
1108
|
|
|
1108
1109
|
if [[ "$install_wt" =~ ^[Yy]?$ ]]; then
|
|
1109
1110
|
if run_with_spinner "Installing Worktrunk via Homebrew" brew install max-sixty/worktrunk/wt; then
|
|
1110
|
-
# Install shell integration
|
|
1111
|
-
|
|
1111
|
+
# Install shell integration (don't use spinner - command is fast and may need interaction)
|
|
1112
|
+
print_info "Installing shell integration..."
|
|
1113
|
+
if wt config shell install; then
|
|
1114
|
+
print_success "Shell integration installed"
|
|
1112
1115
|
print_info "Restart your terminal or source your shell config"
|
|
1113
1116
|
else
|
|
1114
1117
|
print_warning "Shell integration failed - run manually: wt config shell install"
|
|
@@ -1135,8 +1138,10 @@ setup_worktrunk() {
|
|
|
1135
1138
|
|
|
1136
1139
|
if [[ "$install_wt" =~ ^[Yy]?$ ]]; then
|
|
1137
1140
|
if run_with_spinner "Installing Worktrunk via Cargo" cargo install worktrunk; then
|
|
1138
|
-
# Install shell integration
|
|
1139
|
-
|
|
1141
|
+
# Install shell integration (don't use spinner - command is fast and may need interaction)
|
|
1142
|
+
print_info "Installing shell integration..."
|
|
1143
|
+
if wt config shell install; then
|
|
1144
|
+
print_success "Shell integration installed"
|
|
1140
1145
|
print_info "Restart your terminal or source your shell config"
|
|
1141
1146
|
else
|
|
1142
1147
|
print_warning "Shell integration failed - run manually: wt config shell install"
|
|
@@ -1892,15 +1897,24 @@ deploy_aidevops_agents() {
|
|
|
1892
1897
|
if [[ -f "$plan_reminder" && -f "$plan_plus" ]]; then
|
|
1893
1898
|
# Check if plan-plus.md has the placeholder marker
|
|
1894
1899
|
if grep -q "OPENCODE-PLAN-REMINDER-INJECT" "$plan_plus"; then
|
|
1895
|
-
# Replace placeholder with extracted content
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1900
|
+
# Replace placeholder with extracted content using sed
|
|
1901
|
+
# (awk -v doesn't handle multi-line content with special chars well)
|
|
1902
|
+
local tmp_file
|
|
1903
|
+
tmp_file=$(mktemp)
|
|
1904
|
+
local in_placeholder=false
|
|
1905
|
+
while IFS= read -r line || [[ -n "$line" ]]; do
|
|
1906
|
+
if [[ "$line" == *"OPENCODE-PLAN-REMINDER-INJECT-START"* ]]; then
|
|
1907
|
+
echo "$line" >> "$tmp_file"
|
|
1908
|
+
cat "$plan_reminder" >> "$tmp_file"
|
|
1909
|
+
in_placeholder=true
|
|
1910
|
+
elif [[ "$line" == *"OPENCODE-PLAN-REMINDER-INJECT-END"* ]]; then
|
|
1911
|
+
echo "$line" >> "$tmp_file"
|
|
1912
|
+
in_placeholder=false
|
|
1913
|
+
elif [[ "$in_placeholder" == false ]]; then
|
|
1914
|
+
echo "$line" >> "$tmp_file"
|
|
1915
|
+
fi
|
|
1916
|
+
done < "$plan_plus"
|
|
1917
|
+
mv "$tmp_file" "$plan_plus"
|
|
1904
1918
|
print_info "Injected OpenCode plan-reminder into Plan+"
|
|
1905
1919
|
fi
|
|
1906
1920
|
fi
|
|
@@ -3612,8 +3626,8 @@ echo " aidevops uninstall - Remove aidevops"
|
|
|
3612
3626
|
read -r -p "Launch OpenCode with /onboarding now? [Y/n]: " launch_onboarding
|
|
3613
3627
|
if [[ "$launch_onboarding" =~ ^[Yy]?$ || "$launch_onboarding" == "Y" ]]; then
|
|
3614
3628
|
echo ""
|
|
3615
|
-
echo "Starting OpenCode..."
|
|
3616
|
-
opencode --prompt "/onboarding"
|
|
3629
|
+
echo "Starting OpenCode with Onboarding agent..."
|
|
3630
|
+
opencode --agent Onboarding --prompt "/onboarding"
|
|
3617
3631
|
else
|
|
3618
3632
|
echo ""
|
|
3619
3633
|
echo "You can run /onboarding anytime in OpenCode to configure services."
|