๐ 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
rUvb57462563f29
diff --git a/.claude/checkpoints/task-1754338639.json b/.claude/checkpoints/task-1754338639.jsonnew file mode 100644index 0000000000..c6f42a7050--- /dev/null+++ b/.claude/checkpoints/task-1754338639.json@@ -0,0 +1 @@+{"checkpoint": "task-20250804-201718", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T20:17:19Z", "commit": "c586fc92e67f9e02cf929d3a2f7e22f2e083f0cd", "github_release": "true"}diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.jsindex 686e79df63..ff29bb85b0 100644--- a/src/cli/simple-commands/automation-executor.js+++ b/src/cli/simple-commands/automation-executor.js@@ -638,7 +638,13 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ* Display task board showing current status*/displayTaskBoard(taskStatuses, highlightTasks = []) {- console.log('\nโโ Task Status Board โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ');+ const frames = ['โ ', 'โ ', 'โ น', 'โ ธ', 'โ ผ', 'โ ด', 'โ ฆ', 'โ ง', 'โ ', 'โ '];+ const frameIndex = Math.floor(Date.now() / 100) % frames.length;+ const spinner = frames[frameIndex];++ console.log('\nโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ');+ console.log('โ ๐ค CONCURRENT TASK STATUS โ');+ console.log('โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ');// Group by statusconst statusGroups = {@@ -652,37 +658,83 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integstatusGroups[status.status].push({ taskId, ...status });});- // Show in-progress tasks+ // Show in-progress tasks with animationif (statusGroups['in-progress'].length > 0) {- console.log('โ ๐ IN PROGRESS: โ');+ console.log(`โ ${spinner} RUNNING (${statusGroups['in-progress'].length} agents): โ`);statusGroups['in-progress'].forEach(task => {const duration = task.startTime ? this.formatDuration(Date.now() - task.startTime) : '';- console.log(`โ โข ${task.name.padEnd(35)} ${duration.padStart(10)} โ`);+ const progress = this.getProgressBar(Date.now() - task.startTime, 60000); // 1 min expected+ const agentIcon = this.getAgentIcon(task.agent);+ console.log(`โ ${agentIcon} ${task.name.padEnd(25)} ${progress} ${duration.padStart(8)} โ`);});}// Show completed tasksif (statusGroups['completed'].length > 0) {- console.log('โ โ COMPLETED: โ');+ console.log(`โ โ COMPLETED (${statusGroups['completed'].length}): โ`);statusGroups['completed'].forEach(task => {- console.log(`โ โข ${task.name.padEnd(35)} ${task.summary.substring(0, 15).padStart(10)} โ`);+ const duration = task.endTime && task.startTime ?+ this.formatDuration(task.endTime - task.startTime) : '';+ console.log(`โ โ ${task.name.padEnd(35)} ${duration.padStart(10)} โ`);});}// Show failed tasksif (statusGroups['failed'].length > 0) {- console.log('โ โ FAILED: โ');+ console.log(`โ โ FAILED (${statusGroups['failed'].length}): โ`);statusGroups['failed'].forEach(task => {- console.log(`โ โข ${task.name.padEnd(35)} ${task.summary.substring(0, 15).padStart(10)} โ`);+ const errorMsg = (task.summary || '').substring(0, 25);+ console.log(`โ โ ${task.name.padEnd(25)} ${errorMsg.padEnd(20)} โ`);});}// Show pending tasks countif (statusGroups['pending'].length > 0) {- console.log(`โ โณ PENDING: ${statusGroups['pending'].length} tasks waiting โ`);+ console.log(`โ โณ QUEUED: ${statusGroups['pending'].length} tasks waiting โ`);}- console.log('โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ');+ // Summary stats+ const total = taskStatuses.size;+ const completed = statusGroups['completed'].length;+ const failed = statusGroups['failed'].length;+ const progress = total > 0 ? Math.floor((completed + failed) / total * 100) : 0;++ console.log('โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ');+ console.log(`โ ๐ Progress: ${progress}% (${completed}/${total}) โ โก Active: ${statusGroups['in-progress'].length} โ โ Failed: ${failed} โ`);+ console.log('โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ');+ }++ /**+ * Get progress bar visualization+ */+ getProgressBar(elapsed, expected) {+ const progress = Math.min(elapsed / expected, 1);+ const filled = Math.floor(progress * 10);+ const empty = 10 - filled;+ return '[' + 'โ'.repeat(filled) + 'โ'.repeat(empty) + ']';+ }++ /**+ * Get agent icon based on type+ */+ getAgentIcon(agentId) {+ const icons = {+ 'search': '๐',+ 'foundation': '๐๏ธ',+ 'refinement': '๐ง',+ 'ensemble': '๐ฏ',+ 'validation': 'โ ',+ 'coordinator': '๐ฎ',+ 'researcher': '๐ฌ',+ 'coder': '๐ป',+ 'optimizer': 'โก',+ 'architect': '๐๏ธ',+ 'tester': '๐งช'+ };++ // Extract agent type from ID+ const type = agentId?.split('_')[0] || 'default';+ return icons[type] || '๐ค';}/**