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

rUv71c7191b1372
diff --git a/v3/@claude-flow/cli/src/commands/hooks.ts b/v3/@claude-flow/cli/src/commands/hooks.ts
index cad204e25f..7d4140c1a3 100644
--- a/v3/@claude-flow/cli/src/commands/hooks.ts
+++ b/v3/@claude-flow/cli/src/commands/hooks.ts
@@ -3401,7 +3401,10 @@ const routeTaskCommand: Command = {
action: async (ctx: CommandContext): Promise<CommandResult> => {
// Silently handle v2-specific flags that don't exist in v3
// --auto-swarm, --detect-complexity are ignored but don't fail
- return routeCommand.action(ctx);
+ if (routeCommand.action) {
+ return routeCommand.action(ctx);
+ }
+ return { success: true };
}
};