deepflow 0.1.37 → 0.1.38
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/src/commands/df/execute.md +14 -14
package/package.json
CHANGED
|
@@ -58,24 +58,24 @@ Task(subagent_type="general-purpose", run_in_background=True, prompt="T2: ...")
|
|
|
58
58
|
Task(subagent_type="general-purpose", run_in_background=True, prompt="T3: ...")
|
|
59
59
|
|
|
60
60
|
# 2. Wait with Bash monitor (ONE call, streams progress to user)
|
|
61
|
+
# IMPORTANT: Use find (not globs) — globs fail in zsh when no matches exist
|
|
61
62
|
Bash("""
|
|
62
63
|
RESULTS_DIR="{worktree}/.deepflow/results"
|
|
63
64
|
EXPECTED=3
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
seen="$seen $f"
|
|
73
|
-
fi
|
|
74
|
-
done
|
|
75
|
-
sleep 5
|
|
65
|
+
SEEN=""
|
|
66
|
+
for i in $(seq 1 60); do
|
|
67
|
+
for f in $(find "$RESULTS_DIR" -name '*.yaml' 2>/dev/null); do
|
|
68
|
+
name=$(basename "$f" .yaml)
|
|
69
|
+
if ! echo "$SEEN" | grep -q "$name"; then
|
|
70
|
+
echo "✓ $name"
|
|
71
|
+
SEEN="$SEEN $name"
|
|
72
|
+
fi
|
|
76
73
|
done
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
COUNT=$(find "$RESULTS_DIR" -name '*.yaml' 2>/dev/null | wc -l | tr -d ' ')
|
|
75
|
+
if [ "$COUNT" -ge "$EXPECTED" ]; then echo "ALL COMPLETE"; exit 0; fi
|
|
76
|
+
sleep 5
|
|
77
|
+
done
|
|
78
|
+
echo "TIMEOUT: some tasks did not complete"
|
|
79
79
|
""")
|
|
80
80
|
|
|
81
81
|
# 3. Read actual results (minimal context)
|