deepflow 0.1.61 → 0.1.63

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.
@@ -215,8 +215,9 @@ run_claude_monitored() {
215
215
  claude_pid=$!
216
216
  fi
217
217
 
218
- # Read the FIFO line-by-line
218
+ # Read the FIFO line-by-line (set +e to tolerate EINTR from signals)
219
219
  local capturing_result=false
220
+ set +e
220
221
  while IFS= read -r line || [[ -n "$line" ]]; do
221
222
  [[ -z "$line" ]] && continue
222
223
 
@@ -289,6 +290,7 @@ run_claude_monitored() {
289
290
  fi
290
291
  fi
291
292
  done < "$fifo_path"
293
+ set -e
292
294
 
293
295
  # Clean up FIFO
294
296
  rm -f "$fifo_path"
@@ -1232,12 +1234,13 @@ run_spec_cycle() {
1232
1234
  main() {
1233
1235
  parse_flags "$@"
1234
1236
 
1235
- # Require git repository
1237
+ # Ensure git repository exists (needed for worktree-based parallel spikes)
1236
1238
  if ! git -C "$PROJECT_ROOT" rev-parse --git-dir &>/dev/null; then
1237
- echo "Error: ${PROJECT_ROOT} is not a git repository." >&2
1238
- echo "deepflow auto requires git for worktree-based parallel spikes." >&2
1239
- echo "Run: git init && git add . && git commit -m 'initial commit'" >&2
1240
- exit 1
1239
+ echo "Initializing git repository in ${PROJECT_ROOT}..."
1240
+ git -C "$PROJECT_ROOT" init -q
1241
+ git -C "$PROJECT_ROOT" add -A
1242
+ git -C "$PROJECT_ROOT" commit -q -m "initial commit"
1243
+ auto_log "Auto-initialized git repository in ${PROJECT_ROOT}"
1241
1244
  fi
1242
1245
 
1243
1246
  auto_log "deepflow-auto started (parallel=${PARALLEL}, hypotheses=${HYPOTHESES}, max_cycles=${MAX_CYCLES}, continue=${CONTINUE}, fresh=${FRESH})"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepflow",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "description": "Stay in flow state - lightweight spec-driven task orchestration for Claude Code",
5
5
  "keywords": [
6
6
  "claude",