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: Edit /workspaces/claude-code-flow/src/agents/agent-loader.ts

rUvf6beb1a65bba
diff --git a/.claude/checkpoints/1754066783.json b/.claude/checkpoints/1754066783.json
new file mode 100644
index 0000000000..24545ac3b8
--- /dev/null
+++ b/.claude/checkpoints/1754066783.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250801-164623", "file": "/workspaces/claude-code-flow/src/constants/agent-types.ts", "timestamp": "2025-08-01T16:46:23Z", "type": "pre-edit", "original_branch": "alpha-83"}
diff --git a/.claude/checkpoints/1754066785.json b/.claude/checkpoints/1754066785.json
new file mode 100644
index 0000000000..9aa22e210f
--- /dev/null
+++ b/.claude/checkpoints/1754066785.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250801-164625", "file": "/workspaces/claude-code-flow/src/constants/agent-types.ts", "timestamp": "2025-08-01T16:46:25Z", "type": "post-edit", "branch": "alpha-83", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 48 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 ++-- .claude/checkpoints/1754066775.json | 1 + .claude/checkpoints/1754066777.json | 1 + claude-flow-wiki | 0 src/constants/agent-types.ts | 5 +--- 7 files changed, 55 insertions(+), 8 deletions(-) "}
diff --git a/src/agents/agent-loader.ts b/src/agents/agent-loader.ts
index 14c32864ae..0ced85e059 100644
--- a/src/agents/agent-loader.ts
+++ b/src/agents/agent-loader.ts
@@ -184,7 +184,9 @@ class AgentLoader {
const currentTypes = Array.from(this.agentCache.keys());
const legacyTypes = Object.keys(LEGACY_AGENT_MAPPING);
// Return both current types and legacy types, removing duplicates
- return [...new Set([...currentTypes, ...legacyTypes])].sort();
+ const combined = [...currentTypes, ...legacyTypes];
+ const uniqueTypes = Array.from(new Set(combined));
+ return uniqueTypes.sort();
}
/**