aidevops 3.1.86 → 3.1.87
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 +11 -27
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.87
|
package/aidevops.sh
CHANGED
package/package.json
CHANGED
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.87
|
|
14
14
|
#
|
|
15
15
|
# Quick Install:
|
|
16
16
|
# npm install -g aidevops && aidevops update (recommended)
|
|
@@ -1645,32 +1645,16 @@ CW_PLIST
|
|
|
1645
1645
|
local repos_json="$HOME/.config/aidevops/repos.json"
|
|
1646
1646
|
if [[ -x "$pr_script" ]] && command -v gh &>/dev/null && gh auth status &>/dev/null; then
|
|
1647
1647
|
# Initialize profile repo if not already set up.
|
|
1648
|
-
#
|
|
1649
|
-
#
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
end
|
|
1659
|
-
' "$repos_json" 2>/dev/null | head -1)
|
|
1660
|
-
if [[ -n "$profile_path" && "$profile_path" != "null" ]] &&
|
|
1661
|
-
[[ -d "$profile_path" ]] &&
|
|
1662
|
-
[[ -f "${profile_path}/README.md" ]] &&
|
|
1663
|
-
grep -q '<!-- STATS-START -->' "${profile_path}/README.md" 2>/dev/null; then
|
|
1664
|
-
profile_needs_init="false"
|
|
1665
|
-
fi
|
|
1666
|
-
fi
|
|
1667
|
-
if [[ "$profile_needs_init" == "true" ]]; then
|
|
1668
|
-
print_info "Setting up GitHub profile README..."
|
|
1669
|
-
if bash "$pr_script" init; then
|
|
1670
|
-
print_info "Profile README created. Visit your profile repo and click 'Show on profile'."
|
|
1671
|
-
else
|
|
1672
|
-
print_warning "Profile README setup failed (non-fatal, skipping)"
|
|
1673
|
-
fi
|
|
1648
|
+
# Always run init — it's idempotent and handles:
|
|
1649
|
+
# - Fresh installs (no profile repo)
|
|
1650
|
+
# - Missing markers (injects them into existing README)
|
|
1651
|
+
# - Diverged history (repo deleted and recreated on GitHub)
|
|
1652
|
+
# - Already-initialized repos (returns early with no changes)
|
|
1653
|
+
print_info "Checking GitHub profile README..."
|
|
1654
|
+
if bash "$pr_script" init; then
|
|
1655
|
+
print_info "Profile README ready."
|
|
1656
|
+
else
|
|
1657
|
+
print_warning "Profile README setup failed (non-fatal, skipping)"
|
|
1674
1658
|
fi
|
|
1675
1659
|
fi
|
|
1676
1660
|
|