thrivekit 2.0.16 → 2.0.17

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 (2) hide show
  1. package/package.json +1 -1
  2. package/ralph/api.sh +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thrivekit",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Tools to thrive with agentic coding - RALPH autonomous loop, Claude Code hooks, PRD-driven development",
5
5
  "author": "Allie Jones <allie@allthrive.ai>",
6
6
  "license": "MIT",
package/ralph/api.sh CHANGED
@@ -78,6 +78,12 @@ run_api_validation() {
78
78
  elif [[ "$response_code" == "000" ]]; then
79
79
  print_error "connection failed"
80
80
  failed=1
81
+ elif [[ "$response_code" == "422" || "$response_code" == "400" ]]; then
82
+ # 422/400 = endpoint exists but needs params - don't fail verification
83
+ print_warning "$response_code (needs params)"
84
+ elif [[ "$response_code" == "401" || "$response_code" == "403" ]]; then
85
+ # Auth required - endpoint exists
86
+ print_warning "$response_code (auth required)"
81
87
  else
82
88
  print_error "$response_code"
83
89
  failed=1