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 +1 -1
- package/bin/claude-flow.js +1 -1
- package/package.json +1 -1
- package/src/cli/help-text.js +2 -2
- package/src/cli/simple-commands/hooks.js +15 -0
package/bin/claude-flow
CHANGED
package/bin/claude-flow.js
CHANGED
|
@@ -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.
|
|
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
package/src/cli/help-text.js
CHANGED
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
import { HelpFormatter } from './help-formatter.js';
|
|
7
7
|
|
|
8
|
-
export const VERSION = '2.0.0-alpha.
|
|
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
|
|
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
|
|