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

rUv5aad1a1165c2
diff --git a/.claude/checkpoints/1754066740.json b/.claude/checkpoints/1754066740.json
new file mode 100644
index 0000000000..fca3788e28
--- /dev/null
+++ b/.claude/checkpoints/1754066740.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250801-164539", "file": "/workspaces/claude-code-flow/src/agents/agent-loader.ts", "timestamp": "2025-08-01T16:45:40Z", "type": "pre-edit", "original_branch": "alpha-83"}
diff --git a/.claude/checkpoints/1754066741.json b/.claude/checkpoints/1754066741.json
new file mode 100644
index 0000000000..c1b1002cc8
--- /dev/null
+++ b/.claude/checkpoints/1754066741.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250801-164541", "file": "/workspaces/claude-code-flow/src/agents/agent-loader.ts", "timestamp": "2025-08-01T16:45:41Z", "type": "post-edit", "branch": "alpha-83", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754066724.json | 1 + .claude/checkpoints/1754066726.json | 1 + claude-flow-wiki | 0 src/agents/agent-loader.ts | 3 ++- 7 files changed, 32 insertions(+), 5 deletions(-) "}
diff --git a/src/agents/agent-loader.ts b/src/agents/agent-loader.ts
index 99e9ec3fd4..ebd1033642 100644
--- a/src/agents/agent-loader.ts
+++ b/src/agents/agent-loader.ts
@@ -181,7 +181,10 @@ class AgentLoader {
*/
async getAvailableAgentTypes(): Promise<string[]> {
await this.ensureLoaded();
- return Array.from(this.agentCache.keys()).sort();
+ 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();
}
/**