mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/agents/agent-loader.ts
This commit is contained in:
1 parent
c223a63ca5
commit
7569f1d6cb
3 files changed
+6
-1
No files matched your search
@@ -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"}
|
||||
@@ -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(-) "}
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user