agentic-loop 3.2.6 → 3.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-loop",
3
- "version": "3.2.6",
3
+ "version": "3.2.7",
4
4
  "description": "Autonomous AI coding loop - PRD-driven development with Claude Code",
5
5
  "author": "Allie Jones <allie@allthrive.ai>",
6
6
  "license": "MIT",
@@ -114,11 +114,11 @@ verify_lint() {
114
114
  if grep -q '"eslint"' package.json 2>/dev/null || [[ -f ".eslintrc.js" ]] || [[ -f "eslint.config.js" ]]; then
115
115
  echo -n " ESLint check... "
116
116
  local eslint_output
117
- if eslint_output=$(npx eslint . --max-warnings 0 2>&1); then
117
+ if eslint_output=$(npx eslint . 2>&1); then
118
118
  print_success "passed"
119
119
  else
120
120
  # Check if it's real errors or just warnings
121
- if echo "$eslint_output" | grep -qE "✖ [0-9]+ problems? \([1-9]"; then
121
+ if echo "$eslint_output" | grep -qE "✖ [0-9]+ problems? \([1-9][0-9]* errors?"; then
122
122
  print_error "failed"
123
123
  echo ""
124
124
  echo " ESLint errors:"
@@ -130,7 +130,10 @@ verify_lint() {
130
130
  } >> "$lint_log"
131
131
  failed=1
132
132
  else
133
- print_success "passed (warnings only)"
133
+ # Warnings only - pass without showing them
134
+ local warning_count
135
+ warning_count=$(echo "$eslint_output" | grep -oE "[0-9]+ warnings?" | head -1 | grep -oE "[0-9]+" || echo "0")
136
+ print_success "passed ($warning_count warnings)"
134
137
  fi
135
138
  fi
136
139
  fi
@@ -147,10 +150,10 @@ verify_lint() {
147
150
 
148
151
  echo -n " ESLint check ($fe_dir)... "
149
152
  local eslint_output
150
- if eslint_output=$(cd "$fe_dir" && npx eslint . --max-warnings 0 2>&1); then
153
+ if eslint_output=$(cd "$fe_dir" && npx eslint . 2>&1); then
151
154
  print_success "passed"
152
155
  else
153
- if echo "$eslint_output" | grep -qE "✖ [0-9]+ problems? \([1-9]"; then
156
+ if echo "$eslint_output" | grep -qE "✖ [0-9]+ problems? \([1-9][0-9]* errors?"; then
154
157
  print_error "failed"
155
158
  echo ""
156
159
  echo " ESLint errors in $fe_dir:"
@@ -162,7 +165,10 @@ verify_lint() {
162
165
  } >> "$lint_log"
163
166
  failed=1
164
167
  else
165
- print_success "passed (warnings only)"
168
+ # Warnings only - pass without showing them
169
+ local warning_count
170
+ warning_count=$(echo "$eslint_output" | grep -oE "[0-9]+ warnings?" | head -1 | grep -oE "[0-9]+" || echo "0")
171
+ print_success "passed ($warning_count warnings)"
166
172
  fi
167
173
  fi
168
174
  done <<< "$fe_dirs"