moflo 4.8.80-rc.2 → 4.8.80-rc.3

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": "moflo",
3
- "version": "4.8.80-rc.2",
3
+ "version": "4.8.80-rc.3",
4
4
  "description": "MoFlo — AI agent orchestration for Claude Code. Forked from ruflo/claude-flow with patches applied to source, plus feature-level orchestration.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -112,7 +112,7 @@
112
112
  "@types/js-yaml": "^4.0.9",
113
113
  "@types/node": "^20.19.37",
114
114
  "eslint": "^8.0.0",
115
- "moflo": "^4.8.80-rc.1",
115
+ "moflo": "^4.8.80-rc.2",
116
116
  "tsx": "^4.21.0",
117
117
  "typescript": "^5.9.3",
118
118
  "vitest": "^4.0.0"
@@ -22,14 +22,21 @@ const execAsync = promisify(exec);
22
22
  * Critical for Windows where PATH may not be inherited properly
23
23
  */
24
24
  async function runCommand(command, timeoutMs = 5000) {
25
- const { stdout } = await execAsync(command, {
25
+ const opts = {
26
26
  encoding: 'utf8',
27
27
  timeout: timeoutMs,
28
28
  shell: process.platform === 'win32' ? 'cmd.exe' : '/bin/sh', // Use proper shell per platform
29
29
  env: { ...process.env }, // Explicitly inherit full environment
30
30
  windowsHide: true, // Hide window on Windows
31
- });
32
- return stdout.trim();
31
+ };
32
+ const { stdout } = await execAsync(command, opts);
33
+ const out = stdout.trim();
34
+ // Windows parallel exec occasionally returns empty stdout under shell contention — retry once serially
35
+ if (!out && process.platform === 'win32') {
36
+ const retry = await execAsync(command, opts);
37
+ return retry.stdout.trim();
38
+ }
39
+ return out;
33
40
  }
34
41
  // Check Node.js version
35
42
  async function checkNodeVersion() {
@@ -2,5 +2,5 @@
2
2
  * Auto-generated by build. Do not edit manually.
3
3
  * Source of truth: root package.json → scripts/sync-version.mjs
4
4
  */
5
- export const VERSION = '4.8.80-rc.2';
5
+ export const VERSION = '4.8.80-rc.3';
6
6
  //# sourceMappingURL=version.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moflo/cli",
3
- "version": "4.8.80-rc.2",
3
+ "version": "4.8.80-rc.3",
4
4
  "type": "module",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",