🌊 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
Checkpoint: File edits
rUvae98bce17135
diff --git a/v3/@claude-flow/cli/src/init/settings-generator.ts b/v3/@claude-flow/cli/src/init/settings-generator.tsindex 15dc9e425e..59172e7580 100644--- a/v3/@claude-flow/cli/src/init/settings-generator.ts+++ b/v3/@claude-flow/cli/src/init/settings-generator.ts@@ -102,7 +102,7 @@ function generateHooksConfig(config: HooksConfig): object {hooks: [{type: 'command',- command: 'npx claude-flow@v3alpha hooks pre-edit --file "$TOOL_INPUT_file_path" --intelligence',+ command: 'if [ -n "$TOOL_INPUT_file_path" ]; then npx claude-flow@v3alpha hooks pre-edit -f "$TOOL_INPUT_file_path" 2>/dev/null; fi; exit 0',timeout: config.timeout,continueOnError: config.continueOnError,},@@ -114,7 +114,7 @@ function generateHooksConfig(config: HooksConfig): object {hooks: [{type: 'command',- command: 'npx claude-flow@v3alpha hooks pre-command --command "$TOOL_INPUT_command"',+ command: 'if [ -n "$TOOL_INPUT_command" ]; then npx claude-flow@v3alpha hooks pre-command -c "$TOOL_INPUT_command" 2>/dev/null; fi; exit 0',timeout: config.timeout,continueOnError: config.continueOnError,},@@ -126,25 +126,12 @@ function generateHooksConfig(config: HooksConfig): object {hooks: [{type: 'command',- command: 'npx claude-flow@v3alpha hooks pre-task --task-id "task-$(date +%s)" --description "$TOOL_INPUT_prompt"',+ command: 'if [ -n "$TOOL_INPUT_prompt" ]; then npx claude-flow@v3alpha hooks pre-task -d "$TOOL_INPUT_prompt" 2>/dev/null; fi; exit 0',timeout: config.timeout,continueOnError: config.continueOnError,},],},- // Search hooks - lightweight, no-op for now (search caching handled in post)- // Uncomment when pre-search command is implemented- // {- // matcher: '^(Grep|Glob|Read)$',- // hooks: [- // {- // type: 'command',- // command: 'npx claude-flow@v3alpha hooks pre-search --pattern "$TOOL_INPUT_pattern"',- // timeout: 2000,- // continueOnError: true,- // },- // ],- // },];}