🌊 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
rUvf536724c1f8d
diff --git a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.tsindex 4e1ffba3b0..b145c615cd 100644--- a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts+++ b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts@@ -1281,15 +1281,30 @@ export const hooksTrajectoryStep: MCPTool = {const action = params.action as string;const result = (params.result as string) || 'success';const quality = (params.quality as number) || 0.85;+ const timestamp = new Date().toISOString();+ const stepId = `step-${Date.now()}`;++ // Add step to real trajectory if it exists+ const trajectory = activeTrajectories.get(trajectoryId);+ if (trajectory) {+ trajectory.steps.push({+ action,+ result,+ quality,+ timestamp,+ });+ }return {trajectoryId,- stepId: `step-${Date.now()}`,+ stepId,action,result,quality,- recorded: true,- timestamp: new Date().toISOString(),+ recorded: !!trajectory,+ timestamp,+ totalSteps: trajectory?.steps.length || 0,+ implementation: trajectory ? 'real-step-recording' : 'trajectory-not-found',};},};