deepflow 0.1.36 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepflow",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "description": "Stay in flow state - lightweight spec-driven task orchestration for Claude Code",
5
5
  "keywords": [
6
6
  "claude",
@@ -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
- TIMEOUT=300
65
-
66
- timeout $TIMEOUT bash -c '
67
- seen=""
68
- while [ $(ls "$0"/*.yaml 2>/dev/null | wc -l) -lt '$EXPECTED' ]; do
69
- for f in "$0"/*.yaml 2>/dev/null; do
70
- if [ -f "$f" ] && [[ ! "$seen" =~ "$f" ]]; then
71
- echo "✓ $(basename "$f" .yaml)"
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
- echo "ALL COMPLETE"
78
- ' "$RESULTS_DIR" || echo "TIMEOUT: some tasks did not complete"
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)
@@ -17,6 +17,11 @@ npx deepflow --uninstall
17
17
  ## Check Version
18
18
 
19
19
  ```bash
20
- cat ~/.claude/cache/df-update-check.json # cached version info
21
- npm view deepflow version # latest on npm
20
+ # Installed version (source of truth):
21
+ cat ~/.claude/cache/df-update-check.json | grep currentVersion
22
+
23
+ # Latest on npm:
24
+ npm view deepflow version
22
25
  ```
26
+
27
+ **NOTE:** Do NOT use `npm list -g deepflow` — it shows a stale version unrelated to the actual installation.