claude-cook 1.11.6 → 1.11.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": "claude-cook",
3
- "version": "1.11.6",
3
+ "version": "1.11.7",
4
4
  "description": "A meta-prompting, context engineering and spec-driven development system for Claude Code, OpenCode and Gemini by TÂCHES.",
5
5
  "bin": {
6
6
  "claude-cook": "bin/install.js"
@@ -515,8 +515,8 @@ while true; do
515
515
  CYCLE_START=$(date +%s)
516
516
  CALLS_MADE=$(increment_call_counter)
517
517
  update_status "running" "executing" "$CALLS_MADE"
518
- claude -p --dangerously-skip-permissions "$PROMPT" 2>&1
519
- EXIT_CODE=$?
518
+ EXIT_CODE=0
519
+ claude -p --dangerously-skip-permissions "$PROMPT" 2>&1 || EXIT_CODE=$?
520
520
  CYCLE_END=$(date +%s)
521
521
  CYCLE_DURATION=$((CYCLE_END - CYCLE_START))
522
522
 
@@ -620,8 +620,8 @@ while true; do
620
620
  echo "- Attempt: $REPLAN_ATTEMPTS/$MAX_REPLAN_ATTEMPTS" >> "$LOG_FILE"
621
621
 
622
622
  REPLAN_START=$(date +%s)
623
- claude -p --dangerously-skip-permissions "/cook:pm-replan" 2>&1
624
- REPLAN_EXIT_CODE=$?
623
+ REPLAN_EXIT_CODE=0
624
+ claude -p --dangerously-skip-permissions "/cook:pm-replan" 2>&1 || REPLAN_EXIT_CODE=$?
625
625
  REPLAN_END=$(date +%s)
626
626
  REPLAN_DURATION=$((REPLAN_END - REPLAN_START))
627
627