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.
Files changed (3) hide show
  1. package/VERSION +1 -1
  2. package/package.json +1 -1
  3. package/setup.sh +10 -2
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.100.11
1
+ 2.100.13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aidevops",
3
- "version": "2.100.11",
3
+ "version": "2.100.13",
4
4
  "description": "AI DevOps Framework - AI-assisted development workflows, code quality, and deployment automation",
5
5
  "type": "module",
6
6
  "main": "index.js",
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
- latest_commit=$(curl -s --max-time 5 "https://api.github.com/repos/$owner_repo/commits?per_page=1" 2>/dev/null | jq -r '.[0].sha // empty')
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++))