deepflow 0.1.63 → 0.1.64

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.
@@ -608,9 +608,29 @@ run_spikes() {
608
608
  pids+=($!)
609
609
  done
610
610
 
611
- # Wait for all remaining spikes to complete
611
+ # Wait for all remaining spikes with progress heartbeat
612
612
  auto_log "Waiting for all ${#pids[@]} spike(s) to complete..."
613
- wait
613
+ local wait_start=$SECONDS
614
+ while true; do
615
+ local -a still_running=()
616
+ local pid
617
+ for pid in "${pids[@]}"; do
618
+ if kill -0 "$pid" 2>/dev/null; then
619
+ still_running+=("$pid")
620
+ fi
621
+ done
622
+ if [[ ${#still_running[@]} -eq 0 ]]; then
623
+ break
624
+ fi
625
+ local elapsed=$(( SECONDS - wait_start ))
626
+ local mins=$(( elapsed / 60 ))
627
+ local secs=$(( elapsed % 60 ))
628
+ printf "\r ⏳ %d spike(s) running... [%dm%02ds] " "${#still_running[@]}" "$mins" "$secs"
629
+ pids=("${still_running[@]}")
630
+ sleep 5
631
+ done
632
+ printf "\r \r"
633
+ wait 2>/dev/null || true
614
634
  auto_log "All spikes completed for ${spec_name} cycle ${cycle}"
615
635
 
616
636
  # Collect results and process
@@ -788,9 +808,29 @@ Important:
788
808
  impl_slugs+=("$slug")
789
809
  done
790
810
 
791
- # Wait for all implementations to complete
811
+ # Wait for all implementations with progress heartbeat
792
812
  auto_log "Waiting for all ${#pids[@]} implementation(s) to complete..."
793
- wait
813
+ local wait_start=$SECONDS
814
+ while true; do
815
+ local -a still_running=()
816
+ local pid
817
+ for pid in "${pids[@]}"; do
818
+ if kill -0 "$pid" 2>/dev/null; then
819
+ still_running+=("$pid")
820
+ fi
821
+ done
822
+ if [[ ${#still_running[@]} -eq 0 ]]; then
823
+ break
824
+ fi
825
+ local elapsed=$(( SECONDS - wait_start ))
826
+ local mins=$(( elapsed / 60 ))
827
+ local secs=$(( elapsed % 60 ))
828
+ printf "\r ⏳ %d implementation(s) running... [%dm%02ds] " "${#still_running[@]}" "$mins" "$secs"
829
+ pids=("${still_running[@]}")
830
+ sleep 5
831
+ done
832
+ printf "\r \r"
833
+ wait 2>/dev/null || true
794
834
  auto_log "All implementations completed for ${spec_name} cycle ${cycle}"
795
835
 
796
836
  # Collect results
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepflow",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "description": "Stay in flow state - lightweight spec-driven task orchestration for Claude Code",
5
5
  "keywords": [
6
6
  "claude",