@claude-flow/cli 3.5.32 → 3.5.33

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.
@@ -348,6 +348,9 @@ async function doStatus() {
348
348
 
349
349
  const command = process.argv[2] || 'status';
350
350
 
351
+ // Suppress unhandled rejection warnings from dynamic import() failures
352
+ process.on('unhandledRejection', () => {});
353
+
351
354
  try {
352
355
  switch (command) {
353
356
  case 'import': await doImport(); break;
@@ -361,5 +364,5 @@ try {
361
364
  // Hooks must never crash Claude Code - fail silently
362
365
  try { dim(`Error (non-critical): ${err.message}`); } catch (_) {}
363
366
  }
364
- // Hooks must ALWAYS exit 0
365
- process.exitCode = 0;
367
+ // Force clean exit — process.exitCode alone isn't enough if async errors override it
368
+ process.exit(0);
@@ -267,5 +267,6 @@ const handlers = {
267
267
  process.exitCode = 0;
268
268
  main().catch((e) => {
269
269
  try { console.log(`[WARN] Hook handler error: ${e.message}`); } catch (_) {}
270
- process.exitCode = 0;
270
+ }).finally(() => {
271
+ process.exit(0);
271
272
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.5.32",
3
+ "version": "3.5.33",
4
4
  "type": "module",
5
5
  "description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
6
6
  "main": "dist/src/index.js",