aidevops 2.100.11 → 2.100.13
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 +10 -2
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.100.
|
|
1
|
+
2.100.13
|
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++))
|