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 +1 -1
- package/scripts/pm-loop.sh +4 -4
package/package.json
CHANGED
package/scripts/pm-loop.sh
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
|