🌊 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: resolve README.md merge conflict - keep both hooks and hive-mind sections
rUvca8b50a9af2f
diff --cc README.mdindex 6070c45cfd,3783ddea44..33021a967a--- a/README.md+++ b/README.md@@@ -67,83 -51,6 +67,82 @@@ npx claude-flow@alpha hive-mind spawn "---+## 🪝 **Advanced Hooks System**++### **Automated Workflow Enhancement**+Claude-Flow v2.0.0 introduces a powerful hooks system that automates coordination and enhances every operation:++```bash+# Hooks automatically trigger on operations+npx claude-flow@alpha init --force # Auto-configures MCP servers & hooks+```++### **Available Hooks**++#### **Pre-Operation Hooks**+- **`pre-task`**: Auto-assigns agents based on task complexity+- **`pre-search`**: Caches searches for improved performance+- **`pre-edit`**: Validates files and prepares resources+- **`pre-command`**: Security validation before execution++#### **Post-Operation Hooks**+- **`post-edit`**: Auto-formats code using language-specific tools+- **`post-task`**: Trains neural patterns from successful operations+- **`post-command`**: Updates memory with operation context+- **`notification`**: Real-time progress updates++#### **Session Hooks**+- **`session-start`**: Restores previous context automatically+- **`session-end`**: Generates summaries and persists state+- **`session-restore`**: Loads memory from previous sessions++### **Hook Configuration**+```json+// .claude/settings.json (auto-configured)+{+ "hooks": {+ "preEditHook": {+ "command": "npx",+ "args": ["claude-flow", "hooks", "pre-edit", "--file", "${file}", "--auto-assign-agents", "true"],+ "alwaysRun": false+ },+ "postEditHook": {+ "command": "npx",+ "args": ["claude-flow", "hooks", "post-edit", "--file", "${file}", "--format", "true"],+ "alwaysRun": true+ },+ "sessionEndHook": {+ "command": "npx",+ "args": ["claude-flow", "hooks", "session-end", "--generate-summary", "true"],+ "alwaysRun": true+ }+ }+}+```++### **Using Hooks in Claude Code**++Hooks integrate seamlessly with Claude Code's workflow:++1. **Automatic Triggering**: Hooks fire automatically during Claude Code operations+2. **Context Awareness**: Each hook receives relevant context (file paths, commands, etc.)+3. **Non-Blocking**: Hooks run asynchronously to maintain performance+4. **Configurable**: Enable/disable specific hooks as needed++### **Hook Examples**++```bash+# Manual hook execution+npx claude-flow hooks pre-task --description "Build REST API" --auto-spawn-agents++# Post-edit with formatting+npx claude-flow hooks post-edit --file "src/api.js" --format --train-neural++# Session management+npx claude-flow hooks session-end --generate-summary --persist-state+```++----## 🐝 **Revolutionary Hive-Mind Intelligence**### **Queen-Led AI Coordination**