claude-flow 2.0.0-alpha.75 → 2.0.0-alpha.76

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/bin/claude-flow CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
  # Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
3
3
 
4
- VERSION="2.0.0-alpha.75"
4
+ VERSION="2.0.0-alpha.76"
5
5
 
6
6
  # Determine the correct path based on how the script is invoked
7
7
  if [ -L "$0" ]; then
@@ -11,7 +11,7 @@ import { existsSync } from 'fs';
11
11
  import { spawn } from 'child_process';
12
12
  import process from 'process';
13
13
 
14
- const VERSION = "2.0.0-alpha.75";
14
+ const VERSION = "2.0.0-alpha.76";
15
15
 
16
16
  // Get script directory and root directory
17
17
  const __filename = fileURLToPath(import.meta.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "2.0.0-alpha.75",
3
+ "version": "2.0.0-alpha.76",
4
4
  "description": "Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)",
5
5
  "main": "cli.mjs",
6
6
  "bin": {
@@ -5,14 +5,14 @@
5
5
 
6
6
  import { HelpFormatter } from './help-formatter.js';
7
7
 
8
- export const VERSION = '2.0.0-alpha.75';
8
+ export const VERSION = '2.0.0-alpha.76';
9
9
 
10
10
  export const MAIN_HELP = `
11
11
  🌊 Claude-Flow v${VERSION} - Enterprise-Grade AI Agent Orchestration Platform
12
12
 
13
13
  šŸŽÆ ENTERPRISE FEATURES: Complete ruv-swarm integration with 87 MCP tools, neural networking, and production-ready infrastructure
14
14
  šŸ NEW: Advanced Hive Mind System with Queen-led coordination, collective intelligence, and unlimited scaling
15
- ⚔ ALPHA 75: Windows compatibility overhaul with cross-platform Node.js dispatcher
15
+ ⚔ ALPHA 76: Fixed hooks pre-task command not exiting properly
16
16
 
17
17
  USAGE:
18
18
  claude-flow <command> [options]
@@ -163,8 +163,23 @@ async function preTaskCommand(subArgs, flags) {
163
163
  }
164
164
 
165
165
  console.log(`\nšŸŽÆ TASK PREPARATION COMPLETE`);
166
+
167
+ // Close the memory store to prevent hanging
168
+ if (memoryStore && memoryStore.close) {
169
+ memoryStore.close();
170
+ }
171
+
172
+ // Ensure the process exits cleanly
173
+ process.exit(0);
166
174
  } catch (err) {
167
175
  printError(`Pre-task hook failed: ${err.message}`);
176
+
177
+ // Close the memory store on error too
178
+ if (memoryStore && memoryStore.close) {
179
+ memoryStore.close();
180
+ }
181
+
182
+ process.exit(1);
168
183
  }
169
184
  }
170
185