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

rUvecfb077723ee
diff --git a/v3/@claude-flow/cli/src/commands/hooks.ts b/v3/@claude-flow/cli/src/commands/hooks.ts
index 87f5528af8..ab28f19188 100644
--- a/v3/@claude-flow/cli/src/commands/hooks.ts
+++ b/v3/@claude-flow/cli/src/commands/hooks.ts
@@ -3402,7 +3402,8 @@ const routeTaskCommand: Command = {
// Silently handle v2-specific flags that don't exist in v3
// --auto-swarm, --detect-complexity are ignored but don't fail
if (routeCommand.action) {
- return routeCommand.action(ctx);
+ const result = await routeCommand.action(ctx);
+ return result || { success: true };
}
return { success: true };
}