🌊 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: Edit /workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js
rUvf1c71821856c
diff --git a/.claude/checkpoints/task-1754338111.json b/.claude/checkpoints/task-1754338111.jsonnew file mode 100644index 0000000000..1265cab111--- /dev/null+++ b/.claude/checkpoints/task-1754338111.json@@ -0,0 +1 @@+{"checkpoint": "task-20250804-200830", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T20:08:31Z", "commit": "1f03afce4cec7a91b8f54a43a6ffcfc776dc5571", "github_release": "true"}diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.jsindex ee65021827..72d6d086b1 100644--- a/src/cli/simple-commands/automation-executor.js+++ b/src/cli/simple-commands/automation-executor.js@@ -321,13 +321,26 @@ export class WorkflowExecutor {*/handleClaudeStreamEvent(agent, event) {if (this.options.outputFormat === 'stream-json') {- // Forward the event with agent context- console.log(JSON.stringify({- ...event,- agent: agent.id,- agentName: agent.name,- workflowId: this.executionId- }));+ // Create formatted JSON with summary+ const formattedEvent = {+ timestamp: new Date().toISOString(),+ agent: {+ id: agent.id,+ name: agent.name,+ type: agent.type+ },+ workflow: {+ id: this.executionId,+ phase: this.currentPhase || 'unknown'+ },+ event: {+ type: event.type,+ summary: this.getEventSummary(event),+ ...event+ }+ };++ console.log(JSON.stringify(formattedEvent, null, 2));} else {// Format output for text modeswitch (event.type) {@@ -351,6 +364,26 @@ export class WorkflowExecutor {}}}++ /**+ * Get a brief summary of an event+ */+ getEventSummary(event) {+ switch (event.type) {+ case 'tool_use':+ return `Using ${event.name} tool`;+ case 'message':+ return event.content?.substring(0, 100) + (event.content?.length > 100 ? '...' : '');+ case 'completion':+ return 'Task completed successfully';+ case 'error':+ return `Error: ${event.error}`;+ case 'status':+ return event.status || 'Status update';+ default:+ return event.type;+ }+ }/*** Create task-specific Claude prompt