claude-flow 3.59.2 → 3.59.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "adoptedAt": 1792544391448,
2
+ "adoptedAt": 1792547603690,
3
3
  "championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
4
4
  "manifest": {
5
5
  "schema": "ruflo.proven-config/v1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "3.59.2",
3
+ "version": "3.59.3",
4
4
  "workspaces": [
5
5
  "v3/@claude-flow/codex",
6
6
  "v3/@claude-flow/mcp",
@@ -369,11 +369,23 @@ if (isHarness) {
369
369
  const { CLI } = await import('../dist/src/index.js');
370
370
  const cli = new CLI();
371
371
  cli.run()
372
- .then(() => {
373
- // #1552: Exit cleanly after one-shot commands.
374
- // Long-running commands (daemon foreground, mcp, status --watch) never resolve,
375
- // so this only fires for normal CLI commands.
376
- process.exit(0);
372
+ .then(async () => {
373
+ // #1552: one-shot commands can leave the memory ControllerRegistry's
374
+ // database handles and timers alive. Close them before relying on the
375
+ // event loop to drain.
376
+ //
377
+ // #3226: calling process.exit(0) here used to race that teardown and
378
+ // intermittently abort on Windows with a libuv UV_HANDLE_CLOSING
379
+ // assertion *after* the command had printed a successful result. Set
380
+ // the exit status and let the loop drain instead.
381
+ if (process.exitCode === undefined) process.exitCode = 0;
382
+ try {
383
+ const { shutdownBridge } = await import('../dist/src/memory/memory-bridge.js');
384
+ if (typeof shutdownBridge === 'function') await shutdownBridge();
385
+ } catch {
386
+ // Cleanup is best-effort: it must never turn a successful command into
387
+ // a failure. Commands that do not use memory simply have nothing to do.
388
+ }
377
389
  })
378
390
  .catch((error) => {
379
391
  console.error('Fatal error:', error.message);
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "generation": 7,
4
- "generatedAt": "2026-10-21T01:00:21.045Z",
5
- "gitSha": "2276232b",
4
+ "generatedAt": "2026-10-21T01:53:55.354Z",
5
+ "gitSha": "eb808c24",
6
6
  "catalog": {
7
7
  "agents": 176,
8
8
  "tools": 432,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claude-flow/cli",
3
- "version": "3.59.2",
3
+ "version": "3.59.3",
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",