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

fix: worker-detect crash on missing prompt parameter

Reuvend5d5dfba876a
diff --git a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts
index 2c50b182da..337123f931 100644
--- a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts
+++ b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts
@@ -3211,6 +3211,8 @@ function detectWorkerTriggers(text: string): {
confidence: number;
context: string;
} {
+ if (!text) return { detected: false, triggers: [], confidence: 0, context: '' };
+
const detectedTriggers: WorkerTrigger[] = [];
let totalMatches = 0;