agentic-loop 3.4.4 → 3.4.6

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/loop.sh +10 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-loop",
3
- "version": "3.4.4",
3
+ "version": "3.4.6",
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",
package/ralph/loop.sh CHANGED
@@ -311,13 +311,19 @@ run_loop() {
311
311
  passed_stories=$(jq '[.stories[] | select(.passes==true)] | length' "$RALPH_DIR/prd.json")
312
312
  current_num=$((passed_stories + 1))
313
313
 
314
- # Display dynamic banner
314
+ # Display dynamic banner (truncate long text to fit box)
315
+ local max_width=53
316
+ local display_title="$story_title"
317
+ local display_desc="$story_desc"
318
+ [[ ${#display_title} -gt $max_width ]] && display_title="${display_title:0:$((max_width-3))}..."
319
+ [[ ${#display_desc} -gt $max_width ]] && display_desc="${display_desc:0:$((max_width-3))}..."
320
+
315
321
  echo ""
316
322
  echo "┌─────────────────────────────────────────────────────────┐"
317
323
  printf "│ %s %-14s [%d/%d] %s │\n" "$story_emoji" "$story" "$current_num" "$total_stories" "$(progress_bar $current_num $total_stories)"
318
- printf "│ %-55s │\n" "$story_title"
319
- printf "│ %-55s │\n" "${story_desc}..."
320
- printf "│ Type: %-49s │\n" "$story_type"
324
+ printf "│ %-55s│\n" "$display_title"
325
+ printf "│ %-55s│\n" "$display_desc"
326
+ printf "│ Type: %-49s│\n" "$story_type"
321
327
  echo "└─────────────────────────────────────────────────────────┘"
322
328
  echo ""
323
329