Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

Checkpoint: File edits

rUv1f74f3e052a0
diff --git a/v3/@claude-flow/cli/src/init/settings-generator.ts b/v3/@claude-flow/cli/src/init/settings-generator.ts
index bf1a6741ac..1b4d0a2851 100644
--- a/v3/@claude-flow/cli/src/init/settings-generator.ts
+++ b/v3/@claude-flow/cli/src/init/settings-generator.ts
@@ -187,13 +187,14 @@ function generateHooksConfig(config: HooksConfig): object {
},
],
},
- // Search caching
+ // Search caching - use memory store for pattern caching
{
matcher: '^(Grep|Glob)$',
hooks: [
{
type: 'command',
- command: 'npx claude-flow@v3alpha hooks post-search --cache-results',
+ // Cache search patterns in memory for reuse
+ command: '[ -n "$TOOL_INPUT_pattern" ] && npx claude-flow@v3alpha memory store -k "search:$TOOL_INPUT_pattern" -v "$TOOL_SUCCESS" -n cache --ttl 3600 2>/dev/null || true',
timeout: 2000,
continueOnError: true,
},