π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
π Fix: Hooks pre-task command not exiting properly
rUv18e4554baab9
diff --git a/bin/claude-flow b/bin/claude-flowindex 7978cc9b28..5fa0a04e77 100755--- a/bin/claude-flow+++ b/bin/claude-flow@@ -1,7 +1,7 @@#!/bin/sh# Claude-Flow Smart Dispatcher - Detects and uses the best available runtime-VERSION="2.0.0-alpha.75"+VERSION="2.0.0-alpha.76"# Determine the correct path based on how the script is invokedif [ -L "$0" ]; thendiff --git a/bin/claude-flow.js b/bin/claude-flow.jsindex 9066234c9d..7246b5d252 100644--- a/bin/claude-flow.js+++ b/bin/claude-flow.js@@ -11,7 +11,7 @@ import { existsSync } from 'fs';import { spawn } from 'child_process';import process from 'process';-const VERSION = "2.0.0-alpha.75";+const VERSION = "2.0.0-alpha.76";// Get script directory and root directoryconst __filename = fileURLToPath(import.meta.url);diff --git a/package.json b/package.jsonindex 2ffc445aa7..ee4177ba79 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "claude-flow",- "version": "2.0.0-alpha.75",+ "version": "2.0.0-alpha.76","description": "Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)","main": "cli.mjs","bin": {diff --git a/src/cli/help-text.js b/src/cli/help-text.jsindex 28ba338afa..4f7d7bae1f 100644--- a/src/cli/help-text.js+++ b/src/cli/help-text.js@@ -5,14 +5,14 @@import { HelpFormatter } from './help-formatter.js';-export const VERSION = '2.0.0-alpha.75';+export const VERSION = '2.0.0-alpha.76';export const MAIN_HELP = `π Claude-Flow v${VERSION} - Enterprise-Grade AI Agent Orchestration Platformπ― ENTERPRISE FEATURES: Complete ruv-swarm integration with 87 MCP tools, neural networking, and production-ready infrastructureπ NEW: Advanced Hive Mind System with Queen-led coordination, collective intelligence, and unlimited scaling-β‘ ALPHA 75: Windows compatibility overhaul with cross-platform Node.js dispatcher+β‘ ALPHA 76: Fixed hooks pre-task command not exiting properlyUSAGE:claude-flow <command> [options]diff --git a/src/cli/simple-commands/hooks.js b/src/cli/simple-commands/hooks.jsindex 5b2a9e6316..3276b6ef67 100644--- a/src/cli/simple-commands/hooks.js+++ b/src/cli/simple-commands/hooks.js@@ -163,8 +163,23 @@ async function preTaskCommand(subArgs, flags) {}console.log(`\nπ― TASK PREPARATION COMPLETE`);++ // Close the memory store to prevent hanging+ if (memoryStore && memoryStore.close) {+ memoryStore.close();+ }++ // Ensure the process exits cleanly+ process.exit(0);} catch (err) {printError(`Pre-task hook failed: ${err.message}`);++ // Close the memory store on error too+ if (memoryStore && memoryStore.close) {+ memoryStore.close();+ }++ process.exit(1);}}