claude-fsd 1.5.29 → 1.6.1

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/bin/claudefsd-dev +16 -15
  2. package/package.json +1 -1
package/bin/claudefsd-dev CHANGED
@@ -263,16 +263,16 @@ When using parallel Task agents, ensure each one:
263
263
 
264
264
  IMPORTANT: You must ACTUALLY IMPLEMENT tasks, not just describe what should be done. Use Edit, Write, Bash, and Task tools to complete real work. Begin by analyzing $plan_file and then IMPLEMENT the next task in order."
265
265
 
266
- # Save the prompt to the log file first
267
- echo "=== DEVELOPMENT PROMPT ===" > $LOGFILE
268
- echo "$DEVELOPMENT_PROMPT" >> $LOGFILE
269
- echo "=== END PROMPT ===" >> $LOGFILE
266
+ # Save the prompt to the log file and print to screen
267
+ echo "=== DEVELOPMENT PROMPT ===" | tee $LOGFILE
268
+ echo "$DEVELOPMENT_PROMPT" | tee -a $LOGFILE
269
+ echo "=== END PROMPT ===" | tee -a $LOGFILE
270
270
  echo "" >> $LOGFILE
271
271
  echo "=== OUTPUT ===" >> $LOGFILE
272
272
 
273
273
  # Run claude and append output to the log file
274
- echo "Running development with $CLAUDE_MODEL model..."
275
- time claude --model $CLAUDE_MODEL --dangerously-skip-permissions -p "$DEVELOPMENT_PROMPT" 2>&1 | tee -a $LOGFILE
274
+ echo -e "\033[36mRunning development with $CLAUDE_MODEL model...\033[0m"
275
+ time claude --model $CLAUDE_MODEL --dangerously-skip-permissions --include-partial-messages -p "$DEVELOPMENT_PROMPT" 2>&1 | tee -a $LOGFILE
276
276
 
277
277
  # Extract what task was worked on from the developer's output
278
278
  DEVELOPER_OUTPUT=$(sed -n '/=== OUTPUT ===/,$p' $LOGFILE)
@@ -317,14 +317,15 @@ $DEVELOPER_OUTPUT
317
317
  Be thorough but concise in your code review."
318
318
 
319
319
  VERIFIER_LOGFILE="${LOGFILE}-verifier"
320
- echo "=== VERIFIER PROMPT ===" > $VERIFIER_LOGFILE
321
- echo "$VERIFIER_PROMPT" >> $VERIFIER_LOGFILE
322
- echo "=== END PROMPT ===" >> $VERIFIER_LOGFILE
320
+ echo "=== VERIFIER PROMPT ===" | tee $VERIFIER_LOGFILE
321
+ echo "$VERIFIER_PROMPT" | tee -a $VERIFIER_LOGFILE
322
+ echo "=== END PROMPT ===" | tee -a $VERIFIER_LOGFILE
323
323
  echo "" >> $VERIFIER_LOGFILE
324
324
  echo "=== OUTPUT ===" >> $VERIFIER_LOGFILE
325
325
 
326
326
  # Run verifier
327
- time claude --model $CLAUDE_MODEL --dangerously-skip-permissions -p "$VERIFIER_PROMPT" 2>&1 | tee -a $VERIFIER_LOGFILE
327
+ echo -e "\033[36mRunning verifier with $CLAUDE_MODEL model...\033[0m"
328
+ time claude --model $CLAUDE_MODEL --dangerously-skip-permissions --include-partial-messages -p "$VERIFIER_PROMPT" 2>&1 | tee -a $VERIFIER_LOGFILE
328
329
 
329
330
  # Extract verifier output for the tester
330
331
  VERIFIER_OUTPUT=$(sed -n '/=== OUTPUT ===/,$p' $VERIFIER_LOGFILE)
@@ -391,15 +392,15 @@ If ALL tasks in the plan are complete AND all tests pass, output: <VERIFIED_ALL_
391
392
  "
392
393
 
393
394
  TESTER_LOGFILE="${LOGFILE}-tester"
394
- echo "=== TESTER PROMPT ===" > $TESTER_LOGFILE
395
- echo "$TESTER_PROMPT" >> $TESTER_LOGFILE
396
- echo "=== END PROMPT ===" >> $TESTER_LOGFILE
395
+ echo "=== TESTER PROMPT ===" | tee $TESTER_LOGFILE
396
+ echo "$TESTER_PROMPT" | tee -a $TESTER_LOGFILE
397
+ echo "=== END PROMPT ===" | tee -a $TESTER_LOGFILE
397
398
  echo "" >> $TESTER_LOGFILE
398
399
  echo "=== OUTPUT ===" >> $TESTER_LOGFILE
399
400
 
400
401
  # Run tester
401
- echo "Running tester with $CLAUDE_MODEL model..."
402
- time claude --model $CLAUDE_MODEL --dangerously-skip-permissions -p "$TESTER_PROMPT" 2>&1 | tee -a $TESTER_LOGFILE
402
+ echo -e "\033[36mRunning tester with $CLAUDE_MODEL model...\033[0m"
403
+ time claude --model $CLAUDE_MODEL --dangerously-skip-permissions --include-partial-messages -p "$TESTER_PROMPT" 2>&1 | tee -a $TESTER_LOGFILE
403
404
 
404
405
  # Check if tests failed
405
406
  if sed -n '/=== OUTPUT ===/,$p' $TESTER_LOGFILE | grep -q "<TESTS_FAILED>"; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-fsd",
3
- "version": "1.5.29",
3
+ "version": "1.6.1",
4
4
  "description": "Claude Full Self Drive tools for autonomous AI-powered development",
5
5
  "bin": {
6
6
  "claude-fsd": "bin/claude-fsd",